~jorge/+junk/fix-for-790821

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Sauthier
  • Date: 2009-01-16 18:49:03 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20090116184903-8u3ygm1weh8qm4fg
Tags: 1:0.24.3.1-0ubuntu1
* New upstream version (LP: #318012)
  - Bug fix (#565958).
  - Updated translations.
* Update of debian/patches/98_autoconf.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for XChat-GNOME IRC Chat 0.24.1.
 
3
# Generated by GNU Autoconf 2.61 for XChat-GNOME IRC Chat 0.24.3.1.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome>.
6
6
#
555
555
# Check that we are running under the correct shell.
556
556
SHELL=${CONFIG_SHELL-/bin/sh}
557
557
 
558
 
case X$ECHO in
 
558
case X$lt_ECHO in
559
559
X*--fallback-echo)
560
560
  # Remove one level of quotation (which was required for Make).
561
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
561
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
562
562
  ;;
563
563
esac
564
564
 
565
 
echo=${ECHO-echo}
 
565
ECHO=${lt_ECHO-echo}
566
566
if test "X$1" = X--no-reexec; then
567
567
  # Discard the --no-reexec flag, and continue.
568
568
  shift
569
569
elif test "X$1" = X--fallback-echo; then
570
570
  # Avoid inline document here, it may be left over
571
571
  :
572
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573
 
  # Yippee, $echo works!
 
572
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
573
  # Yippee, $ECHO works!
574
574
  :
575
575
else
576
576
  # Restart under the correct shell.
580
580
if test "X$1" = X--fallback-echo; then
581
581
  # used as fallback echo
582
582
  shift
583
 
  cat <<EOF
 
583
  cat <<_LT_EOF
584
584
$*
585
 
EOF
 
585
_LT_EOF
586
586
  exit 0
587
587
fi
588
588
 
590
590
# if CDPATH is set.
591
591
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
592
592
 
593
 
if test -z "$ECHO"; then
594
 
if test "X${echo_test_string+set}" != Xset; then
595
 
# find a string as large as possible, as long as the shell can cope with it
596
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
599
 
       echo_test_string=`eval $cmd` &&
600
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
601
 
    then
602
 
      break
603
 
    fi
604
 
  done
605
 
fi
606
 
 
607
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
  :
611
 
else
612
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
613
 
  # backslashes.  This makes it impossible to quote backslashes using
614
 
  #   echo "$something" | sed 's/\\/\\\\/g'
615
 
  #
616
 
  # So, first we look for a working echo in the user's PATH.
617
 
 
618
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619
 
  for dir in $PATH /usr/ucb; do
 
593
if test -z "$lt_ECHO"; then
 
594
  if test "X${echo_test_string+set}" != Xset; then
 
595
    # find a string as large as possible, as long as the shell can cope with it
 
596
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
597
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
598
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
599
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
600
      then
 
601
        break
 
602
      fi
 
603
    done
 
604
  fi
 
605
 
 
606
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
607
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
608
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
609
    :
 
610
  else
 
611
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
612
    # backslashes.  This makes it impossible to quote backslashes using
 
613
    #   echo "$something" | sed 's/\\/\\\\/g'
 
614
    #
 
615
    # So, first we look for a working echo in the user's PATH.
 
616
 
 
617
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
618
    for dir in $PATH /usr/ucb; do
 
619
      IFS="$lt_save_ifs"
 
620
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
621
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
622
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
623
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
624
        ECHO="$dir/echo"
 
625
        break
 
626
      fi
 
627
    done
620
628
    IFS="$lt_save_ifs"
621
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
625
 
      echo="$dir/echo"
626
 
      break
627
 
    fi
628
 
  done
629
 
  IFS="$lt_save_ifs"
630
629
 
631
 
  if test "X$echo" = Xecho; then
632
 
    # We didn't find a better echo, so look for alternatives.
633
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
636
 
      # This shell has a builtin print -r that does the trick.
637
 
      echo='print -r'
638
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
640
 
      # If we have ksh, try running configure again with it.
641
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642
 
      export ORIGINAL_CONFIG_SHELL
643
 
      CONFIG_SHELL=/bin/ksh
644
 
      export CONFIG_SHELL
645
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646
 
    else
647
 
      # Try using printf.
648
 
      echo='printf %s\n'
649
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
652
 
        # Cool, printf works
653
 
        :
654
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = 'X\t' &&
656
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
658
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659
 
        export CONFIG_SHELL
660
 
        SHELL="$CONFIG_SHELL"
661
 
        export SHELL
662
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
663
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = 'X\t' &&
665
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
667
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
630
    if test "X$ECHO" = Xecho; then
 
631
      # We didn't find a better echo, so look for alternatives.
 
632
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
633
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
634
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
635
        # This shell has a builtin print -r that does the trick.
 
636
        ECHO='print -r'
 
637
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
638
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
639
        # If we have ksh, try running configure again with it.
 
640
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
641
        export ORIGINAL_CONFIG_SHELL
 
642
        CONFIG_SHELL=/bin/ksh
 
643
        export CONFIG_SHELL
 
644
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668
645
      else
669
 
        # maybe with a smaller string...
670
 
        prev=:
671
 
 
672
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
674
 
          then
675
 
            break
 
646
        # Try using printf.
 
647
        ECHO='printf %s\n'
 
648
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
649
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
650
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
651
          # Cool, printf works
 
652
          :
 
653
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
654
             test "X$echo_testing_string" = 'X\t' &&
 
655
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
656
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
657
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
658
          export CONFIG_SHELL
 
659
          SHELL="$CONFIG_SHELL"
 
660
          export SHELL
 
661
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
662
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
663
             test "X$echo_testing_string" = 'X\t' &&
 
664
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
665
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
666
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
667
        else
 
668
          # maybe with a smaller string...
 
669
          prev=:
 
670
 
 
671
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
672
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
673
            then
 
674
              break
 
675
            fi
 
676
            prev="$cmd"
 
677
          done
 
678
 
 
679
          if test "$prev" != 'sed 50q "$0"'; then
 
680
            echo_test_string=`eval $prev`
 
681
            export echo_test_string
 
682
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
683
          else
 
684
            # Oops.  We lost completely, so just stick with echo.
 
685
            ECHO=echo
676
686
          fi
677
 
          prev="$cmd"
678
 
        done
679
 
 
680
 
        if test "$prev" != 'sed 50q "$0"'; then
681
 
          echo_test_string=`eval $prev`
682
 
          export echo_test_string
683
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684
 
        else
685
 
          # Oops.  We lost completely, so just stick with echo.
686
 
          echo=echo
687
 
        fi
 
687
        fi
688
688
      fi
689
689
    fi
690
690
  fi
691
691
fi
692
 
fi
693
692
 
694
693
# Copy echo and quote the copy suitably for passing to libtool from
695
694
# the Makefile, instead of quoting the original, which is used later.
696
 
ECHO=$echo
697
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
695
lt_ECHO=$ECHO
 
696
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
697
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
699
698
fi
700
699
 
701
700
 
702
701
 
703
702
 
704
 
tagnames=${tagnames+${tagnames},}CXX
705
 
 
706
 
tagnames=${tagnames+${tagnames},}F77
707
 
 
708
703
exec 7<&0 </dev/null 6>&1
709
704
 
710
705
# Name of the host.
728
723
# Identity of this package.
729
724
PACKAGE_NAME='XChat-GNOME IRC Chat'
730
725
PACKAGE_TARNAME='xchat-gnome'
731
 
PACKAGE_VERSION='0.24.1'
732
 
PACKAGE_STRING='XChat-GNOME IRC Chat 0.24.1'
 
726
PACKAGE_VERSION='0.24.3.1'
 
727
PACKAGE_STRING='XChat-GNOME IRC Chat 0.24.3.1'
733
728
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome'
734
729
 
735
730
ac_unique_file="configure.ac"
883
878
CCASDEPMODE
884
879
am__fastdepCCAS_TRUE
885
880
am__fastdepCCAS_FALSE
 
881
LIBTOOL
886
882
build
887
883
build_cpu
888
884
build_vendor
894
890
SED
895
891
GREP
896
892
EGREP
 
893
FGREP
 
894
LD
 
895
DUMPBIN
 
896
ac_ct_DUMPBIN
 
897
NM
897
898
LN_S
898
 
ECHO
899
899
AR
900
900
RANLIB
 
901
lt_ECHO
901
902
DSYMUTIL
902
903
NMEDIT
903
 
CXX
904
 
CXXFLAGS
905
 
ac_ct_CXX
906
 
CXXDEPMODE
907
 
am__fastdepCXX_TRUE
908
 
am__fastdepCXX_FALSE
909
 
CXXCPP
910
 
F77
911
 
FFLAGS
912
 
ac_ct_F77
913
 
LIBTOOL
 
904
LIPO
 
905
OTOOL
 
906
OTOOL64
914
907
GLIB_GENMARSHAL
915
908
ACLOCAL_AMFLAGS
916
909
DISABLE_DEPRECATED
1002
995
CPP
1003
996
CCAS
1004
997
CCASFLAGS
1005
 
CXX
1006
 
CXXFLAGS
1007
 
CCC
1008
 
CXXCPP
1009
 
F77
1010
 
FFLAGS
1011
998
PKG_CONFIG
1012
999
DEPENDENCIES_CFLAGS
1013
1000
DEPENDENCIES_LIBS
1521
1508
  # Omit some internal or obsolete options to make the list less imposing.
1522
1509
  # This message is too long to be a string in the A/UX 3.1 sh.
1523
1510
  cat <<_ACEOF
1524
 
\`configure' configures XChat-GNOME IRC Chat 0.24.1 to adapt to many kinds of systems.
 
1511
\`configure' configures XChat-GNOME IRC Chat 0.24.3.1 to adapt to many kinds of systems.
1525
1512
 
1526
1513
Usage: $0 [OPTION]... [VAR=VALUE]...
1527
1514
 
1591
1578
 
1592
1579
if test -n "$ac_init_help"; then
1593
1580
  case $ac_init_help in
1594
 
     short | recursive ) echo "Configuration of XChat-GNOME IRC Chat 0.24.1:";;
 
1581
     short | recursive ) echo "Configuration of XChat-GNOME IRC Chat 0.24.3.1:";;
1595
1582
   esac
1596
1583
  cat <<\_ACEOF
1597
1584
 
1625
1612
Optional Packages:
1626
1613
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1627
1614
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1628
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1629
1615
  --with-pic              try to use only PIC/non-PIC objects [default=use
1630
1616
                          both]
1631
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1617
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1632
1618
  --with-help-dir=DIR     path to help docs
1633
1619
  --with-omf-dir=DIR      path to OMF files
1634
1620
  --with-help-formats=FORMATS
1654
1640
  CPP         C preprocessor
1655
1641
  CCAS        assembler compiler command (defaults to CC)
1656
1642
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1657
 
  CXX         C++ compiler command
1658
 
  CXXFLAGS    C++ compiler flags
1659
 
  CXXCPP      C++ preprocessor
1660
 
  F77         Fortran 77 compiler command
1661
 
  FFLAGS      Fortran 77 compiler flags
1662
1643
  PKG_CONFIG  path to pkg-config utility
1663
1644
  DEPENDENCIES_CFLAGS
1664
1645
              C compiler flags for DEPENDENCIES, overriding pkg-config
1743
1724
test -n "$ac_init_help" && exit $ac_status
1744
1725
if $ac_init_version; then
1745
1726
  cat <<\_ACEOF
1746
 
XChat-GNOME IRC Chat configure 0.24.1
 
1727
XChat-GNOME IRC Chat configure 0.24.3.1
1747
1728
generated by GNU Autoconf 2.61
1748
1729
 
1749
1730
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1757
1738
This file contains any messages produced by compilers while
1758
1739
running configure, to aid debugging if configure makes a mistake.
1759
1740
 
1760
 
It was created by XChat-GNOME IRC Chat $as_me 0.24.1, which was
 
1741
It was created by XChat-GNOME IRC Chat $as_me 0.24.3.1, which was
1761
1742
generated by GNU Autoconf 2.61.  Invocation command line was
1762
1743
 
1763
1744
  $ $0 $@
2455
2436
 
2456
2437
# Define the identity of the package.
2457
2438
 PACKAGE='xchat-gnome'
2458
 
 VERSION='0.24.1'
 
2439
 VERSION='0.24.3.1'
2459
2440
 
2460
2441
 
2461
2442
cat >>confdefs.h <<_ACEOF
5792
5773
fi
5793
5774
 
5794
5775
 
5795
 
# Check whether --enable-shared was given.
5796
 
if test "${enable_shared+set}" = set; then
5797
 
  enableval=$enable_shared; p=${PACKAGE-default}
5798
 
    case $enableval in
5799
 
    yes) enable_shared=yes ;;
5800
 
    no) enable_shared=no ;;
5801
 
    *)
5802
 
      enable_shared=no
5803
 
      # Look at the argument we got.  We use all the common list separators.
5804
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5805
 
      for pkg in $enableval; do
5806
 
        IFS="$lt_save_ifs"
5807
 
        if test "X$pkg" = "X$p"; then
5808
 
          enable_shared=yes
5809
 
        fi
5810
 
      done
5811
 
      IFS="$lt_save_ifs"
5812
 
      ;;
5813
 
    esac
5814
 
else
5815
 
  enable_shared=yes
5816
 
fi
5817
 
 
5818
 
 
5819
 
# Check whether --enable-static was given.
5820
 
if test "${enable_static+set}" = set; then
5821
 
  enableval=$enable_static; p=${PACKAGE-default}
5822
 
    case $enableval in
5823
 
    yes) enable_static=yes ;;
5824
 
    no) enable_static=no ;;
5825
 
    *)
5826
 
     enable_static=no
5827
 
      # Look at the argument we got.  We use all the common list separators.
5828
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5829
 
      for pkg in $enableval; do
5830
 
        IFS="$lt_save_ifs"
5831
 
        if test "X$pkg" = "X$p"; then
5832
 
          enable_static=yes
5833
 
        fi
5834
 
      done
5835
 
      IFS="$lt_save_ifs"
5836
 
      ;;
5837
 
    esac
5838
 
else
5839
 
  enable_static=yes
5840
 
fi
5841
 
 
5842
 
 
5843
 
# Check whether --enable-fast-install was given.
5844
 
if test "${enable_fast_install+set}" = set; then
5845
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
5846
 
    case $enableval in
5847
 
    yes) enable_fast_install=yes ;;
5848
 
    no) enable_fast_install=no ;;
5849
 
    *)
5850
 
      enable_fast_install=no
5851
 
      # Look at the argument we got.  We use all the common list separators.
5852
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5853
 
      for pkg in $enableval; do
5854
 
        IFS="$lt_save_ifs"
5855
 
        if test "X$pkg" = "X$p"; then
5856
 
          enable_fast_install=yes
5857
 
        fi
5858
 
      done
5859
 
      IFS="$lt_save_ifs"
5860
 
      ;;
5861
 
    esac
5862
 
else
5863
 
  enable_fast_install=yes
5864
 
fi
5865
 
 
 
5776
case `pwd` in
 
5777
  *\ * | *\     *)
 
5778
    { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5779
echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5780
esac
 
5781
 
 
5782
 
 
5783
 
 
5784
macro_version='2.2.4'
 
5785
macro_revision='1.2976'
 
5786
 
 
5787
 
 
5788
 
 
5789
 
 
5790
 
 
5791
 
 
5792
 
 
5793
 
 
5794
 
 
5795
 
 
5796
 
 
5797
 
 
5798
 
 
5799
ltmain="$ac_aux_dir/ltmain.sh"
5866
5800
 
5867
5801
# Make sure we can run config.sub.
5868
5802
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5949
5883
 
5950
5884
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5951
5885
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5952
 
if test "${lt_cv_path_SED+set}" = set; then
5953
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5954
 
else
5955
 
  # Loop through the user's path and test for sed and gsed.
5956
 
# Then use that list of sed's as ones to test for truncation.
 
5886
if test "${ac_cv_path_SED+set}" = set; then
 
5887
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5888
else
 
5889
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
5890
     for ac_i in 1 2 3 4 5 6 7; do
 
5891
       ac_script="$ac_script$as_nl$ac_script"
 
5892
     done
 
5893
     echo "$ac_script" | sed 99q >conftest.sed
 
5894
     $as_unset ac_script || ac_script=
 
5895
     # Extract the first word of "sed gsed" to use in msg output
 
5896
if test -z "$SED"; then
 
5897
set dummy sed gsed; ac_prog_name=$2
 
5898
if test "${ac_cv_path_SED+set}" = set; then
 
5899
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5900
else
 
5901
  ac_path_SED_found=false
 
5902
# Loop through the user's path and test for each of PROGNAME-LIST
5957
5903
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5958
5904
for as_dir in $PATH
5959
5905
do
5960
5906
  IFS=$as_save_IFS
5961
5907
  test -z "$as_dir" && as_dir=.
5962
 
  for lt_ac_prog in sed gsed; do
5963
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5964
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5965
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5966
 
      fi
5967
 
    done
5968
 
  done
 
5908
  for ac_prog in sed gsed; do
 
5909
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5910
    ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5911
    { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5912
    # Check for GNU ac_path_SED and select it if it is found.
 
5913
  # Check for GNU $ac_path_SED
 
5914
case `"$ac_path_SED" --version 2>&1` in
 
5915
*GNU*)
 
5916
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
5917
*)
 
5918
  ac_count=0
 
5919
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5920
  while :
 
5921
  do
 
5922
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5923
    mv "conftest.tmp" "conftest.in"
 
5924
    cp "conftest.in" "conftest.nl"
 
5925
    echo '' >> "conftest.nl"
 
5926
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5927
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5928
    ac_count=`expr $ac_count + 1`
 
5929
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
5930
      # Best one so far, save it but keep looking for a better one
 
5931
      ac_cv_path_SED="$ac_path_SED"
 
5932
      ac_path_SED_max=$ac_count
 
5933
    fi
 
5934
    # 10*(2^10) chars as input seems more than enough
 
5935
    test $ac_count -gt 10 && break
 
5936
  done
 
5937
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5938
esac
 
5939
 
 
5940
 
 
5941
    $ac_path_SED_found && break 3
 
5942
  done
 
5943
done
 
5944
 
5969
5945
done
5970
5946
IFS=$as_save_IFS
5971
 
lt_ac_max=0
5972
 
lt_ac_count=0
5973
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5974
 
# along with /bin/sed that truncates output.
5975
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5976
 
  test ! -f $lt_ac_sed && continue
5977
 
  cat /dev/null > conftest.in
5978
 
  lt_ac_count=0
5979
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5980
 
  # Check for GNU sed and select it if it is found.
5981
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5982
 
    lt_cv_path_SED=$lt_ac_sed
5983
 
    break
5984
 
  fi
5985
 
  while true; do
5986
 
    cat conftest.in conftest.in >conftest.tmp
5987
 
    mv conftest.tmp conftest.in
5988
 
    cp conftest.in conftest.nl
5989
 
    echo >>conftest.nl
5990
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5991
 
    cmp -s conftest.out conftest.nl || break
5992
 
    # 10000 chars as input seems more than enough
5993
 
    test $lt_ac_count -gt 10 && break
5994
 
    lt_ac_count=`expr $lt_ac_count + 1`
5995
 
    if test $lt_ac_count -gt $lt_ac_max; then
5996
 
      lt_ac_max=$lt_ac_count
5997
 
      lt_cv_path_SED=$lt_ac_sed
5998
 
    fi
5999
 
  done
6000
 
done
6001
 
 
6002
 
fi
6003
 
 
6004
 
SED=$lt_cv_path_SED
6005
 
 
6006
 
{ echo "$as_me:$LINENO: result: $SED" >&5
6007
 
echo "${ECHO_T}$SED" >&6; }
 
5947
 
 
5948
 
 
5949
fi
 
5950
 
 
5951
SED="$ac_cv_path_SED"
 
5952
if test -z "$SED"; then
 
5953
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
 
5954
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
 
5955
   { (exit 1); exit 1; }; }
 
5956
fi
 
5957
 
 
5958
else
 
5959
  ac_cv_path_SED=$SED
 
5960
fi
 
5961
 
 
5962
fi
 
5963
{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
5964
echo "${ECHO_T}$ac_cv_path_SED" >&6; }
 
5965
 SED="$ac_cv_path_SED"
 
5966
  rm -f conftest.sed
 
5967
 
 
5968
test -z "$SED" && SED=sed
 
5969
Xsed="$SED -e 1s/^X//"
 
5970
 
 
5971
 
 
5972
 
 
5973
 
 
5974
 
 
5975
 
 
5976
 
 
5977
 
 
5978
 
 
5979
 
6008
5980
 
6009
5981
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6010
5982
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6168
6140
 EGREP="$ac_cv_path_EGREP"
6169
6141
 
6170
6142
 
 
6143
{ echo "$as_me:$LINENO: checking for fgrep" >&5
 
6144
echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
 
6145
if test "${ac_cv_path_FGREP+set}" = set; then
 
6146
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6147
else
 
6148
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
6149
   then ac_cv_path_FGREP="$GREP -F"
 
6150
   else
 
6151
     # Extract the first word of "fgrep" to use in msg output
 
6152
if test -z "$FGREP"; then
 
6153
set dummy fgrep; ac_prog_name=$2
 
6154
if test "${ac_cv_path_FGREP+set}" = set; then
 
6155
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6156
else
 
6157
  ac_path_FGREP_found=false
 
6158
# Loop through the user's path and test for each of PROGNAME-LIST
 
6159
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6160
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6161
do
 
6162
  IFS=$as_save_IFS
 
6163
  test -z "$as_dir" && as_dir=.
 
6164
  for ac_prog in fgrep; do
 
6165
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6166
    ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6167
    { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
6168
    # Check for GNU ac_path_FGREP and select it if it is found.
 
6169
  # Check for GNU $ac_path_FGREP
 
6170
case `"$ac_path_FGREP" --version 2>&1` in
 
6171
*GNU*)
 
6172
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
6173
*)
 
6174
  ac_count=0
 
6175
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
6176
  while :
 
6177
  do
 
6178
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6179
    mv "conftest.tmp" "conftest.in"
 
6180
    cp "conftest.in" "conftest.nl"
 
6181
    echo 'FGREP' >> "conftest.nl"
 
6182
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6183
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6184
    ac_count=`expr $ac_count + 1`
 
6185
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
6186
      # Best one so far, save it but keep looking for a better one
 
6187
      ac_cv_path_FGREP="$ac_path_FGREP"
 
6188
      ac_path_FGREP_max=$ac_count
 
6189
    fi
 
6190
    # 10*(2^10) chars as input seems more than enough
 
6191
    test $ac_count -gt 10 && break
 
6192
  done
 
6193
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6194
esac
 
6195
 
 
6196
 
 
6197
    $ac_path_FGREP_found && break 3
 
6198
  done
 
6199
done
 
6200
 
 
6201
done
 
6202
IFS=$as_save_IFS
 
6203
 
 
6204
 
 
6205
fi
 
6206
 
 
6207
FGREP="$ac_cv_path_FGREP"
 
6208
if test -z "$FGREP"; then
 
6209
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
6210
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
6211
   { (exit 1); exit 1; }; }
 
6212
fi
 
6213
 
 
6214
else
 
6215
  ac_cv_path_FGREP=$FGREP
 
6216
fi
 
6217
 
 
6218
 
 
6219
   fi
 
6220
fi
 
6221
{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
6222
echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
 
6223
 FGREP="$ac_cv_path_FGREP"
 
6224
 
 
6225
 
 
6226
test -z "$GREP" && GREP=grep
 
6227
 
 
6228
 
 
6229
 
 
6230
 
 
6231
 
 
6232
 
 
6233
 
 
6234
 
 
6235
 
 
6236
 
 
6237
 
 
6238
 
 
6239
 
 
6240
 
 
6241
 
 
6242
 
 
6243
 
 
6244
 
6171
6245
 
6172
6246
# Check whether --with-gnu-ld was given.
6173
6247
if test "${with_gnu_ld+set}" = set; then
6193
6267
    [\\/]* | ?:[\\/]*)
6194
6268
      re_direlt='/[^/][^/]*/\.\./'
6195
6269
      # Canonicalize the pathname of ld
6196
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6197
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6198
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
6270
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
6271
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
6272
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6199
6273
      done
6200
6274
      test -z "$LD" && LD="$ac_prog"
6201
6275
      ;;
6275
6349
with_gnu_ld=$lt_cv_prog_gnu_ld
6276
6350
 
6277
6351
 
6278
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6279
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6280
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
6281
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6282
 
else
6283
 
  lt_cv_ld_reload_flag='-r'
6284
 
fi
6285
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6286
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6287
 
reload_flag=$lt_cv_ld_reload_flag
6288
 
case $reload_flag in
6289
 
"" | " "*) ;;
6290
 
*) reload_flag=" $reload_flag" ;;
6291
 
esac
6292
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6293
 
case $host_os in
6294
 
  darwin*)
6295
 
    if test "$GCC" = yes; then
6296
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6297
 
    else
6298
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6299
 
    fi
6300
 
    ;;
6301
 
esac
6302
 
 
6303
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6304
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
6352
 
 
6353
 
 
6354
 
 
6355
 
 
6356
 
 
6357
 
 
6358
 
 
6359
{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6360
echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
6305
6361
if test "${lt_cv_path_NM+set}" = set; then
6306
6362
  echo $ECHO_N "(cached) $ECHO_C" >&6
6307
6363
else
6346
6402
    done
6347
6403
    IFS="$lt_save_ifs"
6348
6404
  done
6349
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
6405
  : ${lt_cv_path_NM=no}
6350
6406
fi
6351
6407
fi
6352
6408
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6353
6409
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6354
 
NM="$lt_cv_path_NM"
 
6410
if test "$lt_cv_path_NM" != "no"; then
 
6411
  NM="$lt_cv_path_NM"
 
6412
else
 
6413
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
6414
  if test -n "$ac_tool_prefix"; then
 
6415
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6416
  do
 
6417
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6418
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6419
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6420
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6421
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
6422
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6423
else
 
6424
  if test -n "$DUMPBIN"; then
 
6425
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
6426
else
 
6427
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6428
for as_dir in $PATH
 
6429
do
 
6430
  IFS=$as_save_IFS
 
6431
  test -z "$as_dir" && as_dir=.
 
6432
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6433
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6434
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
6435
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6436
    break 2
 
6437
  fi
 
6438
done
 
6439
done
 
6440
IFS=$as_save_IFS
 
6441
 
 
6442
fi
 
6443
fi
 
6444
DUMPBIN=$ac_cv_prog_DUMPBIN
 
6445
if test -n "$DUMPBIN"; then
 
6446
  { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
6447
echo "${ECHO_T}$DUMPBIN" >&6; }
 
6448
else
 
6449
  { echo "$as_me:$LINENO: result: no" >&5
 
6450
echo "${ECHO_T}no" >&6; }
 
6451
fi
 
6452
 
 
6453
 
 
6454
    test -n "$DUMPBIN" && break
 
6455
  done
 
6456
fi
 
6457
if test -z "$DUMPBIN"; then
 
6458
  ac_ct_DUMPBIN=$DUMPBIN
 
6459
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6460
do
 
6461
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6462
set dummy $ac_prog; ac_word=$2
 
6463
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6464
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6465
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
6466
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6467
else
 
6468
  if test -n "$ac_ct_DUMPBIN"; then
 
6469
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
6470
else
 
6471
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6472
for as_dir in $PATH
 
6473
do
 
6474
  IFS=$as_save_IFS
 
6475
  test -z "$as_dir" && as_dir=.
 
6476
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6477
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6478
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
6479
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6480
    break 2
 
6481
  fi
 
6482
done
 
6483
done
 
6484
IFS=$as_save_IFS
 
6485
 
 
6486
fi
 
6487
fi
 
6488
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
6489
if test -n "$ac_ct_DUMPBIN"; then
 
6490
  { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
6491
echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
 
6492
else
 
6493
  { echo "$as_me:$LINENO: result: no" >&5
 
6494
echo "${ECHO_T}no" >&6; }
 
6495
fi
 
6496
 
 
6497
 
 
6498
  test -n "$ac_ct_DUMPBIN" && break
 
6499
done
 
6500
 
 
6501
  if test "x$ac_ct_DUMPBIN" = x; then
 
6502
    DUMPBIN=":"
 
6503
  else
 
6504
    case $cross_compiling:$ac_tool_warned in
 
6505
yes:)
 
6506
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6507
whose name does not start with the host triplet.  If you think this
 
6508
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6509
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6510
whose name does not start with the host triplet.  If you think this
 
6511
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6512
ac_tool_warned=yes ;;
 
6513
esac
 
6514
    DUMPBIN=$ac_ct_DUMPBIN
 
6515
  fi
 
6516
fi
 
6517
 
 
6518
 
 
6519
  if test "$DUMPBIN" != ":"; then
 
6520
    NM="$DUMPBIN"
 
6521
  fi
 
6522
fi
 
6523
test -z "$NM" && NM=nm
 
6524
 
 
6525
 
 
6526
 
 
6527
 
 
6528
 
 
6529
 
 
6530
{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
6531
echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
 
6532
if test "${lt_cv_nm_interface+set}" = set; then
 
6533
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6534
else
 
6535
  lt_cv_nm_interface="BSD nm"
 
6536
  echo "int some_variable = 0;" > conftest.$ac_ext
 
6537
  (eval echo "\"\$as_me:6537: $ac_compile\"" >&5)
 
6538
  (eval "$ac_compile" 2>conftest.err)
 
6539
  cat conftest.err >&5
 
6540
  (eval echo "\"\$as_me:6540: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6541
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
6542
  cat conftest.err >&5
 
6543
  (eval echo "\"\$as_me:6543: output\"" >&5)
 
6544
  cat conftest.out >&5
 
6545
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
6546
    lt_cv_nm_interface="MS dumpbin"
 
6547
  fi
 
6548
  rm -f conftest*
 
6549
fi
 
6550
{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
6551
echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
6355
6552
 
6356
6553
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
6357
6554
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6364
6561
echo "${ECHO_T}no, using $LN_S" >&6; }
6365
6562
fi
6366
6563
 
 
6564
# find the maximum length of command line arguments
 
6565
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6566
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
 
6567
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
6568
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6569
else
 
6570
    i=0
 
6571
  teststring="ABCD"
 
6572
 
 
6573
  case $build_os in
 
6574
  msdosdjgpp*)
 
6575
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
6576
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
6577
    # during glob expansion).  Even if it were fixed, the result of this
 
6578
    # check would be larger than it should be.
 
6579
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
6580
    ;;
 
6581
 
 
6582
  gnu*)
 
6583
    # Under GNU Hurd, this test is not required because there is
 
6584
    # no limit to the length of command line arguments.
 
6585
    # Libtool will interpret -1 as no limit whatsoever
 
6586
    lt_cv_sys_max_cmd_len=-1;
 
6587
    ;;
 
6588
 
 
6589
  cygwin* | mingw*)
 
6590
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
6591
    # about 5 minutes as the teststring grows exponentially.
 
6592
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
6593
    # you end up with a "frozen" computer, even though with patience
 
6594
    # the test eventually succeeds (with a max line length of 256k).
 
6595
    # Instead, let's just punt: use the minimum linelength reported by
 
6596
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
6597
    lt_cv_sys_max_cmd_len=8192;
 
6598
    ;;
 
6599
 
 
6600
  amigaos*)
 
6601
    # On AmigaOS with pdksh, this test takes hours, literally.
 
6602
    # So we just punt and use a minimum line length of 8192.
 
6603
    lt_cv_sys_max_cmd_len=8192;
 
6604
    ;;
 
6605
 
 
6606
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6607
    # This has been around since 386BSD, at least.  Likely further.
 
6608
    if test -x /sbin/sysctl; then
 
6609
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6610
    elif test -x /usr/sbin/sysctl; then
 
6611
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6612
    else
 
6613
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6614
    fi
 
6615
    # And add a safety zone
 
6616
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6617
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6618
    ;;
 
6619
 
 
6620
  interix*)
 
6621
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6622
    lt_cv_sys_max_cmd_len=196608
 
6623
    ;;
 
6624
 
 
6625
  osf*)
 
6626
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6627
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6628
    # nice to cause kernel panics so lets avoid the loop below.
 
6629
    # First set a reasonable default.
 
6630
    lt_cv_sys_max_cmd_len=16384
 
6631
    #
 
6632
    if test -x /sbin/sysconfig; then
 
6633
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6634
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6635
      esac
 
6636
    fi
 
6637
    ;;
 
6638
  sco3.2v5*)
 
6639
    lt_cv_sys_max_cmd_len=102400
 
6640
    ;;
 
6641
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6642
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6643
    if test -n "$kargmax"; then
 
6644
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
6645
    else
 
6646
      lt_cv_sys_max_cmd_len=32768
 
6647
    fi
 
6648
    ;;
 
6649
  *)
 
6650
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6651
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6652
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6653
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6654
    else
 
6655
      # Make teststring a little bigger before we do anything with it.
 
6656
      # a 1K string should be a reasonable start.
 
6657
      for i in 1 2 3 4 5 6 7 8 ; do
 
6658
        teststring=$teststring$teststring
 
6659
      done
 
6660
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6661
      # If test is not a shell built-in, we'll probably end up computing a
 
6662
      # maximum length that is only half of the actual maximum length, but
 
6663
      # we can't tell.
 
6664
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
6665
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6666
              test $i != 17 # 1/2 MB should be enough
 
6667
      do
 
6668
        i=`expr $i + 1`
 
6669
        teststring=$teststring$teststring
 
6670
      done
 
6671
      # Only check the string length outside the loop.
 
6672
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
6673
      teststring=
 
6674
      # Add a significant safety factor because C++ compilers can tack on
 
6675
      # massive amounts of additional arguments before passing them to the
 
6676
      # linker.  It appears as though 1/2 is a usable value.
 
6677
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6678
    fi
 
6679
    ;;
 
6680
  esac
 
6681
 
 
6682
fi
 
6683
 
 
6684
if test -n $lt_cv_sys_max_cmd_len ; then
 
6685
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6686
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
 
6687
else
 
6688
  { echo "$as_me:$LINENO: result: none" >&5
 
6689
echo "${ECHO_T}none" >&6; }
 
6690
fi
 
6691
max_cmd_len=$lt_cv_sys_max_cmd_len
 
6692
 
 
6693
 
 
6694
 
 
6695
 
 
6696
 
 
6697
 
 
6698
: ${CP="cp -f"}
 
6699
: ${MV="mv -f"}
 
6700
: ${RM="rm -f"}
 
6701
 
 
6702
{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
6703
echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
 
6704
# Try some XSI features
 
6705
xsi_shell=no
 
6706
( _lt_dummy="a/b/c"
 
6707
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
6708
      = c,a/b,, \
 
6709
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
6710
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
6711
  && xsi_shell=yes
 
6712
{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
6713
echo "${ECHO_T}$xsi_shell" >&6; }
 
6714
 
 
6715
 
 
6716
{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
6717
echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
 
6718
lt_shell_append=no
 
6719
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
6720
    >/dev/null 2>&1 \
 
6721
  && lt_shell_append=yes
 
6722
{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
6723
echo "${ECHO_T}$lt_shell_append" >&6; }
 
6724
 
 
6725
 
 
6726
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
6727
  lt_unset=unset
 
6728
else
 
6729
  lt_unset=false
 
6730
fi
 
6731
 
 
6732
 
 
6733
 
 
6734
 
 
6735
 
 
6736
# test EBCDIC or ASCII
 
6737
case `echo X|tr X '\101'` in
 
6738
 A) # ASCII based system
 
6739
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
6740
  lt_SP2NL='tr \040 \012'
 
6741
  lt_NL2SP='tr \015\012 \040\040'
 
6742
  ;;
 
6743
 *) # EBCDIC based system
 
6744
  lt_SP2NL='tr \100 \n'
 
6745
  lt_NL2SP='tr \r\n \100\100'
 
6746
  ;;
 
6747
esac
 
6748
 
 
6749
 
 
6750
 
 
6751
 
 
6752
 
 
6753
 
 
6754
 
 
6755
 
 
6756
 
 
6757
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6758
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
 
6759
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
6760
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6761
else
 
6762
  lt_cv_ld_reload_flag='-r'
 
6763
fi
 
6764
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6765
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
 
6766
reload_flag=$lt_cv_ld_reload_flag
 
6767
case $reload_flag in
 
6768
"" | " "*) ;;
 
6769
*) reload_flag=" $reload_flag" ;;
 
6770
esac
 
6771
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6772
case $host_os in
 
6773
  darwin*)
 
6774
    if test "$GCC" = yes; then
 
6775
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
6776
    else
 
6777
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6778
    fi
 
6779
    ;;
 
6780
esac
 
6781
 
 
6782
 
 
6783
 
 
6784
 
 
6785
 
 
6786
 
 
6787
 
 
6788
 
 
6789
 
 
6790
 
6367
6791
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6368
6792
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6369
6793
if test "${lt_cv_deplibs_check_method+set}" = set; then
6422
6846
  ;;
6423
6847
 
6424
6848
freebsd* | dragonfly*)
6425
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6849
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6426
6850
    case $host_cpu in
6427
6851
    i*86 )
6428
6852
      # Not sure whether the presence of OpenBSD here was a mistake.
6480
6904
  ;;
6481
6905
 
6482
6906
netbsd* | netbsdelf*-gnu)
6483
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6907
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6484
6908
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6485
6909
  else
6486
6910
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6493
6917
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6494
6918
  ;;
6495
6919
 
6496
 
nto-qnx*)
6497
 
  lt_cv_deplibs_check_method=unknown
 
6920
*nto* | *qnx*)
 
6921
  lt_cv_deplibs_check_method=pass_all
6498
6922
  ;;
6499
6923
 
6500
6924
openbsd*)
6501
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6925
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6502
6926
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6503
6927
  else
6504
6928
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6517
6941
  lt_cv_deplibs_check_method=pass_all
6518
6942
  ;;
6519
6943
 
 
6944
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6945
  lt_cv_deplibs_check_method=pass_all
 
6946
  ;;
 
6947
 
6520
6948
sysv4 | sysv4.3*)
6521
6949
  case $host_vendor in
6522
6950
  motorola)
6544
6972
  esac
6545
6973
  ;;
6546
6974
 
6547
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6975
tpf*)
6548
6976
  lt_cv_deplibs_check_method=pass_all
6549
6977
  ;;
6550
6978
esac
6559
6987
 
6560
6988
 
6561
6989
 
 
6990
 
 
6991
 
 
6992
 
 
6993
 
 
6994
 
 
6995
 
 
6996
 
 
6997
 
 
6998
if test -n "$ac_tool_prefix"; then
 
6999
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
7000
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
7001
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7002
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7003
if test "${ac_cv_prog_AR+set}" = set; then
 
7004
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7005
else
 
7006
  if test -n "$AR"; then
 
7007
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
7008
else
 
7009
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7010
for as_dir in $PATH
 
7011
do
 
7012
  IFS=$as_save_IFS
 
7013
  test -z "$as_dir" && as_dir=.
 
7014
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7015
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7016
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
7017
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7018
    break 2
 
7019
  fi
 
7020
done
 
7021
done
 
7022
IFS=$as_save_IFS
 
7023
 
 
7024
fi
 
7025
fi
 
7026
AR=$ac_cv_prog_AR
 
7027
if test -n "$AR"; then
 
7028
  { echo "$as_me:$LINENO: result: $AR" >&5
 
7029
echo "${ECHO_T}$AR" >&6; }
 
7030
else
 
7031
  { echo "$as_me:$LINENO: result: no" >&5
 
7032
echo "${ECHO_T}no" >&6; }
 
7033
fi
 
7034
 
 
7035
 
 
7036
fi
 
7037
if test -z "$ac_cv_prog_AR"; then
 
7038
  ac_ct_AR=$AR
 
7039
  # Extract the first word of "ar", so it can be a program name with args.
 
7040
set dummy ar; ac_word=$2
 
7041
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7042
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7043
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
7044
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7045
else
 
7046
  if test -n "$ac_ct_AR"; then
 
7047
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
7048
else
 
7049
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7050
for as_dir in $PATH
 
7051
do
 
7052
  IFS=$as_save_IFS
 
7053
  test -z "$as_dir" && as_dir=.
 
7054
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7055
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7056
    ac_cv_prog_ac_ct_AR="ar"
 
7057
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7058
    break 2
 
7059
  fi
 
7060
done
 
7061
done
 
7062
IFS=$as_save_IFS
 
7063
 
 
7064
fi
 
7065
fi
 
7066
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
7067
if test -n "$ac_ct_AR"; then
 
7068
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7069
echo "${ECHO_T}$ac_ct_AR" >&6; }
 
7070
else
 
7071
  { echo "$as_me:$LINENO: result: no" >&5
 
7072
echo "${ECHO_T}no" >&6; }
 
7073
fi
 
7074
 
 
7075
  if test "x$ac_ct_AR" = x; then
 
7076
    AR="false"
 
7077
  else
 
7078
    case $cross_compiling:$ac_tool_warned in
 
7079
yes:)
 
7080
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7081
whose name does not start with the host triplet.  If you think this
 
7082
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7083
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7084
whose name does not start with the host triplet.  If you think this
 
7085
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7086
ac_tool_warned=yes ;;
 
7087
esac
 
7088
    AR=$ac_ct_AR
 
7089
  fi
 
7090
else
 
7091
  AR="$ac_cv_prog_AR"
 
7092
fi
 
7093
 
 
7094
test -z "$AR" && AR=ar
 
7095
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
7096
 
 
7097
 
 
7098
 
 
7099
 
 
7100
 
 
7101
 
 
7102
 
 
7103
 
 
7104
 
 
7105
 
 
7106
 
 
7107
if test -n "$ac_tool_prefix"; then
 
7108
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
7109
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
7110
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7111
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7112
if test "${ac_cv_prog_STRIP+set}" = set; then
 
7113
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7114
else
 
7115
  if test -n "$STRIP"; then
 
7116
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
7117
else
 
7118
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7119
for as_dir in $PATH
 
7120
do
 
7121
  IFS=$as_save_IFS
 
7122
  test -z "$as_dir" && as_dir=.
 
7123
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7124
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7125
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
7126
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7127
    break 2
 
7128
  fi
 
7129
done
 
7130
done
 
7131
IFS=$as_save_IFS
 
7132
 
 
7133
fi
 
7134
fi
 
7135
STRIP=$ac_cv_prog_STRIP
 
7136
if test -n "$STRIP"; then
 
7137
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
7138
echo "${ECHO_T}$STRIP" >&6; }
 
7139
else
 
7140
  { echo "$as_me:$LINENO: result: no" >&5
 
7141
echo "${ECHO_T}no" >&6; }
 
7142
fi
 
7143
 
 
7144
 
 
7145
fi
 
7146
if test -z "$ac_cv_prog_STRIP"; then
 
7147
  ac_ct_STRIP=$STRIP
 
7148
  # Extract the first word of "strip", so it can be a program name with args.
 
7149
set dummy strip; ac_word=$2
 
7150
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7151
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7152
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
7153
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7154
else
 
7155
  if test -n "$ac_ct_STRIP"; then
 
7156
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
7157
else
 
7158
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7159
for as_dir in $PATH
 
7160
do
 
7161
  IFS=$as_save_IFS
 
7162
  test -z "$as_dir" && as_dir=.
 
7163
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7164
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7165
    ac_cv_prog_ac_ct_STRIP="strip"
 
7166
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7167
    break 2
 
7168
  fi
 
7169
done
 
7170
done
 
7171
IFS=$as_save_IFS
 
7172
 
 
7173
fi
 
7174
fi
 
7175
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
7176
if test -n "$ac_ct_STRIP"; then
 
7177
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7178
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
7179
else
 
7180
  { echo "$as_me:$LINENO: result: no" >&5
 
7181
echo "${ECHO_T}no" >&6; }
 
7182
fi
 
7183
 
 
7184
  if test "x$ac_ct_STRIP" = x; then
 
7185
    STRIP=":"
 
7186
  else
 
7187
    case $cross_compiling:$ac_tool_warned in
 
7188
yes:)
 
7189
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7190
whose name does not start with the host triplet.  If you think this
 
7191
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7192
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7193
whose name does not start with the host triplet.  If you think this
 
7194
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7195
ac_tool_warned=yes ;;
 
7196
esac
 
7197
    STRIP=$ac_ct_STRIP
 
7198
  fi
 
7199
else
 
7200
  STRIP="$ac_cv_prog_STRIP"
 
7201
fi
 
7202
 
 
7203
test -z "$STRIP" && STRIP=:
 
7204
 
 
7205
 
 
7206
 
 
7207
 
 
7208
 
 
7209
 
 
7210
if test -n "$ac_tool_prefix"; then
 
7211
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
7212
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
7213
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7214
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7215
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
7216
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7217
else
 
7218
  if test -n "$RANLIB"; then
 
7219
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
7220
else
 
7221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7222
for as_dir in $PATH
 
7223
do
 
7224
  IFS=$as_save_IFS
 
7225
  test -z "$as_dir" && as_dir=.
 
7226
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7227
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7228
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
7229
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7230
    break 2
 
7231
  fi
 
7232
done
 
7233
done
 
7234
IFS=$as_save_IFS
 
7235
 
 
7236
fi
 
7237
fi
 
7238
RANLIB=$ac_cv_prog_RANLIB
 
7239
if test -n "$RANLIB"; then
 
7240
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7241
echo "${ECHO_T}$RANLIB" >&6; }
 
7242
else
 
7243
  { echo "$as_me:$LINENO: result: no" >&5
 
7244
echo "${ECHO_T}no" >&6; }
 
7245
fi
 
7246
 
 
7247
 
 
7248
fi
 
7249
if test -z "$ac_cv_prog_RANLIB"; then
 
7250
  ac_ct_RANLIB=$RANLIB
 
7251
  # Extract the first word of "ranlib", so it can be a program name with args.
 
7252
set dummy ranlib; ac_word=$2
 
7253
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7254
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7255
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
7256
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7257
else
 
7258
  if test -n "$ac_ct_RANLIB"; then
 
7259
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
7260
else
 
7261
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7262
for as_dir in $PATH
 
7263
do
 
7264
  IFS=$as_save_IFS
 
7265
  test -z "$as_dir" && as_dir=.
 
7266
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7267
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7268
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
7269
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7270
    break 2
 
7271
  fi
 
7272
done
 
7273
done
 
7274
IFS=$as_save_IFS
 
7275
 
 
7276
fi
 
7277
fi
 
7278
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
7279
if test -n "$ac_ct_RANLIB"; then
 
7280
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7281
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
7282
else
 
7283
  { echo "$as_me:$LINENO: result: no" >&5
 
7284
echo "${ECHO_T}no" >&6; }
 
7285
fi
 
7286
 
 
7287
  if test "x$ac_ct_RANLIB" = x; then
 
7288
    RANLIB=":"
 
7289
  else
 
7290
    case $cross_compiling:$ac_tool_warned in
 
7291
yes:)
 
7292
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7293
whose name does not start with the host triplet.  If you think this
 
7294
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7295
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7296
whose name does not start with the host triplet.  If you think this
 
7297
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7298
ac_tool_warned=yes ;;
 
7299
esac
 
7300
    RANLIB=$ac_ct_RANLIB
 
7301
  fi
 
7302
else
 
7303
  RANLIB="$ac_cv_prog_RANLIB"
 
7304
fi
 
7305
 
 
7306
test -z "$RANLIB" && RANLIB=:
 
7307
 
 
7308
 
 
7309
 
 
7310
 
 
7311
 
 
7312
 
 
7313
# Determine commands to create old-style static archives.
 
7314
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
7315
old_postinstall_cmds='chmod 644 $oldlib'
 
7316
old_postuninstall_cmds=
 
7317
 
 
7318
if test -n "$RANLIB"; then
 
7319
  case $host_os in
 
7320
  openbsd*)
 
7321
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
7322
    ;;
 
7323
  *)
 
7324
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
7325
    ;;
 
7326
  esac
 
7327
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
7328
fi
 
7329
 
 
7330
 
 
7331
 
 
7332
 
 
7333
 
 
7334
 
 
7335
 
 
7336
 
 
7337
 
 
7338
 
 
7339
 
 
7340
 
 
7341
 
 
7342
 
 
7343
 
 
7344
 
 
7345
 
 
7346
 
 
7347
 
 
7348
 
 
7349
 
 
7350
 
 
7351
 
 
7352
 
 
7353
 
 
7354
 
 
7355
 
 
7356
 
 
7357
 
 
7358
 
 
7359
 
 
7360
 
 
7361
 
 
7362
 
6562
7363
# If no C compiler was specified, use CC.
6563
7364
LTCC=${LTCC-"$CC"}
6564
7365
 
6568
7369
# Allow CC to be a program name with arguments.
6569
7370
compiler=$CC
6570
7371
 
6571
 
# Check whether --enable-libtool-lock was given.
6572
 
if test "${enable_libtool_lock+set}" = set; then
6573
 
  enableval=$enable_libtool_lock;
6574
 
fi
6575
 
 
6576
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6577
 
 
6578
 
# Some flags need to be propagated to the compiler or linker for good
6579
 
# libtool support.
6580
 
case $host in
6581
 
ia64-*-hpux*)
6582
 
  # Find out which ABI we are using.
6583
 
  echo 'int i;' > conftest.$ac_ext
6584
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6585
 
  (eval $ac_compile) 2>&5
6586
 
  ac_status=$?
6587
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588
 
  (exit $ac_status); }; then
6589
 
    case `/usr/bin/file conftest.$ac_objext` in
6590
 
    *ELF-32*)
6591
 
      HPUX_IA64_MODE="32"
6592
 
      ;;
6593
 
    *ELF-64*)
6594
 
      HPUX_IA64_MODE="64"
6595
 
      ;;
6596
 
    esac
6597
 
  fi
6598
 
  rm -rf conftest*
6599
 
  ;;
6600
 
*-*-irix6*)
6601
 
  # Find out which ABI we are using.
6602
 
  echo '#line 6602 "configure"' > conftest.$ac_ext
6603
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6604
 
  (eval $ac_compile) 2>&5
6605
 
  ac_status=$?
6606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607
 
  (exit $ac_status); }; then
6608
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
6609
 
    case `/usr/bin/file conftest.$ac_objext` in
6610
 
    *32-bit*)
6611
 
      LD="${LD-ld} -melf32bsmip"
6612
 
      ;;
6613
 
    *N32*)
6614
 
      LD="${LD-ld} -melf32bmipn32"
6615
 
      ;;
6616
 
    *64-bit*)
6617
 
      LD="${LD-ld} -melf64bmip"
6618
 
      ;;
6619
 
    esac
6620
 
   else
6621
 
    case `/usr/bin/file conftest.$ac_objext` in
6622
 
    *32-bit*)
6623
 
      LD="${LD-ld} -32"
6624
 
      ;;
6625
 
    *N32*)
6626
 
      LD="${LD-ld} -n32"
6627
 
      ;;
6628
 
    *64-bit*)
6629
 
      LD="${LD-ld} -64"
6630
 
      ;;
6631
 
    esac
6632
 
   fi
6633
 
  fi
6634
 
  rm -rf conftest*
6635
 
  ;;
6636
 
 
6637
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6638
 
s390*-*linux*|sparc*-*linux*)
6639
 
  # Find out which ABI we are using.
6640
 
  echo 'int i;' > conftest.$ac_ext
6641
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6642
 
  (eval $ac_compile) 2>&5
6643
 
  ac_status=$?
6644
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645
 
  (exit $ac_status); }; then
6646
 
    case `/usr/bin/file conftest.o` in
6647
 
    *32-bit*)
6648
 
      case $host in
6649
 
        x86_64-*kfreebsd*-gnu)
6650
 
          LD="${LD-ld} -m elf_i386_fbsd"
6651
 
          ;;
6652
 
        x86_64-*linux*)
6653
 
          LD="${LD-ld} -m elf_i386"
6654
 
          ;;
6655
 
        ppc64-*linux*|powerpc64-*linux*)
6656
 
          LD="${LD-ld} -m elf32ppclinux"
6657
 
          ;;
6658
 
        s390x-*linux*)
6659
 
          LD="${LD-ld} -m elf_s390"
6660
 
          ;;
6661
 
        sparc64-*linux*)
6662
 
          LD="${LD-ld} -m elf32_sparc"
6663
 
          ;;
6664
 
      esac
6665
 
      ;;
6666
 
    *64-bit*)
6667
 
      case $host in
6668
 
        x86_64-*kfreebsd*-gnu)
6669
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
6670
 
          ;;
6671
 
        x86_64-*linux*)
6672
 
          LD="${LD-ld} -m elf_x86_64"
6673
 
          ;;
6674
 
        ppc*-*linux*|powerpc*-*linux*)
6675
 
          LD="${LD-ld} -m elf64ppc"
6676
 
          ;;
6677
 
        s390*-*linux*)
6678
 
          LD="${LD-ld} -m elf64_s390"
6679
 
          ;;
6680
 
        sparc*-*linux*)
6681
 
          LD="${LD-ld} -m elf64_sparc"
6682
 
          ;;
6683
 
      esac
6684
 
      ;;
6685
 
    esac
6686
 
  fi
6687
 
  rm -rf conftest*
6688
 
  ;;
6689
 
 
6690
 
*-*-sco3.2v5*)
6691
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6692
 
  SAVE_CFLAGS="$CFLAGS"
6693
 
  CFLAGS="$CFLAGS -belf"
6694
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6695
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6696
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
6697
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6698
 
else
6699
 
  ac_ext=c
6700
 
ac_cpp='$CPP $CPPFLAGS'
6701
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6702
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6703
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6704
 
 
6705
 
     cat >conftest.$ac_ext <<_ACEOF
6706
 
/* confdefs.h.  */
6707
 
_ACEOF
6708
 
cat confdefs.h >>conftest.$ac_ext
6709
 
cat >>conftest.$ac_ext <<_ACEOF
6710
 
/* end confdefs.h.  */
6711
 
 
6712
 
int
6713
 
main ()
6714
 
{
6715
 
 
6716
 
  ;
6717
 
  return 0;
6718
 
}
6719
 
_ACEOF
6720
 
rm -f conftest.$ac_objext conftest$ac_exeext
6721
 
if { (ac_try="$ac_link"
6722
 
case "(($ac_try" in
6723
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6724
 
  *) ac_try_echo=$ac_try;;
6725
 
esac
6726
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6727
 
  (eval "$ac_link") 2>conftest.er1
6728
 
  ac_status=$?
6729
 
  grep -v '^ *+' conftest.er1 >conftest.err
6730
 
  rm -f conftest.er1
6731
 
  cat conftest.err >&5
6732
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733
 
  (exit $ac_status); } && {
6734
 
         test -z "$ac_c_werror_flag" ||
6735
 
         test ! -s conftest.err
6736
 
       } && test -s conftest$ac_exeext &&
6737
 
       $as_test_x conftest$ac_exeext; then
6738
 
  lt_cv_cc_needs_belf=yes
6739
 
else
6740
 
  echo "$as_me: failed program was:" >&5
6741
 
sed 's/^/| /' conftest.$ac_ext >&5
6742
 
 
6743
 
        lt_cv_cc_needs_belf=no
6744
 
fi
6745
 
 
6746
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6747
 
      conftest$ac_exeext conftest.$ac_ext
6748
 
     ac_ext=c
6749
 
ac_cpp='$CPP $CPPFLAGS'
6750
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6751
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6752
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6753
 
 
6754
 
fi
6755
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6756
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6757
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6758
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6759
 
    CFLAGS="$SAVE_CFLAGS"
6760
 
  fi
6761
 
  ;;
6762
 
sparc*-*solaris*)
6763
 
  # Find out which ABI we are using.
6764
 
  echo 'int i;' > conftest.$ac_ext
6765
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6766
 
  (eval $ac_compile) 2>&5
6767
 
  ac_status=$?
6768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769
 
  (exit $ac_status); }; then
6770
 
    case `/usr/bin/file conftest.o` in
6771
 
    *64-bit*)
6772
 
      case $lt_cv_prog_gnu_ld in
6773
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6774
 
      *)
6775
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6776
 
          LD="${LD-ld} -64"
6777
 
        fi
6778
 
        ;;
6779
 
      esac
6780
 
      ;;
6781
 
    esac
6782
 
  fi
6783
 
  rm -rf conftest*
6784
 
  ;;
6785
 
 
6786
 
 
6787
 
esac
6788
 
 
6789
 
need_locks="$enable_libtool_lock"
6790
 
 
6791
 
 
6792
 
 
6793
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6794
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6795
 
if test "${ac_cv_header_stdc+set}" = set; then
6796
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6797
 
else
6798
 
  cat >conftest.$ac_ext <<_ACEOF
6799
 
/* confdefs.h.  */
6800
 
_ACEOF
6801
 
cat confdefs.h >>conftest.$ac_ext
6802
 
cat >>conftest.$ac_ext <<_ACEOF
6803
 
/* end confdefs.h.  */
6804
 
#include <stdlib.h>
6805
 
#include <stdarg.h>
6806
 
#include <string.h>
6807
 
#include <float.h>
6808
 
 
6809
 
int
6810
 
main ()
6811
 
{
6812
 
 
6813
 
  ;
6814
 
  return 0;
6815
 
}
6816
 
_ACEOF
6817
 
rm -f conftest.$ac_objext
6818
 
if { (ac_try="$ac_compile"
6819
 
case "(($ac_try" in
6820
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6821
 
  *) ac_try_echo=$ac_try;;
6822
 
esac
6823
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6824
 
  (eval "$ac_compile") 2>conftest.er1
6825
 
  ac_status=$?
6826
 
  grep -v '^ *+' conftest.er1 >conftest.err
6827
 
  rm -f conftest.er1
6828
 
  cat conftest.err >&5
6829
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830
 
  (exit $ac_status); } && {
6831
 
         test -z "$ac_c_werror_flag" ||
6832
 
         test ! -s conftest.err
6833
 
       } && test -s conftest.$ac_objext; then
6834
 
  ac_cv_header_stdc=yes
6835
 
else
6836
 
  echo "$as_me: failed program was:" >&5
6837
 
sed 's/^/| /' conftest.$ac_ext >&5
6838
 
 
6839
 
        ac_cv_header_stdc=no
6840
 
fi
6841
 
 
6842
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6843
 
 
6844
 
if test $ac_cv_header_stdc = yes; then
6845
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6846
 
  cat >conftest.$ac_ext <<_ACEOF
6847
 
/* confdefs.h.  */
6848
 
_ACEOF
6849
 
cat confdefs.h >>conftest.$ac_ext
6850
 
cat >>conftest.$ac_ext <<_ACEOF
6851
 
/* end confdefs.h.  */
6852
 
#include <string.h>
6853
 
 
6854
 
_ACEOF
6855
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6856
 
  $EGREP "memchr" >/dev/null 2>&1; then
6857
 
  :
6858
 
else
6859
 
  ac_cv_header_stdc=no
6860
 
fi
6861
 
rm -f conftest*
6862
 
 
6863
 
fi
6864
 
 
6865
 
if test $ac_cv_header_stdc = yes; then
6866
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6867
 
  cat >conftest.$ac_ext <<_ACEOF
6868
 
/* confdefs.h.  */
6869
 
_ACEOF
6870
 
cat confdefs.h >>conftest.$ac_ext
6871
 
cat >>conftest.$ac_ext <<_ACEOF
6872
 
/* end confdefs.h.  */
6873
 
#include <stdlib.h>
6874
 
 
6875
 
_ACEOF
6876
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6877
 
  $EGREP "free" >/dev/null 2>&1; then
6878
 
  :
6879
 
else
6880
 
  ac_cv_header_stdc=no
6881
 
fi
6882
 
rm -f conftest*
6883
 
 
6884
 
fi
6885
 
 
6886
 
if test $ac_cv_header_stdc = yes; then
6887
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6888
 
  if test "$cross_compiling" = yes; then
6889
 
  :
6890
 
else
6891
 
  cat >conftest.$ac_ext <<_ACEOF
6892
 
/* confdefs.h.  */
6893
 
_ACEOF
6894
 
cat confdefs.h >>conftest.$ac_ext
6895
 
cat >>conftest.$ac_ext <<_ACEOF
6896
 
/* end confdefs.h.  */
6897
 
#include <ctype.h>
6898
 
#include <stdlib.h>
6899
 
#if ((' ' & 0x0FF) == 0x020)
6900
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6901
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6902
 
#else
6903
 
# define ISLOWER(c) \
6904
 
                   (('a' <= (c) && (c) <= 'i') \
6905
 
                     || ('j' <= (c) && (c) <= 'r') \
6906
 
                     || ('s' <= (c) && (c) <= 'z'))
6907
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6908
 
#endif
6909
 
 
6910
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6911
 
int
6912
 
main ()
6913
 
{
6914
 
  int i;
6915
 
  for (i = 0; i < 256; i++)
6916
 
    if (XOR (islower (i), ISLOWER (i))
6917
 
        || toupper (i) != TOUPPER (i))
6918
 
      return 2;
6919
 
  return 0;
6920
 
}
6921
 
_ACEOF
6922
 
rm -f conftest$ac_exeext
6923
 
if { (ac_try="$ac_link"
6924
 
case "(($ac_try" in
6925
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6926
 
  *) ac_try_echo=$ac_try;;
6927
 
esac
6928
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6929
 
  (eval "$ac_link") 2>&5
6930
 
  ac_status=$?
6931
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6933
 
  { (case "(($ac_try" in
6934
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6935
 
  *) ac_try_echo=$ac_try;;
6936
 
esac
6937
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6938
 
  (eval "$ac_try") 2>&5
6939
 
  ac_status=$?
6940
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941
 
  (exit $ac_status); }; }; then
6942
 
  :
6943
 
else
6944
 
  echo "$as_me: program exited with status $ac_status" >&5
6945
 
echo "$as_me: failed program was:" >&5
6946
 
sed 's/^/| /' conftest.$ac_ext >&5
6947
 
 
6948
 
( exit $ac_status )
6949
 
ac_cv_header_stdc=no
6950
 
fi
6951
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6952
 
fi
6953
 
 
6954
 
 
6955
 
fi
6956
 
fi
6957
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6958
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6959
 
if test $ac_cv_header_stdc = yes; then
6960
 
 
6961
 
cat >>confdefs.h <<\_ACEOF
6962
 
#define STDC_HEADERS 1
6963
 
_ACEOF
6964
 
 
6965
 
fi
6966
 
 
6967
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6968
 
 
6969
 
 
6970
 
 
6971
 
 
6972
 
 
6973
 
 
6974
 
 
6975
 
 
6976
 
 
6977
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6978
 
                  inttypes.h stdint.h unistd.h
6979
 
do
6980
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6981
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6982
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6983
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6984
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6985
 
else
6986
 
  cat >conftest.$ac_ext <<_ACEOF
6987
 
/* confdefs.h.  */
6988
 
_ACEOF
6989
 
cat confdefs.h >>conftest.$ac_ext
6990
 
cat >>conftest.$ac_ext <<_ACEOF
6991
 
/* end confdefs.h.  */
6992
 
$ac_includes_default
6993
 
 
6994
 
#include <$ac_header>
6995
 
_ACEOF
6996
 
rm -f conftest.$ac_objext
6997
 
if { (ac_try="$ac_compile"
6998
 
case "(($ac_try" in
6999
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7000
 
  *) ac_try_echo=$ac_try;;
7001
 
esac
7002
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7003
 
  (eval "$ac_compile") 2>conftest.er1
7004
 
  ac_status=$?
7005
 
  grep -v '^ *+' conftest.er1 >conftest.err
7006
 
  rm -f conftest.er1
7007
 
  cat conftest.err >&5
7008
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009
 
  (exit $ac_status); } && {
7010
 
         test -z "$ac_c_werror_flag" ||
7011
 
         test ! -s conftest.err
7012
 
       } && test -s conftest.$ac_objext; then
7013
 
  eval "$as_ac_Header=yes"
7014
 
else
7015
 
  echo "$as_me: failed program was:" >&5
7016
 
sed 's/^/| /' conftest.$ac_ext >&5
7017
 
 
7018
 
        eval "$as_ac_Header=no"
7019
 
fi
7020
 
 
7021
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7022
 
fi
7023
 
ac_res=`eval echo '${'$as_ac_Header'}'`
7024
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7025
 
echo "${ECHO_T}$ac_res" >&6; }
7026
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7027
 
  cat >>confdefs.h <<_ACEOF
7028
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7029
 
_ACEOF
7030
 
 
7031
 
fi
7032
 
 
7033
 
done
7034
 
 
7035
 
 
7036
 
 
7037
 
for ac_header in dlfcn.h
7038
 
do
7039
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7040
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7041
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7042
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7043
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7044
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7045
 
fi
7046
 
ac_res=`eval echo '${'$as_ac_Header'}'`
7047
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7048
 
echo "${ECHO_T}$ac_res" >&6; }
7049
 
else
7050
 
  # Is the header compilable?
7051
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7052
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7053
 
cat >conftest.$ac_ext <<_ACEOF
7054
 
/* confdefs.h.  */
7055
 
_ACEOF
7056
 
cat confdefs.h >>conftest.$ac_ext
7057
 
cat >>conftest.$ac_ext <<_ACEOF
7058
 
/* end confdefs.h.  */
7059
 
$ac_includes_default
7060
 
#include <$ac_header>
7061
 
_ACEOF
7062
 
rm -f conftest.$ac_objext
7063
 
if { (ac_try="$ac_compile"
7064
 
case "(($ac_try" in
7065
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7066
 
  *) ac_try_echo=$ac_try;;
7067
 
esac
7068
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7069
 
  (eval "$ac_compile") 2>conftest.er1
7070
 
  ac_status=$?
7071
 
  grep -v '^ *+' conftest.er1 >conftest.err
7072
 
  rm -f conftest.er1
7073
 
  cat conftest.err >&5
7074
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075
 
  (exit $ac_status); } && {
7076
 
         test -z "$ac_c_werror_flag" ||
7077
 
         test ! -s conftest.err
7078
 
       } && test -s conftest.$ac_objext; then
7079
 
  ac_header_compiler=yes
7080
 
else
7081
 
  echo "$as_me: failed program was:" >&5
7082
 
sed 's/^/| /' conftest.$ac_ext >&5
7083
 
 
7084
 
        ac_header_compiler=no
7085
 
fi
7086
 
 
7087
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7088
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7089
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
7090
 
 
7091
 
# Is the header present?
7092
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7093
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7094
 
cat >conftest.$ac_ext <<_ACEOF
7095
 
/* confdefs.h.  */
7096
 
_ACEOF
7097
 
cat confdefs.h >>conftest.$ac_ext
7098
 
cat >>conftest.$ac_ext <<_ACEOF
7099
 
/* end confdefs.h.  */
7100
 
#include <$ac_header>
7101
 
_ACEOF
7102
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7103
 
case "(($ac_try" in
7104
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7105
 
  *) ac_try_echo=$ac_try;;
7106
 
esac
7107
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7108
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7109
 
  ac_status=$?
7110
 
  grep -v '^ *+' conftest.er1 >conftest.err
7111
 
  rm -f conftest.er1
7112
 
  cat conftest.err >&5
7113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114
 
  (exit $ac_status); } >/dev/null && {
7115
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7116
 
         test ! -s conftest.err
7117
 
       }; then
7118
 
  ac_header_preproc=yes
7119
 
else
7120
 
  echo "$as_me: failed program was:" >&5
7121
 
sed 's/^/| /' conftest.$ac_ext >&5
7122
 
 
7123
 
  ac_header_preproc=no
7124
 
fi
7125
 
 
7126
 
rm -f conftest.err conftest.$ac_ext
7127
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7128
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
7129
 
 
7130
 
# So?  What about this header?
7131
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7132
 
  yes:no: )
7133
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7134
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7135
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7136
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7137
 
    ac_header_preproc=yes
7138
 
    ;;
7139
 
  no:yes:* )
7140
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7141
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7142
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7143
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7144
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7145
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7146
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7147
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7148
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7149
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7150
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7151
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7152
 
    ( cat <<\_ASBOX
7153
 
## -------------------------------------------------------------------------- ##
7154
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome ##
7155
 
## -------------------------------------------------------------------------- ##
7156
 
_ASBOX
7157
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
7158
 
    ;;
7159
 
esac
7160
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7161
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7162
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7163
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7164
 
else
7165
 
  eval "$as_ac_Header=\$ac_header_preproc"
7166
 
fi
7167
 
ac_res=`eval echo '${'$as_ac_Header'}'`
7168
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7169
 
echo "${ECHO_T}$ac_res" >&6; }
7170
 
 
7171
 
fi
7172
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7173
 
  cat >>confdefs.h <<_ACEOF
7174
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7175
 
_ACEOF
7176
 
 
7177
 
fi
7178
 
 
7179
 
done
7180
 
 
7181
 
ac_ext=cpp
7182
 
ac_cpp='$CXXCPP $CPPFLAGS'
7183
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7184
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7185
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7186
 
if test -z "$CXX"; then
7187
 
  if test -n "$CCC"; then
7188
 
    CXX=$CCC
7189
 
  else
7190
 
    if test -n "$ac_tool_prefix"; then
7191
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7192
 
  do
7193
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7194
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7195
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7196
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7197
 
if test "${ac_cv_prog_CXX+set}" = set; then
7198
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7199
 
else
7200
 
  if test -n "$CXX"; then
7201
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
7202
 
else
7203
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7204
 
for as_dir in $PATH
7205
 
do
7206
 
  IFS=$as_save_IFS
7207
 
  test -z "$as_dir" && as_dir=.
7208
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7209
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7210
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7211
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7212
 
    break 2
7213
 
  fi
7214
 
done
7215
 
done
7216
 
IFS=$as_save_IFS
7217
 
 
7218
 
fi
7219
 
fi
7220
 
CXX=$ac_cv_prog_CXX
7221
 
if test -n "$CXX"; then
7222
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
7223
 
echo "${ECHO_T}$CXX" >&6; }
7224
 
else
7225
 
  { echo "$as_me:$LINENO: result: no" >&5
7226
 
echo "${ECHO_T}no" >&6; }
7227
 
fi
7228
 
 
7229
 
 
7230
 
    test -n "$CXX" && break
7231
 
  done
7232
 
fi
7233
 
if test -z "$CXX"; then
7234
 
  ac_ct_CXX=$CXX
7235
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7236
 
do
7237
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7238
 
set dummy $ac_prog; ac_word=$2
7239
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7240
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7241
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7242
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7243
 
else
7244
 
  if test -n "$ac_ct_CXX"; then
7245
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7246
 
else
7247
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248
 
for as_dir in $PATH
7249
 
do
7250
 
  IFS=$as_save_IFS
7251
 
  test -z "$as_dir" && as_dir=.
7252
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7253
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7254
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
7255
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7256
 
    break 2
7257
 
  fi
7258
 
done
7259
 
done
7260
 
IFS=$as_save_IFS
7261
 
 
7262
 
fi
7263
 
fi
7264
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7265
 
if test -n "$ac_ct_CXX"; then
7266
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7267
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
7268
 
else
7269
 
  { echo "$as_me:$LINENO: result: no" >&5
7270
 
echo "${ECHO_T}no" >&6; }
7271
 
fi
7272
 
 
7273
 
 
7274
 
  test -n "$ac_ct_CXX" && break
7275
 
done
7276
 
 
7277
 
  if test "x$ac_ct_CXX" = x; then
7278
 
    CXX="g++"
7279
 
  else
7280
 
    case $cross_compiling:$ac_tool_warned in
7281
 
yes:)
7282
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7283
 
whose name does not start with the host triplet.  If you think this
7284
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7285
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7286
 
whose name does not start with the host triplet.  If you think this
7287
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7288
 
ac_tool_warned=yes ;;
7289
 
esac
7290
 
    CXX=$ac_ct_CXX
7291
 
  fi
7292
 
fi
7293
 
 
7294
 
  fi
7295
 
fi
7296
 
# Provide some information about the compiler.
7297
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
7298
 
ac_compiler=`set X $ac_compile; echo $2`
7299
 
{ (ac_try="$ac_compiler --version >&5"
7300
 
case "(($ac_try" in
7301
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7302
 
  *) ac_try_echo=$ac_try;;
7303
 
esac
7304
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7305
 
  (eval "$ac_compiler --version >&5") 2>&5
7306
 
  ac_status=$?
7307
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7308
 
  (exit $ac_status); }
7309
 
{ (ac_try="$ac_compiler -v >&5"
7310
 
case "(($ac_try" in
7311
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7312
 
  *) ac_try_echo=$ac_try;;
7313
 
esac
7314
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7315
 
  (eval "$ac_compiler -v >&5") 2>&5
7316
 
  ac_status=$?
7317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7318
 
  (exit $ac_status); }
7319
 
{ (ac_try="$ac_compiler -V >&5"
7320
 
case "(($ac_try" in
7321
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7322
 
  *) ac_try_echo=$ac_try;;
7323
 
esac
7324
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325
 
  (eval "$ac_compiler -V >&5") 2>&5
7326
 
  ac_status=$?
7327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328
 
  (exit $ac_status); }
7329
 
 
7330
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7331
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
7332
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7333
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7334
 
else
7335
 
  cat >conftest.$ac_ext <<_ACEOF
7336
 
/* confdefs.h.  */
7337
 
_ACEOF
7338
 
cat confdefs.h >>conftest.$ac_ext
7339
 
cat >>conftest.$ac_ext <<_ACEOF
7340
 
/* end confdefs.h.  */
7341
 
 
7342
 
int
7343
 
main ()
7344
 
{
7345
 
#ifndef __GNUC__
7346
 
       choke me
7347
 
#endif
7348
 
 
7349
 
  ;
7350
 
  return 0;
7351
 
}
7352
 
_ACEOF
7353
 
rm -f conftest.$ac_objext
7354
 
if { (ac_try="$ac_compile"
7355
 
case "(($ac_try" in
7356
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7357
 
  *) ac_try_echo=$ac_try;;
7358
 
esac
7359
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7360
 
  (eval "$ac_compile") 2>conftest.er1
7361
 
  ac_status=$?
7362
 
  grep -v '^ *+' conftest.er1 >conftest.err
7363
 
  rm -f conftest.er1
7364
 
  cat conftest.err >&5
7365
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366
 
  (exit $ac_status); } && {
7367
 
         test -z "$ac_cxx_werror_flag" ||
7368
 
         test ! -s conftest.err
7369
 
       } && test -s conftest.$ac_objext; then
7370
 
  ac_compiler_gnu=yes
7371
 
else
7372
 
  echo "$as_me: failed program was:" >&5
7373
 
sed 's/^/| /' conftest.$ac_ext >&5
7374
 
 
7375
 
        ac_compiler_gnu=no
7376
 
fi
7377
 
 
7378
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7379
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7380
 
 
7381
 
fi
7382
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7383
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
7384
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
7385
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
7386
 
ac_save_CXXFLAGS=$CXXFLAGS
7387
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7388
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
7389
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
7390
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7391
 
else
7392
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7393
 
   ac_cxx_werror_flag=yes
7394
 
   ac_cv_prog_cxx_g=no
7395
 
   CXXFLAGS="-g"
7396
 
   cat >conftest.$ac_ext <<_ACEOF
7397
 
/* confdefs.h.  */
7398
 
_ACEOF
7399
 
cat confdefs.h >>conftest.$ac_ext
7400
 
cat >>conftest.$ac_ext <<_ACEOF
7401
 
/* end confdefs.h.  */
7402
 
 
7403
 
int
7404
 
main ()
7405
 
{
7406
 
 
7407
 
  ;
7408
 
  return 0;
7409
 
}
7410
 
_ACEOF
7411
 
rm -f conftest.$ac_objext
7412
 
if { (ac_try="$ac_compile"
7413
 
case "(($ac_try" in
7414
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7415
 
  *) ac_try_echo=$ac_try;;
7416
 
esac
7417
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7418
 
  (eval "$ac_compile") 2>conftest.er1
7419
 
  ac_status=$?
7420
 
  grep -v '^ *+' conftest.er1 >conftest.err
7421
 
  rm -f conftest.er1
7422
 
  cat conftest.err >&5
7423
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424
 
  (exit $ac_status); } && {
7425
 
         test -z "$ac_cxx_werror_flag" ||
7426
 
         test ! -s conftest.err
7427
 
       } && test -s conftest.$ac_objext; then
7428
 
  ac_cv_prog_cxx_g=yes
7429
 
else
7430
 
  echo "$as_me: failed program was:" >&5
7431
 
sed 's/^/| /' conftest.$ac_ext >&5
7432
 
 
7433
 
        CXXFLAGS=""
7434
 
      cat >conftest.$ac_ext <<_ACEOF
7435
 
/* confdefs.h.  */
7436
 
_ACEOF
7437
 
cat confdefs.h >>conftest.$ac_ext
7438
 
cat >>conftest.$ac_ext <<_ACEOF
7439
 
/* end confdefs.h.  */
7440
 
 
7441
 
int
7442
 
main ()
7443
 
{
7444
 
 
7445
 
  ;
7446
 
  return 0;
7447
 
}
7448
 
_ACEOF
7449
 
rm -f conftest.$ac_objext
7450
 
if { (ac_try="$ac_compile"
7451
 
case "(($ac_try" in
7452
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7453
 
  *) ac_try_echo=$ac_try;;
7454
 
esac
7455
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7456
 
  (eval "$ac_compile") 2>conftest.er1
7457
 
  ac_status=$?
7458
 
  grep -v '^ *+' conftest.er1 >conftest.err
7459
 
  rm -f conftest.er1
7460
 
  cat conftest.err >&5
7461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462
 
  (exit $ac_status); } && {
7463
 
         test -z "$ac_cxx_werror_flag" ||
7464
 
         test ! -s conftest.err
7465
 
       } && test -s conftest.$ac_objext; then
7466
 
  :
7467
 
else
7468
 
  echo "$as_me: failed program was:" >&5
7469
 
sed 's/^/| /' conftest.$ac_ext >&5
7470
 
 
7471
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7472
 
         CXXFLAGS="-g"
7473
 
         cat >conftest.$ac_ext <<_ACEOF
7474
 
/* confdefs.h.  */
7475
 
_ACEOF
7476
 
cat confdefs.h >>conftest.$ac_ext
7477
 
cat >>conftest.$ac_ext <<_ACEOF
7478
 
/* end confdefs.h.  */
7479
 
 
7480
 
int
7481
 
main ()
7482
 
{
7483
 
 
7484
 
  ;
7485
 
  return 0;
7486
 
}
7487
 
_ACEOF
7488
 
rm -f conftest.$ac_objext
7489
 
if { (ac_try="$ac_compile"
7490
 
case "(($ac_try" in
7491
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7492
 
  *) ac_try_echo=$ac_try;;
7493
 
esac
7494
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7495
 
  (eval "$ac_compile") 2>conftest.er1
7496
 
  ac_status=$?
7497
 
  grep -v '^ *+' conftest.er1 >conftest.err
7498
 
  rm -f conftest.er1
7499
 
  cat conftest.err >&5
7500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501
 
  (exit $ac_status); } && {
7502
 
         test -z "$ac_cxx_werror_flag" ||
7503
 
         test ! -s conftest.err
7504
 
       } && test -s conftest.$ac_objext; then
7505
 
  ac_cv_prog_cxx_g=yes
7506
 
else
7507
 
  echo "$as_me: failed program was:" >&5
7508
 
sed 's/^/| /' conftest.$ac_ext >&5
7509
 
 
7510
 
 
7511
 
fi
7512
 
 
7513
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7514
 
fi
7515
 
 
7516
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7517
 
fi
7518
 
 
7519
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7520
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7521
 
fi
7522
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7523
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
7524
 
if test "$ac_test_CXXFLAGS" = set; then
7525
 
  CXXFLAGS=$ac_save_CXXFLAGS
7526
 
elif test $ac_cv_prog_cxx_g = yes; then
7527
 
  if test "$GXX" = yes; then
7528
 
    CXXFLAGS="-g -O2"
7529
 
  else
7530
 
    CXXFLAGS="-g"
7531
 
  fi
7532
 
else
7533
 
  if test "$GXX" = yes; then
7534
 
    CXXFLAGS="-O2"
7535
 
  else
7536
 
    CXXFLAGS=
7537
 
  fi
7538
 
fi
7539
 
ac_ext=cpp
7540
 
ac_cpp='$CXXCPP $CPPFLAGS'
7541
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7542
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7543
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7544
 
 
7545
 
depcc="$CXX"  am_compiler_list=
7546
 
 
7547
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7548
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
7549
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7550
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7551
 
else
7552
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7553
 
  # We make a subdir and do the tests there.  Otherwise we can end up
7554
 
  # making bogus files that we don't know about and never remove.  For
7555
 
  # instance it was reported that on HP-UX the gcc test will end up
7556
 
  # making a dummy file named `D' -- because `-MD' means `put the output
7557
 
  # in D'.
7558
 
  mkdir conftest.dir
7559
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
7560
 
  # using a relative directory.
7561
 
  cp "$am_depcomp" conftest.dir
7562
 
  cd conftest.dir
7563
 
  # We will build objects and dependencies in a subdirectory because
7564
 
  # it helps to detect inapplicable dependency modes.  For instance
7565
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
7566
 
  # side effect of compilation, but ICC will put the dependencies in
7567
 
  # the current directory while Tru64 will put them in the object
7568
 
  # directory.
7569
 
  mkdir sub
7570
 
 
7571
 
  am_cv_CXX_dependencies_compiler_type=none
7572
 
  if test "$am_compiler_list" = ""; then
7573
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7574
 
  fi
7575
 
  for depmode in $am_compiler_list; do
7576
 
    # Setup a source with many dependencies, because some compilers
7577
 
    # like to wrap large dependency lists on column 80 (with \), and
7578
 
    # we should not choose a depcomp mode which is confused by this.
7579
 
    #
7580
 
    # We need to recreate these files for each test, as the compiler may
7581
 
    # overwrite some of them when testing with obscure command lines.
7582
 
    # This happens at least with the AIX C compiler.
7583
 
    : > sub/conftest.c
7584
 
    for i in 1 2 3 4 5 6; do
7585
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
7586
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7587
 
      # Solaris 8's {/usr,}/bin/sh.
7588
 
      touch sub/conftst$i.h
7589
 
    done
7590
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7591
 
 
7592
 
    case $depmode in
7593
 
    nosideeffect)
7594
 
      # after this tag, mechanisms are not by side-effect, so they'll
7595
 
      # only be used when explicitly requested
7596
 
      if test "x$enable_dependency_tracking" = xyes; then
7597
 
        continue
7598
 
      else
7599
 
        break
7600
 
      fi
7601
 
      ;;
7602
 
    none) break ;;
7603
 
    esac
7604
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
7605
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
7606
 
    # handle `-M -o', and we need to detect this.
7607
 
    if depmode=$depmode \
7608
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7609
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7610
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7611
 
         >/dev/null 2>conftest.err &&
7612
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7613
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7614
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7615
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7616
 
      # icc doesn't choke on unknown options, it will just issue warnings
7617
 
      # or remarks (even with -Werror).  So we grep stderr for any message
7618
 
      # that says an option was ignored or not supported.
7619
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
7620
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
7621
 
      # The diagnosis changed in icc 8.0:
7622
 
      #   icc: Command line remark: option '-MP' not supported
7623
 
      if (grep 'ignoring option' conftest.err ||
7624
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7625
 
        am_cv_CXX_dependencies_compiler_type=$depmode
7626
 
        break
7627
 
      fi
7628
 
    fi
7629
 
  done
7630
 
 
7631
 
  cd ..
7632
 
  rm -rf conftest.dir
7633
 
else
7634
 
  am_cv_CXX_dependencies_compiler_type=none
7635
 
fi
7636
 
 
7637
 
fi
7638
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7639
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
7640
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7641
 
 
7642
 
 if
7643
 
  test "x$enable_dependency_tracking" != xno \
7644
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7645
 
  am__fastdepCXX_TRUE=
7646
 
  am__fastdepCXX_FALSE='#'
7647
 
else
7648
 
  am__fastdepCXX_TRUE='#'
7649
 
  am__fastdepCXX_FALSE=
7650
 
fi
7651
 
 
7652
 
 
7653
 
 
7654
 
 
7655
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7656
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7657
 
    (test "X$CXX" != "Xg++"))) ; then
7658
 
  ac_ext=cpp
7659
 
ac_cpp='$CXXCPP $CPPFLAGS'
7660
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7661
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7662
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7663
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7664
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7665
 
if test -z "$CXXCPP"; then
7666
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
7667
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7668
 
else
7669
 
      # Double quotes because CXXCPP needs to be expanded
7670
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
7671
 
    do
7672
 
      ac_preproc_ok=false
7673
 
for ac_cxx_preproc_warn_flag in '' yes
7674
 
do
7675
 
  # Use a header file that comes with gcc, so configuring glibc
7676
 
  # with a fresh cross-compiler works.
7677
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7678
 
  # <limits.h> exists even on freestanding compilers.
7679
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7680
 
  # not just through cpp. "Syntax error" is here to catch this case.
7681
 
  cat >conftest.$ac_ext <<_ACEOF
7682
 
/* confdefs.h.  */
7683
 
_ACEOF
7684
 
cat confdefs.h >>conftest.$ac_ext
7685
 
cat >>conftest.$ac_ext <<_ACEOF
7686
 
/* end confdefs.h.  */
7687
 
#ifdef __STDC__
7688
 
# include <limits.h>
7689
 
#else
7690
 
# include <assert.h>
7691
 
#endif
7692
 
                     Syntax error
7693
 
_ACEOF
7694
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7695
 
case "(($ac_try" in
7696
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7697
 
  *) ac_try_echo=$ac_try;;
7698
 
esac
7699
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7700
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7701
 
  ac_status=$?
7702
 
  grep -v '^ *+' conftest.er1 >conftest.err
7703
 
  rm -f conftest.er1
7704
 
  cat conftest.err >&5
7705
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7706
 
  (exit $ac_status); } >/dev/null && {
7707
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7708
 
         test ! -s conftest.err
7709
 
       }; then
7710
 
  :
7711
 
else
7712
 
  echo "$as_me: failed program was:" >&5
7713
 
sed 's/^/| /' conftest.$ac_ext >&5
7714
 
 
7715
 
  # Broken: fails on valid input.
7716
 
continue
7717
 
fi
7718
 
 
7719
 
rm -f conftest.err conftest.$ac_ext
7720
 
 
7721
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7722
 
  # can be detected and how.
7723
 
  cat >conftest.$ac_ext <<_ACEOF
7724
 
/* confdefs.h.  */
7725
 
_ACEOF
7726
 
cat confdefs.h >>conftest.$ac_ext
7727
 
cat >>conftest.$ac_ext <<_ACEOF
7728
 
/* end confdefs.h.  */
7729
 
#include <ac_nonexistent.h>
7730
 
_ACEOF
7731
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7732
 
case "(($ac_try" in
7733
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7734
 
  *) ac_try_echo=$ac_try;;
7735
 
esac
7736
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7737
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7738
 
  ac_status=$?
7739
 
  grep -v '^ *+' conftest.er1 >conftest.err
7740
 
  rm -f conftest.er1
7741
 
  cat conftest.err >&5
7742
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743
 
  (exit $ac_status); } >/dev/null && {
7744
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7745
 
         test ! -s conftest.err
7746
 
       }; then
7747
 
  # Broken: success on invalid input.
7748
 
continue
7749
 
else
7750
 
  echo "$as_me: failed program was:" >&5
7751
 
sed 's/^/| /' conftest.$ac_ext >&5
7752
 
 
7753
 
  # Passes both tests.
7754
 
ac_preproc_ok=:
7755
 
break
7756
 
fi
7757
 
 
7758
 
rm -f conftest.err conftest.$ac_ext
7759
 
 
7760
 
done
7761
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7762
 
rm -f conftest.err conftest.$ac_ext
7763
 
if $ac_preproc_ok; then
7764
 
  break
7765
 
fi
7766
 
 
7767
 
    done
7768
 
    ac_cv_prog_CXXCPP=$CXXCPP
7769
 
 
7770
 
fi
7771
 
  CXXCPP=$ac_cv_prog_CXXCPP
7772
 
else
7773
 
  ac_cv_prog_CXXCPP=$CXXCPP
7774
 
fi
7775
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
7776
 
echo "${ECHO_T}$CXXCPP" >&6; }
7777
 
ac_preproc_ok=false
7778
 
for ac_cxx_preproc_warn_flag in '' yes
7779
 
do
7780
 
  # Use a header file that comes with gcc, so configuring glibc
7781
 
  # with a fresh cross-compiler works.
7782
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7783
 
  # <limits.h> exists even on freestanding compilers.
7784
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7785
 
  # not just through cpp. "Syntax error" is here to catch this case.
7786
 
  cat >conftest.$ac_ext <<_ACEOF
7787
 
/* confdefs.h.  */
7788
 
_ACEOF
7789
 
cat confdefs.h >>conftest.$ac_ext
7790
 
cat >>conftest.$ac_ext <<_ACEOF
7791
 
/* end confdefs.h.  */
7792
 
#ifdef __STDC__
7793
 
# include <limits.h>
7794
 
#else
7795
 
# include <assert.h>
7796
 
#endif
7797
 
                     Syntax error
7798
 
_ACEOF
7799
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7800
 
case "(($ac_try" in
7801
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7802
 
  *) ac_try_echo=$ac_try;;
7803
 
esac
7804
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7805
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7806
 
  ac_status=$?
7807
 
  grep -v '^ *+' conftest.er1 >conftest.err
7808
 
  rm -f conftest.er1
7809
 
  cat conftest.err >&5
7810
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811
 
  (exit $ac_status); } >/dev/null && {
7812
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7813
 
         test ! -s conftest.err
7814
 
       }; then
7815
 
  :
7816
 
else
7817
 
  echo "$as_me: failed program was:" >&5
7818
 
sed 's/^/| /' conftest.$ac_ext >&5
7819
 
 
7820
 
  # Broken: fails on valid input.
7821
 
continue
7822
 
fi
7823
 
 
7824
 
rm -f conftest.err conftest.$ac_ext
7825
 
 
7826
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7827
 
  # can be detected and how.
7828
 
  cat >conftest.$ac_ext <<_ACEOF
7829
 
/* confdefs.h.  */
7830
 
_ACEOF
7831
 
cat confdefs.h >>conftest.$ac_ext
7832
 
cat >>conftest.$ac_ext <<_ACEOF
7833
 
/* end confdefs.h.  */
7834
 
#include <ac_nonexistent.h>
7835
 
_ACEOF
7836
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7837
 
case "(($ac_try" in
7838
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7839
 
  *) ac_try_echo=$ac_try;;
7840
 
esac
7841
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7842
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7843
 
  ac_status=$?
7844
 
  grep -v '^ *+' conftest.er1 >conftest.err
7845
 
  rm -f conftest.er1
7846
 
  cat conftest.err >&5
7847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7848
 
  (exit $ac_status); } >/dev/null && {
7849
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7850
 
         test ! -s conftest.err
7851
 
       }; then
7852
 
  # Broken: success on invalid input.
7853
 
continue
7854
 
else
7855
 
  echo "$as_me: failed program was:" >&5
7856
 
sed 's/^/| /' conftest.$ac_ext >&5
7857
 
 
7858
 
  # Passes both tests.
7859
 
ac_preproc_ok=:
7860
 
break
7861
 
fi
7862
 
 
7863
 
rm -f conftest.err conftest.$ac_ext
7864
 
 
7865
 
done
7866
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7867
 
rm -f conftest.err conftest.$ac_ext
7868
 
if $ac_preproc_ok; then
7869
 
  :
7870
 
else
7871
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7872
 
See \`config.log' for more details." >&5
7873
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7874
 
See \`config.log' for more details." >&2;}
7875
 
   { (exit 1); exit 1; }; }
7876
 
fi
7877
 
 
7878
 
ac_ext=cpp
7879
 
ac_cpp='$CXXCPP $CPPFLAGS'
7880
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7881
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7882
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7883
 
 
7884
 
fi
7885
 
 
7886
 
 
7887
 
ac_ext=f
7888
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7889
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7890
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7891
 
if test -n "$ac_tool_prefix"; then
7892
 
  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
7893
 
  do
7894
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7895
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7896
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7897
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7898
 
if test "${ac_cv_prog_F77+set}" = set; then
7899
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7900
 
else
7901
 
  if test -n "$F77"; then
7902
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
7903
 
else
7904
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905
 
for as_dir in $PATH
7906
 
do
7907
 
  IFS=$as_save_IFS
7908
 
  test -z "$as_dir" && as_dir=.
7909
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7910
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7911
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7912
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7913
 
    break 2
7914
 
  fi
7915
 
done
7916
 
done
7917
 
IFS=$as_save_IFS
7918
 
 
7919
 
fi
7920
 
fi
7921
 
F77=$ac_cv_prog_F77
7922
 
if test -n "$F77"; then
7923
 
  { echo "$as_me:$LINENO: result: $F77" >&5
7924
 
echo "${ECHO_T}$F77" >&6; }
7925
 
else
7926
 
  { echo "$as_me:$LINENO: result: no" >&5
7927
 
echo "${ECHO_T}no" >&6; }
7928
 
fi
7929
 
 
7930
 
 
7931
 
    test -n "$F77" && break
7932
 
  done
7933
 
fi
7934
 
if test -z "$F77"; then
7935
 
  ac_ct_F77=$F77
7936
 
  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
7937
 
do
7938
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7939
 
set dummy $ac_prog; ac_word=$2
7940
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7941
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7942
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7943
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7944
 
else
7945
 
  if test -n "$ac_ct_F77"; then
7946
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7947
 
else
7948
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949
 
for as_dir in $PATH
7950
 
do
7951
 
  IFS=$as_save_IFS
7952
 
  test -z "$as_dir" && as_dir=.
7953
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7954
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7955
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
7956
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7957
 
    break 2
7958
 
  fi
7959
 
done
7960
 
done
7961
 
IFS=$as_save_IFS
7962
 
 
7963
 
fi
7964
 
fi
7965
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7966
 
if test -n "$ac_ct_F77"; then
7967
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7968
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
7969
 
else
7970
 
  { echo "$as_me:$LINENO: result: no" >&5
7971
 
echo "${ECHO_T}no" >&6; }
7972
 
fi
7973
 
 
7974
 
 
7975
 
  test -n "$ac_ct_F77" && break
7976
 
done
7977
 
 
7978
 
  if test "x$ac_ct_F77" = x; then
7979
 
    F77=""
7980
 
  else
7981
 
    case $cross_compiling:$ac_tool_warned in
7982
 
yes:)
7983
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7984
 
whose name does not start with the host triplet.  If you think this
7985
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7986
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7987
 
whose name does not start with the host triplet.  If you think this
7988
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7989
 
ac_tool_warned=yes ;;
7990
 
esac
7991
 
    F77=$ac_ct_F77
7992
 
  fi
7993
 
fi
7994
 
 
7995
 
 
7996
 
# Provide some information about the compiler.
7997
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7998
 
ac_compiler=`set X $ac_compile; echo $2`
7999
 
{ (ac_try="$ac_compiler --version >&5"
8000
 
case "(($ac_try" in
8001
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8002
 
  *) ac_try_echo=$ac_try;;
8003
 
esac
8004
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8005
 
  (eval "$ac_compiler --version >&5") 2>&5
8006
 
  ac_status=$?
8007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8008
 
  (exit $ac_status); }
8009
 
{ (ac_try="$ac_compiler -v >&5"
8010
 
case "(($ac_try" in
8011
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8012
 
  *) ac_try_echo=$ac_try;;
8013
 
esac
8014
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8015
 
  (eval "$ac_compiler -v >&5") 2>&5
8016
 
  ac_status=$?
8017
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8018
 
  (exit $ac_status); }
8019
 
{ (ac_try="$ac_compiler -V >&5"
8020
 
case "(($ac_try" in
8021
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8022
 
  *) ac_try_echo=$ac_try;;
8023
 
esac
8024
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8025
 
  (eval "$ac_compiler -V >&5") 2>&5
8026
 
  ac_status=$?
8027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028
 
  (exit $ac_status); }
8029
 
rm -f a.out
8030
 
 
8031
 
# If we don't use `.F' as extension, the preprocessor is not run on the
8032
 
# input file.  (Note that this only needs to work for GNU compilers.)
8033
 
ac_save_ext=$ac_ext
8034
 
ac_ext=F
8035
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
8036
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
8037
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
8038
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8039
 
else
8040
 
  cat >conftest.$ac_ext <<_ACEOF
8041
 
      program main
8042
 
#ifndef __GNUC__
8043
 
       choke me
8044
 
#endif
8045
 
 
8046
 
      end
8047
 
_ACEOF
8048
 
rm -f conftest.$ac_objext
8049
 
if { (ac_try="$ac_compile"
8050
 
case "(($ac_try" in
8051
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8052
 
  *) ac_try_echo=$ac_try;;
8053
 
esac
8054
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8055
 
  (eval "$ac_compile") 2>conftest.er1
8056
 
  ac_status=$?
8057
 
  grep -v '^ *+' conftest.er1 >conftest.err
8058
 
  rm -f conftest.er1
8059
 
  cat conftest.err >&5
8060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061
 
  (exit $ac_status); } && {
8062
 
         test -z "$ac_f77_werror_flag" ||
8063
 
         test ! -s conftest.err
8064
 
       } && test -s conftest.$ac_objext; then
8065
 
  ac_compiler_gnu=yes
8066
 
else
8067
 
  echo "$as_me: failed program was:" >&5
8068
 
sed 's/^/| /' conftest.$ac_ext >&5
8069
 
 
8070
 
        ac_compiler_gnu=no
8071
 
fi
8072
 
 
8073
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8074
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
8075
 
 
8076
 
fi
8077
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8078
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
8079
 
ac_ext=$ac_save_ext
8080
 
ac_test_FFLAGS=${FFLAGS+set}
8081
 
ac_save_FFLAGS=$FFLAGS
8082
 
FFLAGS=
8083
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8084
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
8085
 
if test "${ac_cv_prog_f77_g+set}" = set; then
8086
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8087
 
else
8088
 
  FFLAGS=-g
8089
 
cat >conftest.$ac_ext <<_ACEOF
8090
 
      program main
8091
 
 
8092
 
      end
8093
 
_ACEOF
8094
 
rm -f conftest.$ac_objext
8095
 
if { (ac_try="$ac_compile"
8096
 
case "(($ac_try" in
8097
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8098
 
  *) ac_try_echo=$ac_try;;
8099
 
esac
8100
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8101
 
  (eval "$ac_compile") 2>conftest.er1
8102
 
  ac_status=$?
8103
 
  grep -v '^ *+' conftest.er1 >conftest.err
8104
 
  rm -f conftest.er1
8105
 
  cat conftest.err >&5
8106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107
 
  (exit $ac_status); } && {
8108
 
         test -z "$ac_f77_werror_flag" ||
8109
 
         test ! -s conftest.err
8110
 
       } && test -s conftest.$ac_objext; then
8111
 
  ac_cv_prog_f77_g=yes
8112
 
else
8113
 
  echo "$as_me: failed program was:" >&5
8114
 
sed 's/^/| /' conftest.$ac_ext >&5
8115
 
 
8116
 
        ac_cv_prog_f77_g=no
8117
 
fi
8118
 
 
8119
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8120
 
 
8121
 
fi
8122
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8123
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
8124
 
if test "$ac_test_FFLAGS" = set; then
8125
 
  FFLAGS=$ac_save_FFLAGS
8126
 
elif test $ac_cv_prog_f77_g = yes; then
8127
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8128
 
    FFLAGS="-g -O2"
8129
 
  else
8130
 
    FFLAGS="-g"
8131
 
  fi
8132
 
else
8133
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8134
 
    FFLAGS="-O2"
8135
 
  else
8136
 
    FFLAGS=
8137
 
  fi
8138
 
fi
8139
 
 
8140
 
G77=`test $ac_compiler_gnu = yes && echo yes`
8141
 
ac_ext=c
8142
 
ac_cpp='$CPP $CPPFLAGS'
8143
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8144
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8145
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8146
 
 
8147
 
 
8148
 
 
8149
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
8150
 
# find the maximum length of command line arguments
8151
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8152
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
8153
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8154
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8155
 
else
8156
 
    i=0
8157
 
  teststring="ABCD"
8158
 
 
8159
 
  case $build_os in
8160
 
  msdosdjgpp*)
8161
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
8162
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
8163
 
    # during glob expansion).  Even if it were fixed, the result of this
8164
 
    # check would be larger than it should be.
8165
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
8166
 
    ;;
8167
 
 
8168
 
  gnu*)
8169
 
    # Under GNU Hurd, this test is not required because there is
8170
 
    # no limit to the length of command line arguments.
8171
 
    # Libtool will interpret -1 as no limit whatsoever
8172
 
    lt_cv_sys_max_cmd_len=-1;
8173
 
    ;;
8174
 
 
8175
 
  cygwin* | mingw*)
8176
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
8177
 
    # about 5 minutes as the teststring grows exponentially.
8178
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
8179
 
    # you end up with a "frozen" computer, even though with patience
8180
 
    # the test eventually succeeds (with a max line length of 256k).
8181
 
    # Instead, let's just punt: use the minimum linelength reported by
8182
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
8183
 
    lt_cv_sys_max_cmd_len=8192;
8184
 
    ;;
8185
 
 
8186
 
  amigaos*)
8187
 
    # On AmigaOS with pdksh, this test takes hours, literally.
8188
 
    # So we just punt and use a minimum line length of 8192.
8189
 
    lt_cv_sys_max_cmd_len=8192;
8190
 
    ;;
8191
 
 
8192
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
8193
 
    # This has been around since 386BSD, at least.  Likely further.
8194
 
    if test -x /sbin/sysctl; then
8195
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8196
 
    elif test -x /usr/sbin/sysctl; then
8197
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8198
 
    else
8199
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
8200
 
    fi
8201
 
    # And add a safety zone
8202
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8203
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8204
 
    ;;
8205
 
 
8206
 
  interix*)
8207
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
8208
 
    lt_cv_sys_max_cmd_len=196608
8209
 
    ;;
8210
 
 
8211
 
  osf*)
8212
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8213
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8214
 
    # nice to cause kernel panics so lets avoid the loop below.
8215
 
    # First set a reasonable default.
8216
 
    lt_cv_sys_max_cmd_len=16384
8217
 
    #
8218
 
    if test -x /sbin/sysconfig; then
8219
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8220
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
8221
 
      esac
8222
 
    fi
8223
 
    ;;
8224
 
  sco3.2v5*)
8225
 
    lt_cv_sys_max_cmd_len=102400
8226
 
    ;;
8227
 
  sysv5* | sco5v6* | sysv4.2uw2*)
8228
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8229
 
    if test -n "$kargmax"; then
8230
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
8231
 
    else
8232
 
      lt_cv_sys_max_cmd_len=32768
8233
 
    fi
8234
 
    ;;
8235
 
  *)
8236
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8237
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
8238
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8239
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8240
 
    else
8241
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8242
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
8243
 
               = "XX$teststring") >/dev/null 2>&1 &&
8244
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
8245
 
              lt_cv_sys_max_cmd_len=$new_result &&
8246
 
              test $i != 17 # 1/2 MB should be enough
8247
 
      do
8248
 
        i=`expr $i + 1`
8249
 
        teststring=$teststring$teststring
8250
 
      done
8251
 
      teststring=
8252
 
      # Add a significant safety factor because C++ compilers can tack on massive
8253
 
      # amounts of additional arguments before passing them to the linker.
8254
 
      # It appears as though 1/2 is a usable value.
8255
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8256
 
    fi
8257
 
    ;;
8258
 
  esac
8259
 
 
8260
 
fi
8261
 
 
8262
 
if test -n $lt_cv_sys_max_cmd_len ; then
8263
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8264
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
8265
 
else
8266
 
  { echo "$as_me:$LINENO: result: none" >&5
8267
 
echo "${ECHO_T}none" >&6; }
8268
 
fi
8269
 
 
8270
 
 
8271
 
 
8272
 
 
8273
7372
 
8274
7373
# Check for command to grab the raw symbol name followed by C symbol from nm.
8275
7374
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8287
7386
# Regexp to match symbols that can be accessed directly from C.
8288
7387
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8289
7388
 
8290
 
# Transform an extracted symbol line into a proper C declaration
8291
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8292
 
 
8293
 
# Transform an extracted symbol line into symbol name and symbol address
8294
 
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'"
8295
 
 
8296
7389
# Define system-specific variables.
8297
7390
case $host_os in
8298
7391
aix*)
8301
7394
cygwin* | mingw* | pw32*)
8302
7395
  symcode='[ABCDGISTW]'
8303
7396
  ;;
8304
 
hpux*) # Its linker distinguishes data from code symbols
 
7397
hpux*)
8305
7398
  if test "$host_cpu" = ia64; then
8306
7399
    symcode='[ABCDEGRST]'
8307
7400
  fi
8308
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8309
 
  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'"
8310
 
  ;;
8311
 
linux* | k*bsd*-gnu)
8312
 
  if test "$host_cpu" = ia64; then
8313
 
    symcode='[ABCDGIRSTW]'
8314
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8315
 
    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'"
8316
 
  fi
8317
7401
  ;;
8318
7402
irix* | nonstopux*)
8319
7403
  symcode='[BCDEGRST]'
8338
7422
  ;;
8339
7423
esac
8340
7424
 
 
7425
# If we're using GNU nm, then use its standard symbol codes.
 
7426
case `$NM -V 2>&1` in
 
7427
*GNU* | *'with BFD'*)
 
7428
  symcode='[ABCDGIRSTW]' ;;
 
7429
esac
 
7430
 
 
7431
# Transform an extracted symbol line into a proper C declaration.
 
7432
# Some systems (esp. on ia64) link data and code symbols differently,
 
7433
# so use this general approach.
 
7434
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
7435
 
 
7436
# Transform an extracted symbol line into symbol name and symbol address
 
7437
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7438
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'"
 
7439
 
8341
7440
# Handle CRLF in mingw tool chain
8342
7441
opt_cr=
8343
7442
case $build_os in
8344
7443
mingw*)
8345
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
7444
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8346
7445
  ;;
8347
7446
esac
8348
7447
 
8349
 
# If we're using GNU nm, then use its standard symbol codes.
8350
 
case `$NM -V 2>&1` in
8351
 
*GNU* | *'with BFD'*)
8352
 
  symcode='[ABCDGIRSTW]' ;;
8353
 
esac
8354
 
 
8355
 
# Try without a prefix undercore, then with it.
 
7448
# Try without a prefix underscore, then with it.
8356
7449
for ac_symprfx in "" "_"; do
8357
7450
 
8358
7451
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8359
7452
  symxfrm="\\1 $ac_symprfx\\2 \\2"
8360
7453
 
8361
7454
  # Write the raw and C identifiers.
8362
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7455
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7456
    # Fake it for dumpbin and say T for any non-static function
 
7457
    # and D for any global variable.
 
7458
    # Also find C++ and __fastcall symbols from MSVC++,
 
7459
    # which start with @ or ?.
 
7460
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
7461
"     {last_section=section; section=\$ 3};"\
 
7462
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
7463
"     \$ 0!~/External *\|/{next};"\
 
7464
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
7465
"     {if(hide[section]) next};"\
 
7466
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
7467
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
7468
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
7469
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
7470
"     ' prfx=^$ac_symprfx"
 
7471
  else
 
7472
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7473
  fi
8363
7474
 
8364
7475
  # Check to see that the pipe works correctly.
8365
7476
  pipe_works=no
8366
7477
 
8367
7478
  rm -f conftest*
8368
 
  cat > conftest.$ac_ext <<EOF
 
7479
  cat > conftest.$ac_ext <<_LT_EOF
8369
7480
#ifdef __cplusplus
8370
7481
extern "C" {
8371
7482
#endif
8372
7483
char nm_test_var;
8373
 
void nm_test_func(){}
 
7484
void nm_test_func(void);
 
7485
void nm_test_func(void){}
8374
7486
#ifdef __cplusplus
8375
7487
}
8376
7488
#endif
8377
7489
int main(){nm_test_var='a';nm_test_func();return(0);}
8378
 
EOF
 
7490
_LT_EOF
8379
7491
 
8380
7492
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8381
7493
  (eval $ac_compile) 2>&5
8397
7509
      fi
8398
7510
 
8399
7511
      # Make sure that we snagged all the symbols we need.
8400
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
8401
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
8402
 
          cat <<EOF > conftest.$ac_ext
 
7512
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
7513
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
7514
          cat <<_LT_EOF > conftest.$ac_ext
8403
7515
#ifdef __cplusplus
8404
7516
extern "C" {
8405
7517
#endif
8406
7518
 
8407
 
EOF
 
7519
_LT_EOF
8408
7520
          # Now generate the symbol file.
8409
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8410
 
 
8411
 
          cat <<EOF >> conftest.$ac_ext
8412
 
#if defined (__STDC__) && __STDC__
8413
 
# define lt_ptr_t void *
8414
 
#else
8415
 
# define lt_ptr_t char *
8416
 
# define const
8417
 
#endif
8418
 
 
8419
 
/* The mapping between symbol names and symbols. */
 
7521
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
7522
 
 
7523
          cat <<_LT_EOF >> conftest.$ac_ext
 
7524
 
 
7525
/* The mapping between symbol names and symbols.  */
8420
7526
const struct {
8421
7527
  const char *name;
8422
 
  lt_ptr_t address;
 
7528
  void       *address;
8423
7529
}
8424
 
lt_preloaded_symbols[] =
 
7530
lt__PROGRAM__LTX_preloaded_symbols[] =
8425
7531
{
8426
 
EOF
8427
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
8428
 
          cat <<\EOF >> conftest.$ac_ext
8429
 
  {0, (lt_ptr_t) 0}
 
7532
  { "@PROGRAM@", (void *) 0 },
 
7533
_LT_EOF
 
7534
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
7535
          cat <<\_LT_EOF >> conftest.$ac_ext
 
7536
  {0, (void *) 0}
8430
7537
};
8431
7538
 
 
7539
/* This works around a problem in FreeBSD linker */
 
7540
#ifdef FREEBSD_WORKAROUND
 
7541
static const void *lt_preloaded_setup() {
 
7542
  return lt__PROGRAM__LTX_preloaded_symbols;
 
7543
}
 
7544
#endif
 
7545
 
8432
7546
#ifdef __cplusplus
8433
7547
}
8434
7548
#endif
8435
 
EOF
 
7549
_LT_EOF
8436
7550
          # Now try linking the two files.
8437
7551
          mv conftest.$ac_objext conftstm.$ac_objext
8438
7552
          lt_save_LIBS="$LIBS"
8484
7598
echo "${ECHO_T}ok" >&6; }
8485
7599
fi
8486
7600
 
8487
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
8488
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8489
 
if test "${lt_cv_objdir+set}" = set; then
8490
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8491
 
else
8492
 
  rm -f .libs 2>/dev/null
8493
 
mkdir .libs 2>/dev/null
8494
 
if test -d .libs; then
8495
 
  lt_cv_objdir=.libs
8496
 
else
8497
 
  # MS-DOS does not allow filenames that begin with a dot.
8498
 
  lt_cv_objdir=_libs
8499
 
fi
8500
 
rmdir .libs 2>/dev/null
8501
 
fi
8502
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8503
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
8504
 
objdir=$lt_cv_objdir
8505
 
 
8506
 
 
8507
 
 
8508
 
 
8509
 
 
8510
 
case $host_os in
8511
 
aix3*)
8512
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8513
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8514
 
  # vanish in a puff of smoke.
8515
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8516
 
    COLLECT_NAMES=
8517
 
    export COLLECT_NAMES
8518
 
  fi
8519
 
  ;;
8520
 
esac
8521
 
 
8522
 
# Sed substitution that helps us do robust quoting.  It backslashifies
8523
 
# metacharacters that are still active within double-quoted strings.
8524
 
Xsed='sed -e 1s/^X//'
8525
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
8526
 
 
8527
 
# Same as above, but do not quote variable references.
8528
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
8529
 
 
8530
 
# Sed substitution to delay expansion of an escaped shell variable in a
8531
 
# double_quote_subst'ed string.
8532
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8533
 
 
8534
 
# Sed substitution to avoid accidental globbing in evaled expressions
8535
 
no_glob_subst='s/\*/\\\*/g'
8536
 
 
8537
 
# Constants:
8538
 
rm="rm -f"
8539
 
 
8540
 
# Global variables:
8541
 
default_ofile=libtool
8542
 
can_build_shared=yes
8543
 
 
8544
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8545
 
# which needs '.lib').
8546
 
libext=a
8547
 
ltmain="$ac_aux_dir/ltmain.sh"
8548
 
ofile="$default_ofile"
8549
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8550
 
 
8551
 
if test -n "$ac_tool_prefix"; then
8552
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8553
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
8554
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8555
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8556
 
if test "${ac_cv_prog_AR+set}" = set; then
8557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8558
 
else
8559
 
  if test -n "$AR"; then
8560
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
8561
 
else
8562
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8563
 
for as_dir in $PATH
8564
 
do
8565
 
  IFS=$as_save_IFS
8566
 
  test -z "$as_dir" && as_dir=.
8567
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8568
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8569
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
8570
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8571
 
    break 2
8572
 
  fi
8573
 
done
8574
 
done
8575
 
IFS=$as_save_IFS
8576
 
 
8577
 
fi
8578
 
fi
8579
 
AR=$ac_cv_prog_AR
8580
 
if test -n "$AR"; then
8581
 
  { echo "$as_me:$LINENO: result: $AR" >&5
8582
 
echo "${ECHO_T}$AR" >&6; }
8583
 
else
8584
 
  { echo "$as_me:$LINENO: result: no" >&5
8585
 
echo "${ECHO_T}no" >&6; }
8586
 
fi
8587
 
 
8588
 
 
8589
 
fi
8590
 
if test -z "$ac_cv_prog_AR"; then
8591
 
  ac_ct_AR=$AR
8592
 
  # Extract the first word of "ar", so it can be a program name with args.
8593
 
set dummy ar; ac_word=$2
8594
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8595
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8596
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8597
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8598
 
else
8599
 
  if test -n "$ac_ct_AR"; then
8600
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8601
 
else
8602
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8603
 
for as_dir in $PATH
8604
 
do
8605
 
  IFS=$as_save_IFS
8606
 
  test -z "$as_dir" && as_dir=.
8607
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8608
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8609
 
    ac_cv_prog_ac_ct_AR="ar"
8610
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8611
 
    break 2
8612
 
  fi
8613
 
done
8614
 
done
8615
 
IFS=$as_save_IFS
8616
 
 
8617
 
fi
8618
 
fi
8619
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8620
 
if test -n "$ac_ct_AR"; then
8621
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8622
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
8623
 
else
8624
 
  { echo "$as_me:$LINENO: result: no" >&5
8625
 
echo "${ECHO_T}no" >&6; }
8626
 
fi
8627
 
 
8628
 
  if test "x$ac_ct_AR" = x; then
8629
 
    AR="false"
8630
 
  else
8631
 
    case $cross_compiling:$ac_tool_warned in
8632
 
yes:)
8633
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8634
 
whose name does not start with the host triplet.  If you think this
8635
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8636
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8637
 
whose name does not start with the host triplet.  If you think this
8638
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8639
 
ac_tool_warned=yes ;;
8640
 
esac
8641
 
    AR=$ac_ct_AR
8642
 
  fi
8643
 
else
8644
 
  AR="$ac_cv_prog_AR"
8645
 
fi
8646
 
 
8647
 
if test -n "$ac_tool_prefix"; then
8648
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8649
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8650
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8651
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8652
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
8653
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8654
 
else
8655
 
  if test -n "$RANLIB"; then
8656
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8657
 
else
8658
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8659
 
for as_dir in $PATH
8660
 
do
8661
 
  IFS=$as_save_IFS
8662
 
  test -z "$as_dir" && as_dir=.
8663
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8664
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8665
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8666
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8667
 
    break 2
8668
 
  fi
8669
 
done
8670
 
done
8671
 
IFS=$as_save_IFS
8672
 
 
8673
 
fi
8674
 
fi
8675
 
RANLIB=$ac_cv_prog_RANLIB
8676
 
if test -n "$RANLIB"; then
8677
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
8678
 
echo "${ECHO_T}$RANLIB" >&6; }
8679
 
else
8680
 
  { echo "$as_me:$LINENO: result: no" >&5
8681
 
echo "${ECHO_T}no" >&6; }
8682
 
fi
8683
 
 
8684
 
 
8685
 
fi
8686
 
if test -z "$ac_cv_prog_RANLIB"; then
8687
 
  ac_ct_RANLIB=$RANLIB
8688
 
  # Extract the first word of "ranlib", so it can be a program name with args.
8689
 
set dummy ranlib; ac_word=$2
8690
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8691
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8692
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8693
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8694
 
else
8695
 
  if test -n "$ac_ct_RANLIB"; then
8696
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8697
 
else
8698
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8699
 
for as_dir in $PATH
8700
 
do
8701
 
  IFS=$as_save_IFS
8702
 
  test -z "$as_dir" && as_dir=.
8703
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8704
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8705
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
8706
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8707
 
    break 2
8708
 
  fi
8709
 
done
8710
 
done
8711
 
IFS=$as_save_IFS
8712
 
 
8713
 
fi
8714
 
fi
8715
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8716
 
if test -n "$ac_ct_RANLIB"; then
8717
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8718
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8719
 
else
8720
 
  { echo "$as_me:$LINENO: result: no" >&5
8721
 
echo "${ECHO_T}no" >&6; }
8722
 
fi
8723
 
 
8724
 
  if test "x$ac_ct_RANLIB" = x; then
8725
 
    RANLIB=":"
8726
 
  else
8727
 
    case $cross_compiling:$ac_tool_warned in
8728
 
yes:)
8729
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8730
 
whose name does not start with the host triplet.  If you think this
8731
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8732
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8733
 
whose name does not start with the host triplet.  If you think this
8734
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8735
 
ac_tool_warned=yes ;;
8736
 
esac
8737
 
    RANLIB=$ac_ct_RANLIB
8738
 
  fi
8739
 
else
8740
 
  RANLIB="$ac_cv_prog_RANLIB"
8741
 
fi
8742
 
 
8743
 
if test -n "$ac_tool_prefix"; then
8744
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8745
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
8746
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8747
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8748
 
if test "${ac_cv_prog_STRIP+set}" = set; then
8749
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8750
 
else
8751
 
  if test -n "$STRIP"; then
8752
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8753
 
else
8754
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8755
 
for as_dir in $PATH
8756
 
do
8757
 
  IFS=$as_save_IFS
8758
 
  test -z "$as_dir" && as_dir=.
8759
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8760
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8761
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8762
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8763
 
    break 2
8764
 
  fi
8765
 
done
8766
 
done
8767
 
IFS=$as_save_IFS
8768
 
 
8769
 
fi
8770
 
fi
8771
 
STRIP=$ac_cv_prog_STRIP
8772
 
if test -n "$STRIP"; then
8773
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
8774
 
echo "${ECHO_T}$STRIP" >&6; }
8775
 
else
8776
 
  { echo "$as_me:$LINENO: result: no" >&5
8777
 
echo "${ECHO_T}no" >&6; }
8778
 
fi
8779
 
 
8780
 
 
8781
 
fi
8782
 
if test -z "$ac_cv_prog_STRIP"; then
8783
 
  ac_ct_STRIP=$STRIP
8784
 
  # Extract the first word of "strip", so it can be a program name with args.
8785
 
set dummy strip; ac_word=$2
8786
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8787
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8788
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8789
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8790
 
else
8791
 
  if test -n "$ac_ct_STRIP"; then
8792
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8793
 
else
8794
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8795
 
for as_dir in $PATH
8796
 
do
8797
 
  IFS=$as_save_IFS
8798
 
  test -z "$as_dir" && as_dir=.
8799
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8800
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8801
 
    ac_cv_prog_ac_ct_STRIP="strip"
8802
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8803
 
    break 2
8804
 
  fi
8805
 
done
8806
 
done
8807
 
IFS=$as_save_IFS
8808
 
 
8809
 
fi
8810
 
fi
8811
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8812
 
if test -n "$ac_ct_STRIP"; then
8813
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8814
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8815
 
else
8816
 
  { echo "$as_me:$LINENO: result: no" >&5
8817
 
echo "${ECHO_T}no" >&6; }
8818
 
fi
8819
 
 
8820
 
  if test "x$ac_ct_STRIP" = x; then
8821
 
    STRIP=":"
8822
 
  else
8823
 
    case $cross_compiling:$ac_tool_warned in
8824
 
yes:)
8825
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8826
 
whose name does not start with the host triplet.  If you think this
8827
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8828
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8829
 
whose name does not start with the host triplet.  If you think this
8830
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8831
 
ac_tool_warned=yes ;;
8832
 
esac
8833
 
    STRIP=$ac_ct_STRIP
8834
 
  fi
8835
 
else
8836
 
  STRIP="$ac_cv_prog_STRIP"
8837
 
fi
8838
 
 
8839
 
 
8840
 
old_CC="$CC"
8841
 
old_CFLAGS="$CFLAGS"
8842
 
 
8843
 
# Set sane defaults for various variables
8844
 
test -z "$AR" && AR=ar
8845
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
8846
 
test -z "$AS" && AS=as
8847
 
test -z "$CC" && CC=cc
8848
 
test -z "$LTCC" && LTCC=$CC
8849
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8850
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
8851
 
test -z "$LD" && LD=ld
8852
 
test -z "$LN_S" && LN_S="ln -s"
8853
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8854
 
test -z "$NM" && NM=nm
8855
 
test -z "$SED" && SED=sed
8856
 
test -z "$OBJDUMP" && OBJDUMP=objdump
8857
 
test -z "$RANLIB" && RANLIB=:
8858
 
test -z "$STRIP" && STRIP=:
8859
 
test -z "$ac_objext" && ac_objext=o
8860
 
 
8861
 
# Determine commands to create old-style static archives.
8862
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8863
 
old_postinstall_cmds='chmod 644 $oldlib'
8864
 
old_postuninstall_cmds=
8865
 
 
8866
 
if test -n "$RANLIB"; then
8867
 
  case $host_os in
8868
 
  openbsd*)
8869
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8870
 
    ;;
8871
 
  *)
8872
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8873
 
    ;;
8874
 
  esac
8875
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8876
 
fi
8877
 
 
8878
 
for cc_temp in $compiler""; do
8879
 
  case $cc_temp in
8880
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8881
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8882
 
    \-*) ;;
8883
 
    *) break;;
8884
 
  esac
8885
 
done
8886
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8887
 
 
8888
 
 
8889
 
# Only perform the check for file, if the check method requires it
8890
 
case $deplibs_check_method in
8891
 
file_magic*)
8892
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8893
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8894
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8895
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8896
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8897
 
else
8898
 
  case $MAGIC_CMD in
8899
 
[\\/*] |  ?:[\\/]*)
8900
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8901
 
  ;;
8902
 
*)
8903
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8904
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8905
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8906
 
  for ac_dir in $ac_dummy; do
8907
 
    IFS="$lt_save_ifs"
8908
 
    test -z "$ac_dir" && ac_dir=.
8909
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8910
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8911
 
      if test -n "$file_magic_test_file"; then
8912
 
        case $deplibs_check_method in
8913
 
        "file_magic "*)
8914
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8915
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8916
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8917
 
            $EGREP "$file_magic_regex" > /dev/null; then
8918
 
            :
8919
 
          else
8920
 
            cat <<EOF 1>&2
8921
 
 
8922
 
*** Warning: the command libtool uses to detect shared libraries,
8923
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8924
 
*** The result is that libtool may fail to recognize shared libraries
8925
 
*** as such.  This will affect the creation of libtool libraries that
8926
 
*** depend on shared libraries, but programs linked with such libtool
8927
 
*** libraries will work regardless of this problem.  Nevertheless, you
8928
 
*** may want to report the problem to your system manager and/or to
8929
 
*** bug-libtool@gnu.org
8930
 
 
8931
 
EOF
8932
 
          fi ;;
8933
 
        esac
8934
 
      fi
8935
 
      break
8936
 
    fi
8937
 
  done
8938
 
  IFS="$lt_save_ifs"
8939
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8940
 
  ;;
8941
 
esac
8942
 
fi
8943
 
 
8944
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8945
 
if test -n "$MAGIC_CMD"; then
8946
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8947
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8948
 
else
8949
 
  { echo "$as_me:$LINENO: result: no" >&5
8950
 
echo "${ECHO_T}no" >&6; }
8951
 
fi
8952
 
 
8953
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8954
 
  if test -n "$ac_tool_prefix"; then
8955
 
    { echo "$as_me:$LINENO: checking for file" >&5
8956
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8957
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8958
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8959
 
else
8960
 
  case $MAGIC_CMD in
8961
 
[\\/*] |  ?:[\\/]*)
8962
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8963
 
  ;;
8964
 
*)
8965
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8966
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8967
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8968
 
  for ac_dir in $ac_dummy; do
8969
 
    IFS="$lt_save_ifs"
8970
 
    test -z "$ac_dir" && ac_dir=.
8971
 
    if test -f $ac_dir/file; then
8972
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8973
 
      if test -n "$file_magic_test_file"; then
8974
 
        case $deplibs_check_method in
8975
 
        "file_magic "*)
8976
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8977
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8978
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8979
 
            $EGREP "$file_magic_regex" > /dev/null; then
8980
 
            :
8981
 
          else
8982
 
            cat <<EOF 1>&2
8983
 
 
8984
 
*** Warning: the command libtool uses to detect shared libraries,
8985
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8986
 
*** The result is that libtool may fail to recognize shared libraries
8987
 
*** as such.  This will affect the creation of libtool libraries that
8988
 
*** depend on shared libraries, but programs linked with such libtool
8989
 
*** libraries will work regardless of this problem.  Nevertheless, you
8990
 
*** may want to report the problem to your system manager and/or to
8991
 
*** bug-libtool@gnu.org
8992
 
 
8993
 
EOF
8994
 
          fi ;;
8995
 
        esac
8996
 
      fi
8997
 
      break
8998
 
    fi
8999
 
  done
9000
 
  IFS="$lt_save_ifs"
9001
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9002
 
  ;;
9003
 
esac
9004
 
fi
9005
 
 
9006
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9007
 
if test -n "$MAGIC_CMD"; then
9008
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9009
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9010
 
else
9011
 
  { echo "$as_me:$LINENO: result: no" >&5
9012
 
echo "${ECHO_T}no" >&6; }
9013
 
fi
9014
 
 
9015
 
  else
9016
 
    MAGIC_CMD=:
9017
 
  fi
9018
 
fi
9019
 
 
9020
 
  fi
9021
 
  ;;
9022
 
esac
 
7601
 
 
7602
 
 
7603
 
 
7604
 
 
7605
 
 
7606
 
 
7607
 
 
7608
 
 
7609
 
 
7610
 
 
7611
 
 
7612
 
 
7613
 
 
7614
 
 
7615
 
 
7616
 
 
7617
 
 
7618
 
 
7619
 
 
7620
 
 
7621
 
 
7622
# Check whether --enable-libtool-lock was given.
 
7623
if test "${enable_libtool_lock+set}" = set; then
 
7624
  enableval=$enable_libtool_lock;
 
7625
fi
 
7626
 
 
7627
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
7628
 
 
7629
# Some flags need to be propagated to the compiler or linker for good
 
7630
# libtool support.
 
7631
case $host in
 
7632
ia64-*-hpux*)
 
7633
  # Find out which ABI we are using.
 
7634
  echo 'int i;' > conftest.$ac_ext
 
7635
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7636
  (eval $ac_compile) 2>&5
 
7637
  ac_status=$?
 
7638
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7639
  (exit $ac_status); }; then
 
7640
    case `/usr/bin/file conftest.$ac_objext` in
 
7641
      *ELF-32*)
 
7642
        HPUX_IA64_MODE="32"
 
7643
        ;;
 
7644
      *ELF-64*)
 
7645
        HPUX_IA64_MODE="64"
 
7646
        ;;
 
7647
    esac
 
7648
  fi
 
7649
  rm -rf conftest*
 
7650
  ;;
 
7651
*-*-irix6*)
 
7652
  # Find out which ABI we are using.
 
7653
  echo '#line 7653 "configure"' > conftest.$ac_ext
 
7654
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7655
  (eval $ac_compile) 2>&5
 
7656
  ac_status=$?
 
7657
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7658
  (exit $ac_status); }; then
 
7659
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
7660
      case `/usr/bin/file conftest.$ac_objext` in
 
7661
        *32-bit*)
 
7662
          LD="${LD-ld} -melf32bsmip"
 
7663
          ;;
 
7664
        *N32*)
 
7665
          LD="${LD-ld} -melf32bmipn32"
 
7666
          ;;
 
7667
        *64-bit*)
 
7668
          LD="${LD-ld} -melf64bmip"
 
7669
        ;;
 
7670
      esac
 
7671
    else
 
7672
      case `/usr/bin/file conftest.$ac_objext` in
 
7673
        *32-bit*)
 
7674
          LD="${LD-ld} -32"
 
7675
          ;;
 
7676
        *N32*)
 
7677
          LD="${LD-ld} -n32"
 
7678
          ;;
 
7679
        *64-bit*)
 
7680
          LD="${LD-ld} -64"
 
7681
          ;;
 
7682
      esac
 
7683
    fi
 
7684
  fi
 
7685
  rm -rf conftest*
 
7686
  ;;
 
7687
 
 
7688
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
7689
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
7690
  # Find out which ABI we are using.
 
7691
  echo 'int i;' > conftest.$ac_ext
 
7692
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7693
  (eval $ac_compile) 2>&5
 
7694
  ac_status=$?
 
7695
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7696
  (exit $ac_status); }; then
 
7697
    case `/usr/bin/file conftest.o` in
 
7698
      *32-bit*)
 
7699
        case $host in
 
7700
          x86_64-*kfreebsd*-gnu)
 
7701
            LD="${LD-ld} -m elf_i386_fbsd"
 
7702
            ;;
 
7703
          x86_64-*linux*)
 
7704
            LD="${LD-ld} -m elf_i386"
 
7705
            ;;
 
7706
          ppc64-*linux*|powerpc64-*linux*)
 
7707
            LD="${LD-ld} -m elf32ppclinux"
 
7708
            ;;
 
7709
          s390x-*linux*)
 
7710
            LD="${LD-ld} -m elf_s390"
 
7711
            ;;
 
7712
          sparc64-*linux*)
 
7713
            LD="${LD-ld} -m elf32_sparc"
 
7714
            ;;
 
7715
        esac
 
7716
        ;;
 
7717
      *64-bit*)
 
7718
        case $host in
 
7719
          x86_64-*kfreebsd*-gnu)
 
7720
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
7721
            ;;
 
7722
          x86_64-*linux*)
 
7723
            LD="${LD-ld} -m elf_x86_64"
 
7724
            ;;
 
7725
          ppc*-*linux*|powerpc*-*linux*)
 
7726
            LD="${LD-ld} -m elf64ppc"
 
7727
            ;;
 
7728
          s390*-*linux*|s390*-*tpf*)
 
7729
            LD="${LD-ld} -m elf64_s390"
 
7730
            ;;
 
7731
          sparc*-*linux*)
 
7732
            LD="${LD-ld} -m elf64_sparc"
 
7733
            ;;
 
7734
        esac
 
7735
        ;;
 
7736
    esac
 
7737
  fi
 
7738
  rm -rf conftest*
 
7739
  ;;
 
7740
 
 
7741
*-*-sco3.2v5*)
 
7742
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
7743
  SAVE_CFLAGS="$CFLAGS"
 
7744
  CFLAGS="$CFLAGS -belf"
 
7745
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7746
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
 
7747
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
7748
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7749
else
 
7750
  ac_ext=c
 
7751
ac_cpp='$CPP $CPPFLAGS'
 
7752
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7753
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7754
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7755
 
 
7756
     cat >conftest.$ac_ext <<_ACEOF
 
7757
/* confdefs.h.  */
 
7758
_ACEOF
 
7759
cat confdefs.h >>conftest.$ac_ext
 
7760
cat >>conftest.$ac_ext <<_ACEOF
 
7761
/* end confdefs.h.  */
 
7762
 
 
7763
int
 
7764
main ()
 
7765
{
 
7766
 
 
7767
  ;
 
7768
  return 0;
 
7769
}
 
7770
_ACEOF
 
7771
rm -f conftest.$ac_objext conftest$ac_exeext
 
7772
if { (ac_try="$ac_link"
 
7773
case "(($ac_try" in
 
7774
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7775
  *) ac_try_echo=$ac_try;;
 
7776
esac
 
7777
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7778
  (eval "$ac_link") 2>conftest.er1
 
7779
  ac_status=$?
 
7780
  grep -v '^ *+' conftest.er1 >conftest.err
 
7781
  rm -f conftest.er1
 
7782
  cat conftest.err >&5
 
7783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7784
  (exit $ac_status); } && {
 
7785
         test -z "$ac_c_werror_flag" ||
 
7786
         test ! -s conftest.err
 
7787
       } && test -s conftest$ac_exeext &&
 
7788
       $as_test_x conftest$ac_exeext; then
 
7789
  lt_cv_cc_needs_belf=yes
 
7790
else
 
7791
  echo "$as_me: failed program was:" >&5
 
7792
sed 's/^/| /' conftest.$ac_ext >&5
 
7793
 
 
7794
        lt_cv_cc_needs_belf=no
 
7795
fi
 
7796
 
 
7797
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7798
      conftest$ac_exeext conftest.$ac_ext
 
7799
     ac_ext=c
 
7800
ac_cpp='$CPP $CPPFLAGS'
 
7801
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7802
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7803
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7804
 
 
7805
fi
 
7806
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7807
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
 
7808
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
7809
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
7810
    CFLAGS="$SAVE_CFLAGS"
 
7811
  fi
 
7812
  ;;
 
7813
sparc*-*solaris*)
 
7814
  # Find out which ABI we are using.
 
7815
  echo 'int i;' > conftest.$ac_ext
 
7816
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7817
  (eval $ac_compile) 2>&5
 
7818
  ac_status=$?
 
7819
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7820
  (exit $ac_status); }; then
 
7821
    case `/usr/bin/file conftest.o` in
 
7822
    *64-bit*)
 
7823
      case $lt_cv_prog_gnu_ld in
 
7824
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
7825
      *)
 
7826
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
7827
          LD="${LD-ld} -64"
 
7828
        fi
 
7829
        ;;
 
7830
      esac
 
7831
      ;;
 
7832
    esac
 
7833
  fi
 
7834
  rm -rf conftest*
 
7835
  ;;
 
7836
esac
 
7837
 
 
7838
need_locks="$enable_libtool_lock"
9023
7839
 
9024
7840
 
9025
7841
  case $host_os in
9216
8032
  NMEDIT="$ac_cv_prog_NMEDIT"
9217
8033
fi
9218
8034
 
 
8035
    if test -n "$ac_tool_prefix"; then
 
8036
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
8037
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
8038
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8039
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8040
if test "${ac_cv_prog_LIPO+set}" = set; then
 
8041
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8042
else
 
8043
  if test -n "$LIPO"; then
 
8044
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
8045
else
 
8046
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8047
for as_dir in $PATH
 
8048
do
 
8049
  IFS=$as_save_IFS
 
8050
  test -z "$as_dir" && as_dir=.
 
8051
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8052
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8053
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
8054
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8055
    break 2
 
8056
  fi
 
8057
done
 
8058
done
 
8059
IFS=$as_save_IFS
 
8060
 
 
8061
fi
 
8062
fi
 
8063
LIPO=$ac_cv_prog_LIPO
 
8064
if test -n "$LIPO"; then
 
8065
  { echo "$as_me:$LINENO: result: $LIPO" >&5
 
8066
echo "${ECHO_T}$LIPO" >&6; }
 
8067
else
 
8068
  { echo "$as_me:$LINENO: result: no" >&5
 
8069
echo "${ECHO_T}no" >&6; }
 
8070
fi
 
8071
 
 
8072
 
 
8073
fi
 
8074
if test -z "$ac_cv_prog_LIPO"; then
 
8075
  ac_ct_LIPO=$LIPO
 
8076
  # Extract the first word of "lipo", so it can be a program name with args.
 
8077
set dummy lipo; ac_word=$2
 
8078
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8079
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8080
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
8081
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8082
else
 
8083
  if test -n "$ac_ct_LIPO"; then
 
8084
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
8085
else
 
8086
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8087
for as_dir in $PATH
 
8088
do
 
8089
  IFS=$as_save_IFS
 
8090
  test -z "$as_dir" && as_dir=.
 
8091
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8092
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8093
    ac_cv_prog_ac_ct_LIPO="lipo"
 
8094
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8095
    break 2
 
8096
  fi
 
8097
done
 
8098
done
 
8099
IFS=$as_save_IFS
 
8100
 
 
8101
fi
 
8102
fi
 
8103
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
8104
if test -n "$ac_ct_LIPO"; then
 
8105
  { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
8106
echo "${ECHO_T}$ac_ct_LIPO" >&6; }
 
8107
else
 
8108
  { echo "$as_me:$LINENO: result: no" >&5
 
8109
echo "${ECHO_T}no" >&6; }
 
8110
fi
 
8111
 
 
8112
  if test "x$ac_ct_LIPO" = x; then
 
8113
    LIPO=":"
 
8114
  else
 
8115
    case $cross_compiling:$ac_tool_warned in
 
8116
yes:)
 
8117
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8118
whose name does not start with the host triplet.  If you think this
 
8119
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8120
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8121
whose name does not start with the host triplet.  If you think this
 
8122
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8123
ac_tool_warned=yes ;;
 
8124
esac
 
8125
    LIPO=$ac_ct_LIPO
 
8126
  fi
 
8127
else
 
8128
  LIPO="$ac_cv_prog_LIPO"
 
8129
fi
 
8130
 
 
8131
    if test -n "$ac_tool_prefix"; then
 
8132
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
8133
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
8134
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8135
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8136
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
8137
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8138
else
 
8139
  if test -n "$OTOOL"; then
 
8140
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
8141
else
 
8142
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8143
for as_dir in $PATH
 
8144
do
 
8145
  IFS=$as_save_IFS
 
8146
  test -z "$as_dir" && as_dir=.
 
8147
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8148
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8149
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
8150
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8151
    break 2
 
8152
  fi
 
8153
done
 
8154
done
 
8155
IFS=$as_save_IFS
 
8156
 
 
8157
fi
 
8158
fi
 
8159
OTOOL=$ac_cv_prog_OTOOL
 
8160
if test -n "$OTOOL"; then
 
8161
  { echo "$as_me:$LINENO: result: $OTOOL" >&5
 
8162
echo "${ECHO_T}$OTOOL" >&6; }
 
8163
else
 
8164
  { echo "$as_me:$LINENO: result: no" >&5
 
8165
echo "${ECHO_T}no" >&6; }
 
8166
fi
 
8167
 
 
8168
 
 
8169
fi
 
8170
if test -z "$ac_cv_prog_OTOOL"; then
 
8171
  ac_ct_OTOOL=$OTOOL
 
8172
  # Extract the first word of "otool", so it can be a program name with args.
 
8173
set dummy otool; ac_word=$2
 
8174
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8175
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8176
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
8177
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8178
else
 
8179
  if test -n "$ac_ct_OTOOL"; then
 
8180
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
8181
else
 
8182
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8183
for as_dir in $PATH
 
8184
do
 
8185
  IFS=$as_save_IFS
 
8186
  test -z "$as_dir" && as_dir=.
 
8187
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8188
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8189
    ac_cv_prog_ac_ct_OTOOL="otool"
 
8190
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8191
    break 2
 
8192
  fi
 
8193
done
 
8194
done
 
8195
IFS=$as_save_IFS
 
8196
 
 
8197
fi
 
8198
fi
 
8199
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
8200
if test -n "$ac_ct_OTOOL"; then
 
8201
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
8202
echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
 
8203
else
 
8204
  { echo "$as_me:$LINENO: result: no" >&5
 
8205
echo "${ECHO_T}no" >&6; }
 
8206
fi
 
8207
 
 
8208
  if test "x$ac_ct_OTOOL" = x; then
 
8209
    OTOOL=":"
 
8210
  else
 
8211
    case $cross_compiling:$ac_tool_warned in
 
8212
yes:)
 
8213
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8214
whose name does not start with the host triplet.  If you think this
 
8215
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8216
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8217
whose name does not start with the host triplet.  If you think this
 
8218
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8219
ac_tool_warned=yes ;;
 
8220
esac
 
8221
    OTOOL=$ac_ct_OTOOL
 
8222
  fi
 
8223
else
 
8224
  OTOOL="$ac_cv_prog_OTOOL"
 
8225
fi
 
8226
 
 
8227
    if test -n "$ac_tool_prefix"; then
 
8228
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
8229
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
8230
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8231
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8232
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
8233
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8234
else
 
8235
  if test -n "$OTOOL64"; then
 
8236
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
8237
else
 
8238
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8239
for as_dir in $PATH
 
8240
do
 
8241
  IFS=$as_save_IFS
 
8242
  test -z "$as_dir" && as_dir=.
 
8243
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8244
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8245
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
8246
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8247
    break 2
 
8248
  fi
 
8249
done
 
8250
done
 
8251
IFS=$as_save_IFS
 
8252
 
 
8253
fi
 
8254
fi
 
8255
OTOOL64=$ac_cv_prog_OTOOL64
 
8256
if test -n "$OTOOL64"; then
 
8257
  { echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
8258
echo "${ECHO_T}$OTOOL64" >&6; }
 
8259
else
 
8260
  { echo "$as_me:$LINENO: result: no" >&5
 
8261
echo "${ECHO_T}no" >&6; }
 
8262
fi
 
8263
 
 
8264
 
 
8265
fi
 
8266
if test -z "$ac_cv_prog_OTOOL64"; then
 
8267
  ac_ct_OTOOL64=$OTOOL64
 
8268
  # Extract the first word of "otool64", so it can be a program name with args.
 
8269
set dummy otool64; ac_word=$2
 
8270
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8271
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8272
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
8273
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8274
else
 
8275
  if test -n "$ac_ct_OTOOL64"; then
 
8276
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
8277
else
 
8278
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8279
for as_dir in $PATH
 
8280
do
 
8281
  IFS=$as_save_IFS
 
8282
  test -z "$as_dir" && as_dir=.
 
8283
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8284
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8285
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
8286
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8287
    break 2
 
8288
  fi
 
8289
done
 
8290
done
 
8291
IFS=$as_save_IFS
 
8292
 
 
8293
fi
 
8294
fi
 
8295
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
8296
if test -n "$ac_ct_OTOOL64"; then
 
8297
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
8298
echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
 
8299
else
 
8300
  { echo "$as_me:$LINENO: result: no" >&5
 
8301
echo "${ECHO_T}no" >&6; }
 
8302
fi
 
8303
 
 
8304
  if test "x$ac_ct_OTOOL64" = x; then
 
8305
    OTOOL64=":"
 
8306
  else
 
8307
    case $cross_compiling:$ac_tool_warned in
 
8308
yes:)
 
8309
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8310
whose name does not start with the host triplet.  If you think this
 
8311
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8312
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8313
whose name does not start with the host triplet.  If you think this
 
8314
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8315
ac_tool_warned=yes ;;
 
8316
esac
 
8317
    OTOOL64=$ac_ct_OTOOL64
 
8318
  fi
 
8319
else
 
8320
  OTOOL64="$ac_cv_prog_OTOOL64"
 
8321
fi
 
8322
 
 
8323
 
 
8324
 
 
8325
 
 
8326
 
 
8327
 
 
8328
 
 
8329
 
 
8330
 
 
8331
 
 
8332
 
 
8333
 
 
8334
 
 
8335
 
 
8336
 
 
8337
 
 
8338
 
 
8339
 
 
8340
 
 
8341
 
 
8342
 
 
8343
 
 
8344
 
 
8345
 
 
8346
 
 
8347
 
9219
8348
 
9220
8349
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
9221
8350
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
9224
8353
else
9225
8354
  lt_cv_apple_cc_single_mod=no
9226
8355
      if test -z "${LT_MULTI_MODULE}"; then
9227
 
   # By default we will add the -single_module flag. You can override
9228
 
   # by either setting the environment variable LT_MULTI_MODULE
9229
 
   # non-empty at configure time, or by adding -multi_module to the
9230
 
   # link flags.
9231
 
   echo "int foo(void){return 1;}" > conftest.c
9232
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9233
 
     -dynamiclib ${wl}-single_module conftest.c
9234
 
   if test -f libconftest.dylib; then
9235
 
     lt_cv_apple_cc_single_mod=yes
9236
 
     rm -rf libconftest.dylib*
9237
 
   fi
9238
 
   rm conftest.c
 
8356
        # By default we will add the -single_module flag. You can override
 
8357
        # by either setting the environment variable LT_MULTI_MODULE
 
8358
        # non-empty at configure time, or by adding -multi_module to the
 
8359
        # link flags.
 
8360
        rm -rf libconftest.dylib*
 
8361
        echo "int foo(void){return 1;}" > conftest.c
 
8362
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8363
-dynamiclib -Wl,-single_module conftest.c" >&5
 
8364
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8365
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
8366
        _lt_result=$?
 
8367
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
8368
          lt_cv_apple_cc_single_mod=yes
 
8369
        else
 
8370
          cat conftest.err >&5
 
8371
        fi
 
8372
        rm -rf libconftest.dylib*
 
8373
        rm -f conftest.*
9239
8374
      fi
9240
8375
fi
9241
8376
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
9292
8427
 
9293
8428
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9294
8429
      conftest$ac_exeext conftest.$ac_ext
9295
 
   LDFLAGS="$save_LDFLAGS"
 
8430
        LDFLAGS="$save_LDFLAGS"
9296
8431
 
9297
8432
fi
9298
8433
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
9299
8434
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
9300
8435
    case $host_os in
9301
 
    rhapsody* | darwin1.[0123])
 
8436
    rhapsody* | darwin1.[012])
9302
8437
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9303
8438
    darwin1.*)
9304
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9305
 
    darwin*)
 
8439
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8440
    darwin*) # darwin 5.x on
9306
8441
      # if running on 10.5 or later, the deployment target defaults
9307
8442
      # to the OS version, if on x86, and 10.4, the deployment
9308
8443
      # target defaults to 10.4. Don't you love it?
9309
8444
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9310
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9311
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9312
 
   10.[012]*)
9313
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9314
 
   10.*)
9315
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8445
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
8446
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8447
        10.[012]*)
 
8448
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8449
        10.*)
 
8450
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9316
8451
      esac
9317
8452
    ;;
9318
8453
  esac
9322
8457
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9323
8458
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9324
8459
    else
9325
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
8460
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9326
8461
    fi
9327
8462
    if test "$DSYMUTIL" != ":"; then
9328
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
8463
      _lt_dsymutil='~$DSYMUTIL $lib || :'
9329
8464
    else
9330
8465
      _lt_dsymutil=
9331
8466
    fi
9333
8468
  esac
9334
8469
 
9335
8470
 
9336
 
enable_dlopen=no
9337
 
enable_win32_dll=no
9338
 
 
9339
 
# Check whether --enable-libtool-lock was given.
9340
 
if test "${enable_libtool_lock+set}" = set; then
9341
 
  enableval=$enable_libtool_lock;
9342
 
fi
9343
 
 
9344
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8471
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
8472
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
8473
if test "${ac_cv_header_stdc+set}" = set; then
 
8474
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8475
else
 
8476
  cat >conftest.$ac_ext <<_ACEOF
 
8477
/* confdefs.h.  */
 
8478
_ACEOF
 
8479
cat confdefs.h >>conftest.$ac_ext
 
8480
cat >>conftest.$ac_ext <<_ACEOF
 
8481
/* end confdefs.h.  */
 
8482
#include <stdlib.h>
 
8483
#include <stdarg.h>
 
8484
#include <string.h>
 
8485
#include <float.h>
 
8486
 
 
8487
int
 
8488
main ()
 
8489
{
 
8490
 
 
8491
  ;
 
8492
  return 0;
 
8493
}
 
8494
_ACEOF
 
8495
rm -f conftest.$ac_objext
 
8496
if { (ac_try="$ac_compile"
 
8497
case "(($ac_try" in
 
8498
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8499
  *) ac_try_echo=$ac_try;;
 
8500
esac
 
8501
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8502
  (eval "$ac_compile") 2>conftest.er1
 
8503
  ac_status=$?
 
8504
  grep -v '^ *+' conftest.er1 >conftest.err
 
8505
  rm -f conftest.er1
 
8506
  cat conftest.err >&5
 
8507
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8508
  (exit $ac_status); } && {
 
8509
         test -z "$ac_c_werror_flag" ||
 
8510
         test ! -s conftest.err
 
8511
       } && test -s conftest.$ac_objext; then
 
8512
  ac_cv_header_stdc=yes
 
8513
else
 
8514
  echo "$as_me: failed program was:" >&5
 
8515
sed 's/^/| /' conftest.$ac_ext >&5
 
8516
 
 
8517
        ac_cv_header_stdc=no
 
8518
fi
 
8519
 
 
8520
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8521
 
 
8522
if test $ac_cv_header_stdc = yes; then
 
8523
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
8524
  cat >conftest.$ac_ext <<_ACEOF
 
8525
/* confdefs.h.  */
 
8526
_ACEOF
 
8527
cat confdefs.h >>conftest.$ac_ext
 
8528
cat >>conftest.$ac_ext <<_ACEOF
 
8529
/* end confdefs.h.  */
 
8530
#include <string.h>
 
8531
 
 
8532
_ACEOF
 
8533
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
8534
  $EGREP "memchr" >/dev/null 2>&1; then
 
8535
  :
 
8536
else
 
8537
  ac_cv_header_stdc=no
 
8538
fi
 
8539
rm -f conftest*
 
8540
 
 
8541
fi
 
8542
 
 
8543
if test $ac_cv_header_stdc = yes; then
 
8544
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
8545
  cat >conftest.$ac_ext <<_ACEOF
 
8546
/* confdefs.h.  */
 
8547
_ACEOF
 
8548
cat confdefs.h >>conftest.$ac_ext
 
8549
cat >>conftest.$ac_ext <<_ACEOF
 
8550
/* end confdefs.h.  */
 
8551
#include <stdlib.h>
 
8552
 
 
8553
_ACEOF
 
8554
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
8555
  $EGREP "free" >/dev/null 2>&1; then
 
8556
  :
 
8557
else
 
8558
  ac_cv_header_stdc=no
 
8559
fi
 
8560
rm -f conftest*
 
8561
 
 
8562
fi
 
8563
 
 
8564
if test $ac_cv_header_stdc = yes; then
 
8565
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
8566
  if test "$cross_compiling" = yes; then
 
8567
  :
 
8568
else
 
8569
  cat >conftest.$ac_ext <<_ACEOF
 
8570
/* confdefs.h.  */
 
8571
_ACEOF
 
8572
cat confdefs.h >>conftest.$ac_ext
 
8573
cat >>conftest.$ac_ext <<_ACEOF
 
8574
/* end confdefs.h.  */
 
8575
#include <ctype.h>
 
8576
#include <stdlib.h>
 
8577
#if ((' ' & 0x0FF) == 0x020)
 
8578
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
8579
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
8580
#else
 
8581
# define ISLOWER(c) \
 
8582
                   (('a' <= (c) && (c) <= 'i') \
 
8583
                     || ('j' <= (c) && (c) <= 'r') \
 
8584
                     || ('s' <= (c) && (c) <= 'z'))
 
8585
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
8586
#endif
 
8587
 
 
8588
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
8589
int
 
8590
main ()
 
8591
{
 
8592
  int i;
 
8593
  for (i = 0; i < 256; i++)
 
8594
    if (XOR (islower (i), ISLOWER (i))
 
8595
        || toupper (i) != TOUPPER (i))
 
8596
      return 2;
 
8597
  return 0;
 
8598
}
 
8599
_ACEOF
 
8600
rm -f conftest$ac_exeext
 
8601
if { (ac_try="$ac_link"
 
8602
case "(($ac_try" in
 
8603
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8604
  *) ac_try_echo=$ac_try;;
 
8605
esac
 
8606
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8607
  (eval "$ac_link") 2>&5
 
8608
  ac_status=$?
 
8609
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8610
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
8611
  { (case "(($ac_try" in
 
8612
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8613
  *) ac_try_echo=$ac_try;;
 
8614
esac
 
8615
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8616
  (eval "$ac_try") 2>&5
 
8617
  ac_status=$?
 
8618
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8619
  (exit $ac_status); }; }; then
 
8620
  :
 
8621
else
 
8622
  echo "$as_me: program exited with status $ac_status" >&5
 
8623
echo "$as_me: failed program was:" >&5
 
8624
sed 's/^/| /' conftest.$ac_ext >&5
 
8625
 
 
8626
( exit $ac_status )
 
8627
ac_cv_header_stdc=no
 
8628
fi
 
8629
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
8630
fi
 
8631
 
 
8632
 
 
8633
fi
 
8634
fi
 
8635
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
8636
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
8637
if test $ac_cv_header_stdc = yes; then
 
8638
 
 
8639
cat >>confdefs.h <<\_ACEOF
 
8640
#define STDC_HEADERS 1
 
8641
_ACEOF
 
8642
 
 
8643
fi
 
8644
 
 
8645
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
8646
 
 
8647
 
 
8648
 
 
8649
 
 
8650
 
 
8651
 
 
8652
 
 
8653
 
 
8654
 
 
8655
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
8656
                  inttypes.h stdint.h unistd.h
 
8657
do
 
8658
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8659
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8660
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
8661
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8662
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8663
else
 
8664
  cat >conftest.$ac_ext <<_ACEOF
 
8665
/* confdefs.h.  */
 
8666
_ACEOF
 
8667
cat confdefs.h >>conftest.$ac_ext
 
8668
cat >>conftest.$ac_ext <<_ACEOF
 
8669
/* end confdefs.h.  */
 
8670
$ac_includes_default
 
8671
 
 
8672
#include <$ac_header>
 
8673
_ACEOF
 
8674
rm -f conftest.$ac_objext
 
8675
if { (ac_try="$ac_compile"
 
8676
case "(($ac_try" in
 
8677
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8678
  *) ac_try_echo=$ac_try;;
 
8679
esac
 
8680
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8681
  (eval "$ac_compile") 2>conftest.er1
 
8682
  ac_status=$?
 
8683
  grep -v '^ *+' conftest.er1 >conftest.err
 
8684
  rm -f conftest.er1
 
8685
  cat conftest.err >&5
 
8686
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8687
  (exit $ac_status); } && {
 
8688
         test -z "$ac_c_werror_flag" ||
 
8689
         test ! -s conftest.err
 
8690
       } && test -s conftest.$ac_objext; then
 
8691
  eval "$as_ac_Header=yes"
 
8692
else
 
8693
  echo "$as_me: failed program was:" >&5
 
8694
sed 's/^/| /' conftest.$ac_ext >&5
 
8695
 
 
8696
        eval "$as_ac_Header=no"
 
8697
fi
 
8698
 
 
8699
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8700
fi
 
8701
ac_res=`eval echo '${'$as_ac_Header'}'`
 
8702
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
8703
echo "${ECHO_T}$ac_res" >&6; }
 
8704
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
8705
  cat >>confdefs.h <<_ACEOF
 
8706
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8707
_ACEOF
 
8708
 
 
8709
fi
 
8710
 
 
8711
done
 
8712
 
 
8713
 
 
8714
 
 
8715
for ac_header in dlfcn.h
 
8716
do
 
8717
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8718
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8719
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
8720
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8721
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8722
else
 
8723
  cat >conftest.$ac_ext <<_ACEOF
 
8724
/* confdefs.h.  */
 
8725
_ACEOF
 
8726
cat confdefs.h >>conftest.$ac_ext
 
8727
cat >>conftest.$ac_ext <<_ACEOF
 
8728
/* end confdefs.h.  */
 
8729
$ac_includes_default
 
8730
 
 
8731
#include <$ac_header>
 
8732
_ACEOF
 
8733
rm -f conftest.$ac_objext
 
8734
if { (ac_try="$ac_compile"
 
8735
case "(($ac_try" in
 
8736
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8737
  *) ac_try_echo=$ac_try;;
 
8738
esac
 
8739
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8740
  (eval "$ac_compile") 2>conftest.er1
 
8741
  ac_status=$?
 
8742
  grep -v '^ *+' conftest.er1 >conftest.err
 
8743
  rm -f conftest.er1
 
8744
  cat conftest.err >&5
 
8745
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8746
  (exit $ac_status); } && {
 
8747
         test -z "$ac_c_werror_flag" ||
 
8748
         test ! -s conftest.err
 
8749
       } && test -s conftest.$ac_objext; then
 
8750
  eval "$as_ac_Header=yes"
 
8751
else
 
8752
  echo "$as_me: failed program was:" >&5
 
8753
sed 's/^/| /' conftest.$ac_ext >&5
 
8754
 
 
8755
        eval "$as_ac_Header=no"
 
8756
fi
 
8757
 
 
8758
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8759
fi
 
8760
ac_res=`eval echo '${'$as_ac_Header'}'`
 
8761
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
8762
echo "${ECHO_T}$ac_res" >&6; }
 
8763
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
8764
  cat >>confdefs.h <<_ACEOF
 
8765
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8766
_ACEOF
 
8767
 
 
8768
fi
 
8769
 
 
8770
done
 
8771
 
 
8772
 
 
8773
 
 
8774
# Set options
 
8775
 
 
8776
 
 
8777
 
 
8778
        enable_dlopen=no
 
8779
 
 
8780
 
 
8781
  enable_win32_dll=no
 
8782
 
 
8783
 
 
8784
            # Check whether --enable-shared was given.
 
8785
if test "${enable_shared+set}" = set; then
 
8786
  enableval=$enable_shared; p=${PACKAGE-default}
 
8787
    case $enableval in
 
8788
    yes) enable_shared=yes ;;
 
8789
    no) enable_shared=no ;;
 
8790
    *)
 
8791
      enable_shared=no
 
8792
      # Look at the argument we got.  We use all the common list separators.
 
8793
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8794
      for pkg in $enableval; do
 
8795
        IFS="$lt_save_ifs"
 
8796
        if test "X$pkg" = "X$p"; then
 
8797
          enable_shared=yes
 
8798
        fi
 
8799
      done
 
8800
      IFS="$lt_save_ifs"
 
8801
      ;;
 
8802
    esac
 
8803
else
 
8804
  enable_shared=yes
 
8805
fi
 
8806
 
 
8807
 
 
8808
 
 
8809
 
 
8810
 
 
8811
 
 
8812
 
 
8813
 
 
8814
 
 
8815
  # Check whether --enable-static was given.
 
8816
if test "${enable_static+set}" = set; then
 
8817
  enableval=$enable_static; p=${PACKAGE-default}
 
8818
    case $enableval in
 
8819
    yes) enable_static=yes ;;
 
8820
    no) enable_static=no ;;
 
8821
    *)
 
8822
     enable_static=no
 
8823
      # Look at the argument we got.  We use all the common list separators.
 
8824
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8825
      for pkg in $enableval; do
 
8826
        IFS="$lt_save_ifs"
 
8827
        if test "X$pkg" = "X$p"; then
 
8828
          enable_static=yes
 
8829
        fi
 
8830
      done
 
8831
      IFS="$lt_save_ifs"
 
8832
      ;;
 
8833
    esac
 
8834
else
 
8835
  enable_static=yes
 
8836
fi
 
8837
 
 
8838
 
 
8839
 
 
8840
 
 
8841
 
 
8842
 
 
8843
 
 
8844
 
9345
8845
 
9346
8846
 
9347
8847
# Check whether --with-pic was given.
9351
8851
  pic_mode=default
9352
8852
fi
9353
8853
 
 
8854
 
9354
8855
test -z "$pic_mode" && pic_mode=default
9355
8856
 
 
8857
 
 
8858
 
 
8859
 
 
8860
 
 
8861
 
 
8862
 
 
8863
  # Check whether --enable-fast-install was given.
 
8864
if test "${enable_fast_install+set}" = set; then
 
8865
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8866
    case $enableval in
 
8867
    yes) enable_fast_install=yes ;;
 
8868
    no) enable_fast_install=no ;;
 
8869
    *)
 
8870
      enable_fast_install=no
 
8871
      # Look at the argument we got.  We use all the common list separators.
 
8872
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8873
      for pkg in $enableval; do
 
8874
        IFS="$lt_save_ifs"
 
8875
        if test "X$pkg" = "X$p"; then
 
8876
          enable_fast_install=yes
 
8877
        fi
 
8878
      done
 
8879
      IFS="$lt_save_ifs"
 
8880
      ;;
 
8881
    esac
 
8882
else
 
8883
  enable_fast_install=yes
 
8884
fi
 
8885
 
 
8886
 
 
8887
 
 
8888
 
 
8889
 
 
8890
 
 
8891
 
 
8892
 
 
8893
 
 
8894
 
 
8895
 
 
8896
# This can be used to rebuild libtool when needed
 
8897
LIBTOOL_DEPS="$ltmain"
 
8898
 
 
8899
# Always use our own libtool.
 
8900
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8901
 
 
8902
 
 
8903
 
 
8904
 
 
8905
 
 
8906
 
 
8907
 
 
8908
 
 
8909
 
 
8910
 
 
8911
 
 
8912
 
 
8913
 
 
8914
 
 
8915
 
 
8916
 
 
8917
 
 
8918
 
 
8919
 
 
8920
 
 
8921
 
 
8922
 
 
8923
 
 
8924
 
 
8925
 
 
8926
test -z "$LN_S" && LN_S="ln -s"
 
8927
 
 
8928
 
 
8929
 
 
8930
 
 
8931
 
 
8932
 
 
8933
 
 
8934
 
 
8935
 
 
8936
 
 
8937
 
 
8938
 
 
8939
 
 
8940
 
 
8941
if test -n "${ZSH_VERSION+set}" ; then
 
8942
   setopt NO_GLOB_SUBST
 
8943
fi
 
8944
 
 
8945
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
8946
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
 
8947
if test "${lt_cv_objdir+set}" = set; then
 
8948
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8949
else
 
8950
  rm -f .libs 2>/dev/null
 
8951
mkdir .libs 2>/dev/null
 
8952
if test -d .libs; then
 
8953
  lt_cv_objdir=.libs
 
8954
else
 
8955
  # MS-DOS does not allow filenames that begin with a dot.
 
8956
  lt_cv_objdir=_libs
 
8957
fi
 
8958
rmdir .libs 2>/dev/null
 
8959
fi
 
8960
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8961
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
8962
objdir=$lt_cv_objdir
 
8963
 
 
8964
 
 
8965
 
 
8966
 
 
8967
 
 
8968
cat >>confdefs.h <<_ACEOF
 
8969
#define LT_OBJDIR "$lt_cv_objdir/"
 
8970
_ACEOF
 
8971
 
 
8972
 
 
8973
 
 
8974
 
 
8975
 
 
8976
 
 
8977
 
 
8978
 
 
8979
 
 
8980
 
 
8981
 
 
8982
 
 
8983
 
 
8984
 
 
8985
 
 
8986
 
 
8987
 
 
8988
case $host_os in
 
8989
aix3*)
 
8990
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
8991
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
8992
  # vanish in a puff of smoke.
 
8993
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
8994
    COLLECT_NAMES=
 
8995
    export COLLECT_NAMES
 
8996
  fi
 
8997
  ;;
 
8998
esac
 
8999
 
 
9000
# Sed substitution that helps us do robust quoting.  It backslashifies
 
9001
# metacharacters that are still active within double-quoted strings.
 
9002
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
9003
 
 
9004
# Same as above, but do not quote variable references.
 
9005
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
9006
 
 
9007
# Sed substitution to delay expansion of an escaped shell variable in a
 
9008
# double_quote_subst'ed string.
 
9009
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
9010
 
 
9011
# Sed substitution to delay expansion of an escaped single quote.
 
9012
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
9013
 
 
9014
# Sed substitution to avoid accidental globbing in evaled expressions
 
9015
no_glob_subst='s/\*/\\\*/g'
 
9016
 
 
9017
# Global variables:
 
9018
ofile=libtool
 
9019
can_build_shared=yes
 
9020
 
 
9021
# All known linkers require a `.a' archive for static linking (except MSVC,
 
9022
# which needs '.lib').
 
9023
libext=a
 
9024
 
 
9025
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
9026
 
 
9027
old_CC="$CC"
 
9028
old_CFLAGS="$CFLAGS"
 
9029
 
 
9030
# Set sane defaults for various variables
 
9031
test -z "$CC" && CC=cc
 
9032
test -z "$LTCC" && LTCC=$CC
 
9033
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
9034
test -z "$LD" && LD=ld
 
9035
test -z "$ac_objext" && ac_objext=o
 
9036
 
 
9037
for cc_temp in $compiler""; do
 
9038
  case $cc_temp in
 
9039
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
9040
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
9041
    \-*) ;;
 
9042
    *) break;;
 
9043
  esac
 
9044
done
 
9045
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
9046
 
 
9047
 
 
9048
# Only perform the check for file, if the check method requires it
 
9049
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
9050
case $deplibs_check_method in
 
9051
file_magic*)
 
9052
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
9053
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
9054
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
 
9055
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
9056
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9057
else
 
9058
  case $MAGIC_CMD in
 
9059
[\\/*] |  ?:[\\/]*)
 
9060
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9061
  ;;
 
9062
*)
 
9063
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
9064
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9065
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
9066
  for ac_dir in $ac_dummy; do
 
9067
    IFS="$lt_save_ifs"
 
9068
    test -z "$ac_dir" && ac_dir=.
 
9069
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
9070
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
9071
      if test -n "$file_magic_test_file"; then
 
9072
        case $deplibs_check_method in
 
9073
        "file_magic "*)
 
9074
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
9075
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9076
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
9077
            $EGREP "$file_magic_regex" > /dev/null; then
 
9078
            :
 
9079
          else
 
9080
            cat <<_LT_EOF 1>&2
 
9081
 
 
9082
*** Warning: the command libtool uses to detect shared libraries,
 
9083
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
9084
*** The result is that libtool may fail to recognize shared libraries
 
9085
*** as such.  This will affect the creation of libtool libraries that
 
9086
*** depend on shared libraries, but programs linked with such libtool
 
9087
*** libraries will work regardless of this problem.  Nevertheless, you
 
9088
*** may want to report the problem to your system manager and/or to
 
9089
*** bug-libtool@gnu.org
 
9090
 
 
9091
_LT_EOF
 
9092
          fi ;;
 
9093
        esac
 
9094
      fi
 
9095
      break
 
9096
    fi
 
9097
  done
 
9098
  IFS="$lt_save_ifs"
 
9099
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
9100
  ;;
 
9101
esac
 
9102
fi
 
9103
 
 
9104
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9105
if test -n "$MAGIC_CMD"; then
 
9106
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
9107
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
9108
else
 
9109
  { echo "$as_me:$LINENO: result: no" >&5
 
9110
echo "${ECHO_T}no" >&6; }
 
9111
fi
 
9112
 
 
9113
 
 
9114
 
 
9115
 
 
9116
 
 
9117
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
9118
  if test -n "$ac_tool_prefix"; then
 
9119
    { echo "$as_me:$LINENO: checking for file" >&5
 
9120
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
 
9121
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
9122
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9123
else
 
9124
  case $MAGIC_CMD in
 
9125
[\\/*] |  ?:[\\/]*)
 
9126
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9127
  ;;
 
9128
*)
 
9129
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
9130
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9131
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
9132
  for ac_dir in $ac_dummy; do
 
9133
    IFS="$lt_save_ifs"
 
9134
    test -z "$ac_dir" && ac_dir=.
 
9135
    if test -f $ac_dir/file; then
 
9136
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
9137
      if test -n "$file_magic_test_file"; then
 
9138
        case $deplibs_check_method in
 
9139
        "file_magic "*)
 
9140
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
9141
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9142
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
9143
            $EGREP "$file_magic_regex" > /dev/null; then
 
9144
            :
 
9145
          else
 
9146
            cat <<_LT_EOF 1>&2
 
9147
 
 
9148
*** Warning: the command libtool uses to detect shared libraries,
 
9149
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
9150
*** The result is that libtool may fail to recognize shared libraries
 
9151
*** as such.  This will affect the creation of libtool libraries that
 
9152
*** depend on shared libraries, but programs linked with such libtool
 
9153
*** libraries will work regardless of this problem.  Nevertheless, you
 
9154
*** may want to report the problem to your system manager and/or to
 
9155
*** bug-libtool@gnu.org
 
9156
 
 
9157
_LT_EOF
 
9158
          fi ;;
 
9159
        esac
 
9160
      fi
 
9161
      break
 
9162
    fi
 
9163
  done
 
9164
  IFS="$lt_save_ifs"
 
9165
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
9166
  ;;
 
9167
esac
 
9168
fi
 
9169
 
 
9170
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9171
if test -n "$MAGIC_CMD"; then
 
9172
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
9173
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
9174
else
 
9175
  { echo "$as_me:$LINENO: result: no" >&5
 
9176
echo "${ECHO_T}no" >&6; }
 
9177
fi
 
9178
 
 
9179
 
 
9180
  else
 
9181
    MAGIC_CMD=:
 
9182
  fi
 
9183
fi
 
9184
 
 
9185
  fi
 
9186
  ;;
 
9187
esac
 
9188
 
9356
9189
# Use C for the default configuration in the libtool script
9357
 
tagname=
 
9190
 
9358
9191
lt_save_CC="$CC"
9359
9192
ac_ext=c
9360
9193
ac_cpp='$CPP $CPPFLAGS'
9377
9210
lt_simple_link_test_code='int main(){return(0);}'
9378
9211
 
9379
9212
 
 
9213
 
 
9214
 
 
9215
 
 
9216
 
 
9217
 
9380
9218
# If no C compiler was specified, use CC.
9381
9219
LTCC=${LTCC-"$CC"}
9382
9220
 
9386
9224
# Allow CC to be a program name with arguments.
9387
9225
compiler=$CC
9388
9226
 
 
9227
# Save the default compiler, since it gets overwritten when the other
 
9228
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
9229
compiler_DEFAULT=$CC
9389
9230
 
9390
9231
# save warnings/boilerplate of simple test code
9391
9232
ac_outfile=conftest.$ac_objext
9392
9233
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9393
9234
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9394
9235
_lt_compiler_boilerplate=`cat conftest.err`
9395
 
$rm conftest*
 
9236
$RM conftest*
9396
9237
 
9397
9238
ac_outfile=conftest.$ac_objext
9398
9239
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9399
9240
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9400
9241
_lt_linker_boilerplate=`cat conftest.err`
9401
 
$rm -r conftest*
9402
 
 
9403
 
 
 
9242
$RM -r conftest*
 
9243
 
 
9244
 
 
9245
## CAVEAT EMPTOR:
 
9246
## There is no encapsulation within the following macros, do not change
 
9247
## the running order or otherwise move them around unless you know exactly
 
9248
## what you are doing...
 
9249
if test -n "$compiler"; then
9404
9250
 
9405
9251
lt_prog_compiler_no_builtin_flag=
9406
9252
 
9407
9253
if test "$GCC" = yes; then
9408
9254
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9409
9255
 
9410
 
 
9411
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9256
  { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9412
9257
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9413
9258
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9414
9259
  echo $ECHO_N "(cached) $ECHO_C" >&6
9415
9260
else
9416
9261
  lt_cv_prog_compiler_rtti_exceptions=no
9417
 
  ac_outfile=conftest.$ac_objext
 
9262
   ac_outfile=conftest.$ac_objext
9418
9263
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9419
9264
   lt_compiler_flag="-fno-rtti -fno-exceptions"
9420
9265
   # Insert the option either (1) after the last *FLAGS variable, or
9426
9271
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9427
9272
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9428
9273
   -e 's:$: $lt_compiler_flag:'`
9429
 
   (eval echo "\"\$as_me:9429: $lt_compile\"" >&5)
 
9274
   (eval echo "\"\$as_me:9274: $lt_compile\"" >&5)
9430
9275
   (eval "$lt_compile" 2>conftest.err)
9431
9276
   ac_status=$?
9432
9277
   cat conftest.err >&5
9433
 
   echo "$as_me:9433: \$? = $ac_status" >&5
 
9278
   echo "$as_me:9278: \$? = $ac_status" >&5
9434
9279
   if (exit $ac_status) && test -s "$ac_outfile"; then
9435
9280
     # The compiler can only warn and ignore the option if not recognized
9436
9281
     # So say no if there are warnings other than the usual output.
9437
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9282
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9438
9283
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9439
9284
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9440
9285
       lt_cv_prog_compiler_rtti_exceptions=yes
9441
9286
     fi
9442
9287
   fi
9443
 
   $rm conftest*
 
9288
   $RM conftest*
9444
9289
 
9445
9290
fi
9446
9291
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9454
9299
 
9455
9300
fi
9456
9301
 
9457
 
lt_prog_compiler_wl=
 
9302
 
 
9303
 
 
9304
 
 
9305
 
 
9306
 
 
9307
  lt_prog_compiler_wl=
9458
9308
lt_prog_compiler_pic=
9459
9309
lt_prog_compiler_static=
9460
9310
 
9475
9325
      ;;
9476
9326
 
9477
9327
    amigaos*)
9478
 
      # FIXME: we need at least 68020 code to build shared libraries, but
9479
 
      # adding the `-m68020' flag to GCC prevents building anything better,
9480
 
      # like `-m68040'.
9481
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
9328
      case $host_cpu in
 
9329
      powerpc)
 
9330
            # see comment about AmigaOS4 .so support
 
9331
            lt_prog_compiler_pic='-fPIC'
 
9332
        ;;
 
9333
      m68k)
 
9334
            # FIXME: we need at least 68020 code to build shared libraries, but
 
9335
            # adding the `-m68020' flag to GCC prevents building anything better,
 
9336
            # like `-m68040'.
 
9337
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
9338
        ;;
 
9339
      esac
9482
9340
      ;;
9483
9341
 
9484
9342
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9499
9357
      lt_prog_compiler_pic='-fno-common'
9500
9358
      ;;
9501
9359
 
 
9360
    hpux*)
 
9361
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
9362
      # not for PA HP-UX.
 
9363
      case $host_cpu in
 
9364
      hppa*64*|ia64*)
 
9365
        # +Z the default
 
9366
        ;;
 
9367
      *)
 
9368
        lt_prog_compiler_pic='-fPIC'
 
9369
        ;;
 
9370
      esac
 
9371
      ;;
 
9372
 
9502
9373
    interix[3-9]*)
9503
9374
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9504
9375
      # Instead, we relocate shared libraries at runtime.
9511
9382
      enable_shared=no
9512
9383
      ;;
9513
9384
 
 
9385
    *nto* | *qnx*)
 
9386
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9387
      # it will coredump.
 
9388
      lt_prog_compiler_pic='-fPIC -shared'
 
9389
      ;;
 
9390
 
9514
9391
    sysv4*MP*)
9515
9392
      if test -d /usr/nec; then
9516
9393
        lt_prog_compiler_pic=-Kconform_pic
9517
9394
      fi
9518
9395
      ;;
9519
9396
 
9520
 
    hpux*)
9521
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9522
 
      # not for PA HP-UX.
9523
 
      case $host_cpu in
9524
 
      hppa*64*|ia64*)
9525
 
        # +Z the default
9526
 
        ;;
9527
 
      *)
9528
 
        lt_prog_compiler_pic='-fPIC'
9529
 
        ;;
9530
 
      esac
9531
 
      ;;
9532
 
 
9533
9397
    *)
9534
9398
      lt_prog_compiler_pic='-fPIC'
9535
9399
      ;;
9546
9410
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9547
9411
      fi
9548
9412
      ;;
9549
 
      darwin*)
9550
 
        # PIC is the default on this platform
9551
 
        # Common symbols not allowed in MH_DYLIB files
9552
 
       case $cc_basename in
9553
 
         xlc*)
9554
 
         lt_prog_compiler_pic='-qnocommon'
9555
 
         lt_prog_compiler_wl='-Wl,'
9556
 
         ;;
9557
 
       esac
9558
 
       ;;
9559
9413
 
9560
9414
    mingw* | cygwin* | pw32* | os2*)
9561
9415
      # This hack is so that the source file can tell whether it is being
9585
9439
      lt_prog_compiler_static='-non_shared'
9586
9440
      ;;
9587
9441
 
9588
 
    newsos6)
9589
 
      lt_prog_compiler_pic='-KPIC'
9590
 
      lt_prog_compiler_static='-Bstatic'
9591
 
      ;;
9592
 
 
9593
9442
    linux* | k*bsd*-gnu)
9594
9443
      case $cc_basename in
9595
 
      icc* | ecc*)
 
9444
      icc* | ecc* | ifort*)
9596
9445
        lt_prog_compiler_wl='-Wl,'
9597
9446
        lt_prog_compiler_pic='-KPIC'
9598
9447
        lt_prog_compiler_static='-static'
9609
9458
        # All Alpha code is PIC.
9610
9459
        lt_prog_compiler_static='-non_shared'
9611
9460
        ;;
 
9461
      xl*)
 
9462
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
9463
        lt_prog_compiler_wl='-Wl,'
 
9464
        lt_prog_compiler_pic='-qpic'
 
9465
        lt_prog_compiler_static='-qstaticlink'
 
9466
        ;;
9612
9467
      *)
9613
 
        case `$CC -V 2>&1 | sed 5q` in
 
9468
        case `$CC -V 2>&1 | sed 5q` in
9614
9469
        *Sun\ C*)
9615
9470
          # Sun C 5.9
9616
9471
          lt_prog_compiler_pic='-KPIC'
9628
9483
      esac
9629
9484
      ;;
9630
9485
 
 
9486
    newsos6)
 
9487
      lt_prog_compiler_pic='-KPIC'
 
9488
      lt_prog_compiler_static='-Bstatic'
 
9489
      ;;
 
9490
 
 
9491
    *nto* | *qnx*)
 
9492
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9493
      # it will coredump.
 
9494
      lt_prog_compiler_pic='-fPIC -shared'
 
9495
      ;;
 
9496
 
9631
9497
    osf3* | osf4* | osf5*)
9632
9498
      lt_prog_compiler_wl='-Wl,'
9633
9499
      # All OSF/1 code is PIC.
9690
9556
    esac
9691
9557
  fi
9692
9558
 
 
9559
case $host_os in
 
9560
  # For platforms which do not support PIC, -DPIC is meaningless:
 
9561
  *djgpp*)
 
9562
    lt_prog_compiler_pic=
 
9563
    ;;
 
9564
  *)
 
9565
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
9566
    ;;
 
9567
esac
9693
9568
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9694
9569
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9695
9570
 
 
9571
 
 
9572
 
 
9573
 
 
9574
 
 
9575
 
9696
9576
#
9697
9577
# Check to make sure the PIC flag actually works.
9698
9578
#
9699
9579
if test -n "$lt_prog_compiler_pic"; then
9700
 
 
9701
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9580
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9702
9581
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9703
9582
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9704
9583
  echo $ECHO_N "(cached) $ECHO_C" >&6
9705
9584
else
9706
9585
  lt_cv_prog_compiler_pic_works=no
9707
 
  ac_outfile=conftest.$ac_objext
 
9586
   ac_outfile=conftest.$ac_objext
9708
9587
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9709
9588
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9710
9589
   # Insert the option either (1) after the last *FLAGS variable, or
9716
9595
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9717
9596
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9718
9597
   -e 's:$: $lt_compiler_flag:'`
9719
 
   (eval echo "\"\$as_me:9719: $lt_compile\"" >&5)
 
9598
   (eval echo "\"\$as_me:9598: $lt_compile\"" >&5)
9720
9599
   (eval "$lt_compile" 2>conftest.err)
9721
9600
   ac_status=$?
9722
9601
   cat conftest.err >&5
9723
 
   echo "$as_me:9723: \$? = $ac_status" >&5
 
9602
   echo "$as_me:9602: \$? = $ac_status" >&5
9724
9603
   if (exit $ac_status) && test -s "$ac_outfile"; then
9725
9604
     # The compiler can only warn and ignore the option if not recognized
9726
9605
     # So say no if there are warnings other than the usual output.
9727
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9606
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9728
9607
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9729
9608
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9730
9609
       lt_cv_prog_compiler_pic_works=yes
9731
9610
     fi
9732
9611
   fi
9733
 
   $rm conftest*
 
9612
   $RM conftest*
9734
9613
 
9735
9614
fi
9736
9615
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9747
9626
fi
9748
9627
 
9749
9628
fi
9750
 
case $host_os in
9751
 
  # For platforms which do not support PIC, -DPIC is meaningless:
9752
 
  *djgpp*)
9753
 
    lt_prog_compiler_pic=
9754
 
    ;;
9755
 
  *)
9756
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9757
 
    ;;
9758
 
esac
 
9629
 
 
9630
 
 
9631
 
 
9632
 
 
9633
 
9759
9634
 
9760
9635
#
9761
9636
# Check to make sure the static flag actually works.
9776
9651
     if test -s conftest.err; then
9777
9652
       # Append any errors to the config.log.
9778
9653
       cat conftest.err 1>&5
9779
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9654
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9780
9655
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9781
9656
       if diff conftest.exp conftest.er2 >/dev/null; then
9782
9657
         lt_cv_prog_compiler_static_works=yes
9785
9660
       lt_cv_prog_compiler_static_works=yes
9786
9661
     fi
9787
9662
   fi
9788
 
   $rm -r conftest*
 
9663
   $RM -r conftest*
9789
9664
   LDFLAGS="$save_LDFLAGS"
9790
9665
 
9791
9666
fi
9799
9674
fi
9800
9675
 
9801
9676
 
9802
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9803
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9804
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9805
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9806
 
else
9807
 
  lt_cv_prog_compiler_c_o=no
9808
 
   $rm -r conftest 2>/dev/null
9809
 
   mkdir conftest
9810
 
   cd conftest
9811
 
   mkdir out
9812
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9813
 
 
9814
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9815
 
   # Insert the option either (1) after the last *FLAGS variable, or
9816
 
   # (2) before a word containing "conftest.", or (3) at the end.
9817
 
   # Note that $ac_compile itself does not contain backslashes and begins
9818
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9819
 
   lt_compile=`echo "$ac_compile" | $SED \
9820
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9821
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9822
 
   -e 's:$: $lt_compiler_flag:'`
9823
 
   (eval echo "\"\$as_me:9823: $lt_compile\"" >&5)
9824
 
   (eval "$lt_compile" 2>out/conftest.err)
9825
 
   ac_status=$?
9826
 
   cat out/conftest.err >&5
9827
 
   echo "$as_me:9827: \$? = $ac_status" >&5
9828
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9829
 
   then
9830
 
     # The compiler can only warn and ignore the option if not recognized
9831
 
     # So say no if there are warnings
9832
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9833
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9834
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9835
 
       lt_cv_prog_compiler_c_o=yes
9836
 
     fi
9837
 
   fi
9838
 
   chmod u+w . 2>&5
9839
 
   $rm conftest*
9840
 
   # SGI C++ compiler will create directory out/ii_files/ for
9841
 
   # template instantiation
9842
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
9843
 
   $rm out/* && rmdir out
9844
 
   cd ..
9845
 
   rmdir conftest
9846
 
   $rm conftest*
9847
 
 
9848
 
fi
9849
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9850
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
9677
 
 
9678
 
 
9679
 
 
9680
 
 
9681
 
 
9682
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9683
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
9684
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9685
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9686
else
 
9687
  lt_cv_prog_compiler_c_o=no
 
9688
   $RM -r conftest 2>/dev/null
 
9689
   mkdir conftest
 
9690
   cd conftest
 
9691
   mkdir out
 
9692
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9693
 
 
9694
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9695
   # Insert the option either (1) after the last *FLAGS variable, or
 
9696
   # (2) before a word containing "conftest.", or (3) at the end.
 
9697
   # Note that $ac_compile itself does not contain backslashes and begins
 
9698
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9699
   lt_compile=`echo "$ac_compile" | $SED \
 
9700
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9701
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9702
   -e 's:$: $lt_compiler_flag:'`
 
9703
   (eval echo "\"\$as_me:9703: $lt_compile\"" >&5)
 
9704
   (eval "$lt_compile" 2>out/conftest.err)
 
9705
   ac_status=$?
 
9706
   cat out/conftest.err >&5
 
9707
   echo "$as_me:9707: \$? = $ac_status" >&5
 
9708
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9709
   then
 
9710
     # The compiler can only warn and ignore the option if not recognized
 
9711
     # So say no if there are warnings
 
9712
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9713
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9714
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9715
       lt_cv_prog_compiler_c_o=yes
 
9716
     fi
 
9717
   fi
 
9718
   chmod u+w . 2>&5
 
9719
   $RM conftest*
 
9720
   # SGI C++ compiler will create directory out/ii_files/ for
 
9721
   # template instantiation
 
9722
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9723
   $RM out/* && rmdir out
 
9724
   cd ..
 
9725
   $RM -r conftest
 
9726
   $RM conftest*
 
9727
 
 
9728
fi
 
9729
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9730
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
9731
 
 
9732
 
 
9733
 
 
9734
 
 
9735
 
 
9736
 
 
9737
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9738
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
9739
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9740
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9741
else
 
9742
  lt_cv_prog_compiler_c_o=no
 
9743
   $RM -r conftest 2>/dev/null
 
9744
   mkdir conftest
 
9745
   cd conftest
 
9746
   mkdir out
 
9747
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9748
 
 
9749
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9750
   # Insert the option either (1) after the last *FLAGS variable, or
 
9751
   # (2) before a word containing "conftest.", or (3) at the end.
 
9752
   # Note that $ac_compile itself does not contain backslashes and begins
 
9753
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9754
   lt_compile=`echo "$ac_compile" | $SED \
 
9755
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9756
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9757
   -e 's:$: $lt_compiler_flag:'`
 
9758
   (eval echo "\"\$as_me:9758: $lt_compile\"" >&5)
 
9759
   (eval "$lt_compile" 2>out/conftest.err)
 
9760
   ac_status=$?
 
9761
   cat out/conftest.err >&5
 
9762
   echo "$as_me:9762: \$? = $ac_status" >&5
 
9763
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9764
   then
 
9765
     # The compiler can only warn and ignore the option if not recognized
 
9766
     # So say no if there are warnings
 
9767
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9768
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9769
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9770
       lt_cv_prog_compiler_c_o=yes
 
9771
     fi
 
9772
   fi
 
9773
   chmod u+w . 2>&5
 
9774
   $RM conftest*
 
9775
   # SGI C++ compiler will create directory out/ii_files/ for
 
9776
   # template instantiation
 
9777
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9778
   $RM out/* && rmdir out
 
9779
   cd ..
 
9780
   $RM -r conftest
 
9781
   $RM conftest*
 
9782
 
 
9783
fi
 
9784
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9785
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
9786
 
 
9787
 
9851
9788
 
9852
9789
 
9853
9790
hard_links="nottested"
9856
9793
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9857
9794
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9858
9795
  hard_links=yes
9859
 
  $rm conftest*
 
9796
  $RM conftest*
9860
9797
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9861
9798
  touch conftest.a
9862
9799
  ln conftest.a conftest.b 2>&5 || hard_links=no
9872
9809
  need_locks=no
9873
9810
fi
9874
9811
 
9875
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9812
 
 
9813
 
 
9814
 
 
9815
 
 
9816
 
 
9817
  { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9876
9818
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9877
9819
 
9878
9820
  runpath_var=
9879
9821
  allow_undefined_flag=
9880
 
  enable_shared_with_static_runtimes=no
 
9822
  always_export_symbols=no
9881
9823
  archive_cmds=
9882
9824
  archive_expsym_cmds=
9883
 
  old_archive_From_new_cmds=
9884
 
  old_archive_from_expsyms_cmds=
 
9825
  compiler_needs_object=no
 
9826
  enable_shared_with_static_runtimes=no
9885
9827
  export_dynamic_flag_spec=
9886
 
  whole_archive_flag_spec=
9887
 
  thread_safe_flag_spec=
 
9828
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9829
  hardcode_automatic=no
 
9830
  hardcode_direct=no
 
9831
  hardcode_direct_absolute=no
9888
9832
  hardcode_libdir_flag_spec=
9889
9833
  hardcode_libdir_flag_spec_ld=
9890
9834
  hardcode_libdir_separator=
9891
 
  hardcode_direct=no
9892
9835
  hardcode_minus_L=no
9893
9836
  hardcode_shlibpath_var=unsupported
 
9837
  inherit_rpath=no
9894
9838
  link_all_deplibs=unknown
9895
 
  hardcode_automatic=no
9896
9839
  module_cmds=
9897
9840
  module_expsym_cmds=
9898
 
  always_export_symbols=no
9899
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9841
  old_archive_from_new_cmds=
 
9842
  old_archive_from_expsyms_cmds=
 
9843
  thread_safe_flag_spec=
 
9844
  whole_archive_flag_spec=
9900
9845
  # include_expsyms should be a list of space-separated symbols to be *always*
9901
9846
  # included in the symbol list
9902
9847
  include_expsyms=
9912
9857
  # preloaded symbol tables.
9913
9858
  # Exclude shared library initialization/finalization symbols.
9914
9859
  extract_expsyms_cmds=
9915
 
  # Just being paranoid about ensuring that cc_basename is set.
9916
 
  for cc_temp in $compiler""; do
9917
 
  case $cc_temp in
9918
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9919
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9920
 
    \-*) ;;
9921
 
    *) break;;
9922
 
  esac
9923
 
done
9924
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9925
9860
 
9926
9861
  case $host_os in
9927
9862
  cygwin* | mingw* | pw32*)
9950
9885
    # are reset later if shared libraries are not supported. Putting them
9951
9886
    # here allows them to be overridden if necessary.
9952
9887
    runpath_var=LD_RUN_PATH
9953
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
9888
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9954
9889
    export_dynamic_flag_spec='${wl}--export-dynamic'
9955
9890
    # ancient GNU ld didn't support --whole-archive et. al.
9956
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
9957
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9958
 
      else
9959
 
        whole_archive_flag_spec=
 
9891
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9892
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9893
    else
 
9894
      whole_archive_flag_spec=
9960
9895
    fi
9961
9896
    supports_anon_versioning=no
9962
 
    case `$LD -v 2>/dev/null` in
 
9897
    case `$LD -v 2>&1` in
9963
9898
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9964
9899
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9965
9900
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9973
9908
      # On AIX/PPC, the GNU linker is very broken
9974
9909
      if test "$host_cpu" != ia64; then
9975
9910
        ld_shlibs=no
9976
 
        cat <<EOF 1>&2
 
9911
        cat <<_LT_EOF 1>&2
9977
9912
 
9978
9913
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9979
9914
*** to be unable to reliably create shared libraries on AIX.
9981
9916
*** really care for shared libraries, you may want to modify your PATH
9982
9917
*** so that a non-GNU linker is found, and then restart.
9983
9918
 
9984
 
EOF
 
9919
_LT_EOF
9985
9920
      fi
9986
9921
      ;;
9987
9922
 
9988
9923
    amigaos*)
9989
 
      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)'
9990
 
      hardcode_libdir_flag_spec='-L$libdir'
9991
 
      hardcode_minus_L=yes
9992
 
 
9993
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9994
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
9995
 
      # to version 4, is to share data among multiple programs linked
9996
 
      # with the same dynamic library.  Since this doesn't match the
9997
 
      # behavior of shared libraries on other platforms, we can't use
9998
 
      # them.
9999
 
      ld_shlibs=no
 
9924
      case $host_cpu in
 
9925
      powerpc)
 
9926
            # see comment about AmigaOS4 .so support
 
9927
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9928
            archive_expsym_cmds=''
 
9929
        ;;
 
9930
      m68k)
 
9931
            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)'
 
9932
            hardcode_libdir_flag_spec='-L$libdir'
 
9933
            hardcode_minus_L=yes
 
9934
        ;;
 
9935
      esac
10000
9936
      ;;
10001
9937
 
10002
9938
    beos*)
10003
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9939
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10004
9940
        allow_undefined_flag=unsupported
10005
9941
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10006
9942
        # support --undefined.  This deserves some investigation.  FIXME
10011
9947
      ;;
10012
9948
 
10013
9949
    cygwin* | mingw* | pw32*)
10014
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9950
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10015
9951
      # as there is no search path for DLLs.
10016
9952
      hardcode_libdir_flag_spec='-L$libdir'
10017
9953
      allow_undefined_flag=unsupported
10018
9954
      always_export_symbols=no
10019
9955
      enable_shared_with_static_runtimes=yes
10020
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9956
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10021
9957
 
10022
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
9958
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10023
9959
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10024
9960
        # If the export-symbols file already is a .def file (1st line
10025
9961
        # is EXPORTS), use it as is; otherwise, prepend...
10050
9986
      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'
10051
9987
      ;;
10052
9988
 
10053
 
    gnu* | linux* | k*bsd*-gnu)
10054
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9989
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9990
      tmp_diet=no
 
9991
      if test "$host_os" = linux-dietlibc; then
 
9992
        case $cc_basename in
 
9993
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9994
        esac
 
9995
      fi
 
9996
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9997
         && test "$tmp_diet" = no
 
9998
      then
10055
9999
        tmp_addflag=
 
10000
        tmp_sharedflag='-shared'
10056
10001
        case $cc_basename,$host_cpu in
10057
 
        pgcc*)                          # Portland Group C compiler
10058
 
          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'
 
10002
        pgcc*)                          # Portland Group C compiler
 
10003
          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'
10059
10004
          tmp_addflag=' $pic_flag'
10060
10005
          ;;
10061
10006
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
10062
 
          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'
 
10007
          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'
10063
10008
          tmp_addflag=' $pic_flag -Mnomain' ;;
10064
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
10009
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10065
10010
          tmp_addflag=' -i_dynamic' ;;
10066
10011
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10067
10012
          tmp_addflag=' -i_dynamic -nofor_main' ;;
10068
10013
        ifc* | ifort*)                  # Intel Fortran compiler
10069
10014
          tmp_addflag=' -nofor_main' ;;
 
10015
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
10016
          tmp_sharedflag='-qmkshrobj'
 
10017
          tmp_addflag= ;;
10070
10018
        esac
10071
10019
        case `$CC -V 2>&1 | sed 5q` in
10072
10020
        *Sun\ C*)                       # Sun C 5.9
10073
 
          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'
 
10021
          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'
 
10022
          compiler_needs_object=yes
10074
10023
          tmp_sharedflag='-G' ;;
10075
10024
        *Sun\ F*)                       # Sun Fortran 8.3
10076
10025
          tmp_sharedflag='-G' ;;
10077
 
        *)
10078
 
          tmp_sharedflag='-shared' ;;
10079
10026
        esac
10080
10027
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10081
10028
 
10082
 
        if test $supports_anon_versioning = yes; then
10083
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
10084
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10085
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
10086
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10087
 
        fi
10088
 
        link_all_deplibs=no
 
10029
        if test "x$supports_anon_versioning" = xyes; then
 
10030
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10031
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10032
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
10033
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
10034
        fi
 
10035
 
 
10036
        case $cc_basename in
 
10037
        xlf*)
 
10038
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
10039
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
10040
          hardcode_libdir_flag_spec=
 
10041
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
10042
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
10043
          if test "x$supports_anon_versioning" = xyes; then
 
10044
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10045
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10046
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
10047
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
10048
          fi
 
10049
          ;;
 
10050
        esac
10089
10051
      else
10090
 
        ld_shlibs=no
 
10052
        ld_shlibs=no
10091
10053
      fi
10092
10054
      ;;
10093
10055
 
10094
10056
    netbsd* | netbsdelf*-gnu)
10095
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10057
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10096
10058
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10097
10059
        wlarc=
10098
10060
      else
10102
10064
      ;;
10103
10065
 
10104
10066
    solaris*)
10105
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
10067
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10106
10068
        ld_shlibs=no
10107
 
        cat <<EOF 1>&2
 
10069
        cat <<_LT_EOF 1>&2
10108
10070
 
10109
10071
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10110
10072
*** create shared libraries on Solaris systems.  Therefore, libtool
10113
10075
*** your PATH or compiler configuration so that the native linker is
10114
10076
*** used, and then restart.
10115
10077
 
10116
 
EOF
10117
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
10078
_LT_EOF
 
10079
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10118
10080
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10119
10081
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10120
10082
      else
10138
10100
_LT_EOF
10139
10101
        ;;
10140
10102
        *)
10141
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10142
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
10143
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
10144
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
10103
          # For security reasons, it is highly recommended that you always
 
10104
          # use absolute paths for naming shared libraries, and exclude the
 
10105
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
10106
          # requires that you compile everything twice, which is a pain.
 
10107
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10108
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10109
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10110
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10145
10111
          else
10146
10112
            ld_shlibs=no
10147
10113
          fi
10157
10123
      ;;
10158
10124
 
10159
10125
    *)
10160
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
10126
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10161
10127
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10162
10128
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10163
10129
      else
10199
10165
      else
10200
10166
        # If we're using GNU nm, then we don't want the "-C" option.
10201
10167
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10202
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10203
 
          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'
 
10168
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
10169
          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'
10204
10170
        else
10205
 
          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'
 
10171
          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'
10206
10172
        fi
10207
10173
        aix_use_runtimelinking=no
10208
10174
 
10211
10177
        # need to do runtime linking.
10212
10178
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10213
10179
          for ld_flag in $LDFLAGS; do
10214
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10215
 
            aix_use_runtimelinking=yes
10216
 
            break
10217
 
          fi
 
10180
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
10181
            aix_use_runtimelinking=yes
 
10182
            break
 
10183
          fi
10218
10184
          done
10219
10185
          ;;
10220
10186
        esac
10231
10197
 
10232
10198
      archive_cmds=''
10233
10199
      hardcode_direct=yes
 
10200
      hardcode_direct_absolute=yes
10234
10201
      hardcode_libdir_separator=':'
10235
10202
      link_all_deplibs=yes
 
10203
      file_list_spec='${wl}-f,'
10236
10204
 
10237
10205
      if test "$GCC" = yes; then
10238
10206
        case $host_os in aix4.[012]|aix4.[012].*)
10239
10207
        # We only want to do this on AIX 4.2 and lower, the check
10240
10208
        # below for broken collect2 doesn't work under 4.3+
10241
10209
          collect2name=`${CC} -print-prog-name=collect2`
10242
 
          if test -f "$collect2name" && \
10243
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
10210
          if test -f "$collect2name" &&
 
10211
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10244
10212
          then
10245
 
          # We have reworked collect2
10246
 
          :
 
10213
          # We have reworked collect2
 
10214
          :
10247
10215
          else
10248
 
          # We have old collect2
10249
 
          hardcode_direct=unsupported
10250
 
          # It fails to find uninstalled libraries when the uninstalled
10251
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10252
 
          # to unsupported forces relinking
10253
 
          hardcode_minus_L=yes
10254
 
          hardcode_libdir_flag_spec='-L$libdir'
10255
 
          hardcode_libdir_separator=
 
10216
          # We have old collect2
 
10217
          hardcode_direct=unsupported
 
10218
          # It fails to find uninstalled libraries when the uninstalled
 
10219
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
10220
          # to unsupported forces relinking
 
10221
          hardcode_minus_L=yes
 
10222
          hardcode_libdir_flag_spec='-L$libdir'
 
10223
          hardcode_libdir_separator=
10256
10224
          fi
10257
10225
          ;;
10258
10226
        esac
10260
10228
        if test "$aix_use_runtimelinking" = yes; then
10261
10229
          shared_flag="$shared_flag "'${wl}-G'
10262
10230
        fi
 
10231
        link_all_deplibs=no
10263
10232
      else
10264
10233
        # not using gcc
10265
10234
        if test "$host_cpu" = ia64; then
10266
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10267
 
        # chokes on -Wl,-G. The following line is correct:
 
10235
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
10236
        # chokes on -Wl,-G. The following line is correct:
10268
10237
          shared_flag='-G'
10269
10238
        else
10270
10239
          if test "$aix_use_runtimelinking" = yes; then
10282
10251
        # Warning - without using the other runtime loading flags (-brtl),
10283
10252
        # -berok will link without error, but may produce a broken library.
10284
10253
        allow_undefined_flag='-berok'
10285
 
       # Determine the default libpath from the value encoded in an empty executable.
10286
 
       cat >conftest.$ac_ext <<_ACEOF
 
10254
        # Determine the default libpath from the value encoded in an
 
10255
        # empty executable.
 
10256
        cat >conftest.$ac_ext <<_ACEOF
10287
10257
/* confdefs.h.  */
10288
10258
_ACEOF
10289
10259
cat confdefs.h >>conftest.$ac_ext
10340
10310
      conftest$ac_exeext conftest.$ac_ext
10341
10311
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10342
10312
 
10343
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10344
 
        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"
10345
 
       else
 
10313
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
10314
        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"
 
10315
      else
10346
10316
        if test "$host_cpu" = ia64; then
10347
10317
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10348
10318
          allow_undefined_flag="-z nodefs"
10349
10319
          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"
10350
10320
        else
10351
 
         # Determine the default libpath from the value encoded in an empty executable.
 
10321
         # Determine the default libpath from the value encoded in an
 
10322
         # empty executable.
10352
10323
         cat >conftest.$ac_ext <<_ACEOF
10353
10324
/* confdefs.h.  */
10354
10325
_ACEOF
10421
10392
      ;;
10422
10393
 
10423
10394
    amigaos*)
10424
 
      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)'
10425
 
      hardcode_libdir_flag_spec='-L$libdir'
10426
 
      hardcode_minus_L=yes
10427
 
      # see comment about different semantics on the GNU ld section
10428
 
      ld_shlibs=no
 
10395
      case $host_cpu in
 
10396
      powerpc)
 
10397
            # see comment about AmigaOS4 .so support
 
10398
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10399
            archive_expsym_cmds=''
 
10400
        ;;
 
10401
      m68k)
 
10402
            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)'
 
10403
            hardcode_libdir_flag_spec='-L$libdir'
 
10404
            hardcode_minus_L=yes
 
10405
        ;;
 
10406
      esac
10429
10407
      ;;
10430
10408
 
10431
10409
    bsdi[45]*)
10444
10422
      # Tell ltmain to make .dll files, not .so files.
10445
10423
      shrext_cmds=".dll"
10446
10424
      # FIXME: Setting linknames here is a bad hack.
10447
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
10425
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10448
10426
      # The linker will automatically build a .lib file if we build a DLL.
10449
 
      old_archive_From_new_cmds='true'
 
10427
      old_archive_from_new_cmds='true'
10450
10428
      # FIXME: Should let the user specify the lib program.
10451
10429
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10452
10430
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10454
10432
      ;;
10455
10433
 
10456
10434
    darwin* | rhapsody*)
10457
 
      case $host_os in
10458
 
        rhapsody* | darwin1.[012])
10459
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
10460
 
         ;;
10461
 
       *) # Darwin 1.3 on
10462
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10463
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10464
 
         else
10465
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
10466
 
             10.[012])
10467
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10468
 
               ;;
10469
 
             10.*)
10470
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
10471
 
               ;;
10472
 
           esac
10473
 
         fi
10474
 
         ;;
10475
 
      esac
10476
 
      archive_cmds_need_lc=no
10477
 
      hardcode_direct=no
10478
 
      hardcode_automatic=yes
10479
 
      hardcode_shlibpath_var=unsupported
10480
 
      whole_archive_flag_spec=''
10481
 
      link_all_deplibs=yes
10482
 
    if test "$GCC" = yes ; then
10483
 
        output_verbose_link_cmd='echo'
10484
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10485
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10486
 
        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}"
10487
 
        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}"
10488
 
    else
10489
 
      case $cc_basename in
10490
 
        xlc*)
10491
 
         output_verbose_link_cmd='echo'
10492
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10493
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10494
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10495
 
         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}'
10496
 
          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}'
10497
 
          ;;
10498
 
       *)
10499
 
         ld_shlibs=no
10500
 
          ;;
10501
 
      esac
10502
 
    fi
 
10435
 
 
10436
 
 
10437
  archive_cmds_need_lc=no
 
10438
  hardcode_direct=no
 
10439
  hardcode_automatic=yes
 
10440
  hardcode_shlibpath_var=unsupported
 
10441
  whole_archive_flag_spec=''
 
10442
  link_all_deplibs=yes
 
10443
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
10444
  if test "$GCC" = "yes"; then
 
10445
    output_verbose_link_cmd=echo
 
10446
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
10447
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
10448
    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}"
 
10449
    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}"
 
10450
 
 
10451
  else
 
10452
  ld_shlibs=no
 
10453
  fi
 
10454
 
10503
10455
      ;;
10504
10456
 
10505
10457
    dgux*)
10541
10493
 
10542
10494
    hpux9*)
10543
10495
      if test "$GCC" = yes; then
10544
 
        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'
 
10496
        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'
10545
10497
      else
10546
 
        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'
 
10498
        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'
10547
10499
      fi
10548
10500
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10549
10501
      hardcode_libdir_separator=:
10563
10515
      fi
10564
10516
      if test "$with_gnu_ld" = no; then
10565
10517
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10518
        hardcode_libdir_flag_spec_ld='+b $libdir'
10566
10519
        hardcode_libdir_separator=:
10567
 
 
10568
10520
        hardcode_direct=yes
 
10521
        hardcode_direct_absolute=yes
10569
10522
        export_dynamic_flag_spec='${wl}-E'
10570
 
 
10571
10523
        # hardcode_minus_L: Not really in the search PATH,
10572
10524
        # but as the default location of the library.
10573
10525
        hardcode_minus_L=yes
10606
10558
 
10607
10559
        case $host_cpu in
10608
10560
        hppa*64*|ia64*)
10609
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
10610
10561
          hardcode_direct=no
10611
10562
          hardcode_shlibpath_var=no
10612
10563
          ;;
10613
10564
        *)
10614
10565
          hardcode_direct=yes
 
10566
          hardcode_direct_absolute=yes
10615
10567
          export_dynamic_flag_spec='${wl}-E'
10616
10568
 
10617
10569
          # hardcode_minus_L: Not really in the search PATH,
10624
10576
 
10625
10577
    irix5* | irix6* | nonstopux*)
10626
10578
      if test "$GCC" = yes; then
10627
 
        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'
 
10579
        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'
 
10580
        # Try to use the -exported_symbol ld option, if it does not
 
10581
        # work, assume that -exports_file does not work either and
 
10582
        # implicitly export all symbols.
 
10583
        save_LDFLAGS="$LDFLAGS"
 
10584
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10585
        cat >conftest.$ac_ext <<_ACEOF
 
10586
int foo(void) {}
 
10587
_ACEOF
 
10588
rm -f conftest.$ac_objext conftest$ac_exeext
 
10589
if { (ac_try="$ac_link"
 
10590
case "(($ac_try" in
 
10591
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10592
  *) ac_try_echo=$ac_try;;
 
10593
esac
 
10594
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10595
  (eval "$ac_link") 2>conftest.er1
 
10596
  ac_status=$?
 
10597
  grep -v '^ *+' conftest.er1 >conftest.err
 
10598
  rm -f conftest.er1
 
10599
  cat conftest.err >&5
 
10600
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10601
  (exit $ac_status); } && {
 
10602
         test -z "$ac_c_werror_flag" ||
 
10603
         test ! -s conftest.err
 
10604
       } && test -s conftest$ac_exeext &&
 
10605
       $as_test_x conftest$ac_exeext; then
 
10606
  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'
 
10607
 
 
10608
else
 
10609
  echo "$as_me: failed program was:" >&5
 
10610
sed 's/^/| /' conftest.$ac_ext >&5
 
10611
 
 
10612
 
 
10613
fi
 
10614
 
 
10615
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10616
      conftest$ac_exeext conftest.$ac_ext
 
10617
        LDFLAGS="$save_LDFLAGS"
10628
10618
      else
10629
 
        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'
10630
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
10619
        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'
 
10620
        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'
10631
10621
      fi
 
10622
      archive_cmds_need_lc='no'
10632
10623
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10633
10624
      hardcode_libdir_separator=:
 
10625
      inherit_rpath=yes
10634
10626
      link_all_deplibs=yes
10635
10627
      ;;
10636
10628
 
10637
10629
    netbsd* | netbsdelf*-gnu)
10638
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10630
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10639
10631
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10640
10632
      else
10641
10633
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10653
10645
      hardcode_shlibpath_var=no
10654
10646
      ;;
10655
10647
 
 
10648
    *nto* | *qnx*)
 
10649
      ;;
 
10650
 
10656
10651
    openbsd*)
10657
10652
      if test -f /usr/libexec/ld.so; then
10658
10653
        hardcode_direct=yes
10659
10654
        hardcode_shlibpath_var=no
10660
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10655
        hardcode_direct_absolute=yes
 
10656
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10661
10657
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10662
10658
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10663
10659
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10673
10669
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10674
10670
             ;;
10675
10671
          esac
10676
 
        fi
 
10672
        fi
10677
10673
      else
10678
10674
        ld_shlibs=no
10679
10675
      fi
10683
10679
      hardcode_libdir_flag_spec='-L$libdir'
10684
10680
      hardcode_minus_L=yes
10685
10681
      allow_undefined_flag=unsupported
10686
 
      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'
10687
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
10682
      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'
 
10683
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10688
10684
      ;;
10689
10685
 
10690
10686
    osf3*)
10691
10687
      if test "$GCC" = yes; then
10692
10688
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10693
 
        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'
 
10689
        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'
10694
10690
      else
10695
10691
        allow_undefined_flag=' -expect_unresolved \*'
10696
 
        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'
 
10692
        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'
10697
10693
      fi
 
10694
      archive_cmds_need_lc='no'
10698
10695
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10699
10696
      hardcode_libdir_separator=:
10700
10697
      ;;
10702
10699
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10703
10700
      if test "$GCC" = yes; then
10704
10701
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10705
 
        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'
 
10702
        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'
10706
10703
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10707
10704
      else
10708
10705
        allow_undefined_flag=' -expect_unresolved \*'
10709
 
        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'
10710
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10711
 
        $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'
 
10706
        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'
 
10707
        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~
 
10708
        $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'
10712
10709
 
10713
10710
        # Both c and cxx compiler support -rpath directly
10714
10711
        hardcode_libdir_flag_spec='-rpath $libdir'
10715
10712
      fi
 
10713
      archive_cmds_need_lc='no'
10716
10714
      hardcode_libdir_separator=:
10717
10715
      ;;
10718
10716
 
10719
10717
    solaris*)
10720
 
      no_undefined_flag=' -z text'
 
10718
      no_undefined_flag=' -z defs'
10721
10719
      if test "$GCC" = yes; then
10722
10720
        wlarc='${wl}'
10723
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10724
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10725
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
10721
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10722
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10723
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10726
10724
      else
10727
 
        wlarc=''
10728
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10729
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10730
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
10725
        case `$CC -V 2>&1` in
 
10726
        *"Compilers 5.0"*)
 
10727
          wlarc=''
 
10728
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10729
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10730
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
10731
          ;;
 
10732
        *)
 
10733
          wlarc='${wl}'
 
10734
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10735
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10736
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10737
          ;;
 
10738
        esac
10731
10739
      fi
10732
10740
      hardcode_libdir_flag_spec='-R$libdir'
10733
10741
      hardcode_shlibpath_var=no
10737
10745
        # The compiler driver will combine and reorder linker options,
10738
10746
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10739
10747
        # but is careful enough not to reorder.
10740
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10748
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10741
10749
        if test "$GCC" = yes; then
10742
10750
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10743
10751
        else
10826
10834
      allow_undefined_flag='${wl}-z,nodefs'
10827
10835
      archive_cmds_need_lc=no
10828
10836
      hardcode_shlibpath_var=no
10829
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
10837
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10830
10838
      hardcode_libdir_separator=':'
10831
10839
      link_all_deplibs=yes
10832
10840
      export_dynamic_flag_spec='${wl}-Bexport'
10833
10841
      runpath_var='LD_RUN_PATH'
10834
10842
 
10835
10843
      if test "$GCC" = yes; then
10836
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10837
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10844
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10845
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10838
10846
      else
10839
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10840
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10847
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10848
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10841
10849
      fi
10842
10850
      ;;
10843
10851
 
10851
10859
      ld_shlibs=no
10852
10860
      ;;
10853
10861
    esac
 
10862
 
 
10863
    if test x$host_vendor = xsni; then
 
10864
      case $host in
 
10865
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10866
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10867
        ;;
 
10868
      esac
 
10869
    fi
10854
10870
  fi
10855
10871
 
10856
10872
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10857
10873
echo "${ECHO_T}$ld_shlibs" >&6; }
10858
10874
test "$ld_shlibs" = no && can_build_shared=no
10859
10875
 
 
10876
with_gnu_ld=$with_gnu_ld
 
10877
 
 
10878
 
 
10879
 
 
10880
 
 
10881
 
 
10882
 
 
10883
 
 
10884
 
 
10885
 
 
10886
 
 
10887
 
 
10888
 
 
10889
 
 
10890
 
 
10891
 
10860
10892
#
10861
10893
# Do we need to explicitly link libc?
10862
10894
#
10876
10908
      # to ld, don't add -lc before -lgcc.
10877
10909
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10878
10910
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10879
 
      $rm conftest*
 
10911
      $RM conftest*
10880
10912
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10881
10913
 
10882
10914
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10897
10929
        libname=conftest
10898
10930
        lt_save_allow_undefined_flag=$allow_undefined_flag
10899
10931
        allow_undefined_flag=
10900
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10901
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10932
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10933
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10902
10934
  ac_status=$?
10903
10935
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904
10936
  (exit $ac_status); }
10911
10943
      else
10912
10944
        cat conftest.err 1>&5
10913
10945
      fi
10914
 
      $rm conftest*
 
10946
      $RM conftest*
10915
10947
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10916
10948
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10917
10949
      ;;
10920
10952
  ;;
10921
10953
esac
10922
10954
 
10923
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10955
 
 
10956
 
 
10957
 
 
10958
 
 
10959
 
 
10960
 
 
10961
 
 
10962
 
 
10963
 
 
10964
 
 
10965
 
 
10966
 
 
10967
 
 
10968
 
 
10969
 
 
10970
 
 
10971
 
 
10972
 
 
10973
 
 
10974
 
 
10975
 
 
10976
 
 
10977
 
 
10978
 
 
10979
 
 
10980
 
 
10981
 
 
10982
 
 
10983
 
 
10984
 
 
10985
 
 
10986
 
 
10987
 
 
10988
 
 
10989
 
 
10990
 
 
10991
 
 
10992
 
 
10993
 
 
10994
 
 
10995
 
 
10996
 
 
10997
 
 
10998
 
 
10999
 
 
11000
 
 
11001
 
 
11002
 
 
11003
 
 
11004
 
 
11005
 
 
11006
 
 
11007
 
 
11008
 
 
11009
 
 
11010
 
 
11011
 
 
11012
 
 
11013
 
 
11014
 
 
11015
 
 
11016
 
 
11017
 
 
11018
 
 
11019
 
 
11020
 
 
11021
 
 
11022
 
 
11023
 
 
11024
 
 
11025
 
 
11026
 
 
11027
 
 
11028
 
 
11029
 
 
11030
 
 
11031
 
 
11032
 
 
11033
 
 
11034
 
 
11035
 
 
11036
 
 
11037
 
 
11038
 
 
11039
 
 
11040
 
 
11041
 
 
11042
 
 
11043
 
 
11044
 
 
11045
 
 
11046
 
 
11047
 
 
11048
 
 
11049
 
 
11050
 
 
11051
 
 
11052
 
 
11053
 
 
11054
 
 
11055
 
 
11056
 
 
11057
 
 
11058
 
 
11059
 
 
11060
 
 
11061
 
 
11062
 
 
11063
 
 
11064
 
 
11065
 
 
11066
 
 
11067
 
 
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
 
 
11094
 
 
11095
 
 
11096
 
 
11097
 
 
11098
 
 
11099
 
 
11100
 
 
11101
 
 
11102
 
 
11103
 
 
11104
 
 
11105
 
 
11106
 
 
11107
 
 
11108
 
 
11109
 
 
11110
 
 
11111
  { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10924
11112
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10925
 
library_names_spec=
10926
 
libname_spec='lib$name'
10927
 
soname_spec=
10928
 
shrext_cmds=".so"
10929
 
postinstall_cmds=
10930
 
postuninstall_cmds=
10931
 
finish_cmds=
10932
 
finish_eval=
10933
 
shlibpath_var=
10934
 
shlibpath_overrides_runpath=unknown
10935
 
version_type=none
10936
 
dynamic_linker="$host_os ld.so"
10937
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10938
11113
 
10939
11114
if test "$GCC" = yes; then
10940
11115
  case $host_os in
10942
11117
    *) lt_awk_arg="/^libraries:/" ;;
10943
11118
  esac
10944
11119
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10945
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
11120
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10946
11121
    # if the path contains ";" then we assume it to be the separator
10947
11122
    # otherwise default to the standard path separator (i.e. ":") - it is
10948
11123
    # assumed that no part of a normal pathname contains ";" but that should
10949
11124
    # okay in the real world where ";" in dirpaths is itself problematic.
10950
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
11125
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10951
11126
  else
10952
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
11127
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10953
11128
  fi
10954
11129
  # Ok, now we have the path, separated by spaces, we can step through it
10955
11130
  # and add multilib dir if necessary.
10963
11138
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10964
11139
    fi
10965
11140
  done
10966
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
11141
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10967
11142
BEGIN {RS=" "; FS="/|\n";} {
10968
11143
  lt_foo="";
10969
11144
  lt_count=0;
10983
11158
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10984
11159
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10985
11160
}'`
10986
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
11161
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10987
11162
else
10988
11163
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10989
11164
fi
 
11165
library_names_spec=
 
11166
libname_spec='lib$name'
 
11167
soname_spec=
 
11168
shrext_cmds=".so"
 
11169
postinstall_cmds=
 
11170
postuninstall_cmds=
 
11171
finish_cmds=
 
11172
finish_eval=
 
11173
shlibpath_var=
 
11174
shlibpath_overrides_runpath=unknown
 
11175
version_type=none
 
11176
dynamic_linker="$host_os ld.so"
 
11177
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10990
11178
need_lib_prefix=unknown
10991
11179
hardcode_into_libs=no
10992
11180
 
11023
11211
      aix4 | aix4.[01] | aix4.[01].*)
11024
11212
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11025
11213
           echo ' yes '
11026
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
11214
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11027
11215
        :
11028
11216
      else
11029
11217
        can_build_shared=no
11049
11237
  ;;
11050
11238
 
11051
11239
amigaos*)
11052
 
  library_names_spec='$libname.ixlibrary $libname.a'
11053
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
11054
 
  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'
 
11240
  case $host_cpu in
 
11241
  powerpc)
 
11242
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
11243
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
11244
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11245
    ;;
 
11246
  m68k)
 
11247
    library_names_spec='$libname.ixlibrary $libname.a'
 
11248
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
11249
    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'
 
11250
    ;;
 
11251
  esac
11055
11252
  ;;
11056
11253
 
11057
11254
beos*)
11085
11282
    library_names_spec='$libname.dll.a'
11086
11283
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11087
11284
    postinstall_cmds='base_file=`basename \${file}`~
11088
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
11285
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11089
11286
      dldir=$destdir/`dirname \$dlpath`~
11090
11287
      test -d \$dldir || mkdir -p \$dldir~
11091
11288
      $install_prog $dir/$dlname \$dldir/$dlname~
11092
 
      chmod a+x \$dldir/$dlname'
 
11289
      chmod a+x \$dldir/$dlname~
 
11290
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
11291
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
11292
      fi'
11093
11293
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11094
11294
      dlpath=$dir/\$dldll~
11095
 
       $rm \$dlpath'
 
11295
       $RM \$dlpath'
11096
11296
    shlibpath_overrides_runpath=yes
11097
11297
 
11098
11298
    case $host_os in
11104
11304
    mingw*)
11105
11305
      # MinGW DLLs use traditional 'lib' prefix
11106
11306
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11107
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11108
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
11307
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
11308
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11109
11309
        # It is most probably a Windows format PATH printed by
11110
11310
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11111
11311
        # path with ; separators, and with drive letters. We can handle the
11112
11312
        # drive letters (cygwin fileutils understands them), so leave them,
11113
11313
        # especially as we might pass files found there to a mingw objdump,
11114
11314
        # which wouldn't understand a cygwinified path. Ahh.
11115
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11315
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11116
11316
      else
11117
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
11317
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11118
11318
      fi
11119
11319
      ;;
11120
11320
    pw32*)
11138
11338
  version_type=darwin
11139
11339
  need_lib_prefix=no
11140
11340
  need_version=no
11141
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
11341
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11142
11342
  soname_spec='${libname}${release}${major}$shared_ext'
11143
11343
  shlibpath_overrides_runpath=yes
11144
11344
  shlibpath_var=DYLD_LIBRARY_PATH
11237
11437
    fi
11238
11438
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11239
11439
    ;;
11240
 
   hppa*64*)
11241
 
     shrext_cmds='.sl'
11242
 
     hardcode_into_libs=yes
11243
 
     dynamic_linker="$host_os dld.sl"
11244
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11245
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11246
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11247
 
     soname_spec='${libname}${release}${shared_ext}$major'
11248
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11249
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11250
 
     ;;
11251
 
   *)
 
11440
  hppa*64*)
 
11441
    shrext_cmds='.sl'
 
11442
    hardcode_into_libs=yes
 
11443
    dynamic_linker="$host_os dld.sl"
 
11444
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
11445
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
11446
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11447
    soname_spec='${libname}${release}${shared_ext}$major'
 
11448
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
11449
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
11450
    ;;
 
11451
  *)
11252
11452
    shrext_cmds='.sl'
11253
11453
    dynamic_linker="$host_os dld.sl"
11254
11454
    shlibpath_var=SHLIB_PATH
11325
11525
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11326
11526
  shlibpath_var=LD_LIBRARY_PATH
11327
11527
  shlibpath_overrides_runpath=no
 
11528
  # Some binutils ld are patched to set DT_RUNPATH
 
11529
  save_LDFLAGS=$LDFLAGS
 
11530
  save_libdir=$libdir
 
11531
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
11532
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
11533
  cat >conftest.$ac_ext <<_ACEOF
 
11534
/* confdefs.h.  */
 
11535
_ACEOF
 
11536
cat confdefs.h >>conftest.$ac_ext
 
11537
cat >>conftest.$ac_ext <<_ACEOF
 
11538
/* end confdefs.h.  */
 
11539
 
 
11540
int
 
11541
main ()
 
11542
{
 
11543
 
 
11544
  ;
 
11545
  return 0;
 
11546
}
 
11547
_ACEOF
 
11548
rm -f conftest.$ac_objext conftest$ac_exeext
 
11549
if { (ac_try="$ac_link"
 
11550
case "(($ac_try" in
 
11551
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11552
  *) ac_try_echo=$ac_try;;
 
11553
esac
 
11554
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11555
  (eval "$ac_link") 2>conftest.er1
 
11556
  ac_status=$?
 
11557
  grep -v '^ *+' conftest.er1 >conftest.err
 
11558
  rm -f conftest.er1
 
11559
  cat conftest.err >&5
 
11560
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11561
  (exit $ac_status); } && {
 
11562
         test -z "$ac_c_werror_flag" ||
 
11563
         test ! -s conftest.err
 
11564
       } && test -s conftest$ac_exeext &&
 
11565
       $as_test_x conftest$ac_exeext; then
 
11566
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
11567
  shlibpath_overrides_runpath=yes
 
11568
fi
 
11569
 
 
11570
else
 
11571
  echo "$as_me: failed program was:" >&5
 
11572
sed 's/^/| /' conftest.$ac_ext >&5
 
11573
 
 
11574
 
 
11575
fi
 
11576
 
 
11577
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11578
      conftest$ac_exeext conftest.$ac_ext
 
11579
  LDFLAGS=$save_LDFLAGS
 
11580
  libdir=$save_libdir
 
11581
 
11328
11582
  # This implies no fast_install, which is unacceptable.
11329
11583
  # Some rework will be needed to allow for fast_install
11330
11584
  # before this can be enabled.
11332
11586
 
11333
11587
  # Append ld.so.conf contents to the search path
11334
11588
  if test -f /etc/ld.so.conf; then
11335
 
    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' ' '`
 
11589
    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' ' '`
11336
11590
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11337
11591
  fi
11338
11592
 
11361
11615
  version_type=sunos
11362
11616
  need_lib_prefix=no
11363
11617
  need_version=no
11364
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
11618
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11365
11619
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11366
11620
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11367
11621
    dynamic_linker='NetBSD (a.out) ld.so'
11382
11636
  shlibpath_overrides_runpath=yes
11383
11637
  ;;
11384
11638
 
11385
 
nto-qnx*)
11386
 
  version_type=linux
 
11639
*nto* | *qnx*)
 
11640
  version_type=qnx
11387
11641
  need_lib_prefix=no
11388
11642
  need_version=no
11389
11643
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11390
11644
  soname_spec='${libname}${release}${shared_ext}$major'
11391
11645
  shlibpath_var=LD_LIBRARY_PATH
11392
 
  shlibpath_overrides_runpath=yes
 
11646
  shlibpath_overrides_runpath=no
 
11647
  hardcode_into_libs=yes
 
11648
  dynamic_linker='ldqnx.so'
11393
11649
  ;;
11394
11650
 
11395
11651
openbsd*)
11398
11654
  need_lib_prefix=no
11399
11655
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11400
11656
  case $host_os in
11401
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11402
 
    *)                         need_version=no  ;;
 
11657
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
11658
    *)                          need_version=no  ;;
11403
11659
  esac
11404
11660
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11405
11661
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11406
11662
  shlibpath_var=LD_LIBRARY_PATH
11407
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11663
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11408
11664
    case $host_os in
11409
11665
      openbsd2.[89] | openbsd2.[89].*)
11410
11666
        shlibpath_overrides_runpath=no
11476
11732
    sni)
11477
11733
      shlibpath_overrides_runpath=no
11478
11734
      need_lib_prefix=no
11479
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
11480
11735
      runpath_var=LD_RUN_PATH
11481
11736
      ;;
11482
11737
    siemens)
11507
11762
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11508
11763
  soname_spec='${libname}${release}${shared_ext}$major'
11509
11764
  shlibpath_var=LD_LIBRARY_PATH
 
11765
  shlibpath_overrides_runpath=yes
11510
11766
  hardcode_into_libs=yes
11511
11767
  if test "$with_gnu_ld" = yes; then
11512
11768
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11513
 
    shlibpath_overrides_runpath=no
11514
11769
  else
11515
11770
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11516
 
    shlibpath_overrides_runpath=yes
11517
11771
    case $host_os in
11518
11772
      sco3.2v5*)
11519
11773
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11523
11777
  sys_lib_dlsearch_path_spec='/usr/lib'
11524
11778
  ;;
11525
11779
 
 
11780
tpf*)
 
11781
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
11782
  version_type=linux
 
11783
  need_lib_prefix=no
 
11784
  need_version=no
 
11785
  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11786
  shlibpath_var=LD_LIBRARY_PATH
 
11787
  shlibpath_overrides_runpath=no
 
11788
  hardcode_into_libs=yes
 
11789
  ;;
 
11790
 
11526
11791
uts4*)
11527
11792
  version_type=linux
11528
11793
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11538
11803
echo "${ECHO_T}$dynamic_linker" >&6; }
11539
11804
test "$dynamic_linker" = no && can_build_shared=no
11540
11805
 
11541
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11542
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11543
 
else
11544
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
11545
 
fi
11546
 
 
11547
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11548
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11549
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11550
 
else
11551
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
11552
 
fi
11553
 
 
11554
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11555
 
 
11556
11806
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11557
11807
if test "$GCC" = yes; then
11558
11808
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11559
11809
fi
11560
11810
 
11561
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11811
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11812
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11813
fi
 
11814
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11815
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11816
fi
 
11817
 
 
11818
 
 
11819
 
 
11820
 
 
11821
 
 
11822
 
 
11823
 
 
11824
 
 
11825
 
 
11826
 
 
11827
 
 
11828
 
 
11829
 
 
11830
 
 
11831
 
 
11832
 
 
11833
 
 
11834
 
 
11835
 
 
11836
 
 
11837
 
 
11838
 
 
11839
 
 
11840
 
 
11841
 
 
11842
 
 
11843
 
 
11844
 
 
11845
 
 
11846
 
 
11847
 
 
11848
 
 
11849
 
 
11850
 
 
11851
 
 
11852
 
 
11853
 
 
11854
 
 
11855
 
 
11856
 
 
11857
 
 
11858
 
 
11859
 
 
11860
 
 
11861
 
 
11862
 
 
11863
 
 
11864
 
 
11865
 
 
11866
 
 
11867
 
 
11868
 
 
11869
 
 
11870
 
 
11871
 
 
11872
 
 
11873
 
 
11874
 
 
11875
 
 
11876
 
 
11877
 
 
11878
 
 
11879
 
 
11880
 
 
11881
 
 
11882
 
 
11883
 
 
11884
 
 
11885
 
 
11886
 
 
11887
 
 
11888
 
 
11889
 
 
11890
 
 
11891
 
 
11892
 
 
11893
 
 
11894
 
 
11895
 
 
11896
 
 
11897
 
 
11898
 
 
11899
 
 
11900
 
 
11901
 
 
11902
 
 
11903
 
 
11904
  { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11562
11905
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11563
11906
hardcode_action=
11564
 
if test -n "$hardcode_libdir_flag_spec" || \
11565
 
   test -n "$runpath_var" || \
 
11907
if test -n "$hardcode_libdir_flag_spec" ||
 
11908
   test -n "$runpath_var" ||
11566
11909
   test "X$hardcode_automatic" = "Xyes" ; then
11567
11910
 
11568
 
  # We can hardcode non-existant directories.
 
11911
  # We can hardcode non-existent directories.
11569
11912
  if test "$hardcode_direct" != no &&
11570
11913
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11571
11914
     # have to relink, otherwise we might link with an installed library
11572
11915
     # when we should be linking with a yet-to-be-installed one
11573
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11916
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11574
11917
     test "$hardcode_minus_L" != no; then
11575
11918
    # Linking always hardcodes the temporary library directory.
11576
11919
    hardcode_action=relink
11586
11929
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
11587
11930
echo "${ECHO_T}$hardcode_action" >&6; }
11588
11931
 
11589
 
if test "$hardcode_action" = relink; then
 
11932
if test "$hardcode_action" = relink ||
 
11933
   test "$inherit_rpath" = yes; then
11590
11934
  # Fast installation is not supported
11591
11935
  enable_fast_install=no
11592
11936
elif test "$shlibpath_overrides_runpath" = yes ||
11595
11939
  enable_fast_install=needless
11596
11940
fi
11597
11941
 
11598
 
striplib=
11599
 
old_striplib=
11600
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11601
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11602
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11603
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11604
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11605
 
  { echo "$as_me:$LINENO: result: yes" >&5
11606
 
echo "${ECHO_T}yes" >&6; }
11607
 
else
11608
 
# FIXME - insert some real tests, host_os isn't really good enough
11609
 
  case $host_os in
11610
 
   darwin*)
11611
 
       if test -n "$STRIP" ; then
11612
 
         striplib="$STRIP -x"
11613
 
         old_striplib="$STRIP -S"
11614
 
         { echo "$as_me:$LINENO: result: yes" >&5
11615
 
echo "${ECHO_T}yes" >&6; }
11616
 
       else
11617
 
  { echo "$as_me:$LINENO: result: no" >&5
11618
 
echo "${ECHO_T}no" >&6; }
11619
 
fi
11620
 
       ;;
11621
 
   *)
11622
 
  { echo "$as_me:$LINENO: result: no" >&5
11623
 
echo "${ECHO_T}no" >&6; }
11624
 
    ;;
11625
 
  esac
11626
 
fi
11627
 
 
11628
 
if test "x$enable_dlopen" != xyes; then
 
11942
 
 
11943
 
 
11944
 
 
11945
 
 
11946
 
 
11947
  if test "x$enable_dlopen" != xyes; then
11629
11948
  enable_dlopen=unknown
11630
11949
  enable_dlopen_self=unknown
11631
11950
  enable_dlopen_self_static=unknown
11643
11962
  mingw* | pw32*)
11644
11963
    lt_cv_dlopen="LoadLibrary"
11645
11964
    lt_cv_dlopen_libs=
11646
 
   ;;
 
11965
    ;;
11647
11966
 
11648
11967
  cygwin*)
11649
11968
    lt_cv_dlopen="dlopen"
11650
11969
    lt_cv_dlopen_libs=
11651
 
   ;;
 
11970
    ;;
11652
11971
 
11653
11972
  darwin*)
11654
11973
  # if libdl is installed we need to link against it
11723
12042
 
11724
12043
fi
11725
12044
 
11726
 
   ;;
 
12045
    ;;
11727
12046
 
11728
12047
  *)
11729
12048
    { echo "$as_me:$LINENO: checking for shl_load" >&5
12196
12515
else
12197
12516
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12198
12517
  lt_status=$lt_dlunknown
12199
 
  cat > conftest.$ac_ext <<EOF
12200
 
#line 12200 "configure"
 
12518
  cat > conftest.$ac_ext <<_LT_EOF
 
12519
#line 12519 "configure"
12201
12520
#include "confdefs.h"
12202
12521
 
12203
12522
#if HAVE_DLFCN_H
12259
12578
 
12260
12579
    exit (status);
12261
12580
}
12262
 
EOF
 
12581
_LT_EOF
12263
12582
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12264
12583
  (eval $ac_link) 2>&5
12265
12584
  ac_status=$?
12296
12615
else
12297
12616
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12298
12617
  lt_status=$lt_dlunknown
12299
 
  cat > conftest.$ac_ext <<EOF
12300
 
#line 12300 "configure"
 
12618
  cat > conftest.$ac_ext <<_LT_EOF
 
12619
#line 12619 "configure"
12301
12620
#include "confdefs.h"
12302
12621
 
12303
12622
#if HAVE_DLFCN_H
12359
12678
 
12360
12679
    exit (status);
12361
12680
}
12362
 
EOF
 
12681
_LT_EOF
12363
12682
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12364
12683
  (eval $ac_link) 2>&5
12365
12684
  ac_status=$?
12403
12722
fi
12404
12723
 
12405
12724
 
12406
 
# Report which library types will actually be built
12407
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12408
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12409
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
12410
 
echo "${ECHO_T}$can_build_shared" >&6; }
12411
 
 
12412
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12413
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12414
 
test "$can_build_shared" = "no" && enable_shared=no
12415
 
 
12416
 
# On AIX, shared libraries and static libraries use the same namespace, and
12417
 
# are all built from PIC.
12418
 
case $host_os in
12419
 
aix3*)
12420
 
  test "$enable_shared" = yes && enable_static=no
12421
 
  if test -n "$RANLIB"; then
12422
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
12423
 
    postinstall_cmds='$RANLIB $lib'
12424
 
  fi
12425
 
  ;;
12426
 
 
12427
 
aix[4-9]*)
12428
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12429
 
    test "$enable_shared" = yes && enable_static=no
12430
 
  fi
12431
 
    ;;
12432
 
esac
12433
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
12434
 
echo "${ECHO_T}$enable_shared" >&6; }
12435
 
 
12436
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12437
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12438
 
# Make sure either enable_shared or enable_static is yes.
12439
 
test "$enable_shared" = yes || enable_static=yes
12440
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
12441
 
echo "${ECHO_T}$enable_static" >&6; }
12442
 
 
12443
 
# The else clause should only fire when bootstrapping the
12444
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
12445
 
# with your package, and you will get complaints that there are
12446
 
# no rules to generate ltmain.sh.
12447
 
if test -f "$ltmain"; then
12448
 
  # See if we are running on zsh, and set the options which allow our commands through
12449
 
  # without removal of \ escapes.
12450
 
  if test -n "${ZSH_VERSION+set}" ; then
12451
 
    setopt NO_GLOB_SUBST
12452
 
  fi
12453
 
  # Now quote all the things that may contain metacharacters while being
12454
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12455
 
  # variables and quote the copies for generation of the libtool script.
12456
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12457
 
    SED SHELL STRIP \
12458
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12459
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12460
 
    deplibs_check_method reload_flag reload_cmds need_locks \
12461
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12462
 
    lt_cv_sys_global_symbol_to_c_name_address \
12463
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12464
 
    old_postinstall_cmds old_postuninstall_cmds \
12465
 
    compiler \
12466
 
    CC \
12467
 
    LD \
12468
 
    lt_prog_compiler_wl \
12469
 
    lt_prog_compiler_pic \
12470
 
    lt_prog_compiler_static \
12471
 
    lt_prog_compiler_no_builtin_flag \
12472
 
    export_dynamic_flag_spec \
12473
 
    thread_safe_flag_spec \
12474
 
    whole_archive_flag_spec \
12475
 
    enable_shared_with_static_runtimes \
12476
 
    old_archive_cmds \
12477
 
    old_archive_from_new_cmds \
12478
 
    predep_objects \
12479
 
    postdep_objects \
12480
 
    predeps \
12481
 
    postdeps \
12482
 
    compiler_lib_search_path \
12483
 
    compiler_lib_search_dirs \
12484
 
    archive_cmds \
12485
 
    archive_expsym_cmds \
12486
 
    postinstall_cmds \
12487
 
    postuninstall_cmds \
12488
 
    old_archive_from_expsyms_cmds \
12489
 
    allow_undefined_flag \
12490
 
    no_undefined_flag \
12491
 
    export_symbols_cmds \
12492
 
    hardcode_libdir_flag_spec \
12493
 
    hardcode_libdir_flag_spec_ld \
12494
 
    hardcode_libdir_separator \
12495
 
    hardcode_automatic \
12496
 
    module_cmds \
12497
 
    module_expsym_cmds \
12498
 
    lt_cv_prog_compiler_c_o \
12499
 
    fix_srcfile_path \
12500
 
    exclude_expsyms \
12501
 
    include_expsyms; do
12502
 
 
12503
 
    case $var in
12504
 
    old_archive_cmds | \
12505
 
    old_archive_from_new_cmds | \
12506
 
    archive_cmds | \
12507
 
    archive_expsym_cmds | \
12508
 
    module_cmds | \
12509
 
    module_expsym_cmds | \
12510
 
    old_archive_from_expsyms_cmds | \
12511
 
    export_symbols_cmds | \
12512
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
12513
 
    postinstall_cmds | postuninstall_cmds | \
12514
 
    old_postinstall_cmds | old_postuninstall_cmds | \
12515
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12516
 
      # Double-quote double-evaled strings.
12517
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12518
 
      ;;
12519
 
    *)
12520
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12521
 
      ;;
12522
 
    esac
12523
 
  done
12524
 
 
12525
 
  case $lt_echo in
12526
 
  *'\$0 --fallback-echo"')
12527
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12528
 
    ;;
12529
 
  esac
12530
 
 
12531
 
cfgfile="${ofile}T"
12532
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12533
 
  $rm -f "$cfgfile"
12534
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
12535
 
echo "$as_me: creating $ofile" >&6;}
12536
 
 
12537
 
  cat <<__EOF__ >> "$cfgfile"
12538
 
#! $SHELL
12539
 
 
12540
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12541
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12542
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12543
 
#
12544
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
12545
 
# Free Software Foundation, Inc.
12546
 
#
12547
 
# This file is part of GNU Libtool:
12548
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12549
 
#
12550
 
# This program is free software; you can redistribute it and/or modify
12551
 
# it under the terms of the GNU General Public License as published by
12552
 
# the Free Software Foundation; either version 2 of the License, or
12553
 
# (at your option) any later version.
12554
 
#
12555
 
# This program is distributed in the hope that it will be useful, but
12556
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
12557
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12558
 
# General Public License for more details.
12559
 
#
12560
 
# You should have received a copy of the GNU General Public License
12561
 
# along with this program; if not, write to the Free Software
12562
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12563
 
#
12564
 
# As a special exception to the GNU General Public License, if you
12565
 
# distribute this file as part of a program that contains a
12566
 
# configuration script generated by Autoconf, you may include it under
12567
 
# the same distribution terms that you use for the rest of that program.
12568
 
 
12569
 
# A sed program that does not truncate output.
12570
 
SED=$lt_SED
12571
 
 
12572
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12573
 
Xsed="$SED -e 1s/^X//"
12574
 
 
12575
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
12576
 
# if CDPATH is set.
12577
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12578
 
 
12579
 
# The names of the tagged configurations supported by this script.
12580
 
available_tags=
12581
 
 
12582
 
# ### BEGIN LIBTOOL CONFIG
12583
 
 
12584
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12585
 
 
12586
 
# Shell to use when invoking shell scripts.
12587
 
SHELL=$lt_SHELL
12588
 
 
12589
 
# Whether or not to build shared libraries.
12590
 
build_libtool_libs=$enable_shared
12591
 
 
12592
 
# Whether or not to build static libraries.
12593
 
build_old_libs=$enable_static
12594
 
 
12595
 
# Whether or not to add -lc for building shared libraries.
12596
 
build_libtool_need_lc=$archive_cmds_need_lc
12597
 
 
12598
 
# Whether or not to disallow shared libs when runtime libs are static
12599
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12600
 
 
12601
 
# Whether or not to optimize for fast installation.
12602
 
fast_install=$enable_fast_install
12603
 
 
12604
 
# The host system.
12605
 
host_alias=$host_alias
12606
 
host=$host
12607
 
host_os=$host_os
12608
 
 
12609
 
# The build system.
12610
 
build_alias=$build_alias
12611
 
build=$build
12612
 
build_os=$build_os
12613
 
 
12614
 
# An echo program that does not interpret backslashes.
12615
 
echo=$lt_echo
12616
 
 
12617
 
# The archiver.
12618
 
AR=$lt_AR
12619
 
AR_FLAGS=$lt_AR_FLAGS
12620
 
 
12621
 
# A C compiler.
12622
 
LTCC=$lt_LTCC
12623
 
 
12624
 
# LTCC compiler flags.
12625
 
LTCFLAGS=$lt_LTCFLAGS
12626
 
 
12627
 
# A language-specific compiler.
12628
 
CC=$lt_compiler
12629
 
 
12630
 
# Is the compiler the GNU C compiler?
12631
 
with_gcc=$GCC
12632
 
 
12633
 
# An ERE matcher.
12634
 
EGREP=$lt_EGREP
12635
 
 
12636
 
# The linker used to build libraries.
12637
 
LD=$lt_LD
12638
 
 
12639
 
# Whether we need hard or soft links.
12640
 
LN_S=$lt_LN_S
12641
 
 
12642
 
# A BSD-compatible nm program.
12643
 
NM=$lt_NM
12644
 
 
12645
 
# A symbol stripping program
12646
 
STRIP=$lt_STRIP
12647
 
 
12648
 
# Used to examine libraries when file_magic_cmd begins "file"
12649
 
MAGIC_CMD=$MAGIC_CMD
12650
 
 
12651
 
# Used on cygwin: DLL creation program.
12652
 
DLLTOOL="$DLLTOOL"
12653
 
 
12654
 
# Used on cygwin: object dumper.
12655
 
OBJDUMP="$OBJDUMP"
12656
 
 
12657
 
# Used on cygwin: assembler.
12658
 
AS="$AS"
12659
 
 
12660
 
# The name of the directory that contains temporary libtool files.
12661
 
objdir=$objdir
12662
 
 
12663
 
# How to create reloadable object files.
12664
 
reload_flag=$lt_reload_flag
12665
 
reload_cmds=$lt_reload_cmds
12666
 
 
12667
 
# How to pass a linker flag through the compiler.
12668
 
wl=$lt_lt_prog_compiler_wl
12669
 
 
12670
 
# Object file suffix (normally "o").
12671
 
objext="$ac_objext"
12672
 
 
12673
 
# Old archive suffix (normally "a").
12674
 
libext="$libext"
12675
 
 
12676
 
# Shared library suffix (normally ".so").
12677
 
shrext_cmds='$shrext_cmds'
12678
 
 
12679
 
# Executable file suffix (normally "").
12680
 
exeext="$exeext"
12681
 
 
12682
 
# Additional compiler flags for building library objects.
12683
 
pic_flag=$lt_lt_prog_compiler_pic
12684
 
pic_mode=$pic_mode
12685
 
 
12686
 
# What is the maximum length of a command?
12687
 
max_cmd_len=$lt_cv_sys_max_cmd_len
12688
 
 
12689
 
# Does compiler simultaneously support -c and -o options?
12690
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12691
 
 
12692
 
# Must we lock files when doing compilation?
12693
 
need_locks=$lt_need_locks
12694
 
 
12695
 
# Do we need the lib prefix for modules?
12696
 
need_lib_prefix=$need_lib_prefix
12697
 
 
12698
 
# Do we need a version for libraries?
12699
 
need_version=$need_version
12700
 
 
12701
 
# Whether dlopen is supported.
12702
 
dlopen_support=$enable_dlopen
12703
 
 
12704
 
# Whether dlopen of programs is supported.
12705
 
dlopen_self=$enable_dlopen_self
12706
 
 
12707
 
# Whether dlopen of statically linked programs is supported.
12708
 
dlopen_self_static=$enable_dlopen_self_static
12709
 
 
12710
 
# Compiler flag to prevent dynamic linking.
12711
 
link_static_flag=$lt_lt_prog_compiler_static
12712
 
 
12713
 
# Compiler flag to turn off builtin functions.
12714
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12715
 
 
12716
 
# Compiler flag to allow reflexive dlopens.
12717
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12718
 
 
12719
 
# Compiler flag to generate shared objects directly from archives.
12720
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
12721
 
 
12722
 
# Compiler flag to generate thread-safe objects.
12723
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
12724
 
 
12725
 
# Library versioning type.
12726
 
version_type=$version_type
12727
 
 
12728
 
# Format of library name prefix.
12729
 
libname_spec=$lt_libname_spec
12730
 
 
12731
 
# List of archive names.  First name is the real one, the rest are links.
12732
 
# The last name is the one that the linker finds with -lNAME.
12733
 
library_names_spec=$lt_library_names_spec
12734
 
 
12735
 
# The coded name of the library, if different from the real name.
12736
 
soname_spec=$lt_soname_spec
12737
 
 
12738
 
# Commands used to build and install an old-style archive.
12739
 
RANLIB=$lt_RANLIB
12740
 
old_archive_cmds=$lt_old_archive_cmds
12741
 
old_postinstall_cmds=$lt_old_postinstall_cmds
12742
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12743
 
 
12744
 
# Create an old-style archive from a shared archive.
12745
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12746
 
 
12747
 
# Create a temporary old-style archive to link instead of a shared archive.
12748
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12749
 
 
12750
 
# Commands used to build and install a shared archive.
12751
 
archive_cmds=$lt_archive_cmds
12752
 
archive_expsym_cmds=$lt_archive_expsym_cmds
12753
 
postinstall_cmds=$lt_postinstall_cmds
12754
 
postuninstall_cmds=$lt_postuninstall_cmds
12755
 
 
12756
 
# Commands used to build a loadable module (assumed same as above if empty)
12757
 
module_cmds=$lt_module_cmds
12758
 
module_expsym_cmds=$lt_module_expsym_cmds
12759
 
 
12760
 
# Commands to strip libraries.
12761
 
old_striplib=$lt_old_striplib
12762
 
striplib=$lt_striplib
12763
 
 
12764
 
# Dependencies to place before the objects being linked to create a
12765
 
# shared library.
12766
 
predep_objects=$lt_predep_objects
12767
 
 
12768
 
# Dependencies to place after the objects being linked to create a
12769
 
# shared library.
12770
 
postdep_objects=$lt_postdep_objects
12771
 
 
12772
 
# Dependencies to place before the objects being linked to create a
12773
 
# shared library.
12774
 
predeps=$lt_predeps
12775
 
 
12776
 
# Dependencies to place after the objects being linked to create a
12777
 
# shared library.
12778
 
postdeps=$lt_postdeps
12779
 
 
12780
 
# The directories searched by this compiler when creating a shared
12781
 
# library
12782
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
12783
 
 
12784
 
# The library search path used internally by the compiler when linking
12785
 
# a shared library.
12786
 
compiler_lib_search_path=$lt_compiler_lib_search_path
12787
 
 
12788
 
# Method to check whether dependent libraries are shared objects.
12789
 
deplibs_check_method=$lt_deplibs_check_method
12790
 
 
12791
 
# Command to use when deplibs_check_method == file_magic.
12792
 
file_magic_cmd=$lt_file_magic_cmd
12793
 
 
12794
 
# Flag that allows shared libraries with undefined symbols to be built.
12795
 
allow_undefined_flag=$lt_allow_undefined_flag
12796
 
 
12797
 
# Flag that forces no undefined symbols.
12798
 
no_undefined_flag=$lt_no_undefined_flag
12799
 
 
12800
 
# Commands used to finish a libtool library installation in a directory.
12801
 
finish_cmds=$lt_finish_cmds
12802
 
 
12803
 
# Same as above, but a single script fragment to be evaled but not shown.
12804
 
finish_eval=$lt_finish_eval
12805
 
 
12806
 
# Take the output of nm and produce a listing of raw symbols and C names.
12807
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12808
 
 
12809
 
# Transform the output of nm in a proper C declaration
12810
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12811
 
 
12812
 
# Transform the output of nm in a C name address pair
12813
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12814
 
 
12815
 
# This is the shared library runtime path variable.
12816
 
runpath_var=$runpath_var
12817
 
 
12818
 
# This is the shared library path variable.
12819
 
shlibpath_var=$shlibpath_var
12820
 
 
12821
 
# Is shlibpath searched before the hard-coded library search path?
12822
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12823
 
 
12824
 
# How to hardcode a shared library path into an executable.
12825
 
hardcode_action=$hardcode_action
12826
 
 
12827
 
# Whether we should hardcode library paths into libraries.
12828
 
hardcode_into_libs=$hardcode_into_libs
12829
 
 
12830
 
# Flag to hardcode \$libdir into a binary during linking.
12831
 
# This must work even if \$libdir does not exist.
12832
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12833
 
 
12834
 
# If ld is used when linking, flag to hardcode \$libdir into
12835
 
# a binary during linking. This must work even if \$libdir does
12836
 
# not exist.
12837
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12838
 
 
12839
 
# Whether we need a single -rpath flag with a separated argument.
12840
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
12841
 
 
12842
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12843
 
# resulting binary.
12844
 
hardcode_direct=$hardcode_direct
12845
 
 
12846
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12847
 
# resulting binary.
12848
 
hardcode_minus_L=$hardcode_minus_L
12849
 
 
12850
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12851
 
# the resulting binary.
12852
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
12853
 
 
12854
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
12855
 
# and all subsequent libraries and executables linked against it.
12856
 
hardcode_automatic=$hardcode_automatic
12857
 
 
12858
 
# Variables whose values should be saved in libtool wrapper scripts and
12859
 
# restored at relink time.
12860
 
variables_saved_for_relink="$variables_saved_for_relink"
12861
 
 
12862
 
# Whether libtool must link a program against all its dependency libraries.
12863
 
link_all_deplibs=$link_all_deplibs
12864
 
 
12865
 
# Compile-time system search path for libraries
12866
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12867
 
 
12868
 
# Run-time system search path for libraries
12869
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12870
 
 
12871
 
# Fix the shell variable \$srcfile for the compiler.
12872
 
fix_srcfile_path=$lt_fix_srcfile_path
12873
 
 
12874
 
# Set to yes if exported symbols are required.
12875
 
always_export_symbols=$always_export_symbols
12876
 
 
12877
 
# The commands to list exported symbols.
12878
 
export_symbols_cmds=$lt_export_symbols_cmds
12879
 
 
12880
 
# The commands to extract the exported symbol list from a shared archive.
12881
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12882
 
 
12883
 
# Symbols that should not be listed in the preloaded symbols.
12884
 
exclude_expsyms=$lt_exclude_expsyms
12885
 
 
12886
 
# Symbols that must always be exported.
12887
 
include_expsyms=$lt_include_expsyms
12888
 
 
12889
 
# ### END LIBTOOL CONFIG
12890
 
 
12891
 
__EOF__
12892
 
 
12893
 
 
12894
 
  case $host_os in
12895
 
  aix3*)
12896
 
    cat <<\EOF >> "$cfgfile"
12897
 
 
12898
 
# AIX sometimes has problems with the GCC collect2 program.  For some
12899
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
12900
 
# vanish in a puff of smoke.
12901
 
if test "X${COLLECT_NAMES+set}" != Xset; then
12902
 
  COLLECT_NAMES=
12903
 
  export COLLECT_NAMES
12904
 
fi
12905
 
EOF
12906
 
    ;;
12907
 
  esac
12908
 
 
12909
 
  # We use sed instead of cat because bash on DJGPP gets confused if
12910
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
12911
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
12912
 
  # is reportedly fixed, but why not run on old versions too?
12913
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12914
 
 
12915
 
  mv -f "$cfgfile" "$ofile" || \
12916
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12917
 
  chmod +x "$ofile"
12918
 
 
12919
 
else
12920
 
  # If there is no Makefile yet, we rely on a make rule to execute
12921
 
  # `config.status --recheck' to rerun these tests and create the
12922
 
  # libtool script then.
12923
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12924
 
  if test -f "$ltmain_in"; then
12925
 
    test -f Makefile && make "$ltmain"
12926
 
  fi
12927
 
fi
12928
 
 
12929
 
 
12930
 
ac_ext=c
12931
 
ac_cpp='$CPP $CPPFLAGS'
12932
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12933
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12934
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12935
 
 
12936
 
CC="$lt_save_CC"
12937
 
 
12938
 
 
12939
 
# Check whether --with-tags was given.
12940
 
if test "${with_tags+set}" = set; then
12941
 
  withval=$with_tags; tagnames="$withval"
12942
 
fi
12943
 
 
12944
 
 
12945
 
if test -f "$ltmain" && test -n "$tagnames"; then
12946
 
  if test ! -f "${ofile}"; then
12947
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
12948
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
12949
 
  fi
12950
 
 
12951
 
  if test -z "$LTCC"; then
12952
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12953
 
    if test -z "$LTCC"; then
12954
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12955
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
12956
 
    else
12957
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12958
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12959
 
    fi
12960
 
  fi
12961
 
  if test -z "$LTCFLAGS"; then
12962
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
12963
 
  fi
12964
 
 
12965
 
  # Extract list of available tagged configurations in $ofile.
12966
 
  # Note that this assumes the entire list is on one line.
12967
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12968
 
 
12969
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12970
 
  for tagname in $tagnames; do
12971
 
    IFS="$lt_save_ifs"
12972
 
    # Check whether tagname contains only valid characters
12973
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12974
 
    "") ;;
12975
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12976
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
12977
 
   { (exit 1); exit 1; }; }
12978
 
        ;;
12979
 
    esac
12980
 
 
12981
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12982
 
    then
12983
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12984
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12985
 
   { (exit 1); exit 1; }; }
12986
 
    fi
12987
 
 
12988
 
    # Update the list of available tags.
12989
 
    if test -n "$tagname"; then
12990
 
      echo appending configuration tag \"$tagname\" to $ofile
12991
 
 
12992
 
      case $tagname in
12993
 
      CXX)
12994
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12995
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12996
 
            (test "X$CXX" != "Xg++"))) ; then
12997
 
          ac_ext=cpp
12998
 
ac_cpp='$CXXCPP $CPPFLAGS'
12999
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13000
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13001
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13002
 
 
13003
 
 
13004
 
 
13005
 
 
13006
 
archive_cmds_need_lc_CXX=no
13007
 
allow_undefined_flag_CXX=
13008
 
always_export_symbols_CXX=no
13009
 
archive_expsym_cmds_CXX=
13010
 
export_dynamic_flag_spec_CXX=
13011
 
hardcode_direct_CXX=no
13012
 
hardcode_libdir_flag_spec_CXX=
13013
 
hardcode_libdir_flag_spec_ld_CXX=
13014
 
hardcode_libdir_separator_CXX=
13015
 
hardcode_minus_L_CXX=no
13016
 
hardcode_shlibpath_var_CXX=unsupported
13017
 
hardcode_automatic_CXX=no
13018
 
module_cmds_CXX=
13019
 
module_expsym_cmds_CXX=
13020
 
link_all_deplibs_CXX=unknown
13021
 
old_archive_cmds_CXX=$old_archive_cmds
13022
 
no_undefined_flag_CXX=
13023
 
whole_archive_flag_spec_CXX=
13024
 
enable_shared_with_static_runtimes_CXX=no
13025
 
 
13026
 
# Dependencies to place before and after the object being linked:
13027
 
predep_objects_CXX=
13028
 
postdep_objects_CXX=
13029
 
predeps_CXX=
13030
 
postdeps_CXX=
13031
 
compiler_lib_search_path_CXX=
13032
 
compiler_lib_search_dirs_CXX=
13033
 
 
13034
 
# Source file extension for C++ test sources.
13035
 
ac_ext=cpp
13036
 
 
13037
 
# Object file extension for compiled C++ test sources.
13038
 
objext=o
13039
 
objext_CXX=$objext
13040
 
 
13041
 
# Code to be used in simple compile tests
13042
 
lt_simple_compile_test_code="int some_variable = 0;"
13043
 
 
13044
 
# Code to be used in simple link tests
13045
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13046
 
 
13047
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13048
 
 
13049
 
# If no C compiler was specified, use CC.
13050
 
LTCC=${LTCC-"$CC"}
13051
 
 
13052
 
# If no C compiler flags were specified, use CFLAGS.
13053
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13054
 
 
13055
 
# Allow CC to be a program name with arguments.
13056
 
compiler=$CC
13057
 
 
13058
 
 
13059
 
# save warnings/boilerplate of simple test code
13060
 
ac_outfile=conftest.$ac_objext
13061
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13062
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13063
 
_lt_compiler_boilerplate=`cat conftest.err`
13064
 
$rm conftest*
13065
 
 
13066
 
ac_outfile=conftest.$ac_objext
13067
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13068
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13069
 
_lt_linker_boilerplate=`cat conftest.err`
13070
 
$rm -r conftest*
13071
 
 
13072
 
 
13073
 
# Allow CC to be a program name with arguments.
13074
 
lt_save_CC=$CC
13075
 
lt_save_LD=$LD
13076
 
lt_save_GCC=$GCC
13077
 
GCC=$GXX
13078
 
lt_save_with_gnu_ld=$with_gnu_ld
13079
 
lt_save_path_LD=$lt_cv_path_LD
13080
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13081
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13082
 
else
13083
 
  $as_unset lt_cv_prog_gnu_ld
13084
 
fi
13085
 
if test -n "${lt_cv_path_LDCXX+set}"; then
13086
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
13087
 
else
13088
 
  $as_unset lt_cv_path_LD
13089
 
fi
13090
 
test -z "${LDCXX+set}" || LD=$LDCXX
13091
 
CC=${CXX-"c++"}
13092
 
compiler=$CC
13093
 
compiler_CXX=$CC
13094
 
for cc_temp in $compiler""; do
13095
 
  case $cc_temp in
13096
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13097
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13098
 
    \-*) ;;
13099
 
    *) break;;
13100
 
  esac
13101
 
done
13102
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13103
 
 
13104
 
 
13105
 
# We don't want -fno-exception wen compiling C++ code, so set the
13106
 
# no_builtin_flag separately
13107
 
if test "$GXX" = yes; then
13108
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13109
 
else
13110
 
  lt_prog_compiler_no_builtin_flag_CXX=
13111
 
fi
13112
 
 
13113
 
if test "$GXX" = yes; then
13114
 
  # Set up default GNU C++ configuration
13115
 
 
13116
 
 
13117
 
# Check whether --with-gnu-ld was given.
13118
 
if test "${with_gnu_ld+set}" = set; then
13119
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13120
 
else
13121
 
  with_gnu_ld=no
13122
 
fi
13123
 
 
13124
 
ac_prog=ld
13125
 
if test "$GCC" = yes; then
13126
 
  # Check if gcc -print-prog-name=ld gives a path.
13127
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13128
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13129
 
  case $host in
13130
 
  *-*-mingw*)
13131
 
    # gcc leaves a trailing carriage return which upsets mingw
13132
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13133
 
  *)
13134
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13135
 
  esac
13136
 
  case $ac_prog in
13137
 
    # Accept absolute paths.
13138
 
    [\\/]* | ?:[\\/]*)
13139
 
      re_direlt='/[^/][^/]*/\.\./'
13140
 
      # Canonicalize the pathname of ld
13141
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13142
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13143
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
13144
 
      done
13145
 
      test -z "$LD" && LD="$ac_prog"
13146
 
      ;;
13147
 
  "")
13148
 
    # If it fails, then pretend we aren't using GCC.
13149
 
    ac_prog=ld
13150
 
    ;;
13151
 
  *)
13152
 
    # If it is relative, then search for the first ld in PATH.
13153
 
    with_gnu_ld=unknown
13154
 
    ;;
13155
 
  esac
13156
 
elif test "$with_gnu_ld" = yes; then
13157
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
13158
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13159
 
else
13160
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13161
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13162
 
fi
13163
 
if test "${lt_cv_path_LD+set}" = set; then
13164
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13165
 
else
13166
 
  if test -z "$LD"; then
13167
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13168
 
  for ac_dir in $PATH; do
13169
 
    IFS="$lt_save_ifs"
13170
 
    test -z "$ac_dir" && ac_dir=.
13171
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13172
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
13173
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
13174
 
      # but apparently some variants of GNU ld only accept -v.
13175
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
13176
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13177
 
      *GNU* | *'with BFD'*)
13178
 
        test "$with_gnu_ld" != no && break
13179
 
        ;;
13180
 
      *)
13181
 
        test "$with_gnu_ld" != yes && break
13182
 
        ;;
13183
 
      esac
13184
 
    fi
13185
 
  done
13186
 
  IFS="$lt_save_ifs"
13187
 
else
13188
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
13189
 
fi
13190
 
fi
13191
 
 
13192
 
LD="$lt_cv_path_LD"
13193
 
if test -n "$LD"; then
13194
 
  { echo "$as_me:$LINENO: result: $LD" >&5
13195
 
echo "${ECHO_T}$LD" >&6; }
13196
 
else
13197
 
  { echo "$as_me:$LINENO: result: no" >&5
13198
 
echo "${ECHO_T}no" >&6; }
13199
 
fi
13200
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13201
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13202
 
   { (exit 1); exit 1; }; }
13203
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13204
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13205
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13206
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13207
 
else
13208
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13209
 
case `$LD -v 2>&1 </dev/null` in
13210
 
*GNU* | *'with BFD'*)
13211
 
  lt_cv_prog_gnu_ld=yes
13212
 
  ;;
13213
 
*)
13214
 
  lt_cv_prog_gnu_ld=no
13215
 
  ;;
13216
 
esac
13217
 
fi
13218
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13219
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13220
 
with_gnu_ld=$lt_cv_prog_gnu_ld
13221
 
 
13222
 
 
13223
 
 
13224
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
13225
 
  # archiving commands below assume that GNU ld is being used.
13226
 
  if test "$with_gnu_ld" = yes; then
13227
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13228
 
    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'
13229
 
 
13230
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13231
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13232
 
 
13233
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
13234
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13235
 
    #     investigate it a little bit more. (MM)
13236
 
    wlarc='${wl}'
13237
 
 
13238
 
    # ancient GNU ld didn't support --whole-archive et. al.
13239
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
13240
 
        grep 'no-whole-archive' > /dev/null; then
13241
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13242
 
    else
13243
 
      whole_archive_flag_spec_CXX=
13244
 
    fi
13245
 
  else
13246
 
    with_gnu_ld=no
13247
 
    wlarc=
13248
 
 
13249
 
    # A generic and very simple default shared library creation
13250
 
    # command for GNU C++ for the case where it uses the native
13251
 
    # linker, instead of GNU ld.  If possible, this setting should
13252
 
    # overridden to take advantage of the native linker features on
13253
 
    # the platform it is being used on.
13254
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13255
 
  fi
13256
 
 
13257
 
  # Commands to make compiler produce verbose output that lists
13258
 
  # what "hidden" libraries, object files and flags are used when
13259
 
  # linking a shared library.
13260
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13261
 
 
13262
 
else
13263
 
  GXX=no
13264
 
  with_gnu_ld=no
13265
 
  wlarc=
13266
 
fi
13267
 
 
13268
 
# PORTME: fill in a description of your system's C++ link characteristics
13269
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13270
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13271
 
ld_shlibs_CXX=yes
13272
 
case $host_os in
13273
 
  aix3*)
13274
 
    # FIXME: insert proper C++ library support
13275
 
    ld_shlibs_CXX=no
13276
 
    ;;
13277
 
  aix[4-9]*)
13278
 
    if test "$host_cpu" = ia64; then
13279
 
      # On IA64, the linker does run time linking by default, so we don't
13280
 
      # have to do anything special.
13281
 
      aix_use_runtimelinking=no
13282
 
      exp_sym_flag='-Bexport'
13283
 
      no_entry_flag=""
13284
 
    else
13285
 
      aix_use_runtimelinking=no
13286
 
 
13287
 
      # Test if we are trying to use run time linking or normal
13288
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13289
 
      # need to do runtime linking.
13290
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13291
 
        for ld_flag in $LDFLAGS; do
13292
 
          case $ld_flag in
13293
 
          *-brtl*)
13294
 
            aix_use_runtimelinking=yes
13295
 
            break
13296
 
            ;;
13297
 
          esac
13298
 
        done
13299
 
        ;;
13300
 
      esac
13301
 
 
13302
 
      exp_sym_flag='-bexport'
13303
 
      no_entry_flag='-bnoentry'
13304
 
    fi
13305
 
 
13306
 
    # When large executables or shared objects are built, AIX ld can
13307
 
    # have problems creating the table of contents.  If linking a library
13308
 
    # or program results in "error TOC overflow" add -mminimal-toc to
13309
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13310
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13311
 
 
13312
 
    archive_cmds_CXX=''
13313
 
    hardcode_direct_CXX=yes
13314
 
    hardcode_libdir_separator_CXX=':'
13315
 
    link_all_deplibs_CXX=yes
13316
 
 
13317
 
    if test "$GXX" = yes; then
13318
 
      case $host_os in aix4.[012]|aix4.[012].*)
13319
 
      # We only want to do this on AIX 4.2 and lower, the check
13320
 
      # below for broken collect2 doesn't work under 4.3+
13321
 
        collect2name=`${CC} -print-prog-name=collect2`
13322
 
        if test -f "$collect2name" && \
13323
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13324
 
        then
13325
 
          # We have reworked collect2
13326
 
          :
13327
 
        else
13328
 
          # We have old collect2
13329
 
          hardcode_direct_CXX=unsupported
13330
 
          # It fails to find uninstalled libraries when the uninstalled
13331
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
13332
 
          # to unsupported forces relinking
13333
 
          hardcode_minus_L_CXX=yes
13334
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
13335
 
          hardcode_libdir_separator_CXX=
13336
 
        fi
13337
 
        ;;
13338
 
      esac
13339
 
      shared_flag='-shared'
13340
 
      if test "$aix_use_runtimelinking" = yes; then
13341
 
        shared_flag="$shared_flag "'${wl}-G'
13342
 
      fi
13343
 
    else
13344
 
      # not using gcc
13345
 
      if test "$host_cpu" = ia64; then
13346
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13347
 
        # chokes on -Wl,-G. The following line is correct:
13348
 
        shared_flag='-G'
13349
 
      else
13350
 
        if test "$aix_use_runtimelinking" = yes; then
13351
 
          shared_flag='${wl}-G'
13352
 
        else
13353
 
          shared_flag='${wl}-bM:SRE'
13354
 
        fi
13355
 
      fi
13356
 
    fi
13357
 
 
13358
 
    # It seems that -bexpall does not export symbols beginning with
13359
 
    # underscore (_), so it is better to generate a list of symbols to export.
13360
 
    always_export_symbols_CXX=yes
13361
 
    if test "$aix_use_runtimelinking" = yes; then
13362
 
      # Warning - without using the other runtime loading flags (-brtl),
13363
 
      # -berok will link without error, but may produce a broken library.
13364
 
      allow_undefined_flag_CXX='-berok'
13365
 
      # Determine the default libpath from the value encoded in an empty executable.
13366
 
      cat >conftest.$ac_ext <<_ACEOF
13367
 
/* confdefs.h.  */
13368
 
_ACEOF
13369
 
cat confdefs.h >>conftest.$ac_ext
13370
 
cat >>conftest.$ac_ext <<_ACEOF
13371
 
/* end confdefs.h.  */
13372
 
 
13373
 
int
13374
 
main ()
13375
 
{
13376
 
 
13377
 
  ;
13378
 
  return 0;
13379
 
}
13380
 
_ACEOF
13381
 
rm -f conftest.$ac_objext conftest$ac_exeext
13382
 
if { (ac_try="$ac_link"
13383
 
case "(($ac_try" in
13384
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13385
 
  *) ac_try_echo=$ac_try;;
13386
 
esac
13387
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13388
 
  (eval "$ac_link") 2>conftest.er1
13389
 
  ac_status=$?
13390
 
  grep -v '^ *+' conftest.er1 >conftest.err
13391
 
  rm -f conftest.er1
13392
 
  cat conftest.err >&5
13393
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394
 
  (exit $ac_status); } && {
13395
 
         test -z "$ac_cxx_werror_flag" ||
13396
 
         test ! -s conftest.err
13397
 
       } && test -s conftest$ac_exeext &&
13398
 
       $as_test_x conftest$ac_exeext; then
13399
 
 
13400
 
lt_aix_libpath_sed='
13401
 
    /Import File Strings/,/^$/ {
13402
 
        /^0/ {
13403
 
            s/^0  *\(.*\)$/\1/
13404
 
            p
13405
 
        }
13406
 
    }'
13407
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13408
 
# Check for a 64-bit object if we didn't find anything.
13409
 
if test -z "$aix_libpath"; then
13410
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13411
 
fi
13412
 
else
13413
 
  echo "$as_me: failed program was:" >&5
13414
 
sed 's/^/| /' conftest.$ac_ext >&5
13415
 
 
13416
 
 
13417
 
fi
13418
 
 
13419
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13420
 
      conftest$ac_exeext conftest.$ac_ext
13421
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13422
 
 
13423
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13424
 
 
13425
 
      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"
13426
 
     else
13427
 
      if test "$host_cpu" = ia64; then
13428
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13429
 
        allow_undefined_flag_CXX="-z nodefs"
13430
 
        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"
13431
 
      else
13432
 
        # Determine the default libpath from the value encoded in an empty executable.
13433
 
        cat >conftest.$ac_ext <<_ACEOF
13434
 
/* confdefs.h.  */
13435
 
_ACEOF
13436
 
cat confdefs.h >>conftest.$ac_ext
13437
 
cat >>conftest.$ac_ext <<_ACEOF
13438
 
/* end confdefs.h.  */
13439
 
 
13440
 
int
13441
 
main ()
13442
 
{
13443
 
 
13444
 
  ;
13445
 
  return 0;
13446
 
}
13447
 
_ACEOF
13448
 
rm -f conftest.$ac_objext conftest$ac_exeext
13449
 
if { (ac_try="$ac_link"
13450
 
case "(($ac_try" in
13451
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13452
 
  *) ac_try_echo=$ac_try;;
13453
 
esac
13454
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13455
 
  (eval "$ac_link") 2>conftest.er1
13456
 
  ac_status=$?
13457
 
  grep -v '^ *+' conftest.er1 >conftest.err
13458
 
  rm -f conftest.er1
13459
 
  cat conftest.err >&5
13460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461
 
  (exit $ac_status); } && {
13462
 
         test -z "$ac_cxx_werror_flag" ||
13463
 
         test ! -s conftest.err
13464
 
       } && test -s conftest$ac_exeext &&
13465
 
       $as_test_x conftest$ac_exeext; then
13466
 
 
13467
 
lt_aix_libpath_sed='
13468
 
    /Import File Strings/,/^$/ {
13469
 
        /^0/ {
13470
 
            s/^0  *\(.*\)$/\1/
13471
 
            p
13472
 
        }
13473
 
    }'
13474
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13475
 
# Check for a 64-bit object if we didn't find anything.
13476
 
if test -z "$aix_libpath"; then
13477
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13478
 
fi
13479
 
else
13480
 
  echo "$as_me: failed program was:" >&5
13481
 
sed 's/^/| /' conftest.$ac_ext >&5
13482
 
 
13483
 
 
13484
 
fi
13485
 
 
13486
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13487
 
      conftest$ac_exeext conftest.$ac_ext
13488
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13489
 
 
13490
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13491
 
        # Warning - without using the other run time loading flags,
13492
 
        # -berok will link without error, but may produce a broken library.
13493
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
13494
 
        allow_undefined_flag_CXX=' ${wl}-berok'
13495
 
        # Exported symbols can be pulled into shared objects from archives
13496
 
        whole_archive_flag_spec_CXX='$convenience'
13497
 
        archive_cmds_need_lc_CXX=yes
13498
 
        # This is similar to how AIX traditionally builds its shared libraries.
13499
 
        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'
13500
 
      fi
13501
 
    fi
13502
 
    ;;
13503
 
 
13504
 
  beos*)
13505
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13506
 
      allow_undefined_flag_CXX=unsupported
13507
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13508
 
      # support --undefined.  This deserves some investigation.  FIXME
13509
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13510
 
    else
13511
 
      ld_shlibs_CXX=no
13512
 
    fi
13513
 
    ;;
13514
 
 
13515
 
  chorus*)
13516
 
    case $cc_basename in
13517
 
      *)
13518
 
        # FIXME: insert proper C++ library support
13519
 
        ld_shlibs_CXX=no
13520
 
        ;;
13521
 
    esac
13522
 
    ;;
13523
 
 
13524
 
  cygwin* | mingw* | pw32*)
13525
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13526
 
    # as there is no search path for DLLs.
13527
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
13528
 
    allow_undefined_flag_CXX=unsupported
13529
 
    always_export_symbols_CXX=no
13530
 
    enable_shared_with_static_runtimes_CXX=yes
13531
 
 
13532
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13533
 
      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'
13534
 
      # If the export-symbols file already is a .def file (1st line
13535
 
      # is EXPORTS), use it as is; otherwise, prepend...
13536
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13537
 
        cp $export_symbols $output_objdir/$soname.def;
13538
 
      else
13539
 
        echo EXPORTS > $output_objdir/$soname.def;
13540
 
        cat $export_symbols >> $output_objdir/$soname.def;
13541
 
      fi~
13542
 
      $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'
13543
 
    else
13544
 
      ld_shlibs_CXX=no
13545
 
    fi
13546
 
  ;;
13547
 
      darwin* | rhapsody*)
13548
 
      archive_cmds_need_lc_CXX=no
13549
 
      hardcode_direct_CXX=no
13550
 
      hardcode_automatic_CXX=yes
13551
 
      hardcode_shlibpath_var_CXX=unsupported
13552
 
      whole_archive_flag_spec_CXX=''
13553
 
      link_all_deplibs_CXX=yes
13554
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13555
 
      if test "$GXX" = yes ; then
13556
 
      output_verbose_link_cmd='echo'
13557
 
      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}"
13558
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13559
 
      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}"
13560
 
      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}"
13561
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13562
 
        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}"
13563
 
        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}"
13564
 
      fi
13565
 
      else
13566
 
      case $cc_basename in
13567
 
        xlc*)
13568
 
         output_verbose_link_cmd='echo'
13569
 
          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'
13570
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13571
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13572
 
          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}'
13573
 
          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}'
13574
 
          ;;
13575
 
       *)
13576
 
         ld_shlibs_CXX=no
13577
 
          ;;
13578
 
      esac
13579
 
      fi
13580
 
        ;;
13581
 
 
13582
 
  dgux*)
13583
 
    case $cc_basename in
13584
 
      ec++*)
13585
 
        # FIXME: insert proper C++ library support
13586
 
        ld_shlibs_CXX=no
13587
 
        ;;
13588
 
      ghcx*)
13589
 
        # Green Hills C++ Compiler
13590
 
        # FIXME: insert proper C++ library support
13591
 
        ld_shlibs_CXX=no
13592
 
        ;;
13593
 
      *)
13594
 
        # FIXME: insert proper C++ library support
13595
 
        ld_shlibs_CXX=no
13596
 
        ;;
13597
 
    esac
13598
 
    ;;
13599
 
  freebsd[12]*)
13600
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
13601
 
    ld_shlibs_CXX=no
13602
 
    ;;
13603
 
  freebsd-elf*)
13604
 
    archive_cmds_need_lc_CXX=no
13605
 
    ;;
13606
 
  freebsd* | dragonfly*)
13607
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13608
 
    # conventions
13609
 
    ld_shlibs_CXX=yes
13610
 
    ;;
13611
 
  gnu*)
13612
 
    ;;
13613
 
  hpux9*)
13614
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13615
 
    hardcode_libdir_separator_CXX=:
13616
 
    export_dynamic_flag_spec_CXX='${wl}-E'
13617
 
    hardcode_direct_CXX=yes
13618
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
13619
 
                                # but as the default
13620
 
                                # location of the library.
13621
 
 
13622
 
    case $cc_basename in
13623
 
    CC*)
13624
 
      # FIXME: insert proper C++ library support
13625
 
      ld_shlibs_CXX=no
13626
 
      ;;
13627
 
    aCC*)
13628
 
      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'
13629
 
      # Commands to make compiler produce verbose output that lists
13630
 
      # what "hidden" libraries, object files and flags are used when
13631
 
      # linking a shared library.
13632
 
      #
13633
 
      # There doesn't appear to be a way to prevent this compiler from
13634
 
      # explicitly linking system object files so we need to strip them
13635
 
      # from the output so that they don't get included in the library
13636
 
      # dependencies.
13637
 
      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'
13638
 
      ;;
13639
 
    *)
13640
 
      if test "$GXX" = yes; then
13641
 
        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'
13642
 
      else
13643
 
        # FIXME: insert proper C++ library support
13644
 
        ld_shlibs_CXX=no
13645
 
      fi
13646
 
      ;;
13647
 
    esac
13648
 
    ;;
13649
 
  hpux10*|hpux11*)
13650
 
    if test $with_gnu_ld = no; then
13651
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13652
 
      hardcode_libdir_separator_CXX=:
13653
 
 
13654
 
      case $host_cpu in
13655
 
      hppa*64*|ia64*) ;;
13656
 
      *)
13657
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13658
 
        ;;
13659
 
      esac
13660
 
    fi
13661
 
    case $host_cpu in
13662
 
    hppa*64*|ia64*)
13663
 
      hardcode_direct_CXX=no
13664
 
      hardcode_shlibpath_var_CXX=no
13665
 
      ;;
13666
 
    *)
13667
 
      hardcode_direct_CXX=yes
13668
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
13669
 
                                              # but as the default
13670
 
                                              # location of the library.
13671
 
      ;;
13672
 
    esac
13673
 
 
13674
 
    case $cc_basename in
13675
 
      CC*)
13676
 
        # FIXME: insert proper C++ library support
13677
 
        ld_shlibs_CXX=no
13678
 
        ;;
13679
 
      aCC*)
13680
 
        case $host_cpu in
13681
 
        hppa*64*)
13682
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13683
 
          ;;
13684
 
        ia64*)
13685
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13686
 
          ;;
13687
 
        *)
13688
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13689
 
          ;;
13690
 
        esac
13691
 
        # Commands to make compiler produce verbose output that lists
13692
 
        # what "hidden" libraries, object files and flags are used when
13693
 
        # linking a shared library.
13694
 
        #
13695
 
        # There doesn't appear to be a way to prevent this compiler from
13696
 
        # explicitly linking system object files so we need to strip them
13697
 
        # from the output so that they don't get included in the library
13698
 
        # dependencies.
13699
 
        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'
13700
 
        ;;
13701
 
      *)
13702
 
        if test "$GXX" = yes; then
13703
 
          if test $with_gnu_ld = no; then
13704
 
            case $host_cpu in
13705
 
            hppa*64*)
13706
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13707
 
              ;;
13708
 
            ia64*)
13709
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13710
 
              ;;
13711
 
            *)
13712
 
              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'
13713
 
              ;;
13714
 
            esac
13715
 
          fi
13716
 
        else
13717
 
          # FIXME: insert proper C++ library support
13718
 
          ld_shlibs_CXX=no
13719
 
        fi
13720
 
        ;;
13721
 
    esac
13722
 
    ;;
13723
 
  interix[3-9]*)
13724
 
    hardcode_direct_CXX=no
13725
 
    hardcode_shlibpath_var_CXX=no
13726
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13727
 
    export_dynamic_flag_spec_CXX='${wl}-E'
13728
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13729
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
13730
 
    # default) and relocated if they conflict, which is a slow very memory
13731
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
13732
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13733
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13734
 
    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'
13735
 
    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'
13736
 
    ;;
13737
 
  irix5* | irix6*)
13738
 
    case $cc_basename in
13739
 
      CC*)
13740
 
        # SGI C++
13741
 
        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'
13742
 
 
13743
 
        # Archives containing C++ object files must be created using
13744
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13745
 
        # necessary to make sure instantiated templates are included
13746
 
        # in the archive.
13747
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13748
 
        ;;
13749
 
      *)
13750
 
        if test "$GXX" = yes; then
13751
 
          if test "$with_gnu_ld" = no; then
13752
 
            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'
13753
 
          else
13754
 
            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'
13755
 
          fi
13756
 
        fi
13757
 
        link_all_deplibs_CXX=yes
13758
 
        ;;
13759
 
    esac
13760
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13761
 
    hardcode_libdir_separator_CXX=:
13762
 
    ;;
13763
 
  linux* | k*bsd*-gnu)
13764
 
    case $cc_basename in
13765
 
      KCC*)
13766
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13767
 
 
13768
 
        # KCC will only create a shared library if the output file
13769
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13770
 
        # to its proper name (with version) after linking.
13771
 
        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'
13772
 
        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'
13773
 
        # Commands to make compiler produce verbose output that lists
13774
 
        # what "hidden" libraries, object files and flags are used when
13775
 
        # linking a shared library.
13776
 
        #
13777
 
        # There doesn't appear to be a way to prevent this compiler from
13778
 
        # explicitly linking system object files so we need to strip them
13779
 
        # from the output so that they don't get included in the library
13780
 
        # dependencies.
13781
 
        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'
13782
 
 
13783
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
13784
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13785
 
 
13786
 
        # Archives containing C++ object files must be created using
13787
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13788
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13789
 
        ;;
13790
 
      icpc*)
13791
 
        # Intel C++
13792
 
        with_gnu_ld=yes
13793
 
        # version 8.0 and above of icpc choke on multiply defined symbols
13794
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
13795
 
        # earlier do not add the objects themselves.
13796
 
        case `$CC -V 2>&1` in
13797
 
        *"Version 7."*)
13798
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13799
 
          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'
13800
 
          ;;
13801
 
        *)  # Version 8.0 or newer
13802
 
          tmp_idyn=
13803
 
          case $host_cpu in
13804
 
            ia64*) tmp_idyn=' -i_dynamic';;
13805
 
          esac
13806
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13807
 
          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'
13808
 
          ;;
13809
 
        esac
13810
 
        archive_cmds_need_lc_CXX=no
13811
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13812
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13813
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13814
 
        ;;
13815
 
      pgCC* | pgcpp*)
13816
 
        # Portland Group C++ compiler
13817
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13818
 
        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'
13819
 
 
13820
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13821
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13822
 
        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'
13823
 
        ;;
13824
 
      cxx*)
13825
 
        # Compaq C++
13826
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13827
 
        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'
13828
 
 
13829
 
        runpath_var=LD_RUN_PATH
13830
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13831
 
        hardcode_libdir_separator_CXX=:
13832
 
 
13833
 
        # Commands to make compiler produce verbose output that lists
13834
 
        # what "hidden" libraries, object files and flags are used when
13835
 
        # linking a shared library.
13836
 
        #
13837
 
        # There doesn't appear to be a way to prevent this compiler from
13838
 
        # explicitly linking system object files so we need to strip them
13839
 
        # from the output so that they don't get included in the library
13840
 
        # dependencies.
13841
 
        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'
13842
 
        ;;
13843
 
      *)
13844
 
        case `$CC -V 2>&1 | sed 5q` in
13845
 
        *Sun\ C*)
13846
 
          # Sun C++ 5.9
13847
 
          no_undefined_flag_CXX=' -zdefs'
13848
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13849
 
          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'
13850
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
13851
 
          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'
13852
 
 
13853
 
          # Not sure whether something based on
13854
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13855
 
          # would be better.
13856
 
          output_verbose_link_cmd='echo'
13857
 
 
13858
 
          # Archives containing C++ object files must be created using
13859
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13860
 
          # necessary to make sure instantiated templates are included
13861
 
          # in the archive.
13862
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13863
 
          ;;
13864
 
        esac
13865
 
        ;;
13866
 
    esac
13867
 
    ;;
13868
 
  lynxos*)
13869
 
    # FIXME: insert proper C++ library support
13870
 
    ld_shlibs_CXX=no
13871
 
    ;;
13872
 
  m88k*)
13873
 
    # FIXME: insert proper C++ library support
13874
 
    ld_shlibs_CXX=no
13875
 
    ;;
13876
 
  mvs*)
13877
 
    case $cc_basename in
13878
 
      cxx*)
13879
 
        # FIXME: insert proper C++ library support
13880
 
        ld_shlibs_CXX=no
13881
 
        ;;
13882
 
      *)
13883
 
        # FIXME: insert proper C++ library support
13884
 
        ld_shlibs_CXX=no
13885
 
        ;;
13886
 
    esac
13887
 
    ;;
13888
 
  netbsd* | netbsdelf*-gnu)
13889
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13890
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13891
 
      wlarc=
13892
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
13893
 
      hardcode_direct_CXX=yes
13894
 
      hardcode_shlibpath_var_CXX=no
13895
 
    fi
13896
 
    # Workaround some broken pre-1.5 toolchains
13897
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13898
 
    ;;
13899
 
  openbsd2*)
13900
 
    # C++ shared libraries are fairly broken
13901
 
    ld_shlibs_CXX=no
13902
 
    ;;
13903
 
  openbsd*)
13904
 
    if test -f /usr/libexec/ld.so; then
13905
 
      hardcode_direct_CXX=yes
13906
 
      hardcode_shlibpath_var_CXX=no
13907
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13908
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13909
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13910
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13911
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13912
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13913
 
      fi
13914
 
      output_verbose_link_cmd='echo'
13915
 
    else
13916
 
      ld_shlibs_CXX=no
13917
 
    fi
13918
 
    ;;
13919
 
  osf3*)
13920
 
    case $cc_basename in
13921
 
      KCC*)
13922
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13923
 
 
13924
 
        # KCC will only create a shared library if the output file
13925
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13926
 
        # to its proper name (with version) after linking.
13927
 
        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'
13928
 
 
13929
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13930
 
        hardcode_libdir_separator_CXX=:
13931
 
 
13932
 
        # Archives containing C++ object files must be created using
13933
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13934
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13935
 
 
13936
 
        ;;
13937
 
      RCC*)
13938
 
        # Rational C++ 2.4.1
13939
 
        # FIXME: insert proper C++ library support
13940
 
        ld_shlibs_CXX=no
13941
 
        ;;
13942
 
      cxx*)
13943
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13944
 
        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'
13945
 
 
13946
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13947
 
        hardcode_libdir_separator_CXX=:
13948
 
 
13949
 
        # Commands to make compiler produce verbose output that lists
13950
 
        # what "hidden" libraries, object files and flags are used when
13951
 
        # linking a shared library.
13952
 
        #
13953
 
        # There doesn't appear to be a way to prevent this compiler from
13954
 
        # explicitly linking system object files so we need to strip them
13955
 
        # from the output so that they don't get included in the library
13956
 
        # dependencies.
13957
 
        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'
13958
 
        ;;
13959
 
      *)
13960
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13961
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13962
 
          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'
13963
 
 
13964
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13965
 
          hardcode_libdir_separator_CXX=:
13966
 
 
13967
 
          # Commands to make compiler produce verbose output that lists
13968
 
          # what "hidden" libraries, object files and flags are used when
13969
 
          # linking a shared library.
13970
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13971
 
 
13972
 
        else
13973
 
          # FIXME: insert proper C++ library support
13974
 
          ld_shlibs_CXX=no
13975
 
        fi
13976
 
        ;;
13977
 
    esac
13978
 
    ;;
13979
 
  osf4* | osf5*)
13980
 
    case $cc_basename in
13981
 
      KCC*)
13982
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13983
 
 
13984
 
        # KCC will only create a shared library if the output file
13985
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13986
 
        # to its proper name (with version) after linking.
13987
 
        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'
13988
 
 
13989
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13990
 
        hardcode_libdir_separator_CXX=:
13991
 
 
13992
 
        # Archives containing C++ object files must be created using
13993
 
        # the KAI C++ compiler.
13994
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13995
 
        ;;
13996
 
      RCC*)
13997
 
        # Rational C++ 2.4.1
13998
 
        # FIXME: insert proper C++ library support
13999
 
        ld_shlibs_CXX=no
14000
 
        ;;
14001
 
      cxx*)
14002
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
14003
 
        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'
14004
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14005
 
          echo "-hidden">> $lib.exp~
14006
 
          $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~
14007
 
          $rm $lib.exp'
14008
 
 
14009
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14010
 
        hardcode_libdir_separator_CXX=:
14011
 
 
14012
 
        # Commands to make compiler produce verbose output that lists
14013
 
        # what "hidden" libraries, object files and flags are used when
14014
 
        # linking a shared library.
14015
 
        #
14016
 
        # There doesn't appear to be a way to prevent this compiler from
14017
 
        # explicitly linking system object files so we need to strip them
14018
 
        # from the output so that they don't get included in the library
14019
 
        # dependencies.
14020
 
        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'
14021
 
        ;;
14022
 
      *)
14023
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14024
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14025
 
         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'
14026
 
 
14027
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14028
 
          hardcode_libdir_separator_CXX=:
14029
 
 
14030
 
          # Commands to make compiler produce verbose output that lists
14031
 
          # what "hidden" libraries, object files and flags are used when
14032
 
          # linking a shared library.
14033
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14034
 
 
14035
 
        else
14036
 
          # FIXME: insert proper C++ library support
14037
 
          ld_shlibs_CXX=no
14038
 
        fi
14039
 
        ;;
14040
 
    esac
14041
 
    ;;
14042
 
  psos*)
14043
 
    # FIXME: insert proper C++ library support
14044
 
    ld_shlibs_CXX=no
14045
 
    ;;
14046
 
  sunos4*)
14047
 
    case $cc_basename in
14048
 
      CC*)
14049
 
        # Sun C++ 4.x
14050
 
        # FIXME: insert proper C++ library support
14051
 
        ld_shlibs_CXX=no
14052
 
        ;;
14053
 
      lcc*)
14054
 
        # Lucid
14055
 
        # FIXME: insert proper C++ library support
14056
 
        ld_shlibs_CXX=no
14057
 
        ;;
14058
 
      *)
14059
 
        # FIXME: insert proper C++ library support
14060
 
        ld_shlibs_CXX=no
14061
 
        ;;
14062
 
    esac
14063
 
    ;;
14064
 
  solaris*)
14065
 
    case $cc_basename in
14066
 
      CC*)
14067
 
        # Sun C++ 4.2, 5.x and Centerline C++
14068
 
        archive_cmds_need_lc_CXX=yes
14069
 
        no_undefined_flag_CXX=' -zdefs'
14070
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14071
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14072
 
        $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'
14073
 
 
14074
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
14075
 
        hardcode_shlibpath_var_CXX=no
14076
 
        case $host_os in
14077
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
14078
 
          *)
14079
 
            # The compiler driver will combine and reorder linker options,
14080
 
            # but understands `-z linker_flag'.
14081
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
14082
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14083
 
            ;;
14084
 
        esac
14085
 
        link_all_deplibs_CXX=yes
14086
 
 
14087
 
        output_verbose_link_cmd='echo'
14088
 
 
14089
 
        # Archives containing C++ object files must be created using
14090
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14091
 
        # necessary to make sure instantiated templates are included
14092
 
        # in the archive.
14093
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14094
 
        ;;
14095
 
      gcx*)
14096
 
        # Green Hills C++ Compiler
14097
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14098
 
 
14099
 
        # The C++ compiler must be used to create the archive.
14100
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14101
 
        ;;
14102
 
      *)
14103
 
        # GNU C++ compiler with Solaris linker
14104
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14105
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14106
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
14107
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14108
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14109
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14110
 
 
14111
 
            # Commands to make compiler produce verbose output that lists
14112
 
            # what "hidden" libraries, object files and flags are used when
14113
 
            # linking a shared library.
14114
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14115
 
          else
14116
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
14117
 
            # platform.
14118
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14119
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14120
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14121
 
 
14122
 
            # Commands to make compiler produce verbose output that lists
14123
 
            # what "hidden" libraries, object files and flags are used when
14124
 
            # linking a shared library.
14125
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14126
 
          fi
14127
 
 
14128
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14129
 
          case $host_os in
14130
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
14131
 
          *)
14132
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14133
 
            ;;
14134
 
          esac
14135
 
        fi
14136
 
        ;;
14137
 
    esac
14138
 
    ;;
14139
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14140
 
    no_undefined_flag_CXX='${wl}-z,text'
14141
 
    archive_cmds_need_lc_CXX=no
14142
 
    hardcode_shlibpath_var_CXX=no
14143
 
    runpath_var='LD_RUN_PATH'
14144
 
 
14145
 
    case $cc_basename in
14146
 
      CC*)
14147
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14148
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14149
 
        ;;
14150
 
      *)
14151
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14152
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14153
 
        ;;
14154
 
    esac
14155
 
    ;;
14156
 
  sysv5* | sco3.2v5* | sco5v6*)
14157
 
    # Note: We can NOT use -z defs as we might desire, because we do not
14158
 
    # link with -lc, and that would cause any symbols used from libc to
14159
 
    # always be unresolved, which means just about no library would
14160
 
    # ever link correctly.  If we're not using GNU ld we use -z text
14161
 
    # though, which does catch some bad symbols but isn't as heavy-handed
14162
 
    # as -z defs.
14163
 
    # For security reasons, it is highly recommended that you always
14164
 
    # use absolute paths for naming shared libraries, and exclude the
14165
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
14166
 
    # requires that you compile everything twice, which is a pain.
14167
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
14168
 
    # non-empty value in the environment.  Most likely only useful for
14169
 
    # creating official distributions of packages.
14170
 
    # This is a hack until libtool officially supports absolute path
14171
 
    # names for shared libraries.
14172
 
    no_undefined_flag_CXX='${wl}-z,text'
14173
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
14174
 
    archive_cmds_need_lc_CXX=no
14175
 
    hardcode_shlibpath_var_CXX=no
14176
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14177
 
    hardcode_libdir_separator_CXX=':'
14178
 
    link_all_deplibs_CXX=yes
14179
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
14180
 
    runpath_var='LD_RUN_PATH'
14181
 
 
14182
 
    case $cc_basename in
14183
 
      CC*)
14184
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14185
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14186
 
        ;;
14187
 
      *)
14188
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14189
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14190
 
        ;;
14191
 
    esac
14192
 
    ;;
14193
 
  tandem*)
14194
 
    case $cc_basename in
14195
 
      NCC*)
14196
 
        # NonStop-UX NCC 3.20
14197
 
        # FIXME: insert proper C++ library support
14198
 
        ld_shlibs_CXX=no
14199
 
        ;;
14200
 
      *)
14201
 
        # FIXME: insert proper C++ library support
14202
 
        ld_shlibs_CXX=no
14203
 
        ;;
14204
 
    esac
14205
 
    ;;
14206
 
  vxworks*)
14207
 
    # FIXME: insert proper C++ library support
14208
 
    ld_shlibs_CXX=no
14209
 
    ;;
14210
 
  *)
14211
 
    # FIXME: insert proper C++ library support
14212
 
    ld_shlibs_CXX=no
14213
 
    ;;
14214
 
esac
14215
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14216
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14217
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14218
 
 
14219
 
GCC_CXX="$GXX"
14220
 
LD_CXX="$LD"
14221
 
 
14222
 
cat > conftest.$ac_ext <<EOF
14223
 
class Foo
14224
 
{
14225
 
public:
14226
 
  Foo (void) { a = 0; }
14227
 
private:
14228
 
  int a;
14229
 
};
14230
 
EOF
14231
 
 
14232
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14233
 
  (eval $ac_compile) 2>&5
14234
 
  ac_status=$?
14235
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236
 
  (exit $ac_status); }; then
14237
 
  # Parse the compiler output and extract the necessary
14238
 
  # objects, libraries and library flags.
14239
 
 
14240
 
  # Sentinel used to keep track of whether or not we are before
14241
 
  # the conftest object file.
14242
 
  pre_test_object_deps_done=no
14243
 
 
14244
 
  # The `*' in the case matches for architectures that use `case' in
14245
 
  # $output_verbose_cmd can trigger glob expansion during the loop
14246
 
  # eval without this substitution.
14247
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14248
 
 
14249
 
  for p in `eval $output_verbose_link_cmd`; do
14250
 
    case $p in
14251
 
 
14252
 
    -L* | -R* | -l*)
14253
 
       # Some compilers place space between "-{L,R}" and the path.
14254
 
       # Remove the space.
14255
 
       if test $p = "-L" \
14256
 
          || test $p = "-R"; then
14257
 
         prev=$p
14258
 
         continue
14259
 
       else
14260
 
         prev=
14261
 
       fi
14262
 
 
14263
 
       if test "$pre_test_object_deps_done" = no; then
14264
 
         case $p in
14265
 
         -L* | -R*)
14266
 
           # Internal compiler library paths should come after those
14267
 
           # provided the user.  The postdeps already come after the
14268
 
           # user supplied libs so there is no need to process them.
14269
 
           if test -z "$compiler_lib_search_path_CXX"; then
14270
 
             compiler_lib_search_path_CXX="${prev}${p}"
14271
 
           else
14272
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14273
 
           fi
14274
 
           ;;
14275
 
         # The "-l" case would never come before the object being
14276
 
         # linked, so don't bother handling this case.
14277
 
         esac
14278
 
       else
14279
 
         if test -z "$postdeps_CXX"; then
14280
 
           postdeps_CXX="${prev}${p}"
14281
 
         else
14282
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14283
 
         fi
14284
 
       fi
14285
 
       ;;
14286
 
 
14287
 
    *.$objext)
14288
 
       # This assumes that the test object file only shows up
14289
 
       # once in the compiler output.
14290
 
       if test "$p" = "conftest.$objext"; then
14291
 
         pre_test_object_deps_done=yes
14292
 
         continue
14293
 
       fi
14294
 
 
14295
 
       if test "$pre_test_object_deps_done" = no; then
14296
 
         if test -z "$predep_objects_CXX"; then
14297
 
           predep_objects_CXX="$p"
14298
 
         else
14299
 
           predep_objects_CXX="$predep_objects_CXX $p"
14300
 
         fi
14301
 
       else
14302
 
         if test -z "$postdep_objects_CXX"; then
14303
 
           postdep_objects_CXX="$p"
14304
 
         else
14305
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
14306
 
         fi
14307
 
       fi
14308
 
       ;;
14309
 
 
14310
 
    *) ;; # Ignore the rest.
14311
 
 
14312
 
    esac
14313
 
  done
14314
 
 
14315
 
  # Clean up.
14316
 
  rm -f a.out a.exe
14317
 
else
14318
 
  echo "libtool.m4: error: problem compiling CXX test program"
14319
 
fi
14320
 
 
14321
 
$rm -f confest.$objext
14322
 
 
14323
 
compiler_lib_search_dirs_CXX=
14324
 
if test -n "$compiler_lib_search_path_CXX"; then
14325
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14326
 
fi
14327
 
 
14328
 
# PORTME: override above test on systems where it is broken
14329
 
case $host_os in
14330
 
interix[3-9]*)
14331
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
14332
 
  # hack all around it, let's just trust "g++" to DTRT.
14333
 
  predep_objects_CXX=
14334
 
  postdep_objects_CXX=
14335
 
  postdeps_CXX=
14336
 
  ;;
14337
 
 
14338
 
linux*)
14339
 
  case `$CC -V 2>&1 | sed 5q` in
14340
 
  *Sun\ C*)
14341
 
    # Sun C++ 5.9
14342
 
    #
14343
 
    # The more standards-conforming stlport4 library is
14344
 
    # incompatible with the Cstd library. Avoid specifying
14345
 
    # it if it's in CXXFLAGS. Ignore libCrun as
14346
 
    # -library=stlport4 depends on it.
14347
 
    case " $CXX $CXXFLAGS " in
14348
 
    *" -library=stlport4 "*)
14349
 
      solaris_use_stlport4=yes
14350
 
      ;;
14351
 
    esac
14352
 
    if test "$solaris_use_stlport4" != yes; then
14353
 
      postdeps_CXX='-library=Cstd -library=Crun'
14354
 
    fi
14355
 
    ;;
14356
 
  esac
14357
 
  ;;
14358
 
 
14359
 
solaris*)
14360
 
  case $cc_basename in
14361
 
  CC*)
14362
 
    # The more standards-conforming stlport4 library is
14363
 
    # incompatible with the Cstd library. Avoid specifying
14364
 
    # it if it's in CXXFLAGS. Ignore libCrun as
14365
 
    # -library=stlport4 depends on it.
14366
 
    case " $CXX $CXXFLAGS " in
14367
 
    *" -library=stlport4 "*)
14368
 
      solaris_use_stlport4=yes
14369
 
      ;;
14370
 
    esac
14371
 
 
14372
 
    # Adding this requires a known-good setup of shared libraries for
14373
 
    # Sun compiler versions before 5.6, else PIC objects from an old
14374
 
    # archive will be linked into the output, leading to subtle bugs.
14375
 
    if test "$solaris_use_stlport4" != yes; then
14376
 
      postdeps_CXX='-library=Cstd -library=Crun'
14377
 
    fi
14378
 
    ;;
14379
 
  esac
14380
 
  ;;
14381
 
esac
14382
 
 
14383
 
case " $postdeps_CXX " in
14384
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14385
 
esac
14386
 
 
14387
 
lt_prog_compiler_wl_CXX=
14388
 
lt_prog_compiler_pic_CXX=
14389
 
lt_prog_compiler_static_CXX=
14390
 
 
14391
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14392
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14393
 
 
14394
 
  # C++ specific cases for pic, static, wl, etc.
14395
 
  if test "$GXX" = yes; then
14396
 
    lt_prog_compiler_wl_CXX='-Wl,'
14397
 
    lt_prog_compiler_static_CXX='-static'
14398
 
 
14399
 
    case $host_os in
14400
 
    aix*)
14401
 
      # All AIX code is PIC.
14402
 
      if test "$host_cpu" = ia64; then
14403
 
        # AIX 5 now supports IA64 processor
14404
 
        lt_prog_compiler_static_CXX='-Bstatic'
14405
 
      fi
14406
 
      ;;
14407
 
    amigaos*)
14408
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14409
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14410
 
      # like `-m68040'.
14411
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14412
 
      ;;
14413
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14414
 
      # PIC is the default for these OSes.
14415
 
      ;;
14416
 
    mingw* | cygwin* | os2* | pw32*)
14417
 
      # This hack is so that the source file can tell whether it is being
14418
 
      # built for inclusion in a dll (and should export symbols for example).
14419
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14420
 
      # (--disable-auto-import) libraries
14421
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14422
 
      ;;
14423
 
    darwin* | rhapsody*)
14424
 
      # PIC is the default on this platform
14425
 
      # Common symbols not allowed in MH_DYLIB files
14426
 
      lt_prog_compiler_pic_CXX='-fno-common'
14427
 
      ;;
14428
 
    *djgpp*)
14429
 
      # DJGPP does not support shared libraries at all
14430
 
      lt_prog_compiler_pic_CXX=
14431
 
      ;;
14432
 
    interix[3-9]*)
14433
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14434
 
      # Instead, we relocate shared libraries at runtime.
14435
 
      ;;
14436
 
    sysv4*MP*)
14437
 
      if test -d /usr/nec; then
14438
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
14439
 
      fi
14440
 
      ;;
14441
 
    hpux*)
14442
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14443
 
      # not for PA HP-UX.
14444
 
      case $host_cpu in
14445
 
      hppa*64*|ia64*)
14446
 
        ;;
14447
 
      *)
14448
 
        lt_prog_compiler_pic_CXX='-fPIC'
14449
 
        ;;
14450
 
      esac
14451
 
      ;;
14452
 
    *)
14453
 
      lt_prog_compiler_pic_CXX='-fPIC'
14454
 
      ;;
14455
 
    esac
14456
 
  else
14457
 
    case $host_os in
14458
 
      aix[4-9]*)
14459
 
        # All AIX code is PIC.
14460
 
        if test "$host_cpu" = ia64; then
14461
 
          # AIX 5 now supports IA64 processor
14462
 
          lt_prog_compiler_static_CXX='-Bstatic'
14463
 
        else
14464
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14465
 
        fi
14466
 
        ;;
14467
 
      chorus*)
14468
 
        case $cc_basename in
14469
 
        cxch68*)
14470
 
          # Green Hills C++ Compiler
14471
 
          # _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"
14472
 
          ;;
14473
 
        esac
14474
 
        ;;
14475
 
       darwin*)
14476
 
         # PIC is the default on this platform
14477
 
         # Common symbols not allowed in MH_DYLIB files
14478
 
         case $cc_basename in
14479
 
           xlc*)
14480
 
           lt_prog_compiler_pic_CXX='-qnocommon'
14481
 
           lt_prog_compiler_wl_CXX='-Wl,'
14482
 
           ;;
14483
 
         esac
14484
 
       ;;
14485
 
      dgux*)
14486
 
        case $cc_basename in
14487
 
          ec++*)
14488
 
            lt_prog_compiler_pic_CXX='-KPIC'
14489
 
            ;;
14490
 
          ghcx*)
14491
 
            # Green Hills C++ Compiler
14492
 
            lt_prog_compiler_pic_CXX='-pic'
14493
 
            ;;
14494
 
          *)
14495
 
            ;;
14496
 
        esac
14497
 
        ;;
14498
 
      freebsd* | dragonfly*)
14499
 
        # FreeBSD uses GNU C++
14500
 
        ;;
14501
 
      hpux9* | hpux10* | hpux11*)
14502
 
        case $cc_basename in
14503
 
          CC*)
14504
 
            lt_prog_compiler_wl_CXX='-Wl,'
14505
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14506
 
            if test "$host_cpu" != ia64; then
14507
 
              lt_prog_compiler_pic_CXX='+Z'
14508
 
            fi
14509
 
            ;;
14510
 
          aCC*)
14511
 
            lt_prog_compiler_wl_CXX='-Wl,'
14512
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14513
 
            case $host_cpu in
14514
 
            hppa*64*|ia64*)
14515
 
              # +Z the default
14516
 
              ;;
14517
 
            *)
14518
 
              lt_prog_compiler_pic_CXX='+Z'
14519
 
              ;;
14520
 
            esac
14521
 
            ;;
14522
 
          *)
14523
 
            ;;
14524
 
        esac
14525
 
        ;;
14526
 
      interix*)
14527
 
        # This is c89, which is MS Visual C++ (no shared libs)
14528
 
        # Anyone wants to do a port?
14529
 
        ;;
14530
 
      irix5* | irix6* | nonstopux*)
14531
 
        case $cc_basename in
14532
 
          CC*)
14533
 
            lt_prog_compiler_wl_CXX='-Wl,'
14534
 
            lt_prog_compiler_static_CXX='-non_shared'
14535
 
            # CC pic flag -KPIC is the default.
14536
 
            ;;
14537
 
          *)
14538
 
            ;;
14539
 
        esac
14540
 
        ;;
14541
 
      linux* | k*bsd*-gnu)
14542
 
        case $cc_basename in
14543
 
          KCC*)
14544
 
            # KAI C++ Compiler
14545
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14546
 
            lt_prog_compiler_pic_CXX='-fPIC'
14547
 
            ;;
14548
 
          icpc* | ecpc*)
14549
 
            # Intel C++
14550
 
            lt_prog_compiler_wl_CXX='-Wl,'
14551
 
            lt_prog_compiler_pic_CXX='-KPIC'
14552
 
            lt_prog_compiler_static_CXX='-static'
14553
 
            ;;
14554
 
          pgCC* | pgcpp*)
14555
 
            # Portland Group C++ compiler.
14556
 
            lt_prog_compiler_wl_CXX='-Wl,'
14557
 
            lt_prog_compiler_pic_CXX='-fpic'
14558
 
            lt_prog_compiler_static_CXX='-Bstatic'
14559
 
            ;;
14560
 
          cxx*)
14561
 
            # Compaq C++
14562
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14563
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14564
 
            lt_prog_compiler_pic_CXX=
14565
 
            lt_prog_compiler_static_CXX='-non_shared'
14566
 
            ;;
14567
 
          *)
14568
 
            case `$CC -V 2>&1 | sed 5q` in
14569
 
            *Sun\ C*)
14570
 
              # Sun C++ 5.9
14571
 
              lt_prog_compiler_pic_CXX='-KPIC'
14572
 
              lt_prog_compiler_static_CXX='-Bstatic'
14573
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
14574
 
              ;;
14575
 
            esac
14576
 
            ;;
14577
 
        esac
14578
 
        ;;
14579
 
      lynxos*)
14580
 
        ;;
14581
 
      m88k*)
14582
 
        ;;
14583
 
      mvs*)
14584
 
        case $cc_basename in
14585
 
          cxx*)
14586
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
14587
 
            ;;
14588
 
          *)
14589
 
            ;;
14590
 
        esac
14591
 
        ;;
14592
 
      netbsd* | netbsdelf*-gnu)
14593
 
        ;;
14594
 
      osf3* | osf4* | osf5*)
14595
 
        case $cc_basename in
14596
 
          KCC*)
14597
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14598
 
            ;;
14599
 
          RCC*)
14600
 
            # Rational C++ 2.4.1
14601
 
            lt_prog_compiler_pic_CXX='-pic'
14602
 
            ;;
14603
 
          cxx*)
14604
 
            # Digital/Compaq C++
14605
 
            lt_prog_compiler_wl_CXX='-Wl,'
14606
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14607
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14608
 
            lt_prog_compiler_pic_CXX=
14609
 
            lt_prog_compiler_static_CXX='-non_shared'
14610
 
            ;;
14611
 
          *)
14612
 
            ;;
14613
 
        esac
14614
 
        ;;
14615
 
      psos*)
14616
 
        ;;
14617
 
      solaris*)
14618
 
        case $cc_basename in
14619
 
          CC*)
14620
 
            # Sun C++ 4.2, 5.x and Centerline C++
14621
 
            lt_prog_compiler_pic_CXX='-KPIC'
14622
 
            lt_prog_compiler_static_CXX='-Bstatic'
14623
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
14624
 
            ;;
14625
 
          gcx*)
14626
 
            # Green Hills C++ Compiler
14627
 
            lt_prog_compiler_pic_CXX='-PIC'
14628
 
            ;;
14629
 
          *)
14630
 
            ;;
14631
 
        esac
14632
 
        ;;
14633
 
      sunos4*)
14634
 
        case $cc_basename in
14635
 
          CC*)
14636
 
            # Sun C++ 4.x
14637
 
            lt_prog_compiler_pic_CXX='-pic'
14638
 
            lt_prog_compiler_static_CXX='-Bstatic'
14639
 
            ;;
14640
 
          lcc*)
14641
 
            # Lucid
14642
 
            lt_prog_compiler_pic_CXX='-pic'
14643
 
            ;;
14644
 
          *)
14645
 
            ;;
14646
 
        esac
14647
 
        ;;
14648
 
      tandem*)
14649
 
        case $cc_basename in
14650
 
          NCC*)
14651
 
            # NonStop-UX NCC 3.20
14652
 
            lt_prog_compiler_pic_CXX='-KPIC'
14653
 
            ;;
14654
 
          *)
14655
 
            ;;
14656
 
        esac
14657
 
        ;;
14658
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14659
 
        case $cc_basename in
14660
 
          CC*)
14661
 
            lt_prog_compiler_wl_CXX='-Wl,'
14662
 
            lt_prog_compiler_pic_CXX='-KPIC'
14663
 
            lt_prog_compiler_static_CXX='-Bstatic'
14664
 
            ;;
14665
 
        esac
14666
 
        ;;
14667
 
      vxworks*)
14668
 
        ;;
14669
 
      *)
14670
 
        lt_prog_compiler_can_build_shared_CXX=no
14671
 
        ;;
14672
 
    esac
14673
 
  fi
14674
 
 
14675
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14676
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14677
 
 
14678
 
#
14679
 
# Check to make sure the PIC flag actually works.
14680
 
#
14681
 
if test -n "$lt_prog_compiler_pic_CXX"; then
14682
 
 
14683
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14684
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14685
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14686
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14687
 
else
14688
 
  lt_cv_prog_compiler_pic_works_CXX=no
14689
 
  ac_outfile=conftest.$ac_objext
14690
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14691
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14692
 
   # Insert the option either (1) after the last *FLAGS variable, or
14693
 
   # (2) before a word containing "conftest.", or (3) at the end.
14694
 
   # Note that $ac_compile itself does not contain backslashes and begins
14695
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14696
 
   # The option is referenced via a variable to avoid confusing sed.
14697
 
   lt_compile=`echo "$ac_compile" | $SED \
14698
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14699
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14700
 
   -e 's:$: $lt_compiler_flag:'`
14701
 
   (eval echo "\"\$as_me:14701: $lt_compile\"" >&5)
14702
 
   (eval "$lt_compile" 2>conftest.err)
14703
 
   ac_status=$?
14704
 
   cat conftest.err >&5
14705
 
   echo "$as_me:14705: \$? = $ac_status" >&5
14706
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14707
 
     # The compiler can only warn and ignore the option if not recognized
14708
 
     # So say no if there are warnings other than the usual output.
14709
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14710
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14711
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14712
 
       lt_cv_prog_compiler_pic_works_CXX=yes
14713
 
     fi
14714
 
   fi
14715
 
   $rm conftest*
14716
 
 
14717
 
fi
14718
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14719
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14720
 
 
14721
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14722
 
    case $lt_prog_compiler_pic_CXX in
14723
 
     "" | " "*) ;;
14724
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14725
 
     esac
14726
 
else
14727
 
    lt_prog_compiler_pic_CXX=
14728
 
     lt_prog_compiler_can_build_shared_CXX=no
14729
 
fi
14730
 
 
14731
 
fi
14732
 
case $host_os in
14733
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14734
 
  *djgpp*)
14735
 
    lt_prog_compiler_pic_CXX=
14736
 
    ;;
14737
 
  *)
14738
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14739
 
    ;;
14740
 
esac
14741
 
 
14742
 
#
14743
 
# Check to make sure the static flag actually works.
14744
 
#
14745
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14746
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14747
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14748
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14749
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14750
 
else
14751
 
  lt_cv_prog_compiler_static_works_CXX=no
14752
 
   save_LDFLAGS="$LDFLAGS"
14753
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14754
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14755
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14756
 
     # The linker can only warn and ignore the option if not recognized
14757
 
     # So say no if there are warnings
14758
 
     if test -s conftest.err; then
14759
 
       # Append any errors to the config.log.
14760
 
       cat conftest.err 1>&5
14761
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14762
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14763
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14764
 
         lt_cv_prog_compiler_static_works_CXX=yes
14765
 
       fi
14766
 
     else
14767
 
       lt_cv_prog_compiler_static_works_CXX=yes
14768
 
     fi
14769
 
   fi
14770
 
   $rm -r conftest*
14771
 
   LDFLAGS="$save_LDFLAGS"
14772
 
 
14773
 
fi
14774
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14775
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
14776
 
 
14777
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14778
 
    :
14779
 
else
14780
 
    lt_prog_compiler_static_CXX=
14781
 
fi
14782
 
 
14783
 
 
14784
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14785
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14786
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14787
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14788
 
else
14789
 
  lt_cv_prog_compiler_c_o_CXX=no
14790
 
   $rm -r conftest 2>/dev/null
14791
 
   mkdir conftest
14792
 
   cd conftest
14793
 
   mkdir out
14794
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14795
 
 
14796
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14797
 
   # Insert the option either (1) after the last *FLAGS variable, or
14798
 
   # (2) before a word containing "conftest.", or (3) at the end.
14799
 
   # Note that $ac_compile itself does not contain backslashes and begins
14800
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14801
 
   lt_compile=`echo "$ac_compile" | $SED \
14802
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14803
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14804
 
   -e 's:$: $lt_compiler_flag:'`
14805
 
   (eval echo "\"\$as_me:14805: $lt_compile\"" >&5)
14806
 
   (eval "$lt_compile" 2>out/conftest.err)
14807
 
   ac_status=$?
14808
 
   cat out/conftest.err >&5
14809
 
   echo "$as_me:14809: \$? = $ac_status" >&5
14810
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14811
 
   then
14812
 
     # The compiler can only warn and ignore the option if not recognized
14813
 
     # So say no if there are warnings
14814
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14815
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14816
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14817
 
       lt_cv_prog_compiler_c_o_CXX=yes
14818
 
     fi
14819
 
   fi
14820
 
   chmod u+w . 2>&5
14821
 
   $rm conftest*
14822
 
   # SGI C++ compiler will create directory out/ii_files/ for
14823
 
   # template instantiation
14824
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14825
 
   $rm out/* && rmdir out
14826
 
   cd ..
14827
 
   rmdir conftest
14828
 
   $rm conftest*
14829
 
 
14830
 
fi
14831
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14832
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14833
 
 
14834
 
 
14835
 
hard_links="nottested"
14836
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14837
 
  # do not overwrite the value of need_locks provided by the user
14838
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14839
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14840
 
  hard_links=yes
14841
 
  $rm conftest*
14842
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14843
 
  touch conftest.a
14844
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14845
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14846
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14847
 
echo "${ECHO_T}$hard_links" >&6; }
14848
 
  if test "$hard_links" = no; then
14849
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14850
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14851
 
    need_locks=warn
14852
 
  fi
14853
 
else
14854
 
  need_locks=no
14855
 
fi
14856
 
 
14857
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14858
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14859
 
 
14860
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14861
 
  case $host_os in
14862
 
  aix[4-9]*)
14863
 
    # If we're using GNU nm, then we don't want the "-C" option.
14864
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14865
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14866
 
      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'
14867
 
    else
14868
 
      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'
14869
 
    fi
14870
 
    ;;
14871
 
  pw32*)
14872
 
    export_symbols_cmds_CXX="$ltdll_cmds"
14873
 
  ;;
14874
 
  cygwin* | mingw*)
14875
 
    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'
14876
 
  ;;
14877
 
  linux* | k*bsd*-gnu)
14878
 
    link_all_deplibs_CXX=no
14879
 
  ;;
14880
 
  *)
14881
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14882
 
  ;;
14883
 
  esac
14884
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14885
 
 
14886
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14887
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14888
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14889
 
 
14890
 
#
14891
 
# Do we need to explicitly link libc?
14892
 
#
14893
 
case "x$archive_cmds_need_lc_CXX" in
14894
 
x|xyes)
14895
 
  # Assume -lc should be added
14896
 
  archive_cmds_need_lc_CXX=yes
14897
 
 
14898
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14899
 
    case $archive_cmds_CXX in
14900
 
    *'~'*)
14901
 
      # FIXME: we may have to deal with multi-command sequences.
14902
 
      ;;
14903
 
    '$CC '*)
14904
 
      # Test whether the compiler implicitly links with -lc since on some
14905
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14906
 
      # to ld, don't add -lc before -lgcc.
14907
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14908
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14909
 
      $rm conftest*
14910
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14911
 
 
14912
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14913
 
  (eval $ac_compile) 2>&5
14914
 
  ac_status=$?
14915
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916
 
  (exit $ac_status); } 2>conftest.err; then
14917
 
        soname=conftest
14918
 
        lib=conftest
14919
 
        libobjs=conftest.$ac_objext
14920
 
        deplibs=
14921
 
        wl=$lt_prog_compiler_wl_CXX
14922
 
        pic_flag=$lt_prog_compiler_pic_CXX
14923
 
        compiler_flags=-v
14924
 
        linker_flags=-v
14925
 
        verstring=
14926
 
        output_objdir=.
14927
 
        libname=conftest
14928
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14929
 
        allow_undefined_flag_CXX=
14930
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14931
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14932
 
  ac_status=$?
14933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934
 
  (exit $ac_status); }
14935
 
        then
14936
 
          archive_cmds_need_lc_CXX=no
14937
 
        else
14938
 
          archive_cmds_need_lc_CXX=yes
14939
 
        fi
14940
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14941
 
      else
14942
 
        cat conftest.err 1>&5
14943
 
      fi
14944
 
      $rm conftest*
14945
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14946
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14947
 
      ;;
14948
 
    esac
14949
 
  fi
14950
 
  ;;
14951
 
esac
14952
 
 
14953
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14954
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14955
 
library_names_spec=
14956
 
libname_spec='lib$name'
14957
 
soname_spec=
14958
 
shrext_cmds=".so"
14959
 
postinstall_cmds=
14960
 
postuninstall_cmds=
14961
 
finish_cmds=
14962
 
finish_eval=
14963
 
shlibpath_var=
14964
 
shlibpath_overrides_runpath=unknown
14965
 
version_type=none
14966
 
dynamic_linker="$host_os ld.so"
14967
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14968
 
 
14969
 
need_lib_prefix=unknown
14970
 
hardcode_into_libs=no
14971
 
 
14972
 
# when you set need_version to no, make sure it does not cause -set_version
14973
 
# flags to be left without arguments
14974
 
need_version=unknown
14975
 
 
14976
 
case $host_os in
14977
 
aix3*)
14978
 
  version_type=linux
14979
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14980
 
  shlibpath_var=LIBPATH
14981
 
 
14982
 
  # AIX 3 has no versioning support, so we append a major version to the name.
14983
 
  soname_spec='${libname}${release}${shared_ext}$major'
14984
 
  ;;
14985
 
 
14986
 
aix[4-9]*)
14987
 
  version_type=linux
14988
 
  need_lib_prefix=no
14989
 
  need_version=no
14990
 
  hardcode_into_libs=yes
14991
 
  if test "$host_cpu" = ia64; then
14992
 
    # AIX 5 supports IA64
14993
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14994
 
    shlibpath_var=LD_LIBRARY_PATH
14995
 
  else
14996
 
    # With GCC up to 2.95.x, collect2 would create an import file
14997
 
    # for dependence libraries.  The import file would start with
14998
 
    # the line `#! .'.  This would cause the generated library to
14999
 
    # depend on `.', always an invalid library.  This was fixed in
15000
 
    # development snapshots of GCC prior to 3.0.
15001
 
    case $host_os in
15002
 
      aix4 | aix4.[01] | aix4.[01].*)
15003
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15004
 
           echo ' yes '
15005
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15006
 
        :
15007
 
      else
15008
 
        can_build_shared=no
15009
 
      fi
15010
 
      ;;
15011
 
    esac
15012
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15013
 
    # soname into executable. Probably we can add versioning support to
15014
 
    # collect2, so additional links can be useful in future.
15015
 
    if test "$aix_use_runtimelinking" = yes; then
15016
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15017
 
      # instead of lib<name>.a to let people know that these are not
15018
 
      # typical AIX shared libraries.
15019
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15020
 
    else
15021
 
      # We preserve .a as extension for shared libraries through AIX4.2
15022
 
      # and later when we are not doing run time linking.
15023
 
      library_names_spec='${libname}${release}.a $libname.a'
15024
 
      soname_spec='${libname}${release}${shared_ext}$major'
15025
 
    fi
15026
 
    shlibpath_var=LIBPATH
15027
 
  fi
15028
 
  ;;
15029
 
 
15030
 
amigaos*)
15031
 
  library_names_spec='$libname.ixlibrary $libname.a'
15032
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15033
 
  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'
15034
 
  ;;
15035
 
 
15036
 
beos*)
15037
 
  library_names_spec='${libname}${shared_ext}'
15038
 
  dynamic_linker="$host_os ld.so"
15039
 
  shlibpath_var=LIBRARY_PATH
15040
 
  ;;
15041
 
 
15042
 
bsdi[45]*)
15043
 
  version_type=linux
15044
 
  need_version=no
15045
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15046
 
  soname_spec='${libname}${release}${shared_ext}$major'
15047
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15048
 
  shlibpath_var=LD_LIBRARY_PATH
15049
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15050
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15051
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15052
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15053
 
  # libtool to hard-code these into programs
15054
 
  ;;
15055
 
 
15056
 
cygwin* | mingw* | pw32*)
15057
 
  version_type=windows
15058
 
  shrext_cmds=".dll"
15059
 
  need_version=no
15060
 
  need_lib_prefix=no
15061
 
 
15062
 
  case $GCC,$host_os in
15063
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15064
 
    library_names_spec='$libname.dll.a'
15065
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15066
 
    postinstall_cmds='base_file=`basename \${file}`~
15067
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15068
 
      dldir=$destdir/`dirname \$dlpath`~
15069
 
      test -d \$dldir || mkdir -p \$dldir~
15070
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15071
 
      chmod a+x \$dldir/$dlname'
15072
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15073
 
      dlpath=$dir/\$dldll~
15074
 
       $rm \$dlpath'
15075
 
    shlibpath_overrides_runpath=yes
15076
 
 
15077
 
    case $host_os in
15078
 
    cygwin*)
15079
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15080
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15081
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15082
 
      ;;
15083
 
    mingw*)
15084
 
      # MinGW DLLs use traditional 'lib' prefix
15085
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15086
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15087
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15088
 
        # It is most probably a Windows format PATH printed by
15089
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15090
 
        # path with ; separators, and with drive letters. We can handle the
15091
 
        # drive letters (cygwin fileutils understands them), so leave them,
15092
 
        # especially as we might pass files found there to a mingw objdump,
15093
 
        # which wouldn't understand a cygwinified path. Ahh.
15094
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15095
 
      else
15096
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15097
 
      fi
15098
 
      ;;
15099
 
    pw32*)
15100
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15101
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15102
 
      ;;
15103
 
    esac
15104
 
    ;;
15105
 
 
15106
 
  *)
15107
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15108
 
    ;;
15109
 
  esac
15110
 
  dynamic_linker='Win32 ld.exe'
15111
 
  # FIXME: first we should search . and the directory the executable is in
15112
 
  shlibpath_var=PATH
15113
 
  ;;
15114
 
 
15115
 
darwin* | rhapsody*)
15116
 
  dynamic_linker="$host_os dyld"
15117
 
  version_type=darwin
15118
 
  need_lib_prefix=no
15119
 
  need_version=no
15120
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15121
 
  soname_spec='${libname}${release}${major}$shared_ext'
15122
 
  shlibpath_overrides_runpath=yes
15123
 
  shlibpath_var=DYLD_LIBRARY_PATH
15124
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15125
 
 
15126
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15127
 
  ;;
15128
 
 
15129
 
dgux*)
15130
 
  version_type=linux
15131
 
  need_lib_prefix=no
15132
 
  need_version=no
15133
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15134
 
  soname_spec='${libname}${release}${shared_ext}$major'
15135
 
  shlibpath_var=LD_LIBRARY_PATH
15136
 
  ;;
15137
 
 
15138
 
freebsd1*)
15139
 
  dynamic_linker=no
15140
 
  ;;
15141
 
 
15142
 
freebsd* | dragonfly*)
15143
 
  # DragonFly does not have aout.  When/if they implement a new
15144
 
  # versioning mechanism, adjust this.
15145
 
  if test -x /usr/bin/objformat; then
15146
 
    objformat=`/usr/bin/objformat`
15147
 
  else
15148
 
    case $host_os in
15149
 
    freebsd[123]*) objformat=aout ;;
15150
 
    *) objformat=elf ;;
15151
 
    esac
15152
 
  fi
15153
 
  version_type=freebsd-$objformat
15154
 
  case $version_type in
15155
 
    freebsd-elf*)
15156
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15157
 
      need_version=no
15158
 
      need_lib_prefix=no
15159
 
      ;;
15160
 
    freebsd-*)
15161
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15162
 
      need_version=yes
15163
 
      ;;
15164
 
  esac
15165
 
  shlibpath_var=LD_LIBRARY_PATH
15166
 
  case $host_os in
15167
 
  freebsd2*)
15168
 
    shlibpath_overrides_runpath=yes
15169
 
    ;;
15170
 
  freebsd3.[01]* | freebsdelf3.[01]*)
15171
 
    shlibpath_overrides_runpath=yes
15172
 
    hardcode_into_libs=yes
15173
 
    ;;
15174
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15175
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15176
 
    shlibpath_overrides_runpath=no
15177
 
    hardcode_into_libs=yes
15178
 
    ;;
15179
 
  *) # from 4.6 on, and DragonFly
15180
 
    shlibpath_overrides_runpath=yes
15181
 
    hardcode_into_libs=yes
15182
 
    ;;
15183
 
  esac
15184
 
  ;;
15185
 
 
15186
 
gnu*)
15187
 
  version_type=linux
15188
 
  need_lib_prefix=no
15189
 
  need_version=no
15190
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15191
 
  soname_spec='${libname}${release}${shared_ext}$major'
15192
 
  shlibpath_var=LD_LIBRARY_PATH
15193
 
  hardcode_into_libs=yes
15194
 
  ;;
15195
 
 
15196
 
hpux9* | hpux10* | hpux11*)
15197
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15198
 
  # link against other versions.
15199
 
  version_type=sunos
15200
 
  need_lib_prefix=no
15201
 
  need_version=no
15202
 
  case $host_cpu in
15203
 
  ia64*)
15204
 
    shrext_cmds='.so'
15205
 
    hardcode_into_libs=yes
15206
 
    dynamic_linker="$host_os dld.so"
15207
 
    shlibpath_var=LD_LIBRARY_PATH
15208
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15209
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15210
 
    soname_spec='${libname}${release}${shared_ext}$major'
15211
 
    if test "X$HPUX_IA64_MODE" = X32; then
15212
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15213
 
    else
15214
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15215
 
    fi
15216
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15217
 
    ;;
15218
 
   hppa*64*)
15219
 
     shrext_cmds='.sl'
15220
 
     hardcode_into_libs=yes
15221
 
     dynamic_linker="$host_os dld.sl"
15222
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15223
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15224
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15225
 
     soname_spec='${libname}${release}${shared_ext}$major'
15226
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15227
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15228
 
     ;;
15229
 
   *)
15230
 
    shrext_cmds='.sl'
15231
 
    dynamic_linker="$host_os dld.sl"
15232
 
    shlibpath_var=SHLIB_PATH
15233
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15234
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15235
 
    soname_spec='${libname}${release}${shared_ext}$major'
15236
 
    ;;
15237
 
  esac
15238
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15239
 
  postinstall_cmds='chmod 555 $lib'
15240
 
  ;;
15241
 
 
15242
 
interix[3-9]*)
15243
 
  version_type=linux
15244
 
  need_lib_prefix=no
15245
 
  need_version=no
15246
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15247
 
  soname_spec='${libname}${release}${shared_ext}$major'
15248
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15249
 
  shlibpath_var=LD_LIBRARY_PATH
15250
 
  shlibpath_overrides_runpath=no
15251
 
  hardcode_into_libs=yes
15252
 
  ;;
15253
 
 
15254
 
irix5* | irix6* | nonstopux*)
15255
 
  case $host_os in
15256
 
    nonstopux*) version_type=nonstopux ;;
15257
 
    *)
15258
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15259
 
                version_type=linux
15260
 
        else
15261
 
                version_type=irix
15262
 
        fi ;;
15263
 
  esac
15264
 
  need_lib_prefix=no
15265
 
  need_version=no
15266
 
  soname_spec='${libname}${release}${shared_ext}$major'
15267
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15268
 
  case $host_os in
15269
 
  irix5* | nonstopux*)
15270
 
    libsuff= shlibsuff=
15271
 
    ;;
15272
 
  *)
15273
 
    case $LD in # libtool.m4 will add one of these switches to LD
15274
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15275
 
      libsuff= shlibsuff= libmagic=32-bit;;
15276
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15277
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15278
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15279
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15280
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15281
 
    esac
15282
 
    ;;
15283
 
  esac
15284
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15285
 
  shlibpath_overrides_runpath=no
15286
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15287
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15288
 
  hardcode_into_libs=yes
15289
 
  ;;
15290
 
 
15291
 
# No shared lib support for Linux oldld, aout, or coff.
15292
 
linux*oldld* | linux*aout* | linux*coff*)
15293
 
  dynamic_linker=no
15294
 
  ;;
15295
 
 
15296
 
# This must be Linux ELF.
15297
 
linux* | k*bsd*-gnu)
15298
 
  version_type=linux
15299
 
  need_lib_prefix=no
15300
 
  need_version=no
15301
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15302
 
  soname_spec='${libname}${release}${shared_ext}$major'
15303
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15304
 
  shlibpath_var=LD_LIBRARY_PATH
15305
 
  shlibpath_overrides_runpath=no
15306
 
  # This implies no fast_install, which is unacceptable.
15307
 
  # Some rework will be needed to allow for fast_install
15308
 
  # before this can be enabled.
15309
 
  hardcode_into_libs=yes
15310
 
 
15311
 
  # Append ld.so.conf contents to the search path
15312
 
  if test -f /etc/ld.so.conf; then
15313
 
    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' ' '`
15314
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15315
 
  fi
15316
 
 
15317
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15318
 
  # powerpc, because MkLinux only supported shared libraries with the
15319
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15320
 
  # most powerpc-linux boxes support dynamic linking these days and
15321
 
  # people can always --disable-shared, the test was removed, and we
15322
 
  # assume the GNU/Linux dynamic linker is in use.
15323
 
  dynamic_linker='GNU/Linux ld.so'
15324
 
  ;;
15325
 
 
15326
 
netbsdelf*-gnu)
15327
 
  version_type=linux
15328
 
  need_lib_prefix=no
15329
 
  need_version=no
15330
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15331
 
  soname_spec='${libname}${release}${shared_ext}$major'
15332
 
  shlibpath_var=LD_LIBRARY_PATH
15333
 
  shlibpath_overrides_runpath=no
15334
 
  hardcode_into_libs=yes
15335
 
  dynamic_linker='NetBSD ld.elf_so'
15336
 
  ;;
15337
 
 
15338
 
netbsd*)
15339
 
  version_type=sunos
15340
 
  need_lib_prefix=no
15341
 
  need_version=no
15342
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15343
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15344
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15345
 
    dynamic_linker='NetBSD (a.out) ld.so'
15346
 
  else
15347
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15348
 
    soname_spec='${libname}${release}${shared_ext}$major'
15349
 
    dynamic_linker='NetBSD ld.elf_so'
15350
 
  fi
15351
 
  shlibpath_var=LD_LIBRARY_PATH
15352
 
  shlibpath_overrides_runpath=yes
15353
 
  hardcode_into_libs=yes
15354
 
  ;;
15355
 
 
15356
 
newsos6)
15357
 
  version_type=linux
15358
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15359
 
  shlibpath_var=LD_LIBRARY_PATH
15360
 
  shlibpath_overrides_runpath=yes
15361
 
  ;;
15362
 
 
15363
 
nto-qnx*)
15364
 
  version_type=linux
15365
 
  need_lib_prefix=no
15366
 
  need_version=no
15367
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15368
 
  soname_spec='${libname}${release}${shared_ext}$major'
15369
 
  shlibpath_var=LD_LIBRARY_PATH
15370
 
  shlibpath_overrides_runpath=yes
15371
 
  ;;
15372
 
 
15373
 
openbsd*)
15374
 
  version_type=sunos
15375
 
  sys_lib_dlsearch_path_spec="/usr/lib"
15376
 
  need_lib_prefix=no
15377
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15378
 
  case $host_os in
15379
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15380
 
    *)                         need_version=no  ;;
15381
 
  esac
15382
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15383
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15384
 
  shlibpath_var=LD_LIBRARY_PATH
15385
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15386
 
    case $host_os in
15387
 
      openbsd2.[89] | openbsd2.[89].*)
15388
 
        shlibpath_overrides_runpath=no
15389
 
        ;;
15390
 
      *)
15391
 
        shlibpath_overrides_runpath=yes
15392
 
        ;;
15393
 
      esac
15394
 
  else
15395
 
    shlibpath_overrides_runpath=yes
15396
 
  fi
15397
 
  ;;
15398
 
 
15399
 
os2*)
15400
 
  libname_spec='$name'
15401
 
  shrext_cmds=".dll"
15402
 
  need_lib_prefix=no
15403
 
  library_names_spec='$libname${shared_ext} $libname.a'
15404
 
  dynamic_linker='OS/2 ld.exe'
15405
 
  shlibpath_var=LIBPATH
15406
 
  ;;
15407
 
 
15408
 
osf3* | osf4* | osf5*)
15409
 
  version_type=osf
15410
 
  need_lib_prefix=no
15411
 
  need_version=no
15412
 
  soname_spec='${libname}${release}${shared_ext}$major'
15413
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15414
 
  shlibpath_var=LD_LIBRARY_PATH
15415
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15416
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15417
 
  ;;
15418
 
 
15419
 
rdos*)
15420
 
  dynamic_linker=no
15421
 
  ;;
15422
 
 
15423
 
solaris*)
15424
 
  version_type=linux
15425
 
  need_lib_prefix=no
15426
 
  need_version=no
15427
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15428
 
  soname_spec='${libname}${release}${shared_ext}$major'
15429
 
  shlibpath_var=LD_LIBRARY_PATH
15430
 
  shlibpath_overrides_runpath=yes
15431
 
  hardcode_into_libs=yes
15432
 
  # ldd complains unless libraries are executable
15433
 
  postinstall_cmds='chmod +x $lib'
15434
 
  ;;
15435
 
 
15436
 
sunos4*)
15437
 
  version_type=sunos
15438
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15439
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15440
 
  shlibpath_var=LD_LIBRARY_PATH
15441
 
  shlibpath_overrides_runpath=yes
15442
 
  if test "$with_gnu_ld" = yes; then
15443
 
    need_lib_prefix=no
15444
 
  fi
15445
 
  need_version=yes
15446
 
  ;;
15447
 
 
15448
 
sysv4 | sysv4.3*)
15449
 
  version_type=linux
15450
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15451
 
  soname_spec='${libname}${release}${shared_ext}$major'
15452
 
  shlibpath_var=LD_LIBRARY_PATH
15453
 
  case $host_vendor in
15454
 
    sni)
15455
 
      shlibpath_overrides_runpath=no
15456
 
      need_lib_prefix=no
15457
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15458
 
      runpath_var=LD_RUN_PATH
15459
 
      ;;
15460
 
    siemens)
15461
 
      need_lib_prefix=no
15462
 
      ;;
15463
 
    motorola)
15464
 
      need_lib_prefix=no
15465
 
      need_version=no
15466
 
      shlibpath_overrides_runpath=no
15467
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15468
 
      ;;
15469
 
  esac
15470
 
  ;;
15471
 
 
15472
 
sysv4*MP*)
15473
 
  if test -d /usr/nec ;then
15474
 
    version_type=linux
15475
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15476
 
    soname_spec='$libname${shared_ext}.$major'
15477
 
    shlibpath_var=LD_LIBRARY_PATH
15478
 
  fi
15479
 
  ;;
15480
 
 
15481
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15482
 
  version_type=freebsd-elf
15483
 
  need_lib_prefix=no
15484
 
  need_version=no
15485
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15486
 
  soname_spec='${libname}${release}${shared_ext}$major'
15487
 
  shlibpath_var=LD_LIBRARY_PATH
15488
 
  hardcode_into_libs=yes
15489
 
  if test "$with_gnu_ld" = yes; then
15490
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15491
 
    shlibpath_overrides_runpath=no
15492
 
  else
15493
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15494
 
    shlibpath_overrides_runpath=yes
15495
 
    case $host_os in
15496
 
      sco3.2v5*)
15497
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15498
 
        ;;
15499
 
    esac
15500
 
  fi
15501
 
  sys_lib_dlsearch_path_spec='/usr/lib'
15502
 
  ;;
15503
 
 
15504
 
uts4*)
15505
 
  version_type=linux
15506
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15507
 
  soname_spec='${libname}${release}${shared_ext}$major'
15508
 
  shlibpath_var=LD_LIBRARY_PATH
15509
 
  ;;
15510
 
 
15511
 
*)
15512
 
  dynamic_linker=no
15513
 
  ;;
15514
 
esac
15515
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15516
 
echo "${ECHO_T}$dynamic_linker" >&6; }
15517
 
test "$dynamic_linker" = no && can_build_shared=no
15518
 
 
15519
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15520
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15521
 
else
15522
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
15523
 
fi
15524
 
 
15525
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15526
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15527
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15528
 
else
15529
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
15530
 
fi
15531
 
 
15532
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15533
 
 
15534
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15535
 
if test "$GCC" = yes; then
15536
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15537
 
fi
15538
 
 
15539
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15540
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15541
 
hardcode_action_CXX=
15542
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
15543
 
   test -n "$runpath_var_CXX" || \
15544
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15545
 
 
15546
 
  # We can hardcode non-existant directories.
15547
 
  if test "$hardcode_direct_CXX" != no &&
15548
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15549
 
     # have to relink, otherwise we might link with an installed library
15550
 
     # when we should be linking with a yet-to-be-installed one
15551
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15552
 
     test "$hardcode_minus_L_CXX" != no; then
15553
 
    # Linking always hardcodes the temporary library directory.
15554
 
    hardcode_action_CXX=relink
15555
 
  else
15556
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15557
 
    hardcode_action_CXX=immediate
15558
 
  fi
15559
 
else
15560
 
  # We cannot hardcode anything, or else we can only hardcode existing
15561
 
  # directories.
15562
 
  hardcode_action_CXX=unsupported
15563
 
fi
15564
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15565
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15566
 
 
15567
 
if test "$hardcode_action_CXX" = relink; then
15568
 
  # Fast installation is not supported
15569
 
  enable_fast_install=no
15570
 
elif test "$shlibpath_overrides_runpath" = yes ||
15571
 
     test "$enable_shared" = no; then
15572
 
  # Fast installation is not necessary
15573
 
  enable_fast_install=needless
15574
 
fi
15575
 
 
15576
 
 
15577
 
# The else clause should only fire when bootstrapping the
15578
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
15579
 
# with your package, and you will get complaints that there are
15580
 
# no rules to generate ltmain.sh.
15581
 
if test -f "$ltmain"; then
15582
 
  # See if we are running on zsh, and set the options which allow our commands through
15583
 
  # without removal of \ escapes.
15584
 
  if test -n "${ZSH_VERSION+set}" ; then
15585
 
    setopt NO_GLOB_SUBST
15586
 
  fi
15587
 
  # Now quote all the things that may contain metacharacters while being
15588
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15589
 
  # variables and quote the copies for generation of the libtool script.
15590
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15591
 
    SED SHELL STRIP \
15592
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15593
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15594
 
    deplibs_check_method reload_flag reload_cmds need_locks \
15595
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15596
 
    lt_cv_sys_global_symbol_to_c_name_address \
15597
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15598
 
    old_postinstall_cmds old_postuninstall_cmds \
15599
 
    compiler_CXX \
15600
 
    CC_CXX \
15601
 
    LD_CXX \
15602
 
    lt_prog_compiler_wl_CXX \
15603
 
    lt_prog_compiler_pic_CXX \
15604
 
    lt_prog_compiler_static_CXX \
15605
 
    lt_prog_compiler_no_builtin_flag_CXX \
15606
 
    export_dynamic_flag_spec_CXX \
15607
 
    thread_safe_flag_spec_CXX \
15608
 
    whole_archive_flag_spec_CXX \
15609
 
    enable_shared_with_static_runtimes_CXX \
15610
 
    old_archive_cmds_CXX \
15611
 
    old_archive_from_new_cmds_CXX \
15612
 
    predep_objects_CXX \
15613
 
    postdep_objects_CXX \
15614
 
    predeps_CXX \
15615
 
    postdeps_CXX \
15616
 
    compiler_lib_search_path_CXX \
15617
 
    compiler_lib_search_dirs_CXX \
15618
 
    archive_cmds_CXX \
15619
 
    archive_expsym_cmds_CXX \
15620
 
    postinstall_cmds_CXX \
15621
 
    postuninstall_cmds_CXX \
15622
 
    old_archive_from_expsyms_cmds_CXX \
15623
 
    allow_undefined_flag_CXX \
15624
 
    no_undefined_flag_CXX \
15625
 
    export_symbols_cmds_CXX \
15626
 
    hardcode_libdir_flag_spec_CXX \
15627
 
    hardcode_libdir_flag_spec_ld_CXX \
15628
 
    hardcode_libdir_separator_CXX \
15629
 
    hardcode_automatic_CXX \
15630
 
    module_cmds_CXX \
15631
 
    module_expsym_cmds_CXX \
15632
 
    lt_cv_prog_compiler_c_o_CXX \
15633
 
    fix_srcfile_path_CXX \
15634
 
    exclude_expsyms_CXX \
15635
 
    include_expsyms_CXX; do
15636
 
 
15637
 
    case $var in
15638
 
    old_archive_cmds_CXX | \
15639
 
    old_archive_from_new_cmds_CXX | \
15640
 
    archive_cmds_CXX | \
15641
 
    archive_expsym_cmds_CXX | \
15642
 
    module_cmds_CXX | \
15643
 
    module_expsym_cmds_CXX | \
15644
 
    old_archive_from_expsyms_cmds_CXX | \
15645
 
    export_symbols_cmds_CXX | \
15646
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
15647
 
    postinstall_cmds | postuninstall_cmds | \
15648
 
    old_postinstall_cmds | old_postuninstall_cmds | \
15649
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15650
 
      # Double-quote double-evaled strings.
15651
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15652
 
      ;;
15653
 
    *)
15654
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15655
 
      ;;
15656
 
    esac
15657
 
  done
15658
 
 
15659
 
  case $lt_echo in
15660
 
  *'\$0 --fallback-echo"')
15661
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15662
 
    ;;
15663
 
  esac
15664
 
 
15665
 
cfgfile="$ofile"
15666
 
 
15667
 
  cat <<__EOF__ >> "$cfgfile"
15668
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15669
 
 
15670
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15671
 
 
15672
 
# Shell to use when invoking shell scripts.
15673
 
SHELL=$lt_SHELL
15674
 
 
15675
 
# Whether or not to build shared libraries.
15676
 
build_libtool_libs=$enable_shared
15677
 
 
15678
 
# Whether or not to build static libraries.
15679
 
build_old_libs=$enable_static
15680
 
 
15681
 
# Whether or not to add -lc for building shared libraries.
15682
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
15683
 
 
15684
 
# Whether or not to disallow shared libs when runtime libs are static
15685
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15686
 
 
15687
 
# Whether or not to optimize for fast installation.
15688
 
fast_install=$enable_fast_install
15689
 
 
15690
 
# The host system.
15691
 
host_alias=$host_alias
15692
 
host=$host
15693
 
host_os=$host_os
15694
 
 
15695
 
# The build system.
15696
 
build_alias=$build_alias
15697
 
build=$build
15698
 
build_os=$build_os
15699
 
 
15700
 
# An echo program that does not interpret backslashes.
15701
 
echo=$lt_echo
15702
 
 
15703
 
# The archiver.
15704
 
AR=$lt_AR
15705
 
AR_FLAGS=$lt_AR_FLAGS
15706
 
 
15707
 
# A C compiler.
15708
 
LTCC=$lt_LTCC
15709
 
 
15710
 
# LTCC compiler flags.
15711
 
LTCFLAGS=$lt_LTCFLAGS
15712
 
 
15713
 
# A language-specific compiler.
15714
 
CC=$lt_compiler_CXX
15715
 
 
15716
 
# Is the compiler the GNU C compiler?
15717
 
with_gcc=$GCC_CXX
15718
 
 
15719
 
# An ERE matcher.
15720
 
EGREP=$lt_EGREP
15721
 
 
15722
 
# The linker used to build libraries.
15723
 
LD=$lt_LD_CXX
15724
 
 
15725
 
# Whether we need hard or soft links.
15726
 
LN_S=$lt_LN_S
15727
 
 
15728
 
# A BSD-compatible nm program.
15729
 
NM=$lt_NM
15730
 
 
15731
 
# A symbol stripping program
15732
 
STRIP=$lt_STRIP
15733
 
 
15734
 
# Used to examine libraries when file_magic_cmd begins "file"
15735
 
MAGIC_CMD=$MAGIC_CMD
15736
 
 
15737
 
# Used on cygwin: DLL creation program.
15738
 
DLLTOOL="$DLLTOOL"
15739
 
 
15740
 
# Used on cygwin: object dumper.
15741
 
OBJDUMP="$OBJDUMP"
15742
 
 
15743
 
# Used on cygwin: assembler.
15744
 
AS="$AS"
15745
 
 
15746
 
# The name of the directory that contains temporary libtool files.
15747
 
objdir=$objdir
15748
 
 
15749
 
# How to create reloadable object files.
15750
 
reload_flag=$lt_reload_flag
15751
 
reload_cmds=$lt_reload_cmds
15752
 
 
15753
 
# How to pass a linker flag through the compiler.
15754
 
wl=$lt_lt_prog_compiler_wl_CXX
15755
 
 
15756
 
# Object file suffix (normally "o").
15757
 
objext="$ac_objext"
15758
 
 
15759
 
# Old archive suffix (normally "a").
15760
 
libext="$libext"
15761
 
 
15762
 
# Shared library suffix (normally ".so").
15763
 
shrext_cmds='$shrext_cmds'
15764
 
 
15765
 
# Executable file suffix (normally "").
15766
 
exeext="$exeext"
15767
 
 
15768
 
# Additional compiler flags for building library objects.
15769
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
15770
 
pic_mode=$pic_mode
15771
 
 
15772
 
# What is the maximum length of a command?
15773
 
max_cmd_len=$lt_cv_sys_max_cmd_len
15774
 
 
15775
 
# Does compiler simultaneously support -c and -o options?
15776
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15777
 
 
15778
 
# Must we lock files when doing compilation?
15779
 
need_locks=$lt_need_locks
15780
 
 
15781
 
# Do we need the lib prefix for modules?
15782
 
need_lib_prefix=$need_lib_prefix
15783
 
 
15784
 
# Do we need a version for libraries?
15785
 
need_version=$need_version
15786
 
 
15787
 
# Whether dlopen is supported.
15788
 
dlopen_support=$enable_dlopen
15789
 
 
15790
 
# Whether dlopen of programs is supported.
15791
 
dlopen_self=$enable_dlopen_self
15792
 
 
15793
 
# Whether dlopen of statically linked programs is supported.
15794
 
dlopen_self_static=$enable_dlopen_self_static
15795
 
 
15796
 
# Compiler flag to prevent dynamic linking.
15797
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
15798
 
 
15799
 
# Compiler flag to turn off builtin functions.
15800
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15801
 
 
15802
 
# Compiler flag to allow reflexive dlopens.
15803
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15804
 
 
15805
 
# Compiler flag to generate shared objects directly from archives.
15806
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15807
 
 
15808
 
# Compiler flag to generate thread-safe objects.
15809
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15810
 
 
15811
 
# Library versioning type.
15812
 
version_type=$version_type
15813
 
 
15814
 
# Format of library name prefix.
15815
 
libname_spec=$lt_libname_spec
15816
 
 
15817
 
# List of archive names.  First name is the real one, the rest are links.
15818
 
# The last name is the one that the linker finds with -lNAME.
15819
 
library_names_spec=$lt_library_names_spec
15820
 
 
15821
 
# The coded name of the library, if different from the real name.
15822
 
soname_spec=$lt_soname_spec
15823
 
 
15824
 
# Commands used to build and install an old-style archive.
15825
 
RANLIB=$lt_RANLIB
15826
 
old_archive_cmds=$lt_old_archive_cmds_CXX
15827
 
old_postinstall_cmds=$lt_old_postinstall_cmds
15828
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15829
 
 
15830
 
# Create an old-style archive from a shared archive.
15831
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15832
 
 
15833
 
# Create a temporary old-style archive to link instead of a shared archive.
15834
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15835
 
 
15836
 
# Commands used to build and install a shared archive.
15837
 
archive_cmds=$lt_archive_cmds_CXX
15838
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15839
 
postinstall_cmds=$lt_postinstall_cmds
15840
 
postuninstall_cmds=$lt_postuninstall_cmds
15841
 
 
15842
 
# Commands used to build a loadable module (assumed same as above if empty)
15843
 
module_cmds=$lt_module_cmds_CXX
15844
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
15845
 
 
15846
 
# Commands to strip libraries.
15847
 
old_striplib=$lt_old_striplib
15848
 
striplib=$lt_striplib
15849
 
 
15850
 
# Dependencies to place before the objects being linked to create a
15851
 
# shared library.
15852
 
predep_objects=$lt_predep_objects_CXX
15853
 
 
15854
 
# Dependencies to place after the objects being linked to create a
15855
 
# shared library.
15856
 
postdep_objects=$lt_postdep_objects_CXX
15857
 
 
15858
 
# Dependencies to place before the objects being linked to create a
15859
 
# shared library.
15860
 
predeps=$lt_predeps_CXX
15861
 
 
15862
 
# Dependencies to place after the objects being linked to create a
15863
 
# shared library.
15864
 
postdeps=$lt_postdeps_CXX
15865
 
 
15866
 
# The directories searched by this compiler when creating a shared
15867
 
# library
15868
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
15869
 
 
15870
 
# The library search path used internally by the compiler when linking
15871
 
# a shared library.
15872
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15873
 
 
15874
 
# Method to check whether dependent libraries are shared objects.
15875
 
deplibs_check_method=$lt_deplibs_check_method
15876
 
 
15877
 
# Command to use when deplibs_check_method == file_magic.
15878
 
file_magic_cmd=$lt_file_magic_cmd
15879
 
 
15880
 
# Flag that allows shared libraries with undefined symbols to be built.
15881
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
15882
 
 
15883
 
# Flag that forces no undefined symbols.
15884
 
no_undefined_flag=$lt_no_undefined_flag_CXX
15885
 
 
15886
 
# Commands used to finish a libtool library installation in a directory.
15887
 
finish_cmds=$lt_finish_cmds
15888
 
 
15889
 
# Same as above, but a single script fragment to be evaled but not shown.
15890
 
finish_eval=$lt_finish_eval
15891
 
 
15892
 
# Take the output of nm and produce a listing of raw symbols and C names.
15893
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15894
 
 
15895
 
# Transform the output of nm in a proper C declaration
15896
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15897
 
 
15898
 
# Transform the output of nm in a C name address pair
15899
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15900
 
 
15901
 
# This is the shared library runtime path variable.
15902
 
runpath_var=$runpath_var
15903
 
 
15904
 
# This is the shared library path variable.
15905
 
shlibpath_var=$shlibpath_var
15906
 
 
15907
 
# Is shlibpath searched before the hard-coded library search path?
15908
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15909
 
 
15910
 
# How to hardcode a shared library path into an executable.
15911
 
hardcode_action=$hardcode_action_CXX
15912
 
 
15913
 
# Whether we should hardcode library paths into libraries.
15914
 
hardcode_into_libs=$hardcode_into_libs
15915
 
 
15916
 
# Flag to hardcode \$libdir into a binary during linking.
15917
 
# This must work even if \$libdir does not exist.
15918
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15919
 
 
15920
 
# If ld is used when linking, flag to hardcode \$libdir into
15921
 
# a binary during linking. This must work even if \$libdir does
15922
 
# not exist.
15923
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15924
 
 
15925
 
# Whether we need a single -rpath flag with a separated argument.
15926
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15927
 
 
15928
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15929
 
# resulting binary.
15930
 
hardcode_direct=$hardcode_direct_CXX
15931
 
 
15932
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15933
 
# resulting binary.
15934
 
hardcode_minus_L=$hardcode_minus_L_CXX
15935
 
 
15936
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15937
 
# the resulting binary.
15938
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15939
 
 
15940
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
15941
 
# and all subsequent libraries and executables linked against it.
15942
 
hardcode_automatic=$hardcode_automatic_CXX
15943
 
 
15944
 
# Variables whose values should be saved in libtool wrapper scripts and
15945
 
# restored at relink time.
15946
 
variables_saved_for_relink="$variables_saved_for_relink"
15947
 
 
15948
 
# Whether libtool must link a program against all its dependency libraries.
15949
 
link_all_deplibs=$link_all_deplibs_CXX
15950
 
 
15951
 
# Compile-time system search path for libraries
15952
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15953
 
 
15954
 
# Run-time system search path for libraries
15955
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15956
 
 
15957
 
# Fix the shell variable \$srcfile for the compiler.
15958
 
fix_srcfile_path=$lt_fix_srcfile_path
15959
 
 
15960
 
# Set to yes if exported symbols are required.
15961
 
always_export_symbols=$always_export_symbols_CXX
15962
 
 
15963
 
# The commands to list exported symbols.
15964
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
15965
 
 
15966
 
# The commands to extract the exported symbol list from a shared archive.
15967
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15968
 
 
15969
 
# Symbols that should not be listed in the preloaded symbols.
15970
 
exclude_expsyms=$lt_exclude_expsyms_CXX
15971
 
 
15972
 
# Symbols that must always be exported.
15973
 
include_expsyms=$lt_include_expsyms_CXX
15974
 
 
15975
 
# ### END LIBTOOL TAG CONFIG: $tagname
15976
 
 
15977
 
__EOF__
15978
 
 
15979
 
 
15980
 
else
15981
 
  # If there is no Makefile yet, we rely on a make rule to execute
15982
 
  # `config.status --recheck' to rerun these tests and create the
15983
 
  # libtool script then.
15984
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15985
 
  if test -f "$ltmain_in"; then
15986
 
    test -f Makefile && make "$ltmain"
15987
 
  fi
15988
 
fi
15989
 
 
15990
 
 
15991
 
ac_ext=c
15992
 
ac_cpp='$CPP $CPPFLAGS'
15993
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15994
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15995
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15996
 
 
15997
 
CC=$lt_save_CC
15998
 
LDCXX=$LD
15999
 
LD=$lt_save_LD
16000
 
GCC=$lt_save_GCC
16001
 
with_gnu_ldcxx=$with_gnu_ld
16002
 
with_gnu_ld=$lt_save_with_gnu_ld
16003
 
lt_cv_path_LDCXX=$lt_cv_path_LD
16004
 
lt_cv_path_LD=$lt_save_path_LD
16005
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16006
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16007
 
 
16008
 
        else
16009
 
          tagname=""
16010
 
        fi
16011
 
        ;;
16012
 
 
16013
 
      F77)
16014
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
16015
 
 
16016
 
ac_ext=f
16017
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16018
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16019
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16020
 
 
16021
 
 
16022
 
archive_cmds_need_lc_F77=no
16023
 
allow_undefined_flag_F77=
16024
 
always_export_symbols_F77=no
16025
 
archive_expsym_cmds_F77=
16026
 
export_dynamic_flag_spec_F77=
16027
 
hardcode_direct_F77=no
16028
 
hardcode_libdir_flag_spec_F77=
16029
 
hardcode_libdir_flag_spec_ld_F77=
16030
 
hardcode_libdir_separator_F77=
16031
 
hardcode_minus_L_F77=no
16032
 
hardcode_automatic_F77=no
16033
 
module_cmds_F77=
16034
 
module_expsym_cmds_F77=
16035
 
link_all_deplibs_F77=unknown
16036
 
old_archive_cmds_F77=$old_archive_cmds
16037
 
no_undefined_flag_F77=
16038
 
whole_archive_flag_spec_F77=
16039
 
enable_shared_with_static_runtimes_F77=no
16040
 
 
16041
 
# Source file extension for f77 test sources.
16042
 
ac_ext=f
16043
 
 
16044
 
# Object file extension for compiled f77 test sources.
16045
 
objext=o
16046
 
objext_F77=$objext
16047
 
 
16048
 
# Code to be used in simple compile tests
16049
 
lt_simple_compile_test_code="\
16050
 
      subroutine t
16051
 
      return
16052
 
      end
16053
 
"
16054
 
 
16055
 
# Code to be used in simple link tests
16056
 
lt_simple_link_test_code="\
16057
 
      program t
16058
 
      end
16059
 
"
16060
 
 
16061
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16062
 
 
16063
 
# If no C compiler was specified, use CC.
16064
 
LTCC=${LTCC-"$CC"}
16065
 
 
16066
 
# If no C compiler flags were specified, use CFLAGS.
16067
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16068
 
 
16069
 
# Allow CC to be a program name with arguments.
16070
 
compiler=$CC
16071
 
 
16072
 
 
16073
 
# save warnings/boilerplate of simple test code
16074
 
ac_outfile=conftest.$ac_objext
16075
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16076
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16077
 
_lt_compiler_boilerplate=`cat conftest.err`
16078
 
$rm conftest*
16079
 
 
16080
 
ac_outfile=conftest.$ac_objext
16081
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16082
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16083
 
_lt_linker_boilerplate=`cat conftest.err`
16084
 
$rm -r conftest*
16085
 
 
16086
 
 
16087
 
# Allow CC to be a program name with arguments.
16088
 
lt_save_CC="$CC"
16089
 
CC=${F77-"f77"}
16090
 
compiler=$CC
16091
 
compiler_F77=$CC
16092
 
for cc_temp in $compiler""; do
16093
 
  case $cc_temp in
16094
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16095
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16096
 
    \-*) ;;
16097
 
    *) break;;
16098
 
  esac
16099
 
done
16100
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16101
 
 
16102
 
 
16103
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16104
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
16105
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
16106
 
echo "${ECHO_T}$can_build_shared" >&6; }
16107
 
 
16108
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16109
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
16110
 
test "$can_build_shared" = "no" && enable_shared=no
16111
 
 
16112
 
# On AIX, shared libraries and static libraries use the same namespace, and
16113
 
# are all built from PIC.
16114
 
case $host_os in
16115
 
aix3*)
16116
 
  test "$enable_shared" = yes && enable_static=no
16117
 
  if test -n "$RANLIB"; then
16118
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
16119
 
    postinstall_cmds='$RANLIB $lib'
16120
 
  fi
16121
 
  ;;
16122
 
aix[4-9]*)
16123
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
16124
 
    test "$enable_shared" = yes && enable_static=no
16125
 
  fi
16126
 
  ;;
16127
 
esac
16128
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
16129
 
echo "${ECHO_T}$enable_shared" >&6; }
16130
 
 
16131
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16132
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
16133
 
# Make sure either enable_shared or enable_static is yes.
16134
 
test "$enable_shared" = yes || enable_static=yes
16135
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
16136
 
echo "${ECHO_T}$enable_static" >&6; }
16137
 
 
16138
 
GCC_F77="$G77"
16139
 
LD_F77="$LD"
16140
 
 
16141
 
lt_prog_compiler_wl_F77=
16142
 
lt_prog_compiler_pic_F77=
16143
 
lt_prog_compiler_static_F77=
16144
 
 
16145
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16146
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16147
 
 
16148
 
  if test "$GCC" = yes; then
16149
 
    lt_prog_compiler_wl_F77='-Wl,'
16150
 
    lt_prog_compiler_static_F77='-static'
16151
 
 
16152
 
    case $host_os in
16153
 
      aix*)
16154
 
      # All AIX code is PIC.
16155
 
      if test "$host_cpu" = ia64; then
16156
 
        # AIX 5 now supports IA64 processor
16157
 
        lt_prog_compiler_static_F77='-Bstatic'
16158
 
      fi
16159
 
      ;;
16160
 
 
16161
 
    amigaos*)
16162
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16163
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16164
 
      # like `-m68040'.
16165
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16166
 
      ;;
16167
 
 
16168
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16169
 
      # PIC is the default for these OSes.
16170
 
      ;;
16171
 
 
16172
 
    mingw* | cygwin* | pw32* | os2*)
16173
 
      # This hack is so that the source file can tell whether it is being
16174
 
      # built for inclusion in a dll (and should export symbols for example).
16175
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16176
 
      # (--disable-auto-import) libraries
16177
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16178
 
      ;;
16179
 
 
16180
 
    darwin* | rhapsody*)
16181
 
      # PIC is the default on this platform
16182
 
      # Common symbols not allowed in MH_DYLIB files
16183
 
      lt_prog_compiler_pic_F77='-fno-common'
16184
 
      ;;
16185
 
 
16186
 
    interix[3-9]*)
16187
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16188
 
      # Instead, we relocate shared libraries at runtime.
16189
 
      ;;
16190
 
 
16191
 
    msdosdjgpp*)
16192
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16193
 
      # on systems that don't support them.
16194
 
      lt_prog_compiler_can_build_shared_F77=no
16195
 
      enable_shared=no
16196
 
      ;;
16197
 
 
16198
 
    sysv4*MP*)
16199
 
      if test -d /usr/nec; then
16200
 
        lt_prog_compiler_pic_F77=-Kconform_pic
16201
 
      fi
16202
 
      ;;
16203
 
 
16204
 
    hpux*)
16205
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16206
 
      # not for PA HP-UX.
16207
 
      case $host_cpu in
16208
 
      hppa*64*|ia64*)
16209
 
        # +Z the default
16210
 
        ;;
16211
 
      *)
16212
 
        lt_prog_compiler_pic_F77='-fPIC'
16213
 
        ;;
16214
 
      esac
16215
 
      ;;
16216
 
 
16217
 
    *)
16218
 
      lt_prog_compiler_pic_F77='-fPIC'
16219
 
      ;;
16220
 
    esac
16221
 
  else
16222
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16223
 
    case $host_os in
16224
 
    aix*)
16225
 
      lt_prog_compiler_wl_F77='-Wl,'
16226
 
      if test "$host_cpu" = ia64; then
16227
 
        # AIX 5 now supports IA64 processor
16228
 
        lt_prog_compiler_static_F77='-Bstatic'
16229
 
      else
16230
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
16231
 
      fi
16232
 
      ;;
16233
 
      darwin*)
16234
 
        # PIC is the default on this platform
16235
 
        # Common symbols not allowed in MH_DYLIB files
16236
 
       case $cc_basename in
16237
 
         xlc*)
16238
 
         lt_prog_compiler_pic_F77='-qnocommon'
16239
 
         lt_prog_compiler_wl_F77='-Wl,'
16240
 
         ;;
16241
 
       esac
16242
 
       ;;
16243
 
 
16244
 
    mingw* | cygwin* | pw32* | os2*)
16245
 
      # This hack is so that the source file can tell whether it is being
16246
 
      # built for inclusion in a dll (and should export symbols for example).
16247
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16248
 
      ;;
16249
 
 
16250
 
    hpux9* | hpux10* | hpux11*)
16251
 
      lt_prog_compiler_wl_F77='-Wl,'
16252
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16253
 
      # not for PA HP-UX.
16254
 
      case $host_cpu in
16255
 
      hppa*64*|ia64*)
16256
 
        # +Z the default
16257
 
        ;;
16258
 
      *)
16259
 
        lt_prog_compiler_pic_F77='+Z'
16260
 
        ;;
16261
 
      esac
16262
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16263
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
16264
 
      ;;
16265
 
 
16266
 
    irix5* | irix6* | nonstopux*)
16267
 
      lt_prog_compiler_wl_F77='-Wl,'
16268
 
      # PIC (with -KPIC) is the default.
16269
 
      lt_prog_compiler_static_F77='-non_shared'
16270
 
      ;;
16271
 
 
16272
 
    newsos6)
16273
 
      lt_prog_compiler_pic_F77='-KPIC'
16274
 
      lt_prog_compiler_static_F77='-Bstatic'
16275
 
      ;;
16276
 
 
16277
 
    linux* | k*bsd*-gnu)
16278
 
      case $cc_basename in
16279
 
      icc* | ecc*)
16280
 
        lt_prog_compiler_wl_F77='-Wl,'
16281
 
        lt_prog_compiler_pic_F77='-KPIC'
16282
 
        lt_prog_compiler_static_F77='-static'
16283
 
        ;;
16284
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16285
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16286
 
        # which looks to be a dead project)
16287
 
        lt_prog_compiler_wl_F77='-Wl,'
16288
 
        lt_prog_compiler_pic_F77='-fpic'
16289
 
        lt_prog_compiler_static_F77='-Bstatic'
16290
 
        ;;
16291
 
      ccc*)
16292
 
        lt_prog_compiler_wl_F77='-Wl,'
16293
 
        # All Alpha code is PIC.
16294
 
        lt_prog_compiler_static_F77='-non_shared'
16295
 
        ;;
16296
 
      *)
16297
 
        case `$CC -V 2>&1 | sed 5q` in
16298
 
        *Sun\ C*)
16299
 
          # Sun C 5.9
16300
 
          lt_prog_compiler_pic_F77='-KPIC'
16301
 
          lt_prog_compiler_static_F77='-Bstatic'
16302
 
          lt_prog_compiler_wl_F77='-Wl,'
16303
 
          ;;
16304
 
        *Sun\ F*)
16305
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
16306
 
          lt_prog_compiler_pic_F77='-KPIC'
16307
 
          lt_prog_compiler_static_F77='-Bstatic'
16308
 
          lt_prog_compiler_wl_F77=''
16309
 
          ;;
16310
 
        esac
16311
 
        ;;
16312
 
      esac
16313
 
      ;;
16314
 
 
16315
 
    osf3* | osf4* | osf5*)
16316
 
      lt_prog_compiler_wl_F77='-Wl,'
16317
 
      # All OSF/1 code is PIC.
16318
 
      lt_prog_compiler_static_F77='-non_shared'
16319
 
      ;;
16320
 
 
16321
 
    rdos*)
16322
 
      lt_prog_compiler_static_F77='-non_shared'
16323
 
      ;;
16324
 
 
16325
 
    solaris*)
16326
 
      lt_prog_compiler_pic_F77='-KPIC'
16327
 
      lt_prog_compiler_static_F77='-Bstatic'
16328
 
      case $cc_basename in
16329
 
      f77* | f90* | f95*)
16330
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
16331
 
      *)
16332
 
        lt_prog_compiler_wl_F77='-Wl,';;
16333
 
      esac
16334
 
      ;;
16335
 
 
16336
 
    sunos4*)
16337
 
      lt_prog_compiler_wl_F77='-Qoption ld '
16338
 
      lt_prog_compiler_pic_F77='-PIC'
16339
 
      lt_prog_compiler_static_F77='-Bstatic'
16340
 
      ;;
16341
 
 
16342
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
16343
 
      lt_prog_compiler_wl_F77='-Wl,'
16344
 
      lt_prog_compiler_pic_F77='-KPIC'
16345
 
      lt_prog_compiler_static_F77='-Bstatic'
16346
 
      ;;
16347
 
 
16348
 
    sysv4*MP*)
16349
 
      if test -d /usr/nec ;then
16350
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
16351
 
        lt_prog_compiler_static_F77='-Bstatic'
16352
 
      fi
16353
 
      ;;
16354
 
 
16355
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16356
 
      lt_prog_compiler_wl_F77='-Wl,'
16357
 
      lt_prog_compiler_pic_F77='-KPIC'
16358
 
      lt_prog_compiler_static_F77='-Bstatic'
16359
 
      ;;
16360
 
 
16361
 
    unicos*)
16362
 
      lt_prog_compiler_wl_F77='-Wl,'
16363
 
      lt_prog_compiler_can_build_shared_F77=no
16364
 
      ;;
16365
 
 
16366
 
    uts4*)
16367
 
      lt_prog_compiler_pic_F77='-pic'
16368
 
      lt_prog_compiler_static_F77='-Bstatic'
16369
 
      ;;
16370
 
 
16371
 
    *)
16372
 
      lt_prog_compiler_can_build_shared_F77=no
16373
 
      ;;
16374
 
    esac
16375
 
  fi
16376
 
 
16377
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16378
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
16379
 
 
16380
 
#
16381
 
# Check to make sure the PIC flag actually works.
16382
 
#
16383
 
if test -n "$lt_prog_compiler_pic_F77"; then
16384
 
 
16385
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16386
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
16387
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
16388
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16389
 
else
16390
 
  lt_cv_prog_compiler_pic_works_F77=no
16391
 
  ac_outfile=conftest.$ac_objext
16392
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16393
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
16394
 
   # Insert the option either (1) after the last *FLAGS variable, or
16395
 
   # (2) before a word containing "conftest.", or (3) at the end.
16396
 
   # Note that $ac_compile itself does not contain backslashes and begins
16397
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16398
 
   # The option is referenced via a variable to avoid confusing sed.
16399
 
   lt_compile=`echo "$ac_compile" | $SED \
16400
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16401
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16402
 
   -e 's:$: $lt_compiler_flag:'`
16403
 
   (eval echo "\"\$as_me:16403: $lt_compile\"" >&5)
16404
 
   (eval "$lt_compile" 2>conftest.err)
16405
 
   ac_status=$?
16406
 
   cat conftest.err >&5
16407
 
   echo "$as_me:16407: \$? = $ac_status" >&5
16408
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16409
 
     # The compiler can only warn and ignore the option if not recognized
16410
 
     # So say no if there are warnings other than the usual output.
16411
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16412
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16413
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16414
 
       lt_cv_prog_compiler_pic_works_F77=yes
16415
 
     fi
16416
 
   fi
16417
 
   $rm conftest*
16418
 
 
16419
 
fi
16420
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
16421
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
16422
 
 
16423
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
16424
 
    case $lt_prog_compiler_pic_F77 in
16425
 
     "" | " "*) ;;
16426
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
16427
 
     esac
16428
 
else
16429
 
    lt_prog_compiler_pic_F77=
16430
 
     lt_prog_compiler_can_build_shared_F77=no
16431
 
fi
16432
 
 
16433
 
fi
16434
 
case $host_os in
16435
 
  # For platforms which do not support PIC, -DPIC is meaningless:
16436
 
  *djgpp*)
16437
 
    lt_prog_compiler_pic_F77=
16438
 
    ;;
16439
 
  *)
16440
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
16441
 
    ;;
16442
 
esac
16443
 
 
16444
 
#
16445
 
# Check to make sure the static flag actually works.
16446
 
#
16447
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
16448
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16449
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16450
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
16451
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16452
 
else
16453
 
  lt_cv_prog_compiler_static_works_F77=no
16454
 
   save_LDFLAGS="$LDFLAGS"
16455
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16456
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16457
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16458
 
     # The linker can only warn and ignore the option if not recognized
16459
 
     # So say no if there are warnings
16460
 
     if test -s conftest.err; then
16461
 
       # Append any errors to the config.log.
16462
 
       cat conftest.err 1>&5
16463
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16464
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16465
 
       if diff conftest.exp conftest.er2 >/dev/null; then
16466
 
         lt_cv_prog_compiler_static_works_F77=yes
16467
 
       fi
16468
 
     else
16469
 
       lt_cv_prog_compiler_static_works_F77=yes
16470
 
     fi
16471
 
   fi
16472
 
   $rm -r conftest*
16473
 
   LDFLAGS="$save_LDFLAGS"
16474
 
 
16475
 
fi
16476
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
16477
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
16478
 
 
16479
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
16480
 
    :
16481
 
else
16482
 
    lt_prog_compiler_static_F77=
16483
 
fi
16484
 
 
16485
 
 
16486
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16487
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16488
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16489
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16490
 
else
16491
 
  lt_cv_prog_compiler_c_o_F77=no
16492
 
   $rm -r conftest 2>/dev/null
16493
 
   mkdir conftest
16494
 
   cd conftest
16495
 
   mkdir out
16496
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16497
 
 
16498
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16499
 
   # Insert the option either (1) after the last *FLAGS variable, or
16500
 
   # (2) before a word containing "conftest.", or (3) at the end.
16501
 
   # Note that $ac_compile itself does not contain backslashes and begins
16502
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16503
 
   lt_compile=`echo "$ac_compile" | $SED \
16504
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16505
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16506
 
   -e 's:$: $lt_compiler_flag:'`
16507
 
   (eval echo "\"\$as_me:16507: $lt_compile\"" >&5)
16508
 
   (eval "$lt_compile" 2>out/conftest.err)
16509
 
   ac_status=$?
16510
 
   cat out/conftest.err >&5
16511
 
   echo "$as_me:16511: \$? = $ac_status" >&5
16512
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16513
 
   then
16514
 
     # The compiler can only warn and ignore the option if not recognized
16515
 
     # So say no if there are warnings
16516
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16517
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16518
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16519
 
       lt_cv_prog_compiler_c_o_F77=yes
16520
 
     fi
16521
 
   fi
16522
 
   chmod u+w . 2>&5
16523
 
   $rm conftest*
16524
 
   # SGI C++ compiler will create directory out/ii_files/ for
16525
 
   # template instantiation
16526
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16527
 
   $rm out/* && rmdir out
16528
 
   cd ..
16529
 
   rmdir conftest
16530
 
   $rm conftest*
16531
 
 
16532
 
fi
16533
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16534
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
16535
 
 
16536
 
 
16537
 
hard_links="nottested"
16538
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16539
 
  # do not overwrite the value of need_locks provided by the user
16540
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16541
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16542
 
  hard_links=yes
16543
 
  $rm conftest*
16544
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16545
 
  touch conftest.a
16546
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
16547
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16548
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
16549
 
echo "${ECHO_T}$hard_links" >&6; }
16550
 
  if test "$hard_links" = no; then
16551
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16552
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16553
 
    need_locks=warn
16554
 
  fi
16555
 
else
16556
 
  need_locks=no
16557
 
fi
16558
 
 
16559
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16560
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16561
 
 
16562
 
  runpath_var=
16563
 
  allow_undefined_flag_F77=
16564
 
  enable_shared_with_static_runtimes_F77=no
16565
 
  archive_cmds_F77=
16566
 
  archive_expsym_cmds_F77=
16567
 
  old_archive_From_new_cmds_F77=
16568
 
  old_archive_from_expsyms_cmds_F77=
16569
 
  export_dynamic_flag_spec_F77=
16570
 
  whole_archive_flag_spec_F77=
16571
 
  thread_safe_flag_spec_F77=
16572
 
  hardcode_libdir_flag_spec_F77=
16573
 
  hardcode_libdir_flag_spec_ld_F77=
16574
 
  hardcode_libdir_separator_F77=
16575
 
  hardcode_direct_F77=no
16576
 
  hardcode_minus_L_F77=no
16577
 
  hardcode_shlibpath_var_F77=unsupported
16578
 
  link_all_deplibs_F77=unknown
16579
 
  hardcode_automatic_F77=no
16580
 
  module_cmds_F77=
16581
 
  module_expsym_cmds_F77=
16582
 
  always_export_symbols_F77=no
16583
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16584
 
  # include_expsyms should be a list of space-separated symbols to be *always*
16585
 
  # included in the symbol list
16586
 
  include_expsyms_F77=
16587
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
16588
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16589
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16590
 
  # as well as any symbol that contains `d'.
16591
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16592
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16593
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
16594
 
  # the symbol is explicitly referenced.  Since portable code cannot
16595
 
  # rely on this symbol name, it's probably fine to never include it in
16596
 
  # preloaded symbol tables.
16597
 
  # Exclude shared library initialization/finalization symbols.
16598
 
  extract_expsyms_cmds=
16599
 
  # Just being paranoid about ensuring that cc_basename is set.
16600
 
  for cc_temp in $compiler""; do
16601
 
  case $cc_temp in
16602
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16603
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16604
 
    \-*) ;;
16605
 
    *) break;;
16606
 
  esac
16607
 
done
16608
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16609
 
 
16610
 
  case $host_os in
16611
 
  cygwin* | mingw* | pw32*)
16612
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
16613
 
    # When not using gcc, we currently assume that we are using
16614
 
    # Microsoft Visual C++.
16615
 
    if test "$GCC" != yes; then
16616
 
      with_gnu_ld=no
16617
 
    fi
16618
 
    ;;
16619
 
  interix*)
16620
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
16621
 
    with_gnu_ld=yes
16622
 
    ;;
16623
 
  openbsd*)
16624
 
    with_gnu_ld=no
16625
 
    ;;
16626
 
  esac
16627
 
 
16628
 
  ld_shlibs_F77=yes
16629
 
  if test "$with_gnu_ld" = yes; then
16630
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
16631
 
    wlarc='${wl}'
16632
 
 
16633
 
    # Set some defaults for GNU ld with shared library support. These
16634
 
    # are reset later if shared libraries are not supported. Putting them
16635
 
    # here allows them to be overridden if necessary.
16636
 
    runpath_var=LD_RUN_PATH
16637
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
16638
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
16639
 
    # ancient GNU ld didn't support --whole-archive et. al.
16640
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16641
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16642
 
      else
16643
 
        whole_archive_flag_spec_F77=
16644
 
    fi
16645
 
    supports_anon_versioning=no
16646
 
    case `$LD -v 2>/dev/null` in
16647
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16648
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16649
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16650
 
      *\ 2.11.*) ;; # other 2.11 versions
16651
 
      *) supports_anon_versioning=yes ;;
16652
 
    esac
16653
 
 
16654
 
    # See if GNU ld supports shared libraries.
16655
 
    case $host_os in
16656
 
    aix[3-9]*)
16657
 
      # On AIX/PPC, the GNU linker is very broken
16658
 
      if test "$host_cpu" != ia64; then
16659
 
        ld_shlibs_F77=no
16660
 
        cat <<EOF 1>&2
16661
 
 
16662
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16663
 
*** to be unable to reliably create shared libraries on AIX.
16664
 
*** Therefore, libtool is disabling shared libraries support.  If you
16665
 
*** really care for shared libraries, you may want to modify your PATH
16666
 
*** so that a non-GNU linker is found, and then restart.
16667
 
 
16668
 
EOF
16669
 
      fi
16670
 
      ;;
16671
 
 
16672
 
    amigaos*)
16673
 
      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)'
16674
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16675
 
      hardcode_minus_L_F77=yes
16676
 
 
16677
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16678
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
16679
 
      # to version 4, is to share data among multiple programs linked
16680
 
      # with the same dynamic library.  Since this doesn't match the
16681
 
      # behavior of shared libraries on other platforms, we can't use
16682
 
      # them.
16683
 
      ld_shlibs_F77=no
16684
 
      ;;
16685
 
 
16686
 
    beos*)
16687
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16688
 
        allow_undefined_flag_F77=unsupported
16689
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16690
 
        # support --undefined.  This deserves some investigation.  FIXME
16691
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16692
 
      else
16693
 
        ld_shlibs_F77=no
16694
 
      fi
16695
 
      ;;
16696
 
 
16697
 
    cygwin* | mingw* | pw32*)
16698
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16699
 
      # as there is no search path for DLLs.
16700
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16701
 
      allow_undefined_flag_F77=unsupported
16702
 
      always_export_symbols_F77=no
16703
 
      enable_shared_with_static_runtimes_F77=yes
16704
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16705
 
 
16706
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16707
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16708
 
        # If the export-symbols file already is a .def file (1st line
16709
 
        # is EXPORTS), use it as is; otherwise, prepend...
16710
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16711
 
          cp $export_symbols $output_objdir/$soname.def;
16712
 
        else
16713
 
          echo EXPORTS > $output_objdir/$soname.def;
16714
 
          cat $export_symbols >> $output_objdir/$soname.def;
16715
 
        fi~
16716
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16717
 
      else
16718
 
        ld_shlibs_F77=no
16719
 
      fi
16720
 
      ;;
16721
 
 
16722
 
    interix[3-9]*)
16723
 
      hardcode_direct_F77=no
16724
 
      hardcode_shlibpath_var_F77=no
16725
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16726
 
      export_dynamic_flag_spec_F77='${wl}-E'
16727
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16728
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
16729
 
      # default) and relocated if they conflict, which is a slow very memory
16730
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
16731
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16732
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
16733
 
      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'
16734
 
      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'
16735
 
      ;;
16736
 
 
16737
 
    gnu* | linux* | k*bsd*-gnu)
16738
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16739
 
        tmp_addflag=
16740
 
        case $cc_basename,$host_cpu in
16741
 
        pgcc*)                          # Portland Group C compiler
16742
 
          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'
16743
 
          tmp_addflag=' $pic_flag'
16744
 
          ;;
16745
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
16746
 
          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'
16747
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
16748
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
16749
 
          tmp_addflag=' -i_dynamic' ;;
16750
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
16751
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
16752
 
        ifc* | ifort*)                  # Intel Fortran compiler
16753
 
          tmp_addflag=' -nofor_main' ;;
16754
 
        esac
16755
 
        case `$CC -V 2>&1 | sed 5q` in
16756
 
        *Sun\ C*)                       # Sun C 5.9
16757
 
          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'
16758
 
          tmp_sharedflag='-G' ;;
16759
 
        *Sun\ F*)                       # Sun Fortran 8.3
16760
 
          tmp_sharedflag='-G' ;;
16761
 
        *)
16762
 
          tmp_sharedflag='-shared' ;;
16763
 
        esac
16764
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16765
 
 
16766
 
        if test $supports_anon_versioning = yes; then
16767
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
16768
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16769
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16770
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16771
 
        fi
16772
 
        link_all_deplibs_F77=no
16773
 
      else
16774
 
        ld_shlibs_F77=no
16775
 
      fi
16776
 
      ;;
16777
 
 
16778
 
    netbsd* | netbsdelf*-gnu)
16779
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16780
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16781
 
        wlarc=
16782
 
      else
16783
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16784
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16785
 
      fi
16786
 
      ;;
16787
 
 
16788
 
    solaris*)
16789
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16790
 
        ld_shlibs_F77=no
16791
 
        cat <<EOF 1>&2
16792
 
 
16793
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16794
 
*** create shared libraries on Solaris systems.  Therefore, libtool
16795
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16796
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
16797
 
*** your PATH or compiler configuration so that the native linker is
16798
 
*** used, and then restart.
16799
 
 
16800
 
EOF
16801
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16802
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16803
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16804
 
      else
16805
 
        ld_shlibs_F77=no
16806
 
      fi
16807
 
      ;;
16808
 
 
16809
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16810
 
      case `$LD -v 2>&1` in
16811
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16812
 
        ld_shlibs_F77=no
16813
 
        cat <<_LT_EOF 1>&2
16814
 
 
16815
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16816
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
16817
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16818
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
16819
 
*** your PATH or compiler configuration so that the native linker is
16820
 
*** used, and then restart.
16821
 
 
16822
 
_LT_EOF
16823
 
        ;;
16824
 
        *)
16825
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16826
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16827
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16828
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16829
 
          else
16830
 
            ld_shlibs_F77=no
16831
 
          fi
16832
 
        ;;
16833
 
      esac
16834
 
      ;;
16835
 
 
16836
 
    sunos4*)
16837
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16838
 
      wlarc=
16839
 
      hardcode_direct_F77=yes
16840
 
      hardcode_shlibpath_var_F77=no
16841
 
      ;;
16842
 
 
16843
 
    *)
16844
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16845
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16846
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16847
 
      else
16848
 
        ld_shlibs_F77=no
16849
 
      fi
16850
 
      ;;
16851
 
    esac
16852
 
 
16853
 
    if test "$ld_shlibs_F77" = no; then
16854
 
      runpath_var=
16855
 
      hardcode_libdir_flag_spec_F77=
16856
 
      export_dynamic_flag_spec_F77=
16857
 
      whole_archive_flag_spec_F77=
16858
 
    fi
16859
 
  else
16860
 
    # PORTME fill in a description of your system's linker (not GNU ld)
16861
 
    case $host_os in
16862
 
    aix3*)
16863
 
      allow_undefined_flag_F77=unsupported
16864
 
      always_export_symbols_F77=yes
16865
 
      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'
16866
 
      # Note: this linker hardcodes the directories in LIBPATH if there
16867
 
      # are no directories specified by -L.
16868
 
      hardcode_minus_L_F77=yes
16869
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16870
 
        # Neither direct hardcoding nor static linking is supported with a
16871
 
        # broken collect2.
16872
 
        hardcode_direct_F77=unsupported
16873
 
      fi
16874
 
      ;;
16875
 
 
16876
 
    aix[4-9]*)
16877
 
      if test "$host_cpu" = ia64; then
16878
 
        # On IA64, the linker does run time linking by default, so we don't
16879
 
        # have to do anything special.
16880
 
        aix_use_runtimelinking=no
16881
 
        exp_sym_flag='-Bexport'
16882
 
        no_entry_flag=""
16883
 
      else
16884
 
        # If we're using GNU nm, then we don't want the "-C" option.
16885
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
16886
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16887
 
          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'
16888
 
        else
16889
 
          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'
16890
 
        fi
16891
 
        aix_use_runtimelinking=no
16892
 
 
16893
 
        # Test if we are trying to use run time linking or normal
16894
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16895
 
        # need to do runtime linking.
16896
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16897
 
          for ld_flag in $LDFLAGS; do
16898
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16899
 
            aix_use_runtimelinking=yes
16900
 
            break
16901
 
          fi
16902
 
          done
16903
 
          ;;
16904
 
        esac
16905
 
 
16906
 
        exp_sym_flag='-bexport'
16907
 
        no_entry_flag='-bnoentry'
16908
 
      fi
16909
 
 
16910
 
      # When large executables or shared objects are built, AIX ld can
16911
 
      # have problems creating the table of contents.  If linking a library
16912
 
      # or program results in "error TOC overflow" add -mminimal-toc to
16913
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
16914
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16915
 
 
16916
 
      archive_cmds_F77=''
16917
 
      hardcode_direct_F77=yes
16918
 
      hardcode_libdir_separator_F77=':'
16919
 
      link_all_deplibs_F77=yes
16920
 
 
16921
 
      if test "$GCC" = yes; then
16922
 
        case $host_os in aix4.[012]|aix4.[012].*)
16923
 
        # We only want to do this on AIX 4.2 and lower, the check
16924
 
        # below for broken collect2 doesn't work under 4.3+
16925
 
          collect2name=`${CC} -print-prog-name=collect2`
16926
 
          if test -f "$collect2name" && \
16927
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16928
 
          then
16929
 
          # We have reworked collect2
16930
 
          :
16931
 
          else
16932
 
          # We have old collect2
16933
 
          hardcode_direct_F77=unsupported
16934
 
          # It fails to find uninstalled libraries when the uninstalled
16935
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
16936
 
          # to unsupported forces relinking
16937
 
          hardcode_minus_L_F77=yes
16938
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
16939
 
          hardcode_libdir_separator_F77=
16940
 
          fi
16941
 
          ;;
16942
 
        esac
16943
 
        shared_flag='-shared'
16944
 
        if test "$aix_use_runtimelinking" = yes; then
16945
 
          shared_flag="$shared_flag "'${wl}-G'
16946
 
        fi
16947
 
      else
16948
 
        # not using gcc
16949
 
        if test "$host_cpu" = ia64; then
16950
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16951
 
        # chokes on -Wl,-G. The following line is correct:
16952
 
          shared_flag='-G'
16953
 
        else
16954
 
          if test "$aix_use_runtimelinking" = yes; then
16955
 
            shared_flag='${wl}-G'
16956
 
          else
16957
 
            shared_flag='${wl}-bM:SRE'
16958
 
          fi
16959
 
        fi
16960
 
      fi
16961
 
 
16962
 
      # It seems that -bexpall does not export symbols beginning with
16963
 
      # underscore (_), so it is better to generate a list of symbols to export.
16964
 
      always_export_symbols_F77=yes
16965
 
      if test "$aix_use_runtimelinking" = yes; then
16966
 
        # Warning - without using the other runtime loading flags (-brtl),
16967
 
        # -berok will link without error, but may produce a broken library.
16968
 
        allow_undefined_flag_F77='-berok'
16969
 
       # Determine the default libpath from the value encoded in an empty executable.
16970
 
       cat >conftest.$ac_ext <<_ACEOF
16971
 
      program main
16972
 
 
16973
 
      end
16974
 
_ACEOF
16975
 
rm -f conftest.$ac_objext conftest$ac_exeext
16976
 
if { (ac_try="$ac_link"
16977
 
case "(($ac_try" in
16978
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16979
 
  *) ac_try_echo=$ac_try;;
16980
 
esac
16981
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16982
 
  (eval "$ac_link") 2>conftest.er1
16983
 
  ac_status=$?
16984
 
  grep -v '^ *+' conftest.er1 >conftest.err
16985
 
  rm -f conftest.er1
16986
 
  cat conftest.err >&5
16987
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988
 
  (exit $ac_status); } && {
16989
 
         test -z "$ac_f77_werror_flag" ||
16990
 
         test ! -s conftest.err
16991
 
       } && test -s conftest$ac_exeext &&
16992
 
       $as_test_x conftest$ac_exeext; then
16993
 
 
16994
 
lt_aix_libpath_sed='
16995
 
    /Import File Strings/,/^$/ {
16996
 
        /^0/ {
16997
 
            s/^0  *\(.*\)$/\1/
16998
 
            p
16999
 
        }
17000
 
    }'
17001
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17002
 
# Check for a 64-bit object if we didn't find anything.
17003
 
if test -z "$aix_libpath"; then
17004
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17005
 
fi
17006
 
else
17007
 
  echo "$as_me: failed program was:" >&5
17008
 
sed 's/^/| /' conftest.$ac_ext >&5
17009
 
 
17010
 
 
17011
 
fi
17012
 
 
17013
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17014
 
      conftest$ac_exeext conftest.$ac_ext
17015
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17016
 
 
17017
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17018
 
        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"
17019
 
       else
17020
 
        if test "$host_cpu" = ia64; then
17021
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17022
 
          allow_undefined_flag_F77="-z nodefs"
17023
 
          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"
17024
 
        else
17025
 
         # Determine the default libpath from the value encoded in an empty executable.
17026
 
         cat >conftest.$ac_ext <<_ACEOF
17027
 
      program main
17028
 
 
17029
 
      end
17030
 
_ACEOF
17031
 
rm -f conftest.$ac_objext conftest$ac_exeext
17032
 
if { (ac_try="$ac_link"
17033
 
case "(($ac_try" in
17034
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17035
 
  *) ac_try_echo=$ac_try;;
17036
 
esac
17037
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17038
 
  (eval "$ac_link") 2>conftest.er1
17039
 
  ac_status=$?
17040
 
  grep -v '^ *+' conftest.er1 >conftest.err
17041
 
  rm -f conftest.er1
17042
 
  cat conftest.err >&5
17043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044
 
  (exit $ac_status); } && {
17045
 
         test -z "$ac_f77_werror_flag" ||
17046
 
         test ! -s conftest.err
17047
 
       } && test -s conftest$ac_exeext &&
17048
 
       $as_test_x conftest$ac_exeext; then
17049
 
 
17050
 
lt_aix_libpath_sed='
17051
 
    /Import File Strings/,/^$/ {
17052
 
        /^0/ {
17053
 
            s/^0  *\(.*\)$/\1/
17054
 
            p
17055
 
        }
17056
 
    }'
17057
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17058
 
# Check for a 64-bit object if we didn't find anything.
17059
 
if test -z "$aix_libpath"; then
17060
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17061
 
fi
17062
 
else
17063
 
  echo "$as_me: failed program was:" >&5
17064
 
sed 's/^/| /' conftest.$ac_ext >&5
17065
 
 
17066
 
 
17067
 
fi
17068
 
 
17069
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17070
 
      conftest$ac_exeext conftest.$ac_ext
17071
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17072
 
 
17073
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17074
 
          # Warning - without using the other run time loading flags,
17075
 
          # -berok will link without error, but may produce a broken library.
17076
 
          no_undefined_flag_F77=' ${wl}-bernotok'
17077
 
          allow_undefined_flag_F77=' ${wl}-berok'
17078
 
          # Exported symbols can be pulled into shared objects from archives
17079
 
          whole_archive_flag_spec_F77='$convenience'
17080
 
          archive_cmds_need_lc_F77=yes
17081
 
          # This is similar to how AIX traditionally builds its shared libraries.
17082
 
          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'
17083
 
        fi
17084
 
      fi
17085
 
      ;;
17086
 
 
17087
 
    amigaos*)
17088
 
      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)'
17089
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17090
 
      hardcode_minus_L_F77=yes
17091
 
      # see comment about different semantics on the GNU ld section
17092
 
      ld_shlibs_F77=no
17093
 
      ;;
17094
 
 
17095
 
    bsdi[45]*)
17096
 
      export_dynamic_flag_spec_F77=-rdynamic
17097
 
      ;;
17098
 
 
17099
 
    cygwin* | mingw* | pw32*)
17100
 
      # When not using gcc, we currently assume that we are using
17101
 
      # Microsoft Visual C++.
17102
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17103
 
      # no search path for DLLs.
17104
 
      hardcode_libdir_flag_spec_F77=' '
17105
 
      allow_undefined_flag_F77=unsupported
17106
 
      # Tell ltmain to make .lib files, not .a files.
17107
 
      libext=lib
17108
 
      # Tell ltmain to make .dll files, not .so files.
17109
 
      shrext_cmds=".dll"
17110
 
      # FIXME: Setting linknames here is a bad hack.
17111
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17112
 
      # The linker will automatically build a .lib file if we build a DLL.
17113
 
      old_archive_From_new_cmds_F77='true'
17114
 
      # FIXME: Should let the user specify the lib program.
17115
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
17116
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
17117
 
      enable_shared_with_static_runtimes_F77=yes
17118
 
      ;;
17119
 
 
17120
 
    darwin* | rhapsody*)
17121
 
      case $host_os in
17122
 
        rhapsody* | darwin1.[012])
17123
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
17124
 
         ;;
17125
 
       *) # Darwin 1.3 on
17126
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17127
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17128
 
         else
17129
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17130
 
             10.[012])
17131
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17132
 
               ;;
17133
 
             10.*)
17134
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
17135
 
               ;;
17136
 
           esac
17137
 
         fi
17138
 
         ;;
17139
 
      esac
17140
 
      archive_cmds_need_lc_F77=no
17141
 
      hardcode_direct_F77=no
17142
 
      hardcode_automatic_F77=yes
17143
 
      hardcode_shlibpath_var_F77=unsupported
17144
 
      whole_archive_flag_spec_F77=''
17145
 
      link_all_deplibs_F77=yes
17146
 
    if test "$GCC" = yes ; then
17147
 
        output_verbose_link_cmd='echo'
17148
 
        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}"
17149
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17150
 
        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}"
17151
 
        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}"
17152
 
    else
17153
 
      case $cc_basename in
17154
 
        xlc*)
17155
 
         output_verbose_link_cmd='echo'
17156
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17157
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17158
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17159
 
         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}'
17160
 
          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}'
17161
 
          ;;
17162
 
       *)
17163
 
         ld_shlibs_F77=no
17164
 
          ;;
17165
 
      esac
17166
 
    fi
17167
 
      ;;
17168
 
 
17169
 
    dgux*)
17170
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17171
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17172
 
      hardcode_shlibpath_var_F77=no
17173
 
      ;;
17174
 
 
17175
 
    freebsd1*)
17176
 
      ld_shlibs_F77=no
17177
 
      ;;
17178
 
 
17179
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17180
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17181
 
    # does not break anything, and helps significantly (at the cost of a little
17182
 
    # extra space).
17183
 
    freebsd2.2*)
17184
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17185
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17186
 
      hardcode_direct_F77=yes
17187
 
      hardcode_shlibpath_var_F77=no
17188
 
      ;;
17189
 
 
17190
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17191
 
    freebsd2*)
17192
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17193
 
      hardcode_direct_F77=yes
17194
 
      hardcode_minus_L_F77=yes
17195
 
      hardcode_shlibpath_var_F77=no
17196
 
      ;;
17197
 
 
17198
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17199
 
    freebsd* | dragonfly*)
17200
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17201
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17202
 
      hardcode_direct_F77=yes
17203
 
      hardcode_shlibpath_var_F77=no
17204
 
      ;;
17205
 
 
17206
 
    hpux9*)
17207
 
      if test "$GCC" = yes; then
17208
 
        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'
17209
 
      else
17210
 
        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'
17211
 
      fi
17212
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17213
 
      hardcode_libdir_separator_F77=:
17214
 
      hardcode_direct_F77=yes
17215
 
 
17216
 
      # hardcode_minus_L: Not really in the search PATH,
17217
 
      # but as the default location of the library.
17218
 
      hardcode_minus_L_F77=yes
17219
 
      export_dynamic_flag_spec_F77='${wl}-E'
17220
 
      ;;
17221
 
 
17222
 
    hpux10*)
17223
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17224
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17225
 
      else
17226
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17227
 
      fi
17228
 
      if test "$with_gnu_ld" = no; then
17229
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17230
 
        hardcode_libdir_separator_F77=:
17231
 
 
17232
 
        hardcode_direct_F77=yes
17233
 
        export_dynamic_flag_spec_F77='${wl}-E'
17234
 
 
17235
 
        # hardcode_minus_L: Not really in the search PATH,
17236
 
        # but as the default location of the library.
17237
 
        hardcode_minus_L_F77=yes
17238
 
      fi
17239
 
      ;;
17240
 
 
17241
 
    hpux11*)
17242
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17243
 
        case $host_cpu in
17244
 
        hppa*64*)
17245
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17246
 
          ;;
17247
 
        ia64*)
17248
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17249
 
          ;;
17250
 
        *)
17251
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17252
 
          ;;
17253
 
        esac
17254
 
      else
17255
 
        case $host_cpu in
17256
 
        hppa*64*)
17257
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17258
 
          ;;
17259
 
        ia64*)
17260
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17261
 
          ;;
17262
 
        *)
17263
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17264
 
          ;;
17265
 
        esac
17266
 
      fi
17267
 
      if test "$with_gnu_ld" = no; then
17268
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17269
 
        hardcode_libdir_separator_F77=:
17270
 
 
17271
 
        case $host_cpu in
17272
 
        hppa*64*|ia64*)
17273
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
17274
 
          hardcode_direct_F77=no
17275
 
          hardcode_shlibpath_var_F77=no
17276
 
          ;;
17277
 
        *)
17278
 
          hardcode_direct_F77=yes
17279
 
          export_dynamic_flag_spec_F77='${wl}-E'
17280
 
 
17281
 
          # hardcode_minus_L: Not really in the search PATH,
17282
 
          # but as the default location of the library.
17283
 
          hardcode_minus_L_F77=yes
17284
 
          ;;
17285
 
        esac
17286
 
      fi
17287
 
      ;;
17288
 
 
17289
 
    irix5* | irix6* | nonstopux*)
17290
 
      if test "$GCC" = yes; then
17291
 
        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'
17292
 
      else
17293
 
        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'
17294
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17295
 
      fi
17296
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17297
 
      hardcode_libdir_separator_F77=:
17298
 
      link_all_deplibs_F77=yes
17299
 
      ;;
17300
 
 
17301
 
    netbsd* | netbsdelf*-gnu)
17302
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17303
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17304
 
      else
17305
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17306
 
      fi
17307
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17308
 
      hardcode_direct_F77=yes
17309
 
      hardcode_shlibpath_var_F77=no
17310
 
      ;;
17311
 
 
17312
 
    newsos6)
17313
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17314
 
      hardcode_direct_F77=yes
17315
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17316
 
      hardcode_libdir_separator_F77=:
17317
 
      hardcode_shlibpath_var_F77=no
17318
 
      ;;
17319
 
 
17320
 
    openbsd*)
17321
 
      if test -f /usr/libexec/ld.so; then
17322
 
        hardcode_direct_F77=yes
17323
 
        hardcode_shlibpath_var_F77=no
17324
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17325
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17326
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17327
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17328
 
          export_dynamic_flag_spec_F77='${wl}-E'
17329
 
        else
17330
 
          case $host_os in
17331
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17332
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17333
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
17334
 
             ;;
17335
 
           *)
17336
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17337
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17338
 
             ;;
17339
 
          esac
17340
 
        fi
17341
 
      else
17342
 
        ld_shlibs_F77=no
17343
 
      fi
17344
 
      ;;
17345
 
 
17346
 
    os2*)
17347
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17348
 
      hardcode_minus_L_F77=yes
17349
 
      allow_undefined_flag_F77=unsupported
17350
 
      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'
17351
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17352
 
      ;;
17353
 
 
17354
 
    osf3*)
17355
 
      if test "$GCC" = yes; then
17356
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17357
 
        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'
17358
 
      else
17359
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
17360
 
        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'
17361
 
      fi
17362
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17363
 
      hardcode_libdir_separator_F77=:
17364
 
      ;;
17365
 
 
17366
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17367
 
      if test "$GCC" = yes; then
17368
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17369
 
        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'
17370
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17371
 
      else
17372
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
17373
 
        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'
17374
 
        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~
17375
 
        $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'
17376
 
 
17377
 
        # Both c and cxx compiler support -rpath directly
17378
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
17379
 
      fi
17380
 
      hardcode_libdir_separator_F77=:
17381
 
      ;;
17382
 
 
17383
 
    solaris*)
17384
 
      no_undefined_flag_F77=' -z text'
17385
 
      if test "$GCC" = yes; then
17386
 
        wlarc='${wl}'
17387
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17388
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17389
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17390
 
      else
17391
 
        wlarc=''
17392
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17393
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17394
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17395
 
      fi
17396
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17397
 
      hardcode_shlibpath_var_F77=no
17398
 
      case $host_os in
17399
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17400
 
      *)
17401
 
        # The compiler driver will combine and reorder linker options,
17402
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
17403
 
        # but is careful enough not to reorder.
17404
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17405
 
        if test "$GCC" = yes; then
17406
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17407
 
        else
17408
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
17409
 
        fi
17410
 
        ;;
17411
 
      esac
17412
 
      link_all_deplibs_F77=yes
17413
 
      ;;
17414
 
 
17415
 
    sunos4*)
17416
 
      if test "x$host_vendor" = xsequent; then
17417
 
        # Use $CC to link under sequent, because it throws in some extra .o
17418
 
        # files that make .init and .fini sections work.
17419
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17420
 
      else
17421
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17422
 
      fi
17423
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17424
 
      hardcode_direct_F77=yes
17425
 
      hardcode_minus_L_F77=yes
17426
 
      hardcode_shlibpath_var_F77=no
17427
 
      ;;
17428
 
 
17429
 
    sysv4)
17430
 
      case $host_vendor in
17431
 
        sni)
17432
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17433
 
          hardcode_direct_F77=yes # is this really true???
17434
 
        ;;
17435
 
        siemens)
17436
 
          ## LD is ld it makes a PLAMLIB
17437
 
          ## CC just makes a GrossModule.
17438
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17439
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
17440
 
          hardcode_direct_F77=no
17441
 
        ;;
17442
 
        motorola)
17443
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17444
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
17445
 
        ;;
17446
 
      esac
17447
 
      runpath_var='LD_RUN_PATH'
17448
 
      hardcode_shlibpath_var_F77=no
17449
 
      ;;
17450
 
 
17451
 
    sysv4.3*)
17452
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17453
 
      hardcode_shlibpath_var_F77=no
17454
 
      export_dynamic_flag_spec_F77='-Bexport'
17455
 
      ;;
17456
 
 
17457
 
    sysv4*MP*)
17458
 
      if test -d /usr/nec; then
17459
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17460
 
        hardcode_shlibpath_var_F77=no
17461
 
        runpath_var=LD_RUN_PATH
17462
 
        hardcode_runpath_var=yes
17463
 
        ld_shlibs_F77=yes
17464
 
      fi
17465
 
      ;;
17466
 
 
17467
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17468
 
      no_undefined_flag_F77='${wl}-z,text'
17469
 
      archive_cmds_need_lc_F77=no
17470
 
      hardcode_shlibpath_var_F77=no
17471
 
      runpath_var='LD_RUN_PATH'
17472
 
 
17473
 
      if test "$GCC" = yes; then
17474
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17475
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17476
 
      else
17477
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17478
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17479
 
      fi
17480
 
      ;;
17481
 
 
17482
 
    sysv5* | sco3.2v5* | sco5v6*)
17483
 
      # Note: We can NOT use -z defs as we might desire, because we do not
17484
 
      # link with -lc, and that would cause any symbols used from libc to
17485
 
      # always be unresolved, which means just about no library would
17486
 
      # ever link correctly.  If we're not using GNU ld we use -z text
17487
 
      # though, which does catch some bad symbols but isn't as heavy-handed
17488
 
      # as -z defs.
17489
 
      no_undefined_flag_F77='${wl}-z,text'
17490
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
17491
 
      archive_cmds_need_lc_F77=no
17492
 
      hardcode_shlibpath_var_F77=no
17493
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17494
 
      hardcode_libdir_separator_F77=':'
17495
 
      link_all_deplibs_F77=yes
17496
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
17497
 
      runpath_var='LD_RUN_PATH'
17498
 
 
17499
 
      if test "$GCC" = yes; then
17500
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17501
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17502
 
      else
17503
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17504
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17505
 
      fi
17506
 
      ;;
17507
 
 
17508
 
    uts4*)
17509
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17510
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17511
 
      hardcode_shlibpath_var_F77=no
17512
 
      ;;
17513
 
 
17514
 
    *)
17515
 
      ld_shlibs_F77=no
17516
 
      ;;
17517
 
    esac
17518
 
  fi
17519
 
 
17520
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17521
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17522
 
test "$ld_shlibs_F77" = no && can_build_shared=no
17523
 
 
17524
 
#
17525
 
# Do we need to explicitly link libc?
17526
 
#
17527
 
case "x$archive_cmds_need_lc_F77" in
17528
 
x|xyes)
17529
 
  # Assume -lc should be added
17530
 
  archive_cmds_need_lc_F77=yes
17531
 
 
17532
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
17533
 
    case $archive_cmds_F77 in
17534
 
    *'~'*)
17535
 
      # FIXME: we may have to deal with multi-command sequences.
17536
 
      ;;
17537
 
    '$CC '*)
17538
 
      # Test whether the compiler implicitly links with -lc since on some
17539
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17540
 
      # to ld, don't add -lc before -lgcc.
17541
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17542
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17543
 
      $rm conftest*
17544
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17545
 
 
17546
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17547
 
  (eval $ac_compile) 2>&5
17548
 
  ac_status=$?
17549
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550
 
  (exit $ac_status); } 2>conftest.err; then
17551
 
        soname=conftest
17552
 
        lib=conftest
17553
 
        libobjs=conftest.$ac_objext
17554
 
        deplibs=
17555
 
        wl=$lt_prog_compiler_wl_F77
17556
 
        pic_flag=$lt_prog_compiler_pic_F77
17557
 
        compiler_flags=-v
17558
 
        linker_flags=-v
17559
 
        verstring=
17560
 
        output_objdir=.
17561
 
        libname=conftest
17562
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
17563
 
        allow_undefined_flag_F77=
17564
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17565
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17566
 
  ac_status=$?
17567
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17568
 
  (exit $ac_status); }
17569
 
        then
17570
 
          archive_cmds_need_lc_F77=no
17571
 
        else
17572
 
          archive_cmds_need_lc_F77=yes
17573
 
        fi
17574
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
17575
 
      else
17576
 
        cat conftest.err 1>&5
17577
 
      fi
17578
 
      $rm conftest*
17579
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17580
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
17581
 
      ;;
17582
 
    esac
17583
 
  fi
17584
 
  ;;
17585
 
esac
17586
 
 
17587
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17588
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17589
 
library_names_spec=
17590
 
libname_spec='lib$name'
17591
 
soname_spec=
17592
 
shrext_cmds=".so"
17593
 
postinstall_cmds=
17594
 
postuninstall_cmds=
17595
 
finish_cmds=
17596
 
finish_eval=
17597
 
shlibpath_var=
17598
 
shlibpath_overrides_runpath=unknown
17599
 
version_type=none
17600
 
dynamic_linker="$host_os ld.so"
17601
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17602
 
 
17603
 
need_lib_prefix=unknown
17604
 
hardcode_into_libs=no
17605
 
 
17606
 
# when you set need_version to no, make sure it does not cause -set_version
17607
 
# flags to be left without arguments
17608
 
need_version=unknown
17609
 
 
17610
 
case $host_os in
17611
 
aix3*)
17612
 
  version_type=linux
17613
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17614
 
  shlibpath_var=LIBPATH
17615
 
 
17616
 
  # AIX 3 has no versioning support, so we append a major version to the name.
17617
 
  soname_spec='${libname}${release}${shared_ext}$major'
17618
 
  ;;
17619
 
 
17620
 
aix[4-9]*)
17621
 
  version_type=linux
17622
 
  need_lib_prefix=no
17623
 
  need_version=no
17624
 
  hardcode_into_libs=yes
17625
 
  if test "$host_cpu" = ia64; then
17626
 
    # AIX 5 supports IA64
17627
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17628
 
    shlibpath_var=LD_LIBRARY_PATH
17629
 
  else
17630
 
    # With GCC up to 2.95.x, collect2 would create an import file
17631
 
    # for dependence libraries.  The import file would start with
17632
 
    # the line `#! .'.  This would cause the generated library to
17633
 
    # depend on `.', always an invalid library.  This was fixed in
17634
 
    # development snapshots of GCC prior to 3.0.
17635
 
    case $host_os in
17636
 
      aix4 | aix4.[01] | aix4.[01].*)
17637
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17638
 
           echo ' yes '
17639
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17640
 
        :
17641
 
      else
17642
 
        can_build_shared=no
17643
 
      fi
17644
 
      ;;
17645
 
    esac
17646
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17647
 
    # soname into executable. Probably we can add versioning support to
17648
 
    # collect2, so additional links can be useful in future.
17649
 
    if test "$aix_use_runtimelinking" = yes; then
17650
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17651
 
      # instead of lib<name>.a to let people know that these are not
17652
 
      # typical AIX shared libraries.
17653
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17654
 
    else
17655
 
      # We preserve .a as extension for shared libraries through AIX4.2
17656
 
      # and later when we are not doing run time linking.
17657
 
      library_names_spec='${libname}${release}.a $libname.a'
17658
 
      soname_spec='${libname}${release}${shared_ext}$major'
17659
 
    fi
17660
 
    shlibpath_var=LIBPATH
17661
 
  fi
17662
 
  ;;
17663
 
 
17664
 
amigaos*)
17665
 
  library_names_spec='$libname.ixlibrary $libname.a'
17666
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
17667
 
  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'
17668
 
  ;;
17669
 
 
17670
 
beos*)
17671
 
  library_names_spec='${libname}${shared_ext}'
17672
 
  dynamic_linker="$host_os ld.so"
17673
 
  shlibpath_var=LIBRARY_PATH
17674
 
  ;;
17675
 
 
17676
 
bsdi[45]*)
17677
 
  version_type=linux
17678
 
  need_version=no
17679
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17680
 
  soname_spec='${libname}${release}${shared_ext}$major'
17681
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17682
 
  shlibpath_var=LD_LIBRARY_PATH
17683
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17684
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17685
 
  # the default ld.so.conf also contains /usr/contrib/lib and
17686
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17687
 
  # libtool to hard-code these into programs
17688
 
  ;;
17689
 
 
17690
 
cygwin* | mingw* | pw32*)
17691
 
  version_type=windows
17692
 
  shrext_cmds=".dll"
17693
 
  need_version=no
17694
 
  need_lib_prefix=no
17695
 
 
17696
 
  case $GCC,$host_os in
17697
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
17698
 
    library_names_spec='$libname.dll.a'
17699
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17700
 
    postinstall_cmds='base_file=`basename \${file}`~
17701
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17702
 
      dldir=$destdir/`dirname \$dlpath`~
17703
 
      test -d \$dldir || mkdir -p \$dldir~
17704
 
      $install_prog $dir/$dlname \$dldir/$dlname~
17705
 
      chmod a+x \$dldir/$dlname'
17706
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17707
 
      dlpath=$dir/\$dldll~
17708
 
       $rm \$dlpath'
17709
 
    shlibpath_overrides_runpath=yes
17710
 
 
17711
 
    case $host_os in
17712
 
    cygwin*)
17713
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17714
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17715
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17716
 
      ;;
17717
 
    mingw*)
17718
 
      # MinGW DLLs use traditional 'lib' prefix
17719
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17720
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17721
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17722
 
        # It is most probably a Windows format PATH printed by
17723
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
17724
 
        # path with ; separators, and with drive letters. We can handle the
17725
 
        # drive letters (cygwin fileutils understands them), so leave them,
17726
 
        # especially as we might pass files found there to a mingw objdump,
17727
 
        # which wouldn't understand a cygwinified path. Ahh.
17728
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17729
 
      else
17730
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17731
 
      fi
17732
 
      ;;
17733
 
    pw32*)
17734
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17735
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17736
 
      ;;
17737
 
    esac
17738
 
    ;;
17739
 
 
17740
 
  *)
17741
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17742
 
    ;;
17743
 
  esac
17744
 
  dynamic_linker='Win32 ld.exe'
17745
 
  # FIXME: first we should search . and the directory the executable is in
17746
 
  shlibpath_var=PATH
17747
 
  ;;
17748
 
 
17749
 
darwin* | rhapsody*)
17750
 
  dynamic_linker="$host_os dyld"
17751
 
  version_type=darwin
17752
 
  need_lib_prefix=no
17753
 
  need_version=no
17754
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17755
 
  soname_spec='${libname}${release}${major}$shared_ext'
17756
 
  shlibpath_overrides_runpath=yes
17757
 
  shlibpath_var=DYLD_LIBRARY_PATH
17758
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17759
 
 
17760
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17761
 
  ;;
17762
 
 
17763
 
dgux*)
17764
 
  version_type=linux
17765
 
  need_lib_prefix=no
17766
 
  need_version=no
17767
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17768
 
  soname_spec='${libname}${release}${shared_ext}$major'
17769
 
  shlibpath_var=LD_LIBRARY_PATH
17770
 
  ;;
17771
 
 
17772
 
freebsd1*)
17773
 
  dynamic_linker=no
17774
 
  ;;
17775
 
 
17776
 
freebsd* | dragonfly*)
17777
 
  # DragonFly does not have aout.  When/if they implement a new
17778
 
  # versioning mechanism, adjust this.
17779
 
  if test -x /usr/bin/objformat; then
17780
 
    objformat=`/usr/bin/objformat`
17781
 
  else
17782
 
    case $host_os in
17783
 
    freebsd[123]*) objformat=aout ;;
17784
 
    *) objformat=elf ;;
17785
 
    esac
17786
 
  fi
17787
 
  version_type=freebsd-$objformat
17788
 
  case $version_type in
17789
 
    freebsd-elf*)
17790
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17791
 
      need_version=no
17792
 
      need_lib_prefix=no
17793
 
      ;;
17794
 
    freebsd-*)
17795
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17796
 
      need_version=yes
17797
 
      ;;
17798
 
  esac
17799
 
  shlibpath_var=LD_LIBRARY_PATH
17800
 
  case $host_os in
17801
 
  freebsd2*)
17802
 
    shlibpath_overrides_runpath=yes
17803
 
    ;;
17804
 
  freebsd3.[01]* | freebsdelf3.[01]*)
17805
 
    shlibpath_overrides_runpath=yes
17806
 
    hardcode_into_libs=yes
17807
 
    ;;
17808
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17809
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17810
 
    shlibpath_overrides_runpath=no
17811
 
    hardcode_into_libs=yes
17812
 
    ;;
17813
 
  *) # from 4.6 on, and DragonFly
17814
 
    shlibpath_overrides_runpath=yes
17815
 
    hardcode_into_libs=yes
17816
 
    ;;
17817
 
  esac
17818
 
  ;;
17819
 
 
17820
 
gnu*)
17821
 
  version_type=linux
17822
 
  need_lib_prefix=no
17823
 
  need_version=no
17824
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17825
 
  soname_spec='${libname}${release}${shared_ext}$major'
17826
 
  shlibpath_var=LD_LIBRARY_PATH
17827
 
  hardcode_into_libs=yes
17828
 
  ;;
17829
 
 
17830
 
hpux9* | hpux10* | hpux11*)
17831
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
17832
 
  # link against other versions.
17833
 
  version_type=sunos
17834
 
  need_lib_prefix=no
17835
 
  need_version=no
17836
 
  case $host_cpu in
17837
 
  ia64*)
17838
 
    shrext_cmds='.so'
17839
 
    hardcode_into_libs=yes
17840
 
    dynamic_linker="$host_os dld.so"
17841
 
    shlibpath_var=LD_LIBRARY_PATH
17842
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17843
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17844
 
    soname_spec='${libname}${release}${shared_ext}$major'
17845
 
    if test "X$HPUX_IA64_MODE" = X32; then
17846
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17847
 
    else
17848
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17849
 
    fi
17850
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17851
 
    ;;
17852
 
   hppa*64*)
17853
 
     shrext_cmds='.sl'
17854
 
     hardcode_into_libs=yes
17855
 
     dynamic_linker="$host_os dld.sl"
17856
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17857
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17858
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17859
 
     soname_spec='${libname}${release}${shared_ext}$major'
17860
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17861
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17862
 
     ;;
17863
 
   *)
17864
 
    shrext_cmds='.sl'
17865
 
    dynamic_linker="$host_os dld.sl"
17866
 
    shlibpath_var=SHLIB_PATH
17867
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17868
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17869
 
    soname_spec='${libname}${release}${shared_ext}$major'
17870
 
    ;;
17871
 
  esac
17872
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
17873
 
  postinstall_cmds='chmod 555 $lib'
17874
 
  ;;
17875
 
 
17876
 
interix[3-9]*)
17877
 
  version_type=linux
17878
 
  need_lib_prefix=no
17879
 
  need_version=no
17880
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17881
 
  soname_spec='${libname}${release}${shared_ext}$major'
17882
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17883
 
  shlibpath_var=LD_LIBRARY_PATH
17884
 
  shlibpath_overrides_runpath=no
17885
 
  hardcode_into_libs=yes
17886
 
  ;;
17887
 
 
17888
 
irix5* | irix6* | nonstopux*)
17889
 
  case $host_os in
17890
 
    nonstopux*) version_type=nonstopux ;;
17891
 
    *)
17892
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
17893
 
                version_type=linux
17894
 
        else
17895
 
                version_type=irix
17896
 
        fi ;;
17897
 
  esac
17898
 
  need_lib_prefix=no
17899
 
  need_version=no
17900
 
  soname_spec='${libname}${release}${shared_ext}$major'
17901
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17902
 
  case $host_os in
17903
 
  irix5* | nonstopux*)
17904
 
    libsuff= shlibsuff=
17905
 
    ;;
17906
 
  *)
17907
 
    case $LD in # libtool.m4 will add one of these switches to LD
17908
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17909
 
      libsuff= shlibsuff= libmagic=32-bit;;
17910
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17911
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
17912
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17913
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
17914
 
    *) libsuff= shlibsuff= libmagic=never-match;;
17915
 
    esac
17916
 
    ;;
17917
 
  esac
17918
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17919
 
  shlibpath_overrides_runpath=no
17920
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17921
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17922
 
  hardcode_into_libs=yes
17923
 
  ;;
17924
 
 
17925
 
# No shared lib support for Linux oldld, aout, or coff.
17926
 
linux*oldld* | linux*aout* | linux*coff*)
17927
 
  dynamic_linker=no
17928
 
  ;;
17929
 
 
17930
 
# This must be Linux ELF.
17931
 
linux* | k*bsd*-gnu)
17932
 
  version_type=linux
17933
 
  need_lib_prefix=no
17934
 
  need_version=no
17935
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17936
 
  soname_spec='${libname}${release}${shared_ext}$major'
17937
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17938
 
  shlibpath_var=LD_LIBRARY_PATH
17939
 
  shlibpath_overrides_runpath=no
17940
 
  # This implies no fast_install, which is unacceptable.
17941
 
  # Some rework will be needed to allow for fast_install
17942
 
  # before this can be enabled.
17943
 
  hardcode_into_libs=yes
17944
 
 
17945
 
  # Append ld.so.conf contents to the search path
17946
 
  if test -f /etc/ld.so.conf; then
17947
 
    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' ' '`
17948
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17949
 
  fi
17950
 
 
17951
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17952
 
  # powerpc, because MkLinux only supported shared libraries with the
17953
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
17954
 
  # most powerpc-linux boxes support dynamic linking these days and
17955
 
  # people can always --disable-shared, the test was removed, and we
17956
 
  # assume the GNU/Linux dynamic linker is in use.
17957
 
  dynamic_linker='GNU/Linux ld.so'
17958
 
  ;;
17959
 
 
17960
 
netbsdelf*-gnu)
17961
 
  version_type=linux
17962
 
  need_lib_prefix=no
17963
 
  need_version=no
17964
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17965
 
  soname_spec='${libname}${release}${shared_ext}$major'
17966
 
  shlibpath_var=LD_LIBRARY_PATH
17967
 
  shlibpath_overrides_runpath=no
17968
 
  hardcode_into_libs=yes
17969
 
  dynamic_linker='NetBSD ld.elf_so'
17970
 
  ;;
17971
 
 
17972
 
netbsd*)
17973
 
  version_type=sunos
17974
 
  need_lib_prefix=no
17975
 
  need_version=no
17976
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17977
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17978
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17979
 
    dynamic_linker='NetBSD (a.out) ld.so'
17980
 
  else
17981
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17982
 
    soname_spec='${libname}${release}${shared_ext}$major'
17983
 
    dynamic_linker='NetBSD ld.elf_so'
17984
 
  fi
17985
 
  shlibpath_var=LD_LIBRARY_PATH
17986
 
  shlibpath_overrides_runpath=yes
17987
 
  hardcode_into_libs=yes
17988
 
  ;;
17989
 
 
17990
 
newsos6)
17991
 
  version_type=linux
17992
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17993
 
  shlibpath_var=LD_LIBRARY_PATH
17994
 
  shlibpath_overrides_runpath=yes
17995
 
  ;;
17996
 
 
17997
 
nto-qnx*)
17998
 
  version_type=linux
17999
 
  need_lib_prefix=no
18000
 
  need_version=no
18001
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18002
 
  soname_spec='${libname}${release}${shared_ext}$major'
18003
 
  shlibpath_var=LD_LIBRARY_PATH
18004
 
  shlibpath_overrides_runpath=yes
18005
 
  ;;
18006
 
 
18007
 
openbsd*)
18008
 
  version_type=sunos
18009
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18010
 
  need_lib_prefix=no
18011
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18012
 
  case $host_os in
18013
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18014
 
    *)                         need_version=no  ;;
18015
 
  esac
18016
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18017
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18018
 
  shlibpath_var=LD_LIBRARY_PATH
18019
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18020
 
    case $host_os in
18021
 
      openbsd2.[89] | openbsd2.[89].*)
18022
 
        shlibpath_overrides_runpath=no
18023
 
        ;;
18024
 
      *)
18025
 
        shlibpath_overrides_runpath=yes
18026
 
        ;;
18027
 
      esac
18028
 
  else
18029
 
    shlibpath_overrides_runpath=yes
18030
 
  fi
18031
 
  ;;
18032
 
 
18033
 
os2*)
18034
 
  libname_spec='$name'
18035
 
  shrext_cmds=".dll"
18036
 
  need_lib_prefix=no
18037
 
  library_names_spec='$libname${shared_ext} $libname.a'
18038
 
  dynamic_linker='OS/2 ld.exe'
18039
 
  shlibpath_var=LIBPATH
18040
 
  ;;
18041
 
 
18042
 
osf3* | osf4* | osf5*)
18043
 
  version_type=osf
18044
 
  need_lib_prefix=no
18045
 
  need_version=no
18046
 
  soname_spec='${libname}${release}${shared_ext}$major'
18047
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18048
 
  shlibpath_var=LD_LIBRARY_PATH
18049
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18050
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18051
 
  ;;
18052
 
 
18053
 
rdos*)
18054
 
  dynamic_linker=no
18055
 
  ;;
18056
 
 
18057
 
solaris*)
18058
 
  version_type=linux
18059
 
  need_lib_prefix=no
18060
 
  need_version=no
18061
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18062
 
  soname_spec='${libname}${release}${shared_ext}$major'
18063
 
  shlibpath_var=LD_LIBRARY_PATH
18064
 
  shlibpath_overrides_runpath=yes
18065
 
  hardcode_into_libs=yes
18066
 
  # ldd complains unless libraries are executable
18067
 
  postinstall_cmds='chmod +x $lib'
18068
 
  ;;
18069
 
 
18070
 
sunos4*)
18071
 
  version_type=sunos
18072
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18073
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18074
 
  shlibpath_var=LD_LIBRARY_PATH
18075
 
  shlibpath_overrides_runpath=yes
18076
 
  if test "$with_gnu_ld" = yes; then
18077
 
    need_lib_prefix=no
18078
 
  fi
18079
 
  need_version=yes
18080
 
  ;;
18081
 
 
18082
 
sysv4 | sysv4.3*)
18083
 
  version_type=linux
18084
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18085
 
  soname_spec='${libname}${release}${shared_ext}$major'
18086
 
  shlibpath_var=LD_LIBRARY_PATH
18087
 
  case $host_vendor in
18088
 
    sni)
18089
 
      shlibpath_overrides_runpath=no
18090
 
      need_lib_prefix=no
18091
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18092
 
      runpath_var=LD_RUN_PATH
18093
 
      ;;
18094
 
    siemens)
18095
 
      need_lib_prefix=no
18096
 
      ;;
18097
 
    motorola)
18098
 
      need_lib_prefix=no
18099
 
      need_version=no
18100
 
      shlibpath_overrides_runpath=no
18101
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18102
 
      ;;
18103
 
  esac
18104
 
  ;;
18105
 
 
18106
 
sysv4*MP*)
18107
 
  if test -d /usr/nec ;then
18108
 
    version_type=linux
18109
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18110
 
    soname_spec='$libname${shared_ext}.$major'
18111
 
    shlibpath_var=LD_LIBRARY_PATH
18112
 
  fi
18113
 
  ;;
18114
 
 
18115
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18116
 
  version_type=freebsd-elf
18117
 
  need_lib_prefix=no
18118
 
  need_version=no
18119
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18120
 
  soname_spec='${libname}${release}${shared_ext}$major'
18121
 
  shlibpath_var=LD_LIBRARY_PATH
18122
 
  hardcode_into_libs=yes
18123
 
  if test "$with_gnu_ld" = yes; then
18124
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18125
 
    shlibpath_overrides_runpath=no
18126
 
  else
18127
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18128
 
    shlibpath_overrides_runpath=yes
18129
 
    case $host_os in
18130
 
      sco3.2v5*)
18131
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18132
 
        ;;
18133
 
    esac
18134
 
  fi
18135
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18136
 
  ;;
18137
 
 
18138
 
uts4*)
18139
 
  version_type=linux
18140
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18141
 
  soname_spec='${libname}${release}${shared_ext}$major'
18142
 
  shlibpath_var=LD_LIBRARY_PATH
18143
 
  ;;
18144
 
 
18145
 
*)
18146
 
  dynamic_linker=no
18147
 
  ;;
18148
 
esac
18149
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18150
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18151
 
test "$dynamic_linker" = no && can_build_shared=no
18152
 
 
18153
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18154
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18155
 
else
18156
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
18157
 
fi
18158
 
 
18159
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18160
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18161
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18162
 
else
18163
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
18164
 
fi
18165
 
 
18166
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18167
 
 
18168
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18169
 
if test "$GCC" = yes; then
18170
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18171
 
fi
18172
 
 
18173
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18174
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18175
 
hardcode_action_F77=
18176
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
18177
 
   test -n "$runpath_var_F77" || \
18178
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
18179
 
 
18180
 
  # We can hardcode non-existant directories.
18181
 
  if test "$hardcode_direct_F77" != no &&
18182
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18183
 
     # have to relink, otherwise we might link with an installed library
18184
 
     # when we should be linking with a yet-to-be-installed one
18185
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18186
 
     test "$hardcode_minus_L_F77" != no; then
18187
 
    # Linking always hardcodes the temporary library directory.
18188
 
    hardcode_action_F77=relink
18189
 
  else
18190
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18191
 
    hardcode_action_F77=immediate
18192
 
  fi
18193
 
else
18194
 
  # We cannot hardcode anything, or else we can only hardcode existing
18195
 
  # directories.
18196
 
  hardcode_action_F77=unsupported
18197
 
fi
18198
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18199
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
18200
 
 
18201
 
if test "$hardcode_action_F77" = relink; then
18202
 
  # Fast installation is not supported
18203
 
  enable_fast_install=no
18204
 
elif test "$shlibpath_overrides_runpath" = yes ||
18205
 
     test "$enable_shared" = no; then
18206
 
  # Fast installation is not necessary
18207
 
  enable_fast_install=needless
18208
 
fi
18209
 
 
18210
 
 
18211
 
# The else clause should only fire when bootstrapping the
18212
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18213
 
# with your package, and you will get complaints that there are
18214
 
# no rules to generate ltmain.sh.
18215
 
if test -f "$ltmain"; then
18216
 
  # See if we are running on zsh, and set the options which allow our commands through
18217
 
  # without removal of \ escapes.
18218
 
  if test -n "${ZSH_VERSION+set}" ; then
18219
 
    setopt NO_GLOB_SUBST
18220
 
  fi
18221
 
  # Now quote all the things that may contain metacharacters while being
18222
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18223
 
  # variables and quote the copies for generation of the libtool script.
18224
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18225
 
    SED SHELL STRIP \
18226
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18227
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18228
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18229
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18230
 
    lt_cv_sys_global_symbol_to_c_name_address \
18231
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18232
 
    old_postinstall_cmds old_postuninstall_cmds \
18233
 
    compiler_F77 \
18234
 
    CC_F77 \
18235
 
    LD_F77 \
18236
 
    lt_prog_compiler_wl_F77 \
18237
 
    lt_prog_compiler_pic_F77 \
18238
 
    lt_prog_compiler_static_F77 \
18239
 
    lt_prog_compiler_no_builtin_flag_F77 \
18240
 
    export_dynamic_flag_spec_F77 \
18241
 
    thread_safe_flag_spec_F77 \
18242
 
    whole_archive_flag_spec_F77 \
18243
 
    enable_shared_with_static_runtimes_F77 \
18244
 
    old_archive_cmds_F77 \
18245
 
    old_archive_from_new_cmds_F77 \
18246
 
    predep_objects_F77 \
18247
 
    postdep_objects_F77 \
18248
 
    predeps_F77 \
18249
 
    postdeps_F77 \
18250
 
    compiler_lib_search_path_F77 \
18251
 
    compiler_lib_search_dirs_F77 \
18252
 
    archive_cmds_F77 \
18253
 
    archive_expsym_cmds_F77 \
18254
 
    postinstall_cmds_F77 \
18255
 
    postuninstall_cmds_F77 \
18256
 
    old_archive_from_expsyms_cmds_F77 \
18257
 
    allow_undefined_flag_F77 \
18258
 
    no_undefined_flag_F77 \
18259
 
    export_symbols_cmds_F77 \
18260
 
    hardcode_libdir_flag_spec_F77 \
18261
 
    hardcode_libdir_flag_spec_ld_F77 \
18262
 
    hardcode_libdir_separator_F77 \
18263
 
    hardcode_automatic_F77 \
18264
 
    module_cmds_F77 \
18265
 
    module_expsym_cmds_F77 \
18266
 
    lt_cv_prog_compiler_c_o_F77 \
18267
 
    fix_srcfile_path_F77 \
18268
 
    exclude_expsyms_F77 \
18269
 
    include_expsyms_F77; do
18270
 
 
18271
 
    case $var in
18272
 
    old_archive_cmds_F77 | \
18273
 
    old_archive_from_new_cmds_F77 | \
18274
 
    archive_cmds_F77 | \
18275
 
    archive_expsym_cmds_F77 | \
18276
 
    module_cmds_F77 | \
18277
 
    module_expsym_cmds_F77 | \
18278
 
    old_archive_from_expsyms_cmds_F77 | \
18279
 
    export_symbols_cmds_F77 | \
18280
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18281
 
    postinstall_cmds | postuninstall_cmds | \
18282
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18283
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18284
 
      # Double-quote double-evaled strings.
18285
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18286
 
      ;;
18287
 
    *)
18288
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18289
 
      ;;
18290
 
    esac
18291
 
  done
18292
 
 
18293
 
  case $lt_echo in
18294
 
  *'\$0 --fallback-echo"')
18295
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18296
 
    ;;
18297
 
  esac
18298
 
 
18299
 
cfgfile="$ofile"
18300
 
 
18301
 
  cat <<__EOF__ >> "$cfgfile"
18302
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18303
 
 
18304
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18305
 
 
18306
 
# Shell to use when invoking shell scripts.
18307
 
SHELL=$lt_SHELL
18308
 
 
18309
 
# Whether or not to build shared libraries.
18310
 
build_libtool_libs=$enable_shared
18311
 
 
18312
 
# Whether or not to build static libraries.
18313
 
build_old_libs=$enable_static
18314
 
 
18315
 
# Whether or not to add -lc for building shared libraries.
18316
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
18317
 
 
18318
 
# Whether or not to disallow shared libs when runtime libs are static
18319
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18320
 
 
18321
 
# Whether or not to optimize for fast installation.
18322
 
fast_install=$enable_fast_install
18323
 
 
18324
 
# The host system.
18325
 
host_alias=$host_alias
18326
 
host=$host
18327
 
host_os=$host_os
18328
 
 
18329
 
# The build system.
18330
 
build_alias=$build_alias
18331
 
build=$build
18332
 
build_os=$build_os
18333
 
 
18334
 
# An echo program that does not interpret backslashes.
18335
 
echo=$lt_echo
18336
 
 
18337
 
# The archiver.
18338
 
AR=$lt_AR
18339
 
AR_FLAGS=$lt_AR_FLAGS
18340
 
 
18341
 
# A C compiler.
18342
 
LTCC=$lt_LTCC
18343
 
 
18344
 
# LTCC compiler flags.
18345
 
LTCFLAGS=$lt_LTCFLAGS
18346
 
 
18347
 
# A language-specific compiler.
18348
 
CC=$lt_compiler_F77
18349
 
 
18350
 
# Is the compiler the GNU C compiler?
18351
 
with_gcc=$GCC_F77
18352
 
 
18353
 
# An ERE matcher.
18354
 
EGREP=$lt_EGREP
18355
 
 
18356
 
# The linker used to build libraries.
18357
 
LD=$lt_LD_F77
18358
 
 
18359
 
# Whether we need hard or soft links.
18360
 
LN_S=$lt_LN_S
18361
 
 
18362
 
# A BSD-compatible nm program.
18363
 
NM=$lt_NM
18364
 
 
18365
 
# A symbol stripping program
18366
 
STRIP=$lt_STRIP
18367
 
 
18368
 
# Used to examine libraries when file_magic_cmd begins "file"
18369
 
MAGIC_CMD=$MAGIC_CMD
18370
 
 
18371
 
# Used on cygwin: DLL creation program.
18372
 
DLLTOOL="$DLLTOOL"
18373
 
 
18374
 
# Used on cygwin: object dumper.
18375
 
OBJDUMP="$OBJDUMP"
18376
 
 
18377
 
# Used on cygwin: assembler.
18378
 
AS="$AS"
18379
 
 
18380
 
# The name of the directory that contains temporary libtool files.
18381
 
objdir=$objdir
18382
 
 
18383
 
# How to create reloadable object files.
18384
 
reload_flag=$lt_reload_flag
18385
 
reload_cmds=$lt_reload_cmds
18386
 
 
18387
 
# How to pass a linker flag through the compiler.
18388
 
wl=$lt_lt_prog_compiler_wl_F77
18389
 
 
18390
 
# Object file suffix (normally "o").
18391
 
objext="$ac_objext"
18392
 
 
18393
 
# Old archive suffix (normally "a").
18394
 
libext="$libext"
18395
 
 
18396
 
# Shared library suffix (normally ".so").
18397
 
shrext_cmds='$shrext_cmds'
18398
 
 
18399
 
# Executable file suffix (normally "").
18400
 
exeext="$exeext"
18401
 
 
18402
 
# Additional compiler flags for building library objects.
18403
 
pic_flag=$lt_lt_prog_compiler_pic_F77
18404
 
pic_mode=$pic_mode
18405
 
 
18406
 
# What is the maximum length of a command?
18407
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18408
 
 
18409
 
# Does compiler simultaneously support -c and -o options?
18410
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18411
 
 
18412
 
# Must we lock files when doing compilation?
18413
 
need_locks=$lt_need_locks
18414
 
 
18415
 
# Do we need the lib prefix for modules?
18416
 
need_lib_prefix=$need_lib_prefix
18417
 
 
18418
 
# Do we need a version for libraries?
18419
 
need_version=$need_version
18420
 
 
18421
 
# Whether dlopen is supported.
18422
 
dlopen_support=$enable_dlopen
18423
 
 
18424
 
# Whether dlopen of programs is supported.
18425
 
dlopen_self=$enable_dlopen_self
18426
 
 
18427
 
# Whether dlopen of statically linked programs is supported.
18428
 
dlopen_self_static=$enable_dlopen_self_static
18429
 
 
18430
 
# Compiler flag to prevent dynamic linking.
18431
 
link_static_flag=$lt_lt_prog_compiler_static_F77
18432
 
 
18433
 
# Compiler flag to turn off builtin functions.
18434
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18435
 
 
18436
 
# Compiler flag to allow reflexive dlopens.
18437
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18438
 
 
18439
 
# Compiler flag to generate shared objects directly from archives.
18440
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18441
 
 
18442
 
# Compiler flag to generate thread-safe objects.
18443
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18444
 
 
18445
 
# Library versioning type.
18446
 
version_type=$version_type
18447
 
 
18448
 
# Format of library name prefix.
18449
 
libname_spec=$lt_libname_spec
18450
 
 
18451
 
# List of archive names.  First name is the real one, the rest are links.
18452
 
# The last name is the one that the linker finds with -lNAME.
18453
 
library_names_spec=$lt_library_names_spec
18454
 
 
18455
 
# The coded name of the library, if different from the real name.
18456
 
soname_spec=$lt_soname_spec
18457
 
 
18458
 
# Commands used to build and install an old-style archive.
18459
 
RANLIB=$lt_RANLIB
18460
 
old_archive_cmds=$lt_old_archive_cmds_F77
18461
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18462
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18463
 
 
18464
 
# Create an old-style archive from a shared archive.
18465
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18466
 
 
18467
 
# Create a temporary old-style archive to link instead of a shared archive.
18468
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18469
 
 
18470
 
# Commands used to build and install a shared archive.
18471
 
archive_cmds=$lt_archive_cmds_F77
18472
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18473
 
postinstall_cmds=$lt_postinstall_cmds
18474
 
postuninstall_cmds=$lt_postuninstall_cmds
18475
 
 
18476
 
# Commands used to build a loadable module (assumed same as above if empty)
18477
 
module_cmds=$lt_module_cmds_F77
18478
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
18479
 
 
18480
 
# Commands to strip libraries.
18481
 
old_striplib=$lt_old_striplib
18482
 
striplib=$lt_striplib
18483
 
 
18484
 
# Dependencies to place before the objects being linked to create a
18485
 
# shared library.
18486
 
predep_objects=$lt_predep_objects_F77
18487
 
 
18488
 
# Dependencies to place after the objects being linked to create a
18489
 
# shared library.
18490
 
postdep_objects=$lt_postdep_objects_F77
18491
 
 
18492
 
# Dependencies to place before the objects being linked to create a
18493
 
# shared library.
18494
 
predeps=$lt_predeps_F77
18495
 
 
18496
 
# Dependencies to place after the objects being linked to create a
18497
 
# shared library.
18498
 
postdeps=$lt_postdeps_F77
18499
 
 
18500
 
# The directories searched by this compiler when creating a shared
18501
 
# library
18502
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
18503
 
 
18504
 
# The library search path used internally by the compiler when linking
18505
 
# a shared library.
18506
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18507
 
 
18508
 
# Method to check whether dependent libraries are shared objects.
18509
 
deplibs_check_method=$lt_deplibs_check_method
18510
 
 
18511
 
# Command to use when deplibs_check_method == file_magic.
18512
 
file_magic_cmd=$lt_file_magic_cmd
18513
 
 
18514
 
# Flag that allows shared libraries with undefined symbols to be built.
18515
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
18516
 
 
18517
 
# Flag that forces no undefined symbols.
18518
 
no_undefined_flag=$lt_no_undefined_flag_F77
18519
 
 
18520
 
# Commands used to finish a libtool library installation in a directory.
18521
 
finish_cmds=$lt_finish_cmds
18522
 
 
18523
 
# Same as above, but a single script fragment to be evaled but not shown.
18524
 
finish_eval=$lt_finish_eval
18525
 
 
18526
 
# Take the output of nm and produce a listing of raw symbols and C names.
18527
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18528
 
 
18529
 
# Transform the output of nm in a proper C declaration
18530
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18531
 
 
18532
 
# Transform the output of nm in a C name address pair
18533
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18534
 
 
18535
 
# This is the shared library runtime path variable.
18536
 
runpath_var=$runpath_var
18537
 
 
18538
 
# This is the shared library path variable.
18539
 
shlibpath_var=$shlibpath_var
18540
 
 
18541
 
# Is shlibpath searched before the hard-coded library search path?
18542
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18543
 
 
18544
 
# How to hardcode a shared library path into an executable.
18545
 
hardcode_action=$hardcode_action_F77
18546
 
 
18547
 
# Whether we should hardcode library paths into libraries.
18548
 
hardcode_into_libs=$hardcode_into_libs
18549
 
 
18550
 
# Flag to hardcode \$libdir into a binary during linking.
18551
 
# This must work even if \$libdir does not exist.
18552
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18553
 
 
18554
 
# If ld is used when linking, flag to hardcode \$libdir into
18555
 
# a binary during linking. This must work even if \$libdir does
18556
 
# not exist.
18557
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18558
 
 
18559
 
# Whether we need a single -rpath flag with a separated argument.
18560
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18561
 
 
18562
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18563
 
# resulting binary.
18564
 
hardcode_direct=$hardcode_direct_F77
18565
 
 
18566
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18567
 
# resulting binary.
18568
 
hardcode_minus_L=$hardcode_minus_L_F77
18569
 
 
18570
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18571
 
# the resulting binary.
18572
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18573
 
 
18574
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18575
 
# and all subsequent libraries and executables linked against it.
18576
 
hardcode_automatic=$hardcode_automatic_F77
18577
 
 
18578
 
# Variables whose values should be saved in libtool wrapper scripts and
18579
 
# restored at relink time.
18580
 
variables_saved_for_relink="$variables_saved_for_relink"
18581
 
 
18582
 
# Whether libtool must link a program against all its dependency libraries.
18583
 
link_all_deplibs=$link_all_deplibs_F77
18584
 
 
18585
 
# Compile-time system search path for libraries
18586
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18587
 
 
18588
 
# Run-time system search path for libraries
18589
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18590
 
 
18591
 
# Fix the shell variable \$srcfile for the compiler.
18592
 
fix_srcfile_path=$lt_fix_srcfile_path
18593
 
 
18594
 
# Set to yes if exported symbols are required.
18595
 
always_export_symbols=$always_export_symbols_F77
18596
 
 
18597
 
# The commands to list exported symbols.
18598
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
18599
 
 
18600
 
# The commands to extract the exported symbol list from a shared archive.
18601
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18602
 
 
18603
 
# Symbols that should not be listed in the preloaded symbols.
18604
 
exclude_expsyms=$lt_exclude_expsyms_F77
18605
 
 
18606
 
# Symbols that must always be exported.
18607
 
include_expsyms=$lt_include_expsyms_F77
18608
 
 
18609
 
# ### END LIBTOOL TAG CONFIG: $tagname
18610
 
 
18611
 
__EOF__
18612
 
 
18613
 
 
18614
 
else
18615
 
  # If there is no Makefile yet, we rely on a make rule to execute
18616
 
  # `config.status --recheck' to rerun these tests and create the
18617
 
  # libtool script then.
18618
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18619
 
  if test -f "$ltmain_in"; then
18620
 
    test -f Makefile && make "$ltmain"
18621
 
  fi
18622
 
fi
18623
 
 
18624
 
 
18625
 
ac_ext=c
18626
 
ac_cpp='$CPP $CPPFLAGS'
18627
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18628
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18629
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18630
 
 
18631
 
CC="$lt_save_CC"
18632
 
 
18633
 
        else
18634
 
          tagname=""
18635
 
        fi
18636
 
        ;;
18637
 
 
18638
 
      GCJ)
18639
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18640
 
 
18641
 
 
18642
 
# Source file extension for Java test sources.
18643
 
ac_ext=java
18644
 
 
18645
 
# Object file extension for compiled Java test sources.
18646
 
objext=o
18647
 
objext_GCJ=$objext
18648
 
 
18649
 
# Code to be used in simple compile tests
18650
 
lt_simple_compile_test_code="class foo {}"
18651
 
 
18652
 
# Code to be used in simple link tests
18653
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
18654
 
 
18655
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18656
 
 
18657
 
# If no C compiler was specified, use CC.
18658
 
LTCC=${LTCC-"$CC"}
18659
 
 
18660
 
# If no C compiler flags were specified, use CFLAGS.
18661
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18662
 
 
18663
 
# Allow CC to be a program name with arguments.
18664
 
compiler=$CC
18665
 
 
18666
 
 
18667
 
# save warnings/boilerplate of simple test code
18668
 
ac_outfile=conftest.$ac_objext
18669
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18670
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18671
 
_lt_compiler_boilerplate=`cat conftest.err`
18672
 
$rm conftest*
18673
 
 
18674
 
ac_outfile=conftest.$ac_objext
18675
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18676
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18677
 
_lt_linker_boilerplate=`cat conftest.err`
18678
 
$rm -r conftest*
18679
 
 
18680
 
 
18681
 
# Allow CC to be a program name with arguments.
18682
 
lt_save_CC="$CC"
18683
 
CC=${GCJ-"gcj"}
18684
 
compiler=$CC
18685
 
compiler_GCJ=$CC
18686
 
for cc_temp in $compiler""; do
18687
 
  case $cc_temp in
18688
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18689
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18690
 
    \-*) ;;
18691
 
    *) break;;
18692
 
  esac
18693
 
done
18694
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18695
 
 
18696
 
 
18697
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
18698
 
archive_cmds_need_lc_GCJ=no
18699
 
 
18700
 
old_archive_cmds_GCJ=$old_archive_cmds
18701
 
 
18702
 
 
18703
 
lt_prog_compiler_no_builtin_flag_GCJ=
18704
 
 
18705
 
if test "$GCC" = yes; then
18706
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18707
 
 
18708
 
 
18709
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18710
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18711
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18712
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18713
 
else
18714
 
  lt_cv_prog_compiler_rtti_exceptions=no
18715
 
  ac_outfile=conftest.$ac_objext
18716
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18717
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
18718
 
   # Insert the option either (1) after the last *FLAGS variable, or
18719
 
   # (2) before a word containing "conftest.", or (3) at the end.
18720
 
   # Note that $ac_compile itself does not contain backslashes and begins
18721
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18722
 
   # The option is referenced via a variable to avoid confusing sed.
18723
 
   lt_compile=`echo "$ac_compile" | $SED \
18724
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18725
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18726
 
   -e 's:$: $lt_compiler_flag:'`
18727
 
   (eval echo "\"\$as_me:18727: $lt_compile\"" >&5)
18728
 
   (eval "$lt_compile" 2>conftest.err)
18729
 
   ac_status=$?
18730
 
   cat conftest.err >&5
18731
 
   echo "$as_me:18731: \$? = $ac_status" >&5
18732
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18733
 
     # The compiler can only warn and ignore the option if not recognized
18734
 
     # So say no if there are warnings other than the usual output.
18735
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18736
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18737
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18738
 
       lt_cv_prog_compiler_rtti_exceptions=yes
18739
 
     fi
18740
 
   fi
18741
 
   $rm conftest*
18742
 
 
18743
 
fi
18744
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18745
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18746
 
 
18747
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18748
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18749
 
else
18750
 
    :
18751
 
fi
18752
 
 
18753
 
fi
18754
 
 
18755
 
lt_prog_compiler_wl_GCJ=
18756
 
lt_prog_compiler_pic_GCJ=
18757
 
lt_prog_compiler_static_GCJ=
18758
 
 
18759
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18760
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18761
 
 
18762
 
  if test "$GCC" = yes; then
18763
 
    lt_prog_compiler_wl_GCJ='-Wl,'
18764
 
    lt_prog_compiler_static_GCJ='-static'
18765
 
 
18766
 
    case $host_os in
18767
 
      aix*)
18768
 
      # All AIX code is PIC.
18769
 
      if test "$host_cpu" = ia64; then
18770
 
        # AIX 5 now supports IA64 processor
18771
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18772
 
      fi
18773
 
      ;;
18774
 
 
18775
 
    amigaos*)
18776
 
      # FIXME: we need at least 68020 code to build shared libraries, but
18777
 
      # adding the `-m68020' flag to GCC prevents building anything better,
18778
 
      # like `-m68040'.
18779
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
18780
 
      ;;
18781
 
 
18782
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18783
 
      # PIC is the default for these OSes.
18784
 
      ;;
18785
 
 
18786
 
    mingw* | cygwin* | pw32* | os2*)
18787
 
      # This hack is so that the source file can tell whether it is being
18788
 
      # built for inclusion in a dll (and should export symbols for example).
18789
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
18790
 
      # (--disable-auto-import) libraries
18791
 
 
18792
 
      ;;
18793
 
 
18794
 
    darwin* | rhapsody*)
18795
 
      # PIC is the default on this platform
18796
 
      # Common symbols not allowed in MH_DYLIB files
18797
 
      lt_prog_compiler_pic_GCJ='-fno-common'
18798
 
      ;;
18799
 
 
18800
 
    interix[3-9]*)
18801
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18802
 
      # Instead, we relocate shared libraries at runtime.
18803
 
      ;;
18804
 
 
18805
 
    msdosdjgpp*)
18806
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
18807
 
      # on systems that don't support them.
18808
 
      lt_prog_compiler_can_build_shared_GCJ=no
18809
 
      enable_shared=no
18810
 
      ;;
18811
 
 
18812
 
    sysv4*MP*)
18813
 
      if test -d /usr/nec; then
18814
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
18815
 
      fi
18816
 
      ;;
18817
 
 
18818
 
    hpux*)
18819
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18820
 
      # not for PA HP-UX.
18821
 
      case $host_cpu in
18822
 
      hppa*64*|ia64*)
18823
 
        # +Z the default
18824
 
        ;;
18825
 
      *)
18826
 
        lt_prog_compiler_pic_GCJ='-fPIC'
18827
 
        ;;
18828
 
      esac
18829
 
      ;;
18830
 
 
18831
 
    *)
18832
 
      lt_prog_compiler_pic_GCJ='-fPIC'
18833
 
      ;;
18834
 
    esac
18835
 
  else
18836
 
    # PORTME Check for flag to pass linker flags through the system compiler.
18837
 
    case $host_os in
18838
 
    aix*)
18839
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18840
 
      if test "$host_cpu" = ia64; then
18841
 
        # AIX 5 now supports IA64 processor
18842
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18843
 
      else
18844
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
18845
 
      fi
18846
 
      ;;
18847
 
      darwin*)
18848
 
        # PIC is the default on this platform
18849
 
        # Common symbols not allowed in MH_DYLIB files
18850
 
       case $cc_basename in
18851
 
         xlc*)
18852
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
18853
 
         lt_prog_compiler_wl_GCJ='-Wl,'
18854
 
         ;;
18855
 
       esac
18856
 
       ;;
18857
 
 
18858
 
    mingw* | cygwin* | pw32* | os2*)
18859
 
      # This hack is so that the source file can tell whether it is being
18860
 
      # built for inclusion in a dll (and should export symbols for example).
18861
 
 
18862
 
      ;;
18863
 
 
18864
 
    hpux9* | hpux10* | hpux11*)
18865
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18866
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18867
 
      # not for PA HP-UX.
18868
 
      case $host_cpu in
18869
 
      hppa*64*|ia64*)
18870
 
        # +Z the default
18871
 
        ;;
18872
 
      *)
18873
 
        lt_prog_compiler_pic_GCJ='+Z'
18874
 
        ;;
18875
 
      esac
18876
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
18877
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
18878
 
      ;;
18879
 
 
18880
 
    irix5* | irix6* | nonstopux*)
18881
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18882
 
      # PIC (with -KPIC) is the default.
18883
 
      lt_prog_compiler_static_GCJ='-non_shared'
18884
 
      ;;
18885
 
 
18886
 
    newsos6)
18887
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18888
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18889
 
      ;;
18890
 
 
18891
 
    linux* | k*bsd*-gnu)
18892
 
      case $cc_basename in
18893
 
      icc* | ecc*)
18894
 
        lt_prog_compiler_wl_GCJ='-Wl,'
18895
 
        lt_prog_compiler_pic_GCJ='-KPIC'
18896
 
        lt_prog_compiler_static_GCJ='-static'
18897
 
        ;;
18898
 
      pgcc* | pgf77* | pgf90* | pgf95*)
18899
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
18900
 
        # which looks to be a dead project)
18901
 
        lt_prog_compiler_wl_GCJ='-Wl,'
18902
 
        lt_prog_compiler_pic_GCJ='-fpic'
18903
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18904
 
        ;;
18905
 
      ccc*)
18906
 
        lt_prog_compiler_wl_GCJ='-Wl,'
18907
 
        # All Alpha code is PIC.
18908
 
        lt_prog_compiler_static_GCJ='-non_shared'
18909
 
        ;;
18910
 
      *)
18911
 
        case `$CC -V 2>&1 | sed 5q` in
18912
 
        *Sun\ C*)
18913
 
          # Sun C 5.9
18914
 
          lt_prog_compiler_pic_GCJ='-KPIC'
18915
 
          lt_prog_compiler_static_GCJ='-Bstatic'
18916
 
          lt_prog_compiler_wl_GCJ='-Wl,'
18917
 
          ;;
18918
 
        *Sun\ F*)
18919
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
18920
 
          lt_prog_compiler_pic_GCJ='-KPIC'
18921
 
          lt_prog_compiler_static_GCJ='-Bstatic'
18922
 
          lt_prog_compiler_wl_GCJ=''
18923
 
          ;;
18924
 
        esac
18925
 
        ;;
18926
 
      esac
18927
 
      ;;
18928
 
 
18929
 
    osf3* | osf4* | osf5*)
18930
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18931
 
      # All OSF/1 code is PIC.
18932
 
      lt_prog_compiler_static_GCJ='-non_shared'
18933
 
      ;;
18934
 
 
18935
 
    rdos*)
18936
 
      lt_prog_compiler_static_GCJ='-non_shared'
18937
 
      ;;
18938
 
 
18939
 
    solaris*)
18940
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18941
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18942
 
      case $cc_basename in
18943
 
      f77* | f90* | f95*)
18944
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
18945
 
      *)
18946
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
18947
 
      esac
18948
 
      ;;
18949
 
 
18950
 
    sunos4*)
18951
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
18952
 
      lt_prog_compiler_pic_GCJ='-PIC'
18953
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18954
 
      ;;
18955
 
 
18956
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
18957
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18958
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18959
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18960
 
      ;;
18961
 
 
18962
 
    sysv4*MP*)
18963
 
      if test -d /usr/nec ;then
18964
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
18965
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18966
 
      fi
18967
 
      ;;
18968
 
 
18969
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18970
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18971
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18972
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18973
 
      ;;
18974
 
 
18975
 
    unicos*)
18976
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18977
 
      lt_prog_compiler_can_build_shared_GCJ=no
18978
 
      ;;
18979
 
 
18980
 
    uts4*)
18981
 
      lt_prog_compiler_pic_GCJ='-pic'
18982
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18983
 
      ;;
18984
 
 
18985
 
    *)
18986
 
      lt_prog_compiler_can_build_shared_GCJ=no
18987
 
      ;;
18988
 
    esac
18989
 
  fi
18990
 
 
18991
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18992
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18993
 
 
18994
 
#
18995
 
# Check to make sure the PIC flag actually works.
18996
 
#
18997
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
18998
 
 
18999
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19000
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
19001
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
19002
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19003
 
else
19004
 
  lt_cv_prog_compiler_pic_works_GCJ=no
19005
 
  ac_outfile=conftest.$ac_objext
19006
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19007
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
19008
 
   # Insert the option either (1) after the last *FLAGS variable, or
19009
 
   # (2) before a word containing "conftest.", or (3) at the end.
19010
 
   # Note that $ac_compile itself does not contain backslashes and begins
19011
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19012
 
   # The option is referenced via a variable to avoid confusing sed.
19013
 
   lt_compile=`echo "$ac_compile" | $SED \
19014
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19015
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19016
 
   -e 's:$: $lt_compiler_flag:'`
19017
 
   (eval echo "\"\$as_me:19017: $lt_compile\"" >&5)
19018
 
   (eval "$lt_compile" 2>conftest.err)
19019
 
   ac_status=$?
19020
 
   cat conftest.err >&5
19021
 
   echo "$as_me:19021: \$? = $ac_status" >&5
19022
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
19023
 
     # The compiler can only warn and ignore the option if not recognized
19024
 
     # So say no if there are warnings other than the usual output.
19025
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19026
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19027
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19028
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
19029
 
     fi
19030
 
   fi
19031
 
   $rm conftest*
19032
 
 
19033
 
fi
19034
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
19035
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
19036
 
 
19037
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
19038
 
    case $lt_prog_compiler_pic_GCJ in
19039
 
     "" | " "*) ;;
19040
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
19041
 
     esac
19042
 
else
19043
 
    lt_prog_compiler_pic_GCJ=
19044
 
     lt_prog_compiler_can_build_shared_GCJ=no
19045
 
fi
19046
 
 
19047
 
fi
19048
 
case $host_os in
19049
 
  # For platforms which do not support PIC, -DPIC is meaningless:
19050
 
  *djgpp*)
19051
 
    lt_prog_compiler_pic_GCJ=
19052
 
    ;;
19053
 
  *)
19054
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
19055
 
    ;;
19056
 
esac
19057
 
 
19058
 
#
19059
 
# Check to make sure the static flag actually works.
19060
 
#
19061
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
19062
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19063
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19064
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
19065
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19066
 
else
19067
 
  lt_cv_prog_compiler_static_works_GCJ=no
19068
 
   save_LDFLAGS="$LDFLAGS"
19069
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19070
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
19071
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19072
 
     # The linker can only warn and ignore the option if not recognized
19073
 
     # So say no if there are warnings
19074
 
     if test -s conftest.err; then
19075
 
       # Append any errors to the config.log.
19076
 
       cat conftest.err 1>&5
19077
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19078
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19079
 
       if diff conftest.exp conftest.er2 >/dev/null; then
19080
 
         lt_cv_prog_compiler_static_works_GCJ=yes
19081
 
       fi
19082
 
     else
19083
 
       lt_cv_prog_compiler_static_works_GCJ=yes
19084
 
     fi
19085
 
   fi
19086
 
   $rm -r conftest*
19087
 
   LDFLAGS="$save_LDFLAGS"
19088
 
 
19089
 
fi
19090
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
19091
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
19092
 
 
19093
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
19094
 
    :
19095
 
else
19096
 
    lt_prog_compiler_static_GCJ=
19097
 
fi
19098
 
 
19099
 
 
19100
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19101
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19102
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19103
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19104
 
else
19105
 
  lt_cv_prog_compiler_c_o_GCJ=no
19106
 
   $rm -r conftest 2>/dev/null
19107
 
   mkdir conftest
19108
 
   cd conftest
19109
 
   mkdir out
19110
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19111
 
 
19112
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
19113
 
   # Insert the option either (1) after the last *FLAGS variable, or
19114
 
   # (2) before a word containing "conftest.", or (3) at the end.
19115
 
   # Note that $ac_compile itself does not contain backslashes and begins
19116
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19117
 
   lt_compile=`echo "$ac_compile" | $SED \
19118
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19119
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19120
 
   -e 's:$: $lt_compiler_flag:'`
19121
 
   (eval echo "\"\$as_me:19121: $lt_compile\"" >&5)
19122
 
   (eval "$lt_compile" 2>out/conftest.err)
19123
 
   ac_status=$?
19124
 
   cat out/conftest.err >&5
19125
 
   echo "$as_me:19125: \$? = $ac_status" >&5
19126
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
19127
 
   then
19128
 
     # The compiler can only warn and ignore the option if not recognized
19129
 
     # So say no if there are warnings
19130
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19131
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19132
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19133
 
       lt_cv_prog_compiler_c_o_GCJ=yes
19134
 
     fi
19135
 
   fi
19136
 
   chmod u+w . 2>&5
19137
 
   $rm conftest*
19138
 
   # SGI C++ compiler will create directory out/ii_files/ for
19139
 
   # template instantiation
19140
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19141
 
   $rm out/* && rmdir out
19142
 
   cd ..
19143
 
   rmdir conftest
19144
 
   $rm conftest*
19145
 
 
19146
 
fi
19147
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19148
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19149
 
 
19150
 
 
19151
 
hard_links="nottested"
19152
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19153
 
  # do not overwrite the value of need_locks provided by the user
19154
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19155
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19156
 
  hard_links=yes
19157
 
  $rm conftest*
19158
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19159
 
  touch conftest.a
19160
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
19161
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19162
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
19163
 
echo "${ECHO_T}$hard_links" >&6; }
19164
 
  if test "$hard_links" = no; then
19165
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19166
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19167
 
    need_locks=warn
19168
 
  fi
19169
 
else
19170
 
  need_locks=no
19171
 
fi
19172
 
 
19173
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19174
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19175
 
 
19176
 
  runpath_var=
19177
 
  allow_undefined_flag_GCJ=
19178
 
  enable_shared_with_static_runtimes_GCJ=no
19179
 
  archive_cmds_GCJ=
19180
 
  archive_expsym_cmds_GCJ=
19181
 
  old_archive_From_new_cmds_GCJ=
19182
 
  old_archive_from_expsyms_cmds_GCJ=
19183
 
  export_dynamic_flag_spec_GCJ=
19184
 
  whole_archive_flag_spec_GCJ=
19185
 
  thread_safe_flag_spec_GCJ=
19186
 
  hardcode_libdir_flag_spec_GCJ=
19187
 
  hardcode_libdir_flag_spec_ld_GCJ=
19188
 
  hardcode_libdir_separator_GCJ=
19189
 
  hardcode_direct_GCJ=no
19190
 
  hardcode_minus_L_GCJ=no
19191
 
  hardcode_shlibpath_var_GCJ=unsupported
19192
 
  link_all_deplibs_GCJ=unknown
19193
 
  hardcode_automatic_GCJ=no
19194
 
  module_cmds_GCJ=
19195
 
  module_expsym_cmds_GCJ=
19196
 
  always_export_symbols_GCJ=no
19197
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19198
 
  # include_expsyms should be a list of space-separated symbols to be *always*
19199
 
  # included in the symbol list
19200
 
  include_expsyms_GCJ=
19201
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
19202
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
19203
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19204
 
  # as well as any symbol that contains `d'.
19205
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19206
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19207
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
19208
 
  # the symbol is explicitly referenced.  Since portable code cannot
19209
 
  # rely on this symbol name, it's probably fine to never include it in
19210
 
  # preloaded symbol tables.
19211
 
  # Exclude shared library initialization/finalization symbols.
19212
 
  extract_expsyms_cmds=
19213
 
  # Just being paranoid about ensuring that cc_basename is set.
19214
 
  for cc_temp in $compiler""; do
19215
 
  case $cc_temp in
19216
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19217
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19218
 
    \-*) ;;
19219
 
    *) break;;
19220
 
  esac
19221
 
done
19222
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19223
 
 
19224
 
  case $host_os in
19225
 
  cygwin* | mingw* | pw32*)
19226
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
19227
 
    # When not using gcc, we currently assume that we are using
19228
 
    # Microsoft Visual C++.
19229
 
    if test "$GCC" != yes; then
19230
 
      with_gnu_ld=no
19231
 
    fi
19232
 
    ;;
19233
 
  interix*)
19234
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
19235
 
    with_gnu_ld=yes
19236
 
    ;;
19237
 
  openbsd*)
19238
 
    with_gnu_ld=no
19239
 
    ;;
19240
 
  esac
19241
 
 
19242
 
  ld_shlibs_GCJ=yes
19243
 
  if test "$with_gnu_ld" = yes; then
19244
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
19245
 
    wlarc='${wl}'
19246
 
 
19247
 
    # Set some defaults for GNU ld with shared library support. These
19248
 
    # are reset later if shared libraries are not supported. Putting them
19249
 
    # here allows them to be overridden if necessary.
19250
 
    runpath_var=LD_RUN_PATH
19251
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
19252
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
19253
 
    # ancient GNU ld didn't support --whole-archive et. al.
19254
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19255
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19256
 
      else
19257
 
        whole_archive_flag_spec_GCJ=
19258
 
    fi
19259
 
    supports_anon_versioning=no
19260
 
    case `$LD -v 2>/dev/null` in
19261
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
19262
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
19263
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
19264
 
      *\ 2.11.*) ;; # other 2.11 versions
19265
 
      *) supports_anon_versioning=yes ;;
19266
 
    esac
19267
 
 
19268
 
    # See if GNU ld supports shared libraries.
19269
 
    case $host_os in
19270
 
    aix[3-9]*)
19271
 
      # On AIX/PPC, the GNU linker is very broken
19272
 
      if test "$host_cpu" != ia64; then
19273
 
        ld_shlibs_GCJ=no
19274
 
        cat <<EOF 1>&2
19275
 
 
19276
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19277
 
*** to be unable to reliably create shared libraries on AIX.
19278
 
*** Therefore, libtool is disabling shared libraries support.  If you
19279
 
*** really care for shared libraries, you may want to modify your PATH
19280
 
*** so that a non-GNU linker is found, and then restart.
19281
 
 
19282
 
EOF
19283
 
      fi
19284
 
      ;;
19285
 
 
19286
 
    amigaos*)
19287
 
      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)'
19288
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19289
 
      hardcode_minus_L_GCJ=yes
19290
 
 
19291
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19292
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
19293
 
      # to version 4, is to share data among multiple programs linked
19294
 
      # with the same dynamic library.  Since this doesn't match the
19295
 
      # behavior of shared libraries on other platforms, we can't use
19296
 
      # them.
19297
 
      ld_shlibs_GCJ=no
19298
 
      ;;
19299
 
 
19300
 
    beos*)
19301
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19302
 
        allow_undefined_flag_GCJ=unsupported
19303
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19304
 
        # support --undefined.  This deserves some investigation.  FIXME
19305
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19306
 
      else
19307
 
        ld_shlibs_GCJ=no
19308
 
      fi
19309
 
      ;;
19310
 
 
19311
 
    cygwin* | mingw* | pw32*)
19312
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19313
 
      # as there is no search path for DLLs.
19314
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19315
 
      allow_undefined_flag_GCJ=unsupported
19316
 
      always_export_symbols_GCJ=no
19317
 
      enable_shared_with_static_runtimes_GCJ=yes
19318
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
19319
 
 
19320
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19321
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19322
 
        # If the export-symbols file already is a .def file (1st line
19323
 
        # is EXPORTS), use it as is; otherwise, prepend...
19324
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19325
 
          cp $export_symbols $output_objdir/$soname.def;
19326
 
        else
19327
 
          echo EXPORTS > $output_objdir/$soname.def;
19328
 
          cat $export_symbols >> $output_objdir/$soname.def;
19329
 
        fi~
19330
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19331
 
      else
19332
 
        ld_shlibs_GCJ=no
19333
 
      fi
19334
 
      ;;
19335
 
 
19336
 
    interix[3-9]*)
19337
 
      hardcode_direct_GCJ=no
19338
 
      hardcode_shlibpath_var_GCJ=no
19339
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19340
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
19341
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19342
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
19343
 
      # default) and relocated if they conflict, which is a slow very memory
19344
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
19345
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19346
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
19347
 
      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'
19348
 
      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'
19349
 
      ;;
19350
 
 
19351
 
    gnu* | linux* | k*bsd*-gnu)
19352
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19353
 
        tmp_addflag=
19354
 
        case $cc_basename,$host_cpu in
19355
 
        pgcc*)                          # Portland Group C compiler
19356
 
          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'
19357
 
          tmp_addflag=' $pic_flag'
19358
 
          ;;
19359
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
19360
 
          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'
19361
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
19362
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
19363
 
          tmp_addflag=' -i_dynamic' ;;
19364
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
19365
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
19366
 
        ifc* | ifort*)                  # Intel Fortran compiler
19367
 
          tmp_addflag=' -nofor_main' ;;
19368
 
        esac
19369
 
        case `$CC -V 2>&1 | sed 5q` in
19370
 
        *Sun\ C*)                       # Sun C 5.9
19371
 
          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'
19372
 
          tmp_sharedflag='-G' ;;
19373
 
        *Sun\ F*)                       # Sun Fortran 8.3
19374
 
          tmp_sharedflag='-G' ;;
19375
 
        *)
19376
 
          tmp_sharedflag='-shared' ;;
19377
 
        esac
19378
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19379
 
 
19380
 
        if test $supports_anon_versioning = yes; then
19381
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
19382
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19383
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
19384
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19385
 
        fi
19386
 
        link_all_deplibs_GCJ=no
19387
 
      else
19388
 
        ld_shlibs_GCJ=no
19389
 
      fi
19390
 
      ;;
19391
 
 
19392
 
    netbsd* | netbsdelf*-gnu)
19393
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19394
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19395
 
        wlarc=
19396
 
      else
19397
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19398
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19399
 
      fi
19400
 
      ;;
19401
 
 
19402
 
    solaris*)
19403
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19404
 
        ld_shlibs_GCJ=no
19405
 
        cat <<EOF 1>&2
19406
 
 
19407
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
19408
 
*** create shared libraries on Solaris systems.  Therefore, libtool
19409
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
19410
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
19411
 
*** your PATH or compiler configuration so that the native linker is
19412
 
*** used, and then restart.
19413
 
 
19414
 
EOF
19415
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19416
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19417
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19418
 
      else
19419
 
        ld_shlibs_GCJ=no
19420
 
      fi
19421
 
      ;;
19422
 
 
19423
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
19424
 
      case `$LD -v 2>&1` in
19425
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
19426
 
        ld_shlibs_GCJ=no
19427
 
        cat <<_LT_EOF 1>&2
19428
 
 
19429
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
19430
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
19431
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
19432
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
19433
 
*** your PATH or compiler configuration so that the native linker is
19434
 
*** used, and then restart.
19435
 
 
19436
 
_LT_EOF
19437
 
        ;;
19438
 
        *)
19439
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19440
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
19441
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
19442
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
19443
 
          else
19444
 
            ld_shlibs_GCJ=no
19445
 
          fi
19446
 
        ;;
19447
 
      esac
19448
 
      ;;
19449
 
 
19450
 
    sunos4*)
19451
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19452
 
      wlarc=
19453
 
      hardcode_direct_GCJ=yes
19454
 
      hardcode_shlibpath_var_GCJ=no
19455
 
      ;;
19456
 
 
19457
 
    *)
19458
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19459
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19460
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19461
 
      else
19462
 
        ld_shlibs_GCJ=no
19463
 
      fi
19464
 
      ;;
19465
 
    esac
19466
 
 
19467
 
    if test "$ld_shlibs_GCJ" = no; then
19468
 
      runpath_var=
19469
 
      hardcode_libdir_flag_spec_GCJ=
19470
 
      export_dynamic_flag_spec_GCJ=
19471
 
      whole_archive_flag_spec_GCJ=
19472
 
    fi
19473
 
  else
19474
 
    # PORTME fill in a description of your system's linker (not GNU ld)
19475
 
    case $host_os in
19476
 
    aix3*)
19477
 
      allow_undefined_flag_GCJ=unsupported
19478
 
      always_export_symbols_GCJ=yes
19479
 
      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'
19480
 
      # Note: this linker hardcodes the directories in LIBPATH if there
19481
 
      # are no directories specified by -L.
19482
 
      hardcode_minus_L_GCJ=yes
19483
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
19484
 
        # Neither direct hardcoding nor static linking is supported with a
19485
 
        # broken collect2.
19486
 
        hardcode_direct_GCJ=unsupported
19487
 
      fi
19488
 
      ;;
19489
 
 
19490
 
    aix[4-9]*)
19491
 
      if test "$host_cpu" = ia64; then
19492
 
        # On IA64, the linker does run time linking by default, so we don't
19493
 
        # have to do anything special.
19494
 
        aix_use_runtimelinking=no
19495
 
        exp_sym_flag='-Bexport'
19496
 
        no_entry_flag=""
19497
 
      else
19498
 
        # If we're using GNU nm, then we don't want the "-C" option.
19499
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
19500
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19501
 
          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'
19502
 
        else
19503
 
          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'
19504
 
        fi
19505
 
        aix_use_runtimelinking=no
19506
 
 
19507
 
        # Test if we are trying to use run time linking or normal
19508
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19509
 
        # need to do runtime linking.
19510
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
19511
 
          for ld_flag in $LDFLAGS; do
19512
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
19513
 
            aix_use_runtimelinking=yes
19514
 
            break
19515
 
          fi
19516
 
          done
19517
 
          ;;
19518
 
        esac
19519
 
 
19520
 
        exp_sym_flag='-bexport'
19521
 
        no_entry_flag='-bnoentry'
19522
 
      fi
19523
 
 
19524
 
      # When large executables or shared objects are built, AIX ld can
19525
 
      # have problems creating the table of contents.  If linking a library
19526
 
      # or program results in "error TOC overflow" add -mminimal-toc to
19527
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
19528
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19529
 
 
19530
 
      archive_cmds_GCJ=''
19531
 
      hardcode_direct_GCJ=yes
19532
 
      hardcode_libdir_separator_GCJ=':'
19533
 
      link_all_deplibs_GCJ=yes
19534
 
 
19535
 
      if test "$GCC" = yes; then
19536
 
        case $host_os in aix4.[012]|aix4.[012].*)
19537
 
        # We only want to do this on AIX 4.2 and lower, the check
19538
 
        # below for broken collect2 doesn't work under 4.3+
19539
 
          collect2name=`${CC} -print-prog-name=collect2`
19540
 
          if test -f "$collect2name" && \
19541
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
19542
 
          then
19543
 
          # We have reworked collect2
19544
 
          :
19545
 
          else
19546
 
          # We have old collect2
19547
 
          hardcode_direct_GCJ=unsupported
19548
 
          # It fails to find uninstalled libraries when the uninstalled
19549
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
19550
 
          # to unsupported forces relinking
19551
 
          hardcode_minus_L_GCJ=yes
19552
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
19553
 
          hardcode_libdir_separator_GCJ=
19554
 
          fi
19555
 
          ;;
19556
 
        esac
19557
 
        shared_flag='-shared'
19558
 
        if test "$aix_use_runtimelinking" = yes; then
19559
 
          shared_flag="$shared_flag "'${wl}-G'
19560
 
        fi
19561
 
      else
19562
 
        # not using gcc
19563
 
        if test "$host_cpu" = ia64; then
19564
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19565
 
        # chokes on -Wl,-G. The following line is correct:
19566
 
          shared_flag='-G'
19567
 
        else
19568
 
          if test "$aix_use_runtimelinking" = yes; then
19569
 
            shared_flag='${wl}-G'
19570
 
          else
19571
 
            shared_flag='${wl}-bM:SRE'
19572
 
          fi
19573
 
        fi
19574
 
      fi
19575
 
 
19576
 
      # It seems that -bexpall does not export symbols beginning with
19577
 
      # underscore (_), so it is better to generate a list of symbols to export.
19578
 
      always_export_symbols_GCJ=yes
19579
 
      if test "$aix_use_runtimelinking" = yes; then
19580
 
        # Warning - without using the other runtime loading flags (-brtl),
19581
 
        # -berok will link without error, but may produce a broken library.
19582
 
        allow_undefined_flag_GCJ='-berok'
19583
 
       # Determine the default libpath from the value encoded in an empty executable.
19584
 
       cat >conftest.$ac_ext <<_ACEOF
19585
 
/* confdefs.h.  */
19586
 
_ACEOF
19587
 
cat confdefs.h >>conftest.$ac_ext
19588
 
cat >>conftest.$ac_ext <<_ACEOF
19589
 
/* end confdefs.h.  */
19590
 
 
19591
 
int
19592
 
main ()
19593
 
{
19594
 
 
19595
 
  ;
19596
 
  return 0;
19597
 
}
19598
 
_ACEOF
19599
 
rm -f conftest.$ac_objext conftest$ac_exeext
19600
 
if { (ac_try="$ac_link"
19601
 
case "(($ac_try" in
19602
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19603
 
  *) ac_try_echo=$ac_try;;
19604
 
esac
19605
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19606
 
  (eval "$ac_link") 2>conftest.er1
19607
 
  ac_status=$?
19608
 
  grep -v '^ *+' conftest.er1 >conftest.err
19609
 
  rm -f conftest.er1
19610
 
  cat conftest.err >&5
19611
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612
 
  (exit $ac_status); } && {
19613
 
         test -z "$ac_c_werror_flag" ||
19614
 
         test ! -s conftest.err
19615
 
       } && test -s conftest$ac_exeext &&
19616
 
       $as_test_x conftest$ac_exeext; then
19617
 
 
19618
 
lt_aix_libpath_sed='
19619
 
    /Import File Strings/,/^$/ {
19620
 
        /^0/ {
19621
 
            s/^0  *\(.*\)$/\1/
19622
 
            p
19623
 
        }
19624
 
    }'
19625
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19626
 
# Check for a 64-bit object if we didn't find anything.
19627
 
if test -z "$aix_libpath"; then
19628
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19629
 
fi
19630
 
else
19631
 
  echo "$as_me: failed program was:" >&5
19632
 
sed 's/^/| /' conftest.$ac_ext >&5
19633
 
 
19634
 
 
19635
 
fi
19636
 
 
19637
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19638
 
      conftest$ac_exeext conftest.$ac_ext
19639
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19640
 
 
19641
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19642
 
        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"
19643
 
       else
19644
 
        if test "$host_cpu" = ia64; then
19645
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19646
 
          allow_undefined_flag_GCJ="-z nodefs"
19647
 
          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"
19648
 
        else
19649
 
         # Determine the default libpath from the value encoded in an empty executable.
19650
 
         cat >conftest.$ac_ext <<_ACEOF
19651
 
/* confdefs.h.  */
19652
 
_ACEOF
19653
 
cat confdefs.h >>conftest.$ac_ext
19654
 
cat >>conftest.$ac_ext <<_ACEOF
19655
 
/* end confdefs.h.  */
19656
 
 
19657
 
int
19658
 
main ()
19659
 
{
19660
 
 
19661
 
  ;
19662
 
  return 0;
19663
 
}
19664
 
_ACEOF
19665
 
rm -f conftest.$ac_objext conftest$ac_exeext
19666
 
if { (ac_try="$ac_link"
19667
 
case "(($ac_try" in
19668
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19669
 
  *) ac_try_echo=$ac_try;;
19670
 
esac
19671
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19672
 
  (eval "$ac_link") 2>conftest.er1
19673
 
  ac_status=$?
19674
 
  grep -v '^ *+' conftest.er1 >conftest.err
19675
 
  rm -f conftest.er1
19676
 
  cat conftest.err >&5
19677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678
 
  (exit $ac_status); } && {
19679
 
         test -z "$ac_c_werror_flag" ||
19680
 
         test ! -s conftest.err
19681
 
       } && test -s conftest$ac_exeext &&
19682
 
       $as_test_x conftest$ac_exeext; then
19683
 
 
19684
 
lt_aix_libpath_sed='
19685
 
    /Import File Strings/,/^$/ {
19686
 
        /^0/ {
19687
 
            s/^0  *\(.*\)$/\1/
19688
 
            p
19689
 
        }
19690
 
    }'
19691
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19692
 
# Check for a 64-bit object if we didn't find anything.
19693
 
if test -z "$aix_libpath"; then
19694
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19695
 
fi
19696
 
else
19697
 
  echo "$as_me: failed program was:" >&5
19698
 
sed 's/^/| /' conftest.$ac_ext >&5
19699
 
 
19700
 
 
19701
 
fi
19702
 
 
19703
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19704
 
      conftest$ac_exeext conftest.$ac_ext
19705
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19706
 
 
19707
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19708
 
          # Warning - without using the other run time loading flags,
19709
 
          # -berok will link without error, but may produce a broken library.
19710
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
19711
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
19712
 
          # Exported symbols can be pulled into shared objects from archives
19713
 
          whole_archive_flag_spec_GCJ='$convenience'
19714
 
          archive_cmds_need_lc_GCJ=yes
19715
 
          # This is similar to how AIX traditionally builds its shared libraries.
19716
 
          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'
19717
 
        fi
19718
 
      fi
19719
 
      ;;
19720
 
 
19721
 
    amigaos*)
19722
 
      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)'
19723
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19724
 
      hardcode_minus_L_GCJ=yes
19725
 
      # see comment about different semantics on the GNU ld section
19726
 
      ld_shlibs_GCJ=no
19727
 
      ;;
19728
 
 
19729
 
    bsdi[45]*)
19730
 
      export_dynamic_flag_spec_GCJ=-rdynamic
19731
 
      ;;
19732
 
 
19733
 
    cygwin* | mingw* | pw32*)
19734
 
      # When not using gcc, we currently assume that we are using
19735
 
      # Microsoft Visual C++.
19736
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
19737
 
      # no search path for DLLs.
19738
 
      hardcode_libdir_flag_spec_GCJ=' '
19739
 
      allow_undefined_flag_GCJ=unsupported
19740
 
      # Tell ltmain to make .lib files, not .a files.
19741
 
      libext=lib
19742
 
      # Tell ltmain to make .dll files, not .so files.
19743
 
      shrext_cmds=".dll"
19744
 
      # FIXME: Setting linknames here is a bad hack.
19745
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19746
 
      # The linker will automatically build a .lib file if we build a DLL.
19747
 
      old_archive_From_new_cmds_GCJ='true'
19748
 
      # FIXME: Should let the user specify the lib program.
19749
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
19750
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
19751
 
      enable_shared_with_static_runtimes_GCJ=yes
19752
 
      ;;
19753
 
 
19754
 
    darwin* | rhapsody*)
19755
 
      case $host_os in
19756
 
        rhapsody* | darwin1.[012])
19757
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
19758
 
         ;;
19759
 
       *) # Darwin 1.3 on
19760
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19761
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19762
 
         else
19763
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
19764
 
             10.[012])
19765
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19766
 
               ;;
19767
 
             10.*)
19768
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
19769
 
               ;;
19770
 
           esac
19771
 
         fi
19772
 
         ;;
19773
 
      esac
19774
 
      archive_cmds_need_lc_GCJ=no
19775
 
      hardcode_direct_GCJ=no
19776
 
      hardcode_automatic_GCJ=yes
19777
 
      hardcode_shlibpath_var_GCJ=unsupported
19778
 
      whole_archive_flag_spec_GCJ=''
19779
 
      link_all_deplibs_GCJ=yes
19780
 
    if test "$GCC" = yes ; then
19781
 
        output_verbose_link_cmd='echo'
19782
 
        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}"
19783
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19784
 
        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}"
19785
 
        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}"
19786
 
    else
19787
 
      case $cc_basename in
19788
 
        xlc*)
19789
 
         output_verbose_link_cmd='echo'
19790
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
19791
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19792
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19793
 
         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}'
19794
 
          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}'
19795
 
          ;;
19796
 
       *)
19797
 
         ld_shlibs_GCJ=no
19798
 
          ;;
19799
 
      esac
19800
 
    fi
19801
 
      ;;
19802
 
 
19803
 
    dgux*)
19804
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19805
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19806
 
      hardcode_shlibpath_var_GCJ=no
19807
 
      ;;
19808
 
 
19809
 
    freebsd1*)
19810
 
      ld_shlibs_GCJ=no
19811
 
      ;;
19812
 
 
19813
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19814
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
19815
 
    # does not break anything, and helps significantly (at the cost of a little
19816
 
    # extra space).
19817
 
    freebsd2.2*)
19818
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19819
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19820
 
      hardcode_direct_GCJ=yes
19821
 
      hardcode_shlibpath_var_GCJ=no
19822
 
      ;;
19823
 
 
19824
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19825
 
    freebsd2*)
19826
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19827
 
      hardcode_direct_GCJ=yes
19828
 
      hardcode_minus_L_GCJ=yes
19829
 
      hardcode_shlibpath_var_GCJ=no
19830
 
      ;;
19831
 
 
19832
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19833
 
    freebsd* | dragonfly*)
19834
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19835
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19836
 
      hardcode_direct_GCJ=yes
19837
 
      hardcode_shlibpath_var_GCJ=no
19838
 
      ;;
19839
 
 
19840
 
    hpux9*)
19841
 
      if test "$GCC" = yes; then
19842
 
        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'
19843
 
      else
19844
 
        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'
19845
 
      fi
19846
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19847
 
      hardcode_libdir_separator_GCJ=:
19848
 
      hardcode_direct_GCJ=yes
19849
 
 
19850
 
      # hardcode_minus_L: Not really in the search PATH,
19851
 
      # but as the default location of the library.
19852
 
      hardcode_minus_L_GCJ=yes
19853
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
19854
 
      ;;
19855
 
 
19856
 
    hpux10*)
19857
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19858
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19859
 
      else
19860
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19861
 
      fi
19862
 
      if test "$with_gnu_ld" = no; then
19863
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19864
 
        hardcode_libdir_separator_GCJ=:
19865
 
 
19866
 
        hardcode_direct_GCJ=yes
19867
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
19868
 
 
19869
 
        # hardcode_minus_L: Not really in the search PATH,
19870
 
        # but as the default location of the library.
19871
 
        hardcode_minus_L_GCJ=yes
19872
 
      fi
19873
 
      ;;
19874
 
 
19875
 
    hpux11*)
19876
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19877
 
        case $host_cpu in
19878
 
        hppa*64*)
19879
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19880
 
          ;;
19881
 
        ia64*)
19882
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19883
 
          ;;
19884
 
        *)
19885
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19886
 
          ;;
19887
 
        esac
19888
 
      else
19889
 
        case $host_cpu in
19890
 
        hppa*64*)
19891
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19892
 
          ;;
19893
 
        ia64*)
19894
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19895
 
          ;;
19896
 
        *)
19897
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19898
 
          ;;
19899
 
        esac
19900
 
      fi
19901
 
      if test "$with_gnu_ld" = no; then
19902
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19903
 
        hardcode_libdir_separator_GCJ=:
19904
 
 
19905
 
        case $host_cpu in
19906
 
        hppa*64*|ia64*)
19907
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
19908
 
          hardcode_direct_GCJ=no
19909
 
          hardcode_shlibpath_var_GCJ=no
19910
 
          ;;
19911
 
        *)
19912
 
          hardcode_direct_GCJ=yes
19913
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
19914
 
 
19915
 
          # hardcode_minus_L: Not really in the search PATH,
19916
 
          # but as the default location of the library.
19917
 
          hardcode_minus_L_GCJ=yes
19918
 
          ;;
19919
 
        esac
19920
 
      fi
19921
 
      ;;
19922
 
 
19923
 
    irix5* | irix6* | nonstopux*)
19924
 
      if test "$GCC" = yes; then
19925
 
        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'
19926
 
      else
19927
 
        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'
19928
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
19929
 
      fi
19930
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19931
 
      hardcode_libdir_separator_GCJ=:
19932
 
      link_all_deplibs_GCJ=yes
19933
 
      ;;
19934
 
 
19935
 
    netbsd* | netbsdelf*-gnu)
19936
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19937
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19938
 
      else
19939
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
19940
 
      fi
19941
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19942
 
      hardcode_direct_GCJ=yes
19943
 
      hardcode_shlibpath_var_GCJ=no
19944
 
      ;;
19945
 
 
19946
 
    newsos6)
19947
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19948
 
      hardcode_direct_GCJ=yes
19949
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19950
 
      hardcode_libdir_separator_GCJ=:
19951
 
      hardcode_shlibpath_var_GCJ=no
19952
 
      ;;
19953
 
 
19954
 
    openbsd*)
19955
 
      if test -f /usr/libexec/ld.so; then
19956
 
        hardcode_direct_GCJ=yes
19957
 
        hardcode_shlibpath_var_GCJ=no
19958
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19959
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19960
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19961
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19962
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
19963
 
        else
19964
 
          case $host_os in
19965
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19966
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19967
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
19968
 
             ;;
19969
 
           *)
19970
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19971
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19972
 
             ;;
19973
 
          esac
19974
 
        fi
19975
 
      else
19976
 
        ld_shlibs_GCJ=no
19977
 
      fi
19978
 
      ;;
19979
 
 
19980
 
    os2*)
19981
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19982
 
      hardcode_minus_L_GCJ=yes
19983
 
      allow_undefined_flag_GCJ=unsupported
19984
 
      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'
19985
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19986
 
      ;;
19987
 
 
19988
 
    osf3*)
19989
 
      if test "$GCC" = yes; then
19990
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19991
 
        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'
19992
 
      else
19993
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
19994
 
        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'
19995
 
      fi
19996
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19997
 
      hardcode_libdir_separator_GCJ=:
19998
 
      ;;
19999
 
 
20000
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
20001
 
      if test "$GCC" = yes; then
20002
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20003
 
        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'
20004
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20005
 
      else
20006
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20007
 
        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'
20008
 
        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~
20009
 
        $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'
20010
 
 
20011
 
        # Both c and cxx compiler support -rpath directly
20012
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
20013
 
      fi
20014
 
      hardcode_libdir_separator_GCJ=:
20015
 
      ;;
20016
 
 
20017
 
    solaris*)
20018
 
      no_undefined_flag_GCJ=' -z text'
20019
 
      if test "$GCC" = yes; then
20020
 
        wlarc='${wl}'
20021
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20022
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20023
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
20024
 
      else
20025
 
        wlarc=''
20026
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20027
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20028
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20029
 
      fi
20030
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20031
 
      hardcode_shlibpath_var_GCJ=no
20032
 
      case $host_os in
20033
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
20034
 
      *)
20035
 
        # The compiler driver will combine and reorder linker options,
20036
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
20037
 
        # but is careful enough not to reorder.
20038
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
20039
 
        if test "$GCC" = yes; then
20040
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
20041
 
        else
20042
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
20043
 
        fi
20044
 
        ;;
20045
 
      esac
20046
 
      link_all_deplibs_GCJ=yes
20047
 
      ;;
20048
 
 
20049
 
    sunos4*)
20050
 
      if test "x$host_vendor" = xsequent; then
20051
 
        # Use $CC to link under sequent, because it throws in some extra .o
20052
 
        # files that make .init and .fini sections work.
20053
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
20054
 
      else
20055
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20056
 
      fi
20057
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20058
 
      hardcode_direct_GCJ=yes
20059
 
      hardcode_minus_L_GCJ=yes
20060
 
      hardcode_shlibpath_var_GCJ=no
20061
 
      ;;
20062
 
 
20063
 
    sysv4)
20064
 
      case $host_vendor in
20065
 
        sni)
20066
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20067
 
          hardcode_direct_GCJ=yes # is this really true???
20068
 
        ;;
20069
 
        siemens)
20070
 
          ## LD is ld it makes a PLAMLIB
20071
 
          ## CC just makes a GrossModule.
20072
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20073
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
20074
 
          hardcode_direct_GCJ=no
20075
 
        ;;
20076
 
        motorola)
20077
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20078
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
20079
 
        ;;
20080
 
      esac
20081
 
      runpath_var='LD_RUN_PATH'
20082
 
      hardcode_shlibpath_var_GCJ=no
20083
 
      ;;
20084
 
 
20085
 
    sysv4.3*)
20086
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20087
 
      hardcode_shlibpath_var_GCJ=no
20088
 
      export_dynamic_flag_spec_GCJ='-Bexport'
20089
 
      ;;
20090
 
 
20091
 
    sysv4*MP*)
20092
 
      if test -d /usr/nec; then
20093
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20094
 
        hardcode_shlibpath_var_GCJ=no
20095
 
        runpath_var=LD_RUN_PATH
20096
 
        hardcode_runpath_var=yes
20097
 
        ld_shlibs_GCJ=yes
20098
 
      fi
20099
 
      ;;
20100
 
 
20101
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
20102
 
      no_undefined_flag_GCJ='${wl}-z,text'
20103
 
      archive_cmds_need_lc_GCJ=no
20104
 
      hardcode_shlibpath_var_GCJ=no
20105
 
      runpath_var='LD_RUN_PATH'
20106
 
 
20107
 
      if test "$GCC" = yes; then
20108
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20109
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20110
 
      else
20111
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20112
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20113
 
      fi
20114
 
      ;;
20115
 
 
20116
 
    sysv5* | sco3.2v5* | sco5v6*)
20117
 
      # Note: We can NOT use -z defs as we might desire, because we do not
20118
 
      # link with -lc, and that would cause any symbols used from libc to
20119
 
      # always be unresolved, which means just about no library would
20120
 
      # ever link correctly.  If we're not using GNU ld we use -z text
20121
 
      # though, which does catch some bad symbols but isn't as heavy-handed
20122
 
      # as -z defs.
20123
 
      no_undefined_flag_GCJ='${wl}-z,text'
20124
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
20125
 
      archive_cmds_need_lc_GCJ=no
20126
 
      hardcode_shlibpath_var_GCJ=no
20127
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
20128
 
      hardcode_libdir_separator_GCJ=':'
20129
 
      link_all_deplibs_GCJ=yes
20130
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
20131
 
      runpath_var='LD_RUN_PATH'
20132
 
 
20133
 
      if test "$GCC" = yes; then
20134
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20135
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20136
 
      else
20137
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20138
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20139
 
      fi
20140
 
      ;;
20141
 
 
20142
 
    uts4*)
20143
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20144
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20145
 
      hardcode_shlibpath_var_GCJ=no
20146
 
      ;;
20147
 
 
20148
 
    *)
20149
 
      ld_shlibs_GCJ=no
20150
 
      ;;
20151
 
    esac
20152
 
  fi
20153
 
 
20154
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20155
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20156
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20157
 
 
20158
 
#
20159
 
# Do we need to explicitly link libc?
20160
 
#
20161
 
case "x$archive_cmds_need_lc_GCJ" in
20162
 
x|xyes)
20163
 
  # Assume -lc should be added
20164
 
  archive_cmds_need_lc_GCJ=yes
20165
 
 
20166
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
20167
 
    case $archive_cmds_GCJ in
20168
 
    *'~'*)
20169
 
      # FIXME: we may have to deal with multi-command sequences.
20170
 
      ;;
20171
 
    '$CC '*)
20172
 
      # Test whether the compiler implicitly links with -lc since on some
20173
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
20174
 
      # to ld, don't add -lc before -lgcc.
20175
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20176
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20177
 
      $rm conftest*
20178
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20179
 
 
20180
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20181
 
  (eval $ac_compile) 2>&5
20182
 
  ac_status=$?
20183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184
 
  (exit $ac_status); } 2>conftest.err; then
20185
 
        soname=conftest
20186
 
        lib=conftest
20187
 
        libobjs=conftest.$ac_objext
20188
 
        deplibs=
20189
 
        wl=$lt_prog_compiler_wl_GCJ
20190
 
        pic_flag=$lt_prog_compiler_pic_GCJ
20191
 
        compiler_flags=-v
20192
 
        linker_flags=-v
20193
 
        verstring=
20194
 
        output_objdir=.
20195
 
        libname=conftest
20196
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20197
 
        allow_undefined_flag_GCJ=
20198
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20199
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20200
 
  ac_status=$?
20201
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202
 
  (exit $ac_status); }
20203
 
        then
20204
 
          archive_cmds_need_lc_GCJ=no
20205
 
        else
20206
 
          archive_cmds_need_lc_GCJ=yes
20207
 
        fi
20208
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20209
 
      else
20210
 
        cat conftest.err 1>&5
20211
 
      fi
20212
 
      $rm conftest*
20213
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20214
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20215
 
      ;;
20216
 
    esac
20217
 
  fi
20218
 
  ;;
20219
 
esac
20220
 
 
20221
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20222
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20223
 
library_names_spec=
20224
 
libname_spec='lib$name'
20225
 
soname_spec=
20226
 
shrext_cmds=".so"
20227
 
postinstall_cmds=
20228
 
postuninstall_cmds=
20229
 
finish_cmds=
20230
 
finish_eval=
20231
 
shlibpath_var=
20232
 
shlibpath_overrides_runpath=unknown
20233
 
version_type=none
20234
 
dynamic_linker="$host_os ld.so"
20235
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
20236
 
 
20237
 
need_lib_prefix=unknown
20238
 
hardcode_into_libs=no
20239
 
 
20240
 
# when you set need_version to no, make sure it does not cause -set_version
20241
 
# flags to be left without arguments
20242
 
need_version=unknown
20243
 
 
20244
 
case $host_os in
20245
 
aix3*)
20246
 
  version_type=linux
20247
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20248
 
  shlibpath_var=LIBPATH
20249
 
 
20250
 
  # AIX 3 has no versioning support, so we append a major version to the name.
20251
 
  soname_spec='${libname}${release}${shared_ext}$major'
20252
 
  ;;
20253
 
 
20254
 
aix[4-9]*)
20255
 
  version_type=linux
20256
 
  need_lib_prefix=no
20257
 
  need_version=no
20258
 
  hardcode_into_libs=yes
20259
 
  if test "$host_cpu" = ia64; then
20260
 
    # AIX 5 supports IA64
20261
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20262
 
    shlibpath_var=LD_LIBRARY_PATH
20263
 
  else
20264
 
    # With GCC up to 2.95.x, collect2 would create an import file
20265
 
    # for dependence libraries.  The import file would start with
20266
 
    # the line `#! .'.  This would cause the generated library to
20267
 
    # depend on `.', always an invalid library.  This was fixed in
20268
 
    # development snapshots of GCC prior to 3.0.
20269
 
    case $host_os in
20270
 
      aix4 | aix4.[01] | aix4.[01].*)
20271
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20272
 
           echo ' yes '
20273
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20274
 
        :
20275
 
      else
20276
 
        can_build_shared=no
20277
 
      fi
20278
 
      ;;
20279
 
    esac
20280
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20281
 
    # soname into executable. Probably we can add versioning support to
20282
 
    # collect2, so additional links can be useful in future.
20283
 
    if test "$aix_use_runtimelinking" = yes; then
20284
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20285
 
      # instead of lib<name>.a to let people know that these are not
20286
 
      # typical AIX shared libraries.
20287
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20288
 
    else
20289
 
      # We preserve .a as extension for shared libraries through AIX4.2
20290
 
      # and later when we are not doing run time linking.
20291
 
      library_names_spec='${libname}${release}.a $libname.a'
20292
 
      soname_spec='${libname}${release}${shared_ext}$major'
20293
 
    fi
20294
 
    shlibpath_var=LIBPATH
20295
 
  fi
20296
 
  ;;
20297
 
 
20298
 
amigaos*)
20299
 
  library_names_spec='$libname.ixlibrary $libname.a'
20300
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
20301
 
  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'
20302
 
  ;;
20303
 
 
20304
 
beos*)
20305
 
  library_names_spec='${libname}${shared_ext}'
20306
 
  dynamic_linker="$host_os ld.so"
20307
 
  shlibpath_var=LIBRARY_PATH
20308
 
  ;;
20309
 
 
20310
 
bsdi[45]*)
20311
 
  version_type=linux
20312
 
  need_version=no
20313
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20314
 
  soname_spec='${libname}${release}${shared_ext}$major'
20315
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20316
 
  shlibpath_var=LD_LIBRARY_PATH
20317
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20318
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20319
 
  # the default ld.so.conf also contains /usr/contrib/lib and
20320
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20321
 
  # libtool to hard-code these into programs
20322
 
  ;;
20323
 
 
20324
 
cygwin* | mingw* | pw32*)
20325
 
  version_type=windows
20326
 
  shrext_cmds=".dll"
20327
 
  need_version=no
20328
 
  need_lib_prefix=no
20329
 
 
20330
 
  case $GCC,$host_os in
20331
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
20332
 
    library_names_spec='$libname.dll.a'
20333
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
20334
 
    postinstall_cmds='base_file=`basename \${file}`~
20335
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20336
 
      dldir=$destdir/`dirname \$dlpath`~
20337
 
      test -d \$dldir || mkdir -p \$dldir~
20338
 
      $install_prog $dir/$dlname \$dldir/$dlname~
20339
 
      chmod a+x \$dldir/$dlname'
20340
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20341
 
      dlpath=$dir/\$dldll~
20342
 
       $rm \$dlpath'
20343
 
    shlibpath_overrides_runpath=yes
20344
 
 
20345
 
    case $host_os in
20346
 
    cygwin*)
20347
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20348
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20349
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20350
 
      ;;
20351
 
    mingw*)
20352
 
      # MinGW DLLs use traditional 'lib' prefix
20353
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20354
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20355
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20356
 
        # It is most probably a Windows format PATH printed by
20357
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
20358
 
        # path with ; separators, and with drive letters. We can handle the
20359
 
        # drive letters (cygwin fileutils understands them), so leave them,
20360
 
        # especially as we might pass files found there to a mingw objdump,
20361
 
        # which wouldn't understand a cygwinified path. Ahh.
20362
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20363
 
      else
20364
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
20365
 
      fi
20366
 
      ;;
20367
 
    pw32*)
20368
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
20369
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20370
 
      ;;
20371
 
    esac
20372
 
    ;;
20373
 
 
20374
 
  *)
20375
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20376
 
    ;;
20377
 
  esac
20378
 
  dynamic_linker='Win32 ld.exe'
20379
 
  # FIXME: first we should search . and the directory the executable is in
20380
 
  shlibpath_var=PATH
20381
 
  ;;
20382
 
 
20383
 
darwin* | rhapsody*)
20384
 
  dynamic_linker="$host_os dyld"
20385
 
  version_type=darwin
20386
 
  need_lib_prefix=no
20387
 
  need_version=no
20388
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20389
 
  soname_spec='${libname}${release}${major}$shared_ext'
20390
 
  shlibpath_overrides_runpath=yes
20391
 
  shlibpath_var=DYLD_LIBRARY_PATH
20392
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20393
 
 
20394
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20395
 
  ;;
20396
 
 
20397
 
dgux*)
20398
 
  version_type=linux
20399
 
  need_lib_prefix=no
20400
 
  need_version=no
20401
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20402
 
  soname_spec='${libname}${release}${shared_ext}$major'
20403
 
  shlibpath_var=LD_LIBRARY_PATH
20404
 
  ;;
20405
 
 
20406
 
freebsd1*)
20407
 
  dynamic_linker=no
20408
 
  ;;
20409
 
 
20410
 
freebsd* | dragonfly*)
20411
 
  # DragonFly does not have aout.  When/if they implement a new
20412
 
  # versioning mechanism, adjust this.
20413
 
  if test -x /usr/bin/objformat; then
20414
 
    objformat=`/usr/bin/objformat`
20415
 
  else
20416
 
    case $host_os in
20417
 
    freebsd[123]*) objformat=aout ;;
20418
 
    *) objformat=elf ;;
20419
 
    esac
20420
 
  fi
20421
 
  version_type=freebsd-$objformat
20422
 
  case $version_type in
20423
 
    freebsd-elf*)
20424
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20425
 
      need_version=no
20426
 
      need_lib_prefix=no
20427
 
      ;;
20428
 
    freebsd-*)
20429
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20430
 
      need_version=yes
20431
 
      ;;
20432
 
  esac
20433
 
  shlibpath_var=LD_LIBRARY_PATH
20434
 
  case $host_os in
20435
 
  freebsd2*)
20436
 
    shlibpath_overrides_runpath=yes
20437
 
    ;;
20438
 
  freebsd3.[01]* | freebsdelf3.[01]*)
20439
 
    shlibpath_overrides_runpath=yes
20440
 
    hardcode_into_libs=yes
20441
 
    ;;
20442
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20443
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20444
 
    shlibpath_overrides_runpath=no
20445
 
    hardcode_into_libs=yes
20446
 
    ;;
20447
 
  *) # from 4.6 on, and DragonFly
20448
 
    shlibpath_overrides_runpath=yes
20449
 
    hardcode_into_libs=yes
20450
 
    ;;
20451
 
  esac
20452
 
  ;;
20453
 
 
20454
 
gnu*)
20455
 
  version_type=linux
20456
 
  need_lib_prefix=no
20457
 
  need_version=no
20458
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20459
 
  soname_spec='${libname}${release}${shared_ext}$major'
20460
 
  shlibpath_var=LD_LIBRARY_PATH
20461
 
  hardcode_into_libs=yes
20462
 
  ;;
20463
 
 
20464
 
hpux9* | hpux10* | hpux11*)
20465
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
20466
 
  # link against other versions.
20467
 
  version_type=sunos
20468
 
  need_lib_prefix=no
20469
 
  need_version=no
20470
 
  case $host_cpu in
20471
 
  ia64*)
20472
 
    shrext_cmds='.so'
20473
 
    hardcode_into_libs=yes
20474
 
    dynamic_linker="$host_os dld.so"
20475
 
    shlibpath_var=LD_LIBRARY_PATH
20476
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20477
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20478
 
    soname_spec='${libname}${release}${shared_ext}$major'
20479
 
    if test "X$HPUX_IA64_MODE" = X32; then
20480
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20481
 
    else
20482
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20483
 
    fi
20484
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20485
 
    ;;
20486
 
   hppa*64*)
20487
 
     shrext_cmds='.sl'
20488
 
     hardcode_into_libs=yes
20489
 
     dynamic_linker="$host_os dld.sl"
20490
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20491
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20492
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20493
 
     soname_spec='${libname}${release}${shared_ext}$major'
20494
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20495
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20496
 
     ;;
20497
 
   *)
20498
 
    shrext_cmds='.sl'
20499
 
    dynamic_linker="$host_os dld.sl"
20500
 
    shlibpath_var=SHLIB_PATH
20501
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20502
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20503
 
    soname_spec='${libname}${release}${shared_ext}$major'
20504
 
    ;;
20505
 
  esac
20506
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
20507
 
  postinstall_cmds='chmod 555 $lib'
20508
 
  ;;
20509
 
 
20510
 
interix[3-9]*)
20511
 
  version_type=linux
20512
 
  need_lib_prefix=no
20513
 
  need_version=no
20514
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20515
 
  soname_spec='${libname}${release}${shared_ext}$major'
20516
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20517
 
  shlibpath_var=LD_LIBRARY_PATH
20518
 
  shlibpath_overrides_runpath=no
20519
 
  hardcode_into_libs=yes
20520
 
  ;;
20521
 
 
20522
 
irix5* | irix6* | nonstopux*)
20523
 
  case $host_os in
20524
 
    nonstopux*) version_type=nonstopux ;;
20525
 
    *)
20526
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
20527
 
                version_type=linux
20528
 
        else
20529
 
                version_type=irix
20530
 
        fi ;;
20531
 
  esac
20532
 
  need_lib_prefix=no
20533
 
  need_version=no
20534
 
  soname_spec='${libname}${release}${shared_ext}$major'
20535
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20536
 
  case $host_os in
20537
 
  irix5* | nonstopux*)
20538
 
    libsuff= shlibsuff=
20539
 
    ;;
20540
 
  *)
20541
 
    case $LD in # libtool.m4 will add one of these switches to LD
20542
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20543
 
      libsuff= shlibsuff= libmagic=32-bit;;
20544
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20545
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
20546
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20547
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
20548
 
    *) libsuff= shlibsuff= libmagic=never-match;;
20549
 
    esac
20550
 
    ;;
20551
 
  esac
20552
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20553
 
  shlibpath_overrides_runpath=no
20554
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20555
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20556
 
  hardcode_into_libs=yes
20557
 
  ;;
20558
 
 
20559
 
# No shared lib support for Linux oldld, aout, or coff.
20560
 
linux*oldld* | linux*aout* | linux*coff*)
20561
 
  dynamic_linker=no
20562
 
  ;;
20563
 
 
20564
 
# This must be Linux ELF.
20565
 
linux* | k*bsd*-gnu)
20566
 
  version_type=linux
20567
 
  need_lib_prefix=no
20568
 
  need_version=no
20569
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20570
 
  soname_spec='${libname}${release}${shared_ext}$major'
20571
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20572
 
  shlibpath_var=LD_LIBRARY_PATH
20573
 
  shlibpath_overrides_runpath=no
20574
 
  # This implies no fast_install, which is unacceptable.
20575
 
  # Some rework will be needed to allow for fast_install
20576
 
  # before this can be enabled.
20577
 
  hardcode_into_libs=yes
20578
 
 
20579
 
  # Append ld.so.conf contents to the search path
20580
 
  if test -f /etc/ld.so.conf; then
20581
 
    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' ' '`
20582
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20583
 
  fi
20584
 
 
20585
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
20586
 
  # powerpc, because MkLinux only supported shared libraries with the
20587
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
20588
 
  # most powerpc-linux boxes support dynamic linking these days and
20589
 
  # people can always --disable-shared, the test was removed, and we
20590
 
  # assume the GNU/Linux dynamic linker is in use.
20591
 
  dynamic_linker='GNU/Linux ld.so'
20592
 
  ;;
20593
 
 
20594
 
netbsdelf*-gnu)
20595
 
  version_type=linux
20596
 
  need_lib_prefix=no
20597
 
  need_version=no
20598
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20599
 
  soname_spec='${libname}${release}${shared_ext}$major'
20600
 
  shlibpath_var=LD_LIBRARY_PATH
20601
 
  shlibpath_overrides_runpath=no
20602
 
  hardcode_into_libs=yes
20603
 
  dynamic_linker='NetBSD ld.elf_so'
20604
 
  ;;
20605
 
 
20606
 
netbsd*)
20607
 
  version_type=sunos
20608
 
  need_lib_prefix=no
20609
 
  need_version=no
20610
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20611
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20612
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20613
 
    dynamic_linker='NetBSD (a.out) ld.so'
20614
 
  else
20615
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20616
 
    soname_spec='${libname}${release}${shared_ext}$major'
20617
 
    dynamic_linker='NetBSD ld.elf_so'
20618
 
  fi
20619
 
  shlibpath_var=LD_LIBRARY_PATH
20620
 
  shlibpath_overrides_runpath=yes
20621
 
  hardcode_into_libs=yes
20622
 
  ;;
20623
 
 
20624
 
newsos6)
20625
 
  version_type=linux
20626
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20627
 
  shlibpath_var=LD_LIBRARY_PATH
20628
 
  shlibpath_overrides_runpath=yes
20629
 
  ;;
20630
 
 
20631
 
nto-qnx*)
20632
 
  version_type=linux
20633
 
  need_lib_prefix=no
20634
 
  need_version=no
20635
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20636
 
  soname_spec='${libname}${release}${shared_ext}$major'
20637
 
  shlibpath_var=LD_LIBRARY_PATH
20638
 
  shlibpath_overrides_runpath=yes
20639
 
  ;;
20640
 
 
20641
 
openbsd*)
20642
 
  version_type=sunos
20643
 
  sys_lib_dlsearch_path_spec="/usr/lib"
20644
 
  need_lib_prefix=no
20645
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20646
 
  case $host_os in
20647
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20648
 
    *)                         need_version=no  ;;
20649
 
  esac
20650
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20651
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20652
 
  shlibpath_var=LD_LIBRARY_PATH
20653
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20654
 
    case $host_os in
20655
 
      openbsd2.[89] | openbsd2.[89].*)
20656
 
        shlibpath_overrides_runpath=no
20657
 
        ;;
20658
 
      *)
20659
 
        shlibpath_overrides_runpath=yes
20660
 
        ;;
20661
 
      esac
20662
 
  else
20663
 
    shlibpath_overrides_runpath=yes
20664
 
  fi
20665
 
  ;;
20666
 
 
20667
 
os2*)
20668
 
  libname_spec='$name'
20669
 
  shrext_cmds=".dll"
20670
 
  need_lib_prefix=no
20671
 
  library_names_spec='$libname${shared_ext} $libname.a'
20672
 
  dynamic_linker='OS/2 ld.exe'
20673
 
  shlibpath_var=LIBPATH
20674
 
  ;;
20675
 
 
20676
 
osf3* | osf4* | osf5*)
20677
 
  version_type=osf
20678
 
  need_lib_prefix=no
20679
 
  need_version=no
20680
 
  soname_spec='${libname}${release}${shared_ext}$major'
20681
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20682
 
  shlibpath_var=LD_LIBRARY_PATH
20683
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20684
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20685
 
  ;;
20686
 
 
20687
 
rdos*)
20688
 
  dynamic_linker=no
20689
 
  ;;
20690
 
 
20691
 
solaris*)
20692
 
  version_type=linux
20693
 
  need_lib_prefix=no
20694
 
  need_version=no
20695
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20696
 
  soname_spec='${libname}${release}${shared_ext}$major'
20697
 
  shlibpath_var=LD_LIBRARY_PATH
20698
 
  shlibpath_overrides_runpath=yes
20699
 
  hardcode_into_libs=yes
20700
 
  # ldd complains unless libraries are executable
20701
 
  postinstall_cmds='chmod +x $lib'
20702
 
  ;;
20703
 
 
20704
 
sunos4*)
20705
 
  version_type=sunos
20706
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20707
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20708
 
  shlibpath_var=LD_LIBRARY_PATH
20709
 
  shlibpath_overrides_runpath=yes
20710
 
  if test "$with_gnu_ld" = yes; then
20711
 
    need_lib_prefix=no
20712
 
  fi
20713
 
  need_version=yes
20714
 
  ;;
20715
 
 
20716
 
sysv4 | sysv4.3*)
20717
 
  version_type=linux
20718
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20719
 
  soname_spec='${libname}${release}${shared_ext}$major'
20720
 
  shlibpath_var=LD_LIBRARY_PATH
20721
 
  case $host_vendor in
20722
 
    sni)
20723
 
      shlibpath_overrides_runpath=no
20724
 
      need_lib_prefix=no
20725
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
20726
 
      runpath_var=LD_RUN_PATH
20727
 
      ;;
20728
 
    siemens)
20729
 
      need_lib_prefix=no
20730
 
      ;;
20731
 
    motorola)
20732
 
      need_lib_prefix=no
20733
 
      need_version=no
20734
 
      shlibpath_overrides_runpath=no
20735
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20736
 
      ;;
20737
 
  esac
20738
 
  ;;
20739
 
 
20740
 
sysv4*MP*)
20741
 
  if test -d /usr/nec ;then
20742
 
    version_type=linux
20743
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20744
 
    soname_spec='$libname${shared_ext}.$major'
20745
 
    shlibpath_var=LD_LIBRARY_PATH
20746
 
  fi
20747
 
  ;;
20748
 
 
20749
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20750
 
  version_type=freebsd-elf
20751
 
  need_lib_prefix=no
20752
 
  need_version=no
20753
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20754
 
  soname_spec='${libname}${release}${shared_ext}$major'
20755
 
  shlibpath_var=LD_LIBRARY_PATH
20756
 
  hardcode_into_libs=yes
20757
 
  if test "$with_gnu_ld" = yes; then
20758
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20759
 
    shlibpath_overrides_runpath=no
20760
 
  else
20761
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20762
 
    shlibpath_overrides_runpath=yes
20763
 
    case $host_os in
20764
 
      sco3.2v5*)
20765
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20766
 
        ;;
20767
 
    esac
20768
 
  fi
20769
 
  sys_lib_dlsearch_path_spec='/usr/lib'
20770
 
  ;;
20771
 
 
20772
 
uts4*)
20773
 
  version_type=linux
20774
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20775
 
  soname_spec='${libname}${release}${shared_ext}$major'
20776
 
  shlibpath_var=LD_LIBRARY_PATH
20777
 
  ;;
20778
 
 
20779
 
*)
20780
 
  dynamic_linker=no
20781
 
  ;;
20782
 
esac
20783
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20784
 
echo "${ECHO_T}$dynamic_linker" >&6; }
20785
 
test "$dynamic_linker" = no && can_build_shared=no
20786
 
 
20787
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20788
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20789
 
else
20790
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
20791
 
fi
20792
 
 
20793
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20794
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20795
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20796
 
else
20797
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
20798
 
fi
20799
 
 
20800
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20801
 
 
20802
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20803
 
if test "$GCC" = yes; then
20804
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20805
 
fi
20806
 
 
20807
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20808
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20809
 
hardcode_action_GCJ=
20810
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20811
 
   test -n "$runpath_var_GCJ" || \
20812
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
20813
 
 
20814
 
  # We can hardcode non-existant directories.
20815
 
  if test "$hardcode_direct_GCJ" != no &&
20816
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
20817
 
     # have to relink, otherwise we might link with an installed library
20818
 
     # when we should be linking with a yet-to-be-installed one
20819
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20820
 
     test "$hardcode_minus_L_GCJ" != no; then
20821
 
    # Linking always hardcodes the temporary library directory.
20822
 
    hardcode_action_GCJ=relink
20823
 
  else
20824
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
20825
 
    hardcode_action_GCJ=immediate
20826
 
  fi
20827
 
else
20828
 
  # We cannot hardcode anything, or else we can only hardcode existing
20829
 
  # directories.
20830
 
  hardcode_action_GCJ=unsupported
20831
 
fi
20832
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20833
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20834
 
 
20835
 
if test "$hardcode_action_GCJ" = relink; then
20836
 
  # Fast installation is not supported
20837
 
  enable_fast_install=no
20838
 
elif test "$shlibpath_overrides_runpath" = yes ||
20839
 
     test "$enable_shared" = no; then
20840
 
  # Fast installation is not necessary
20841
 
  enable_fast_install=needless
20842
 
fi
20843
 
 
20844
 
 
20845
 
# The else clause should only fire when bootstrapping the
20846
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
20847
 
# with your package, and you will get complaints that there are
20848
 
# no rules to generate ltmain.sh.
20849
 
if test -f "$ltmain"; then
20850
 
  # See if we are running on zsh, and set the options which allow our commands through
20851
 
  # without removal of \ escapes.
20852
 
  if test -n "${ZSH_VERSION+set}" ; then
20853
 
    setopt NO_GLOB_SUBST
20854
 
  fi
20855
 
  # Now quote all the things that may contain metacharacters while being
20856
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20857
 
  # variables and quote the copies for generation of the libtool script.
20858
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20859
 
    SED SHELL STRIP \
20860
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20861
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20862
 
    deplibs_check_method reload_flag reload_cmds need_locks \
20863
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20864
 
    lt_cv_sys_global_symbol_to_c_name_address \
20865
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20866
 
    old_postinstall_cmds old_postuninstall_cmds \
20867
 
    compiler_GCJ \
20868
 
    CC_GCJ \
20869
 
    LD_GCJ \
20870
 
    lt_prog_compiler_wl_GCJ \
20871
 
    lt_prog_compiler_pic_GCJ \
20872
 
    lt_prog_compiler_static_GCJ \
20873
 
    lt_prog_compiler_no_builtin_flag_GCJ \
20874
 
    export_dynamic_flag_spec_GCJ \
20875
 
    thread_safe_flag_spec_GCJ \
20876
 
    whole_archive_flag_spec_GCJ \
20877
 
    enable_shared_with_static_runtimes_GCJ \
20878
 
    old_archive_cmds_GCJ \
20879
 
    old_archive_from_new_cmds_GCJ \
20880
 
    predep_objects_GCJ \
20881
 
    postdep_objects_GCJ \
20882
 
    predeps_GCJ \
20883
 
    postdeps_GCJ \
20884
 
    compiler_lib_search_path_GCJ \
20885
 
    compiler_lib_search_dirs_GCJ \
20886
 
    archive_cmds_GCJ \
20887
 
    archive_expsym_cmds_GCJ \
20888
 
    postinstall_cmds_GCJ \
20889
 
    postuninstall_cmds_GCJ \
20890
 
    old_archive_from_expsyms_cmds_GCJ \
20891
 
    allow_undefined_flag_GCJ \
20892
 
    no_undefined_flag_GCJ \
20893
 
    export_symbols_cmds_GCJ \
20894
 
    hardcode_libdir_flag_spec_GCJ \
20895
 
    hardcode_libdir_flag_spec_ld_GCJ \
20896
 
    hardcode_libdir_separator_GCJ \
20897
 
    hardcode_automatic_GCJ \
20898
 
    module_cmds_GCJ \
20899
 
    module_expsym_cmds_GCJ \
20900
 
    lt_cv_prog_compiler_c_o_GCJ \
20901
 
    fix_srcfile_path_GCJ \
20902
 
    exclude_expsyms_GCJ \
20903
 
    include_expsyms_GCJ; do
20904
 
 
20905
 
    case $var in
20906
 
    old_archive_cmds_GCJ | \
20907
 
    old_archive_from_new_cmds_GCJ | \
20908
 
    archive_cmds_GCJ | \
20909
 
    archive_expsym_cmds_GCJ | \
20910
 
    module_cmds_GCJ | \
20911
 
    module_expsym_cmds_GCJ | \
20912
 
    old_archive_from_expsyms_cmds_GCJ | \
20913
 
    export_symbols_cmds_GCJ | \
20914
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20915
 
    postinstall_cmds | postuninstall_cmds | \
20916
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20917
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20918
 
      # Double-quote double-evaled strings.
20919
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20920
 
      ;;
20921
 
    *)
20922
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20923
 
      ;;
20924
 
    esac
20925
 
  done
20926
 
 
20927
 
  case $lt_echo in
20928
 
  *'\$0 --fallback-echo"')
20929
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20930
 
    ;;
20931
 
  esac
20932
 
 
20933
 
cfgfile="$ofile"
20934
 
 
20935
 
  cat <<__EOF__ >> "$cfgfile"
20936
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20937
 
 
20938
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20939
 
 
20940
 
# Shell to use when invoking shell scripts.
20941
 
SHELL=$lt_SHELL
20942
 
 
20943
 
# Whether or not to build shared libraries.
20944
 
build_libtool_libs=$enable_shared
20945
 
 
20946
 
# Whether or not to build static libraries.
20947
 
build_old_libs=$enable_static
20948
 
 
20949
 
# Whether or not to add -lc for building shared libraries.
20950
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20951
 
 
20952
 
# Whether or not to disallow shared libs when runtime libs are static
20953
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20954
 
 
20955
 
# Whether or not to optimize for fast installation.
20956
 
fast_install=$enable_fast_install
20957
 
 
20958
 
# The host system.
20959
 
host_alias=$host_alias
20960
 
host=$host
20961
 
host_os=$host_os
20962
 
 
20963
 
# The build system.
20964
 
build_alias=$build_alias
20965
 
build=$build
20966
 
build_os=$build_os
20967
 
 
20968
 
# An echo program that does not interpret backslashes.
20969
 
echo=$lt_echo
20970
 
 
20971
 
# The archiver.
20972
 
AR=$lt_AR
20973
 
AR_FLAGS=$lt_AR_FLAGS
20974
 
 
20975
 
# A C compiler.
20976
 
LTCC=$lt_LTCC
20977
 
 
20978
 
# LTCC compiler flags.
20979
 
LTCFLAGS=$lt_LTCFLAGS
20980
 
 
20981
 
# A language-specific compiler.
20982
 
CC=$lt_compiler_GCJ
20983
 
 
20984
 
# Is the compiler the GNU C compiler?
20985
 
with_gcc=$GCC_GCJ
20986
 
 
20987
 
# An ERE matcher.
20988
 
EGREP=$lt_EGREP
20989
 
 
20990
 
# The linker used to build libraries.
20991
 
LD=$lt_LD_GCJ
20992
 
 
20993
 
# Whether we need hard or soft links.
20994
 
LN_S=$lt_LN_S
20995
 
 
20996
 
# A BSD-compatible nm program.
20997
 
NM=$lt_NM
20998
 
 
20999
 
# A symbol stripping program
21000
 
STRIP=$lt_STRIP
21001
 
 
21002
 
# Used to examine libraries when file_magic_cmd begins "file"
21003
 
MAGIC_CMD=$MAGIC_CMD
21004
 
 
21005
 
# Used on cygwin: DLL creation program.
21006
 
DLLTOOL="$DLLTOOL"
21007
 
 
21008
 
# Used on cygwin: object dumper.
21009
 
OBJDUMP="$OBJDUMP"
21010
 
 
21011
 
# Used on cygwin: assembler.
21012
 
AS="$AS"
21013
 
 
21014
 
# The name of the directory that contains temporary libtool files.
21015
 
objdir=$objdir
21016
 
 
21017
 
# How to create reloadable object files.
21018
 
reload_flag=$lt_reload_flag
21019
 
reload_cmds=$lt_reload_cmds
21020
 
 
21021
 
# How to pass a linker flag through the compiler.
21022
 
wl=$lt_lt_prog_compiler_wl_GCJ
21023
 
 
21024
 
# Object file suffix (normally "o").
21025
 
objext="$ac_objext"
21026
 
 
21027
 
# Old archive suffix (normally "a").
21028
 
libext="$libext"
21029
 
 
21030
 
# Shared library suffix (normally ".so").
21031
 
shrext_cmds='$shrext_cmds'
21032
 
 
21033
 
# Executable file suffix (normally "").
21034
 
exeext="$exeext"
21035
 
 
21036
 
# Additional compiler flags for building library objects.
21037
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
21038
 
pic_mode=$pic_mode
21039
 
 
21040
 
# What is the maximum length of a command?
21041
 
max_cmd_len=$lt_cv_sys_max_cmd_len
21042
 
 
21043
 
# Does compiler simultaneously support -c and -o options?
21044
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21045
 
 
21046
 
# Must we lock files when doing compilation?
21047
 
need_locks=$lt_need_locks
21048
 
 
21049
 
# Do we need the lib prefix for modules?
21050
 
need_lib_prefix=$need_lib_prefix
21051
 
 
21052
 
# Do we need a version for libraries?
21053
 
need_version=$need_version
21054
 
 
21055
 
# Whether dlopen is supported.
21056
 
dlopen_support=$enable_dlopen
21057
 
 
21058
 
# Whether dlopen of programs is supported.
21059
 
dlopen_self=$enable_dlopen_self
21060
 
 
21061
 
# Whether dlopen of statically linked programs is supported.
21062
 
dlopen_self_static=$enable_dlopen_self_static
21063
 
 
21064
 
# Compiler flag to prevent dynamic linking.
21065
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
21066
 
 
21067
 
# Compiler flag to turn off builtin functions.
21068
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21069
 
 
21070
 
# Compiler flag to allow reflexive dlopens.
21071
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21072
 
 
21073
 
# Compiler flag to generate shared objects directly from archives.
21074
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21075
 
 
21076
 
# Compiler flag to generate thread-safe objects.
21077
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21078
 
 
21079
 
# Library versioning type.
21080
 
version_type=$version_type
21081
 
 
21082
 
# Format of library name prefix.
21083
 
libname_spec=$lt_libname_spec
21084
 
 
21085
 
# List of archive names.  First name is the real one, the rest are links.
21086
 
# The last name is the one that the linker finds with -lNAME.
21087
 
library_names_spec=$lt_library_names_spec
21088
 
 
21089
 
# The coded name of the library, if different from the real name.
21090
 
soname_spec=$lt_soname_spec
21091
 
 
21092
 
# Commands used to build and install an old-style archive.
21093
 
RANLIB=$lt_RANLIB
21094
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
21095
 
old_postinstall_cmds=$lt_old_postinstall_cmds
21096
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21097
 
 
21098
 
# Create an old-style archive from a shared archive.
21099
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21100
 
 
21101
 
# Create a temporary old-style archive to link instead of a shared archive.
21102
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21103
 
 
21104
 
# Commands used to build and install a shared archive.
21105
 
archive_cmds=$lt_archive_cmds_GCJ
21106
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21107
 
postinstall_cmds=$lt_postinstall_cmds
21108
 
postuninstall_cmds=$lt_postuninstall_cmds
21109
 
 
21110
 
# Commands used to build a loadable module (assumed same as above if empty)
21111
 
module_cmds=$lt_module_cmds_GCJ
21112
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21113
 
 
21114
 
# Commands to strip libraries.
21115
 
old_striplib=$lt_old_striplib
21116
 
striplib=$lt_striplib
21117
 
 
21118
 
# Dependencies to place before the objects being linked to create a
21119
 
# shared library.
21120
 
predep_objects=$lt_predep_objects_GCJ
21121
 
 
21122
 
# Dependencies to place after the objects being linked to create a
21123
 
# shared library.
21124
 
postdep_objects=$lt_postdep_objects_GCJ
21125
 
 
21126
 
# Dependencies to place before the objects being linked to create a
21127
 
# shared library.
21128
 
predeps=$lt_predeps_GCJ
21129
 
 
21130
 
# Dependencies to place after the objects being linked to create a
21131
 
# shared library.
21132
 
postdeps=$lt_postdeps_GCJ
21133
 
 
21134
 
# The directories searched by this compiler when creating a shared
21135
 
# library
21136
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
21137
 
 
21138
 
# The library search path used internally by the compiler when linking
21139
 
# a shared library.
21140
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21141
 
 
21142
 
# Method to check whether dependent libraries are shared objects.
21143
 
deplibs_check_method=$lt_deplibs_check_method
21144
 
 
21145
 
# Command to use when deplibs_check_method == file_magic.
21146
 
file_magic_cmd=$lt_file_magic_cmd
21147
 
 
21148
 
# Flag that allows shared libraries with undefined symbols to be built.
21149
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21150
 
 
21151
 
# Flag that forces no undefined symbols.
21152
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
21153
 
 
21154
 
# Commands used to finish a libtool library installation in a directory.
21155
 
finish_cmds=$lt_finish_cmds
21156
 
 
21157
 
# Same as above, but a single script fragment to be evaled but not shown.
21158
 
finish_eval=$lt_finish_eval
21159
 
 
21160
 
# Take the output of nm and produce a listing of raw symbols and C names.
21161
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21162
 
 
21163
 
# Transform the output of nm in a proper C declaration
21164
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21165
 
 
21166
 
# Transform the output of nm in a C name address pair
21167
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21168
 
 
21169
 
# This is the shared library runtime path variable.
21170
 
runpath_var=$runpath_var
21171
 
 
21172
 
# This is the shared library path variable.
21173
 
shlibpath_var=$shlibpath_var
21174
 
 
21175
 
# Is shlibpath searched before the hard-coded library search path?
21176
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21177
 
 
21178
 
# How to hardcode a shared library path into an executable.
21179
 
hardcode_action=$hardcode_action_GCJ
21180
 
 
21181
 
# Whether we should hardcode library paths into libraries.
21182
 
hardcode_into_libs=$hardcode_into_libs
21183
 
 
21184
 
# Flag to hardcode \$libdir into a binary during linking.
21185
 
# This must work even if \$libdir does not exist.
21186
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
21187
 
 
21188
 
# If ld is used when linking, flag to hardcode \$libdir into
21189
 
# a binary during linking. This must work even if \$libdir does
21190
 
# not exist.
21191
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
21192
 
 
21193
 
# Whether we need a single -rpath flag with a separated argument.
21194
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
21195
 
 
21196
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21197
 
# resulting binary.
21198
 
hardcode_direct=$hardcode_direct_GCJ
21199
 
 
21200
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21201
 
# resulting binary.
21202
 
hardcode_minus_L=$hardcode_minus_L_GCJ
21203
 
 
21204
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21205
 
# the resulting binary.
21206
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
21207
 
 
21208
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
21209
 
# and all subsequent libraries and executables linked against it.
21210
 
hardcode_automatic=$hardcode_automatic_GCJ
21211
 
 
21212
 
# Variables whose values should be saved in libtool wrapper scripts and
21213
 
# restored at relink time.
21214
 
variables_saved_for_relink="$variables_saved_for_relink"
21215
 
 
21216
 
# Whether libtool must link a program against all its dependency libraries.
21217
 
link_all_deplibs=$link_all_deplibs_GCJ
21218
 
 
21219
 
# Compile-time system search path for libraries
21220
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21221
 
 
21222
 
# Run-time system search path for libraries
21223
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21224
 
 
21225
 
# Fix the shell variable \$srcfile for the compiler.
21226
 
fix_srcfile_path=$lt_fix_srcfile_path
21227
 
 
21228
 
# Set to yes if exported symbols are required.
21229
 
always_export_symbols=$always_export_symbols_GCJ
21230
 
 
21231
 
# The commands to list exported symbols.
21232
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
21233
 
 
21234
 
# The commands to extract the exported symbol list from a shared archive.
21235
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21236
 
 
21237
 
# Symbols that should not be listed in the preloaded symbols.
21238
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
21239
 
 
21240
 
# Symbols that must always be exported.
21241
 
include_expsyms=$lt_include_expsyms_GCJ
21242
 
 
21243
 
# ### END LIBTOOL TAG CONFIG: $tagname
21244
 
 
21245
 
__EOF__
21246
 
 
21247
 
 
21248
 
else
21249
 
  # If there is no Makefile yet, we rely on a make rule to execute
21250
 
  # `config.status --recheck' to rerun these tests and create the
21251
 
  # libtool script then.
21252
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21253
 
  if test -f "$ltmain_in"; then
21254
 
    test -f Makefile && make "$ltmain"
21255
 
  fi
21256
 
fi
21257
 
 
21258
 
 
21259
 
ac_ext=c
21260
 
ac_cpp='$CPP $CPPFLAGS'
21261
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21262
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21263
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21264
 
 
21265
 
CC="$lt_save_CC"
21266
 
 
21267
 
        else
21268
 
          tagname=""
21269
 
        fi
21270
 
        ;;
21271
 
 
21272
 
      RC)
21273
 
 
21274
 
 
21275
 
# Source file extension for RC test sources.
21276
 
ac_ext=rc
21277
 
 
21278
 
# Object file extension for compiled RC test sources.
21279
 
objext=o
21280
 
objext_RC=$objext
21281
 
 
21282
 
# Code to be used in simple compile tests
21283
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
21284
 
 
21285
 
# Code to be used in simple link tests
21286
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
21287
 
 
21288
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
21289
 
 
21290
 
# If no C compiler was specified, use CC.
21291
 
LTCC=${LTCC-"$CC"}
21292
 
 
21293
 
# If no C compiler flags were specified, use CFLAGS.
21294
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21295
 
 
21296
 
# Allow CC to be a program name with arguments.
21297
 
compiler=$CC
21298
 
 
21299
 
 
21300
 
# save warnings/boilerplate of simple test code
21301
 
ac_outfile=conftest.$ac_objext
21302
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
21303
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21304
 
_lt_compiler_boilerplate=`cat conftest.err`
21305
 
$rm conftest*
21306
 
 
21307
 
ac_outfile=conftest.$ac_objext
21308
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
21309
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21310
 
_lt_linker_boilerplate=`cat conftest.err`
21311
 
$rm -r conftest*
21312
 
 
21313
 
 
21314
 
# Allow CC to be a program name with arguments.
21315
 
lt_save_CC="$CC"
21316
 
CC=${RC-"windres"}
21317
 
compiler=$CC
21318
 
compiler_RC=$CC
21319
 
for cc_temp in $compiler""; do
21320
 
  case $cc_temp in
21321
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21322
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21323
 
    \-*) ;;
21324
 
    *) break;;
21325
 
  esac
21326
 
done
21327
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21328
 
 
21329
 
lt_cv_prog_compiler_c_o_RC=yes
21330
 
 
21331
 
# The else clause should only fire when bootstrapping the
21332
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
21333
 
# with your package, and you will get complaints that there are
21334
 
# no rules to generate ltmain.sh.
21335
 
if test -f "$ltmain"; then
21336
 
  # See if we are running on zsh, and set the options which allow our commands through
21337
 
  # without removal of \ escapes.
21338
 
  if test -n "${ZSH_VERSION+set}" ; then
21339
 
    setopt NO_GLOB_SUBST
21340
 
  fi
21341
 
  # Now quote all the things that may contain metacharacters while being
21342
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
21343
 
  # variables and quote the copies for generation of the libtool script.
21344
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21345
 
    SED SHELL STRIP \
21346
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21347
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21348
 
    deplibs_check_method reload_flag reload_cmds need_locks \
21349
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21350
 
    lt_cv_sys_global_symbol_to_c_name_address \
21351
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21352
 
    old_postinstall_cmds old_postuninstall_cmds \
21353
 
    compiler_RC \
21354
 
    CC_RC \
21355
 
    LD_RC \
21356
 
    lt_prog_compiler_wl_RC \
21357
 
    lt_prog_compiler_pic_RC \
21358
 
    lt_prog_compiler_static_RC \
21359
 
    lt_prog_compiler_no_builtin_flag_RC \
21360
 
    export_dynamic_flag_spec_RC \
21361
 
    thread_safe_flag_spec_RC \
21362
 
    whole_archive_flag_spec_RC \
21363
 
    enable_shared_with_static_runtimes_RC \
21364
 
    old_archive_cmds_RC \
21365
 
    old_archive_from_new_cmds_RC \
21366
 
    predep_objects_RC \
21367
 
    postdep_objects_RC \
21368
 
    predeps_RC \
21369
 
    postdeps_RC \
21370
 
    compiler_lib_search_path_RC \
21371
 
    compiler_lib_search_dirs_RC \
21372
 
    archive_cmds_RC \
21373
 
    archive_expsym_cmds_RC \
21374
 
    postinstall_cmds_RC \
21375
 
    postuninstall_cmds_RC \
21376
 
    old_archive_from_expsyms_cmds_RC \
21377
 
    allow_undefined_flag_RC \
21378
 
    no_undefined_flag_RC \
21379
 
    export_symbols_cmds_RC \
21380
 
    hardcode_libdir_flag_spec_RC \
21381
 
    hardcode_libdir_flag_spec_ld_RC \
21382
 
    hardcode_libdir_separator_RC \
21383
 
    hardcode_automatic_RC \
21384
 
    module_cmds_RC \
21385
 
    module_expsym_cmds_RC \
21386
 
    lt_cv_prog_compiler_c_o_RC \
21387
 
    fix_srcfile_path_RC \
21388
 
    exclude_expsyms_RC \
21389
 
    include_expsyms_RC; do
21390
 
 
21391
 
    case $var in
21392
 
    old_archive_cmds_RC | \
21393
 
    old_archive_from_new_cmds_RC | \
21394
 
    archive_cmds_RC | \
21395
 
    archive_expsym_cmds_RC | \
21396
 
    module_cmds_RC | \
21397
 
    module_expsym_cmds_RC | \
21398
 
    old_archive_from_expsyms_cmds_RC | \
21399
 
    export_symbols_cmds_RC | \
21400
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
21401
 
    postinstall_cmds | postuninstall_cmds | \
21402
 
    old_postinstall_cmds | old_postuninstall_cmds | \
21403
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21404
 
      # Double-quote double-evaled strings.
21405
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21406
 
      ;;
21407
 
    *)
21408
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21409
 
      ;;
21410
 
    esac
21411
 
  done
21412
 
 
21413
 
  case $lt_echo in
21414
 
  *'\$0 --fallback-echo"')
21415
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21416
 
    ;;
21417
 
  esac
21418
 
 
21419
 
cfgfile="$ofile"
21420
 
 
21421
 
  cat <<__EOF__ >> "$cfgfile"
21422
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21423
 
 
21424
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21425
 
 
21426
 
# Shell to use when invoking shell scripts.
21427
 
SHELL=$lt_SHELL
21428
 
 
21429
 
# Whether or not to build shared libraries.
21430
 
build_libtool_libs=$enable_shared
21431
 
 
21432
 
# Whether or not to build static libraries.
21433
 
build_old_libs=$enable_static
21434
 
 
21435
 
# Whether or not to add -lc for building shared libraries.
21436
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
21437
 
 
21438
 
# Whether or not to disallow shared libs when runtime libs are static
21439
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
21440
 
 
21441
 
# Whether or not to optimize for fast installation.
21442
 
fast_install=$enable_fast_install
21443
 
 
21444
 
# The host system.
21445
 
host_alias=$host_alias
21446
 
host=$host
21447
 
host_os=$host_os
21448
 
 
21449
 
# The build system.
21450
 
build_alias=$build_alias
21451
 
build=$build
21452
 
build_os=$build_os
21453
 
 
21454
 
# An echo program that does not interpret backslashes.
21455
 
echo=$lt_echo
21456
 
 
21457
 
# The archiver.
21458
 
AR=$lt_AR
21459
 
AR_FLAGS=$lt_AR_FLAGS
21460
 
 
21461
 
# A C compiler.
21462
 
LTCC=$lt_LTCC
21463
 
 
21464
 
# LTCC compiler flags.
21465
 
LTCFLAGS=$lt_LTCFLAGS
21466
 
 
21467
 
# A language-specific compiler.
21468
 
CC=$lt_compiler_RC
21469
 
 
21470
 
# Is the compiler the GNU C compiler?
21471
 
with_gcc=$GCC_RC
21472
 
 
21473
 
# An ERE matcher.
21474
 
EGREP=$lt_EGREP
21475
 
 
21476
 
# The linker used to build libraries.
21477
 
LD=$lt_LD_RC
21478
 
 
21479
 
# Whether we need hard or soft links.
21480
 
LN_S=$lt_LN_S
21481
 
 
21482
 
# A BSD-compatible nm program.
21483
 
NM=$lt_NM
21484
 
 
21485
 
# A symbol stripping program
21486
 
STRIP=$lt_STRIP
21487
 
 
21488
 
# Used to examine libraries when file_magic_cmd begins "file"
21489
 
MAGIC_CMD=$MAGIC_CMD
21490
 
 
21491
 
# Used on cygwin: DLL creation program.
21492
 
DLLTOOL="$DLLTOOL"
21493
 
 
21494
 
# Used on cygwin: object dumper.
21495
 
OBJDUMP="$OBJDUMP"
21496
 
 
21497
 
# Used on cygwin: assembler.
21498
 
AS="$AS"
21499
 
 
21500
 
# The name of the directory that contains temporary libtool files.
21501
 
objdir=$objdir
21502
 
 
21503
 
# How to create reloadable object files.
21504
 
reload_flag=$lt_reload_flag
21505
 
reload_cmds=$lt_reload_cmds
21506
 
 
21507
 
# How to pass a linker flag through the compiler.
21508
 
wl=$lt_lt_prog_compiler_wl_RC
21509
 
 
21510
 
# Object file suffix (normally "o").
21511
 
objext="$ac_objext"
21512
 
 
21513
 
# Old archive suffix (normally "a").
21514
 
libext="$libext"
21515
 
 
21516
 
# Shared library suffix (normally ".so").
21517
 
shrext_cmds='$shrext_cmds'
21518
 
 
21519
 
# Executable file suffix (normally "").
21520
 
exeext="$exeext"
21521
 
 
21522
 
# Additional compiler flags for building library objects.
21523
 
pic_flag=$lt_lt_prog_compiler_pic_RC
21524
 
pic_mode=$pic_mode
21525
 
 
21526
 
# What is the maximum length of a command?
21527
 
max_cmd_len=$lt_cv_sys_max_cmd_len
21528
 
 
21529
 
# Does compiler simultaneously support -c and -o options?
21530
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
21531
 
 
21532
 
# Must we lock files when doing compilation?
21533
 
need_locks=$lt_need_locks
21534
 
 
21535
 
# Do we need the lib prefix for modules?
21536
 
need_lib_prefix=$need_lib_prefix
21537
 
 
21538
 
# Do we need a version for libraries?
21539
 
need_version=$need_version
21540
 
 
21541
 
# Whether dlopen is supported.
21542
 
dlopen_support=$enable_dlopen
21543
 
 
21544
 
# Whether dlopen of programs is supported.
21545
 
dlopen_self=$enable_dlopen_self
21546
 
 
21547
 
# Whether dlopen of statically linked programs is supported.
21548
 
dlopen_self_static=$enable_dlopen_self_static
21549
 
 
21550
 
# Compiler flag to prevent dynamic linking.
21551
 
link_static_flag=$lt_lt_prog_compiler_static_RC
21552
 
 
21553
 
# Compiler flag to turn off builtin functions.
21554
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21555
 
 
21556
 
# Compiler flag to allow reflexive dlopens.
21557
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21558
 
 
21559
 
# Compiler flag to generate shared objects directly from archives.
21560
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21561
 
 
21562
 
# Compiler flag to generate thread-safe objects.
21563
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
21564
 
 
21565
 
# Library versioning type.
21566
 
version_type=$version_type
21567
 
 
21568
 
# Format of library name prefix.
21569
 
libname_spec=$lt_libname_spec
21570
 
 
21571
 
# List of archive names.  First name is the real one, the rest are links.
21572
 
# The last name is the one that the linker finds with -lNAME.
21573
 
library_names_spec=$lt_library_names_spec
21574
 
 
21575
 
# The coded name of the library, if different from the real name.
21576
 
soname_spec=$lt_soname_spec
21577
 
 
21578
 
# Commands used to build and install an old-style archive.
21579
 
RANLIB=$lt_RANLIB
21580
 
old_archive_cmds=$lt_old_archive_cmds_RC
21581
 
old_postinstall_cmds=$lt_old_postinstall_cmds
21582
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21583
 
 
21584
 
# Create an old-style archive from a shared archive.
21585
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21586
 
 
21587
 
# Create a temporary old-style archive to link instead of a shared archive.
21588
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21589
 
 
21590
 
# Commands used to build and install a shared archive.
21591
 
archive_cmds=$lt_archive_cmds_RC
21592
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21593
 
postinstall_cmds=$lt_postinstall_cmds
21594
 
postuninstall_cmds=$lt_postuninstall_cmds
21595
 
 
21596
 
# Commands used to build a loadable module (assumed same as above if empty)
21597
 
module_cmds=$lt_module_cmds_RC
21598
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
21599
 
 
21600
 
# Commands to strip libraries.
21601
 
old_striplib=$lt_old_striplib
21602
 
striplib=$lt_striplib
21603
 
 
21604
 
# Dependencies to place before the objects being linked to create a
21605
 
# shared library.
21606
 
predep_objects=$lt_predep_objects_RC
21607
 
 
21608
 
# Dependencies to place after the objects being linked to create a
21609
 
# shared library.
21610
 
postdep_objects=$lt_postdep_objects_RC
21611
 
 
21612
 
# Dependencies to place before the objects being linked to create a
21613
 
# shared library.
21614
 
predeps=$lt_predeps_RC
21615
 
 
21616
 
# Dependencies to place after the objects being linked to create a
21617
 
# shared library.
21618
 
postdeps=$lt_postdeps_RC
21619
 
 
21620
 
# The directories searched by this compiler when creating a shared
21621
 
# library
21622
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
21623
 
 
21624
 
# The library search path used internally by the compiler when linking
21625
 
# a shared library.
21626
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21627
 
 
21628
 
# Method to check whether dependent libraries are shared objects.
21629
 
deplibs_check_method=$lt_deplibs_check_method
21630
 
 
21631
 
# Command to use when deplibs_check_method == file_magic.
21632
 
file_magic_cmd=$lt_file_magic_cmd
21633
 
 
21634
 
# Flag that allows shared libraries with undefined symbols to be built.
21635
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
21636
 
 
21637
 
# Flag that forces no undefined symbols.
21638
 
no_undefined_flag=$lt_no_undefined_flag_RC
21639
 
 
21640
 
# Commands used to finish a libtool library installation in a directory.
21641
 
finish_cmds=$lt_finish_cmds
21642
 
 
21643
 
# Same as above, but a single script fragment to be evaled but not shown.
21644
 
finish_eval=$lt_finish_eval
21645
 
 
21646
 
# Take the output of nm and produce a listing of raw symbols and C names.
21647
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21648
 
 
21649
 
# Transform the output of nm in a proper C declaration
21650
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21651
 
 
21652
 
# Transform the output of nm in a C name address pair
21653
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21654
 
 
21655
 
# This is the shared library runtime path variable.
21656
 
runpath_var=$runpath_var
21657
 
 
21658
 
# This is the shared library path variable.
21659
 
shlibpath_var=$shlibpath_var
21660
 
 
21661
 
# Is shlibpath searched before the hard-coded library search path?
21662
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21663
 
 
21664
 
# How to hardcode a shared library path into an executable.
21665
 
hardcode_action=$hardcode_action_RC
21666
 
 
21667
 
# Whether we should hardcode library paths into libraries.
21668
 
hardcode_into_libs=$hardcode_into_libs
21669
 
 
21670
 
# Flag to hardcode \$libdir into a binary during linking.
21671
 
# This must work even if \$libdir does not exist.
21672
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21673
 
 
21674
 
# If ld is used when linking, flag to hardcode \$libdir into
21675
 
# a binary during linking. This must work even if \$libdir does
21676
 
# not exist.
21677
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21678
 
 
21679
 
# Whether we need a single -rpath flag with a separated argument.
21680
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21681
 
 
21682
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21683
 
# resulting binary.
21684
 
hardcode_direct=$hardcode_direct_RC
21685
 
 
21686
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21687
 
# resulting binary.
21688
 
hardcode_minus_L=$hardcode_minus_L_RC
21689
 
 
21690
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21691
 
# the resulting binary.
21692
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21693
 
 
21694
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
21695
 
# and all subsequent libraries and executables linked against it.
21696
 
hardcode_automatic=$hardcode_automatic_RC
21697
 
 
21698
 
# Variables whose values should be saved in libtool wrapper scripts and
21699
 
# restored at relink time.
21700
 
variables_saved_for_relink="$variables_saved_for_relink"
21701
 
 
21702
 
# Whether libtool must link a program against all its dependency libraries.
21703
 
link_all_deplibs=$link_all_deplibs_RC
21704
 
 
21705
 
# Compile-time system search path for libraries
21706
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21707
 
 
21708
 
# Run-time system search path for libraries
21709
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21710
 
 
21711
 
# Fix the shell variable \$srcfile for the compiler.
21712
 
fix_srcfile_path=$lt_fix_srcfile_path
21713
 
 
21714
 
# Set to yes if exported symbols are required.
21715
 
always_export_symbols=$always_export_symbols_RC
21716
 
 
21717
 
# The commands to list exported symbols.
21718
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
21719
 
 
21720
 
# The commands to extract the exported symbol list from a shared archive.
21721
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21722
 
 
21723
 
# Symbols that should not be listed in the preloaded symbols.
21724
 
exclude_expsyms=$lt_exclude_expsyms_RC
21725
 
 
21726
 
# Symbols that must always be exported.
21727
 
include_expsyms=$lt_include_expsyms_RC
21728
 
 
21729
 
# ### END LIBTOOL TAG CONFIG: $tagname
21730
 
 
21731
 
__EOF__
21732
 
 
21733
 
 
21734
 
else
21735
 
  # If there is no Makefile yet, we rely on a make rule to execute
21736
 
  # `config.status --recheck' to rerun these tests and create the
21737
 
  # libtool script then.
21738
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21739
 
  if test -f "$ltmain_in"; then
21740
 
    test -f Makefile && make "$ltmain"
21741
 
  fi
21742
 
fi
21743
 
 
21744
 
 
21745
 
ac_ext=c
21746
 
ac_cpp='$CPP $CPPFLAGS'
21747
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21748
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21749
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21750
 
 
21751
 
CC="$lt_save_CC"
21752
 
 
21753
 
        ;;
21754
 
 
21755
 
      *)
21756
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21757
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21758
 
   { (exit 1); exit 1; }; }
21759
 
        ;;
21760
 
      esac
21761
 
 
21762
 
      # Append the new tag name to the list of available tags.
21763
 
      if test -n "$tagname" ; then
21764
 
      available_tags="$available_tags $tagname"
21765
 
    fi
21766
 
    fi
21767
 
  done
21768
 
  IFS="$lt_save_ifs"
21769
 
 
21770
 
  # Now substitute the updated list of available tags.
21771
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21772
 
    mv "${ofile}T" "$ofile"
21773
 
    chmod +x "$ofile"
21774
 
  else
21775
 
    rm -f "${ofile}T"
21776
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21777
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21778
 
   { (exit 1); exit 1; }; }
21779
 
  fi
21780
 
fi
21781
 
 
21782
 
 
21783
 
 
21784
 
# This can be used to rebuild libtool when needed
21785
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
21786
 
 
21787
 
# Always use our own libtool.
21788
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
21789
 
 
21790
 
# Prevent multiple expansion
21791
 
 
21792
 
 
21793
 
 
21794
 
 
21795
 
 
21796
 
 
21797
 
 
21798
 
 
21799
 
 
21800
 
 
21801
 
 
21802
 
 
21803
 
 
21804
 
 
21805
 
 
21806
 
 
21807
 
 
21808
 
 
 
12725
 
 
12726
 
 
12727
 
 
12728
 
 
12729
 
 
12730
 
 
12731
 
 
12732
 
 
12733
 
 
12734
 
 
12735
 
 
12736
 
 
12737
 
 
12738
 
 
12739
 
 
12740
striplib=
 
12741
old_striplib=
 
12742
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12743
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
 
12744
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
12745
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
12746
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
12747
  { echo "$as_me:$LINENO: result: yes" >&5
 
12748
echo "${ECHO_T}yes" >&6; }
 
12749
else
 
12750
# FIXME - insert some real tests, host_os isn't really good enough
 
12751
  case $host_os in
 
12752
  darwin*)
 
12753
    if test -n "$STRIP" ; then
 
12754
      striplib="$STRIP -x"
 
12755
      old_striplib="$STRIP -S"
 
12756
      { echo "$as_me:$LINENO: result: yes" >&5
 
12757
echo "${ECHO_T}yes" >&6; }
 
12758
    else
 
12759
      { echo "$as_me:$LINENO: result: no" >&5
 
12760
echo "${ECHO_T}no" >&6; }
 
12761
    fi
 
12762
    ;;
 
12763
  *)
 
12764
    { echo "$as_me:$LINENO: result: no" >&5
 
12765
echo "${ECHO_T}no" >&6; }
 
12766
    ;;
 
12767
  esac
 
12768
fi
 
12769
 
 
12770
 
 
12771
 
 
12772
 
 
12773
 
 
12774
 
 
12775
 
 
12776
 
 
12777
 
 
12778
 
 
12779
 
 
12780
 
 
12781
  # Report which library types will actually be built
 
12782
  { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12783
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
12784
  { echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12785
echo "${ECHO_T}$can_build_shared" >&6; }
 
12786
 
 
12787
  { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12788
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 
12789
  test "$can_build_shared" = "no" && enable_shared=no
 
12790
 
 
12791
  # On AIX, shared libraries and static libraries use the same namespace, and
 
12792
  # are all built from PIC.
 
12793
  case $host_os in
 
12794
  aix3*)
 
12795
    test "$enable_shared" = yes && enable_static=no
 
12796
    if test -n "$RANLIB"; then
 
12797
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
12798
      postinstall_cmds='$RANLIB $lib'
 
12799
    fi
 
12800
    ;;
 
12801
 
 
12802
  aix[4-9]*)
 
12803
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12804
      test "$enable_shared" = yes && enable_static=no
 
12805
    fi
 
12806
    ;;
 
12807
  esac
 
12808
  { echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12809
echo "${ECHO_T}$enable_shared" >&6; }
 
12810
 
 
12811
  { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12812
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 
12813
  # Make sure either enable_shared or enable_static is yes.
 
12814
  test "$enable_shared" = yes || enable_static=yes
 
12815
  { echo "$as_me:$LINENO: result: $enable_static" >&5
 
12816
echo "${ECHO_T}$enable_static" >&6; }
 
12817
 
 
12818
 
 
12819
 
 
12820
 
 
12821
fi
 
12822
ac_ext=c
 
12823
ac_cpp='$CPP $CPPFLAGS'
 
12824
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12825
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12826
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12827
 
 
12828
CC="$lt_save_CC"
 
12829
 
 
12830
 
 
12831
 
 
12832
 
 
12833
 
 
12834
 
 
12835
 
 
12836
 
 
12837
 
 
12838
 
 
12839
 
 
12840
 
 
12841
 
 
12842
        ac_config_commands="$ac_config_commands libtool"
 
12843
 
 
12844
 
 
12845
 
 
12846
 
 
12847
# Only expand once:
21809
12848
 
21810
12849
 
21811
12850
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
26122
17161
 
26123
17162
fi
26124
17163
 
26125
 
{ echo "$as_me:$LINENO: checking for XShmAttach in -lXext" >&5
26126
 
echo $ECHO_N "checking for XShmAttach in -lXext... $ECHO_C" >&6; }
26127
 
if test "${ac_cv_lib_Xext_XShmAttach+set}" = set; then
26128
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26129
 
else
26130
 
  ac_check_lib_save_LIBS=$LIBS
26131
 
LIBS="-lXext  $LIBS"
26132
 
cat >conftest.$ac_ext <<_ACEOF
26133
 
/* confdefs.h.  */
26134
 
_ACEOF
26135
 
cat confdefs.h >>conftest.$ac_ext
26136
 
cat >>conftest.$ac_ext <<_ACEOF
26137
 
/* end confdefs.h.  */
26138
 
 
26139
 
/* Override any GCC internal prototype to avoid an error.
26140
 
   Use char because int might match the return type of a GCC
26141
 
   builtin and then its argument prototype would still apply.  */
26142
 
#ifdef __cplusplus
26143
 
extern "C"
26144
 
#endif
26145
 
char XShmAttach ();
26146
 
int
26147
 
main ()
26148
 
{
26149
 
return XShmAttach ();
26150
 
  ;
26151
 
  return 0;
26152
 
}
26153
 
_ACEOF
26154
 
rm -f conftest.$ac_objext conftest$ac_exeext
26155
 
if { (ac_try="$ac_link"
26156
 
case "(($ac_try" in
26157
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26158
 
  *) ac_try_echo=$ac_try;;
26159
 
esac
26160
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26161
 
  (eval "$ac_link") 2>conftest.er1
26162
 
  ac_status=$?
26163
 
  grep -v '^ *+' conftest.er1 >conftest.err
26164
 
  rm -f conftest.er1
26165
 
  cat conftest.err >&5
26166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167
 
  (exit $ac_status); } && {
26168
 
         test -z "$ac_c_werror_flag" ||
26169
 
         test ! -s conftest.err
26170
 
       } && test -s conftest$ac_exeext &&
26171
 
       $as_test_x conftest$ac_exeext; then
26172
 
  ac_cv_lib_Xext_XShmAttach=yes
26173
 
else
26174
 
  echo "$as_me: failed program was:" >&5
26175
 
sed 's/^/| /' conftest.$ac_ext >&5
26176
 
 
26177
 
        ac_cv_lib_Xext_XShmAttach=no
26178
 
fi
26179
 
 
26180
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26181
 
      conftest$ac_exeext conftest.$ac_ext
26182
 
LIBS=$ac_check_lib_save_LIBS
26183
 
fi
26184
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmAttach" >&5
26185
 
echo "${ECHO_T}$ac_cv_lib_Xext_XShmAttach" >&6; }
26186
 
if test $ac_cv_lib_Xext_XShmAttach = yes; then
26187
 
  shm=yes
26188
 
else
26189
 
  shm=no
26190
 
fi
26191
 
 
26192
 
 
26193
 
for ac_header in sys/ipc.h
26194
 
do
26195
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26196
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26197
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
26198
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26199
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26200
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26201
 
fi
26202
 
ac_res=`eval echo '${'$as_ac_Header'}'`
26203
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26204
 
echo "${ECHO_T}$ac_res" >&6; }
26205
 
else
26206
 
  # Is the header compilable?
26207
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
26208
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26209
 
cat >conftest.$ac_ext <<_ACEOF
26210
 
/* confdefs.h.  */
26211
 
_ACEOF
26212
 
cat confdefs.h >>conftest.$ac_ext
26213
 
cat >>conftest.$ac_ext <<_ACEOF
26214
 
/* end confdefs.h.  */
26215
 
$ac_includes_default
26216
 
#include <$ac_header>
26217
 
_ACEOF
26218
 
rm -f conftest.$ac_objext
26219
 
if { (ac_try="$ac_compile"
26220
 
case "(($ac_try" in
26221
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26222
 
  *) ac_try_echo=$ac_try;;
26223
 
esac
26224
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26225
 
  (eval "$ac_compile") 2>conftest.er1
26226
 
  ac_status=$?
26227
 
  grep -v '^ *+' conftest.er1 >conftest.err
26228
 
  rm -f conftest.er1
26229
 
  cat conftest.err >&5
26230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231
 
  (exit $ac_status); } && {
26232
 
         test -z "$ac_c_werror_flag" ||
26233
 
         test ! -s conftest.err
26234
 
       } && test -s conftest.$ac_objext; then
26235
 
  ac_header_compiler=yes
26236
 
else
26237
 
  echo "$as_me: failed program was:" >&5
26238
 
sed 's/^/| /' conftest.$ac_ext >&5
26239
 
 
26240
 
        ac_header_compiler=no
26241
 
fi
26242
 
 
26243
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26244
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26245
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
26246
 
 
26247
 
# Is the header present?
26248
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
26249
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26250
 
cat >conftest.$ac_ext <<_ACEOF
26251
 
/* confdefs.h.  */
26252
 
_ACEOF
26253
 
cat confdefs.h >>conftest.$ac_ext
26254
 
cat >>conftest.$ac_ext <<_ACEOF
26255
 
/* end confdefs.h.  */
26256
 
#include <$ac_header>
26257
 
_ACEOF
26258
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
26259
 
case "(($ac_try" in
26260
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26261
 
  *) ac_try_echo=$ac_try;;
26262
 
esac
26263
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26264
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26265
 
  ac_status=$?
26266
 
  grep -v '^ *+' conftest.er1 >conftest.err
26267
 
  rm -f conftest.er1
26268
 
  cat conftest.err >&5
26269
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270
 
  (exit $ac_status); } >/dev/null && {
26271
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26272
 
         test ! -s conftest.err
26273
 
       }; then
26274
 
  ac_header_preproc=yes
26275
 
else
26276
 
  echo "$as_me: failed program was:" >&5
26277
 
sed 's/^/| /' conftest.$ac_ext >&5
26278
 
 
26279
 
  ac_header_preproc=no
26280
 
fi
26281
 
 
26282
 
rm -f conftest.err conftest.$ac_ext
26283
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26284
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
26285
 
 
26286
 
# So?  What about this header?
26287
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26288
 
  yes:no: )
26289
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26290
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26291
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26292
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26293
 
    ac_header_preproc=yes
26294
 
    ;;
26295
 
  no:yes:* )
26296
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26297
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26298
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
26299
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
26300
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26301
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26302
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
26303
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
26304
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26305
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26306
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26307
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26308
 
    ( cat <<\_ASBOX
26309
 
## -------------------------------------------------------------------------- ##
26310
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome ##
26311
 
## -------------------------------------------------------------------------- ##
26312
 
_ASBOX
26313
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
26314
 
    ;;
26315
 
esac
26316
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
26317
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26318
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26319
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26320
 
else
26321
 
  eval "$as_ac_Header=\$ac_header_preproc"
26322
 
fi
26323
 
ac_res=`eval echo '${'$as_ac_Header'}'`
26324
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26325
 
echo "${ECHO_T}$ac_res" >&6; }
26326
 
 
26327
 
fi
26328
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
26329
 
  cat >>confdefs.h <<_ACEOF
26330
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26331
 
_ACEOF
26332
 
 
26333
 
else
26334
 
  shm=no
26335
 
fi
26336
 
 
26337
 
done
26338
 
 
26339
 
 
26340
 
for ac_header in sys/shm.h
26341
 
do
26342
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26343
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26344
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
26345
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26346
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26347
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26348
 
fi
26349
 
ac_res=`eval echo '${'$as_ac_Header'}'`
26350
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26351
 
echo "${ECHO_T}$ac_res" >&6; }
26352
 
else
26353
 
  # Is the header compilable?
26354
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
26355
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26356
 
cat >conftest.$ac_ext <<_ACEOF
26357
 
/* confdefs.h.  */
26358
 
_ACEOF
26359
 
cat confdefs.h >>conftest.$ac_ext
26360
 
cat >>conftest.$ac_ext <<_ACEOF
26361
 
/* end confdefs.h.  */
26362
 
$ac_includes_default
26363
 
#include <$ac_header>
26364
 
_ACEOF
26365
 
rm -f conftest.$ac_objext
26366
 
if { (ac_try="$ac_compile"
26367
 
case "(($ac_try" in
26368
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26369
 
  *) ac_try_echo=$ac_try;;
26370
 
esac
26371
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26372
 
  (eval "$ac_compile") 2>conftest.er1
26373
 
  ac_status=$?
26374
 
  grep -v '^ *+' conftest.er1 >conftest.err
26375
 
  rm -f conftest.er1
26376
 
  cat conftest.err >&5
26377
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378
 
  (exit $ac_status); } && {
26379
 
         test -z "$ac_c_werror_flag" ||
26380
 
         test ! -s conftest.err
26381
 
       } && test -s conftest.$ac_objext; then
26382
 
  ac_header_compiler=yes
26383
 
else
26384
 
  echo "$as_me: failed program was:" >&5
26385
 
sed 's/^/| /' conftest.$ac_ext >&5
26386
 
 
26387
 
        ac_header_compiler=no
26388
 
fi
26389
 
 
26390
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26391
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26392
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
26393
 
 
26394
 
# Is the header present?
26395
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
26396
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26397
 
cat >conftest.$ac_ext <<_ACEOF
26398
 
/* confdefs.h.  */
26399
 
_ACEOF
26400
 
cat confdefs.h >>conftest.$ac_ext
26401
 
cat >>conftest.$ac_ext <<_ACEOF
26402
 
/* end confdefs.h.  */
26403
 
#include <$ac_header>
26404
 
_ACEOF
26405
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
26406
 
case "(($ac_try" in
26407
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26408
 
  *) ac_try_echo=$ac_try;;
26409
 
esac
26410
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26411
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26412
 
  ac_status=$?
26413
 
  grep -v '^ *+' conftest.er1 >conftest.err
26414
 
  rm -f conftest.er1
26415
 
  cat conftest.err >&5
26416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417
 
  (exit $ac_status); } >/dev/null && {
26418
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26419
 
         test ! -s conftest.err
26420
 
       }; then
26421
 
  ac_header_preproc=yes
26422
 
else
26423
 
  echo "$as_me: failed program was:" >&5
26424
 
sed 's/^/| /' conftest.$ac_ext >&5
26425
 
 
26426
 
  ac_header_preproc=no
26427
 
fi
26428
 
 
26429
 
rm -f conftest.err conftest.$ac_ext
26430
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26431
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
26432
 
 
26433
 
# So?  What about this header?
26434
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26435
 
  yes:no: )
26436
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26437
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26438
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26439
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26440
 
    ac_header_preproc=yes
26441
 
    ;;
26442
 
  no:yes:* )
26443
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26444
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26445
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
26446
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
26447
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26448
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26449
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
26450
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
26451
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26452
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26453
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26454
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26455
 
    ( cat <<\_ASBOX
26456
 
## -------------------------------------------------------------------------- ##
26457
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome ##
26458
 
## -------------------------------------------------------------------------- ##
26459
 
_ASBOX
26460
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
26461
 
    ;;
26462
 
esac
26463
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
26464
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26465
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26466
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26467
 
else
26468
 
  eval "$as_ac_Header=\$ac_header_preproc"
26469
 
fi
26470
 
ac_res=`eval echo '${'$as_ac_Header'}'`
26471
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26472
 
echo "${ECHO_T}$ac_res" >&6; }
26473
 
 
26474
 
fi
26475
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
26476
 
  cat >>confdefs.h <<_ACEOF
26477
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26478
 
_ACEOF
26479
 
 
26480
 
else
26481
 
  shm=no
26482
 
fi
26483
 
 
26484
 
done
26485
 
 
26486
 
if test "x$shm" = xyes; then
26487
 
        DEPENDENCIES_LIBS="$DEPENDENCIES_LIBS -lX11 -lXext"
26488
 
 
26489
 
cat >>confdefs.h <<\_ACEOF
26490
 
#define USE_SHM 1
26491
 
_ACEOF
26492
 
 
26493
 
fi
 
17164
# Disable SHM because of bug #565958
 
17165
#
 
17166
# AC_CHECK_LIB(Xext, XShmAttach, shm=yes, shm=no)
 
17167
# AC_CHECK_HEADERS(sys/ipc.h, , shm=no)
 
17168
# AC_CHECK_HEADERS(sys/shm.h, , shm=no)
 
17169
# if test "x$shm" = xyes; then
 
17170
#       DEPENDENCIES_LIBS="$DEPENDENCIES_LIBS -lX11 -lXext"
 
17171
#       AC_DEFINE(USE_SHM, [1], [Whether to use Xshm tinting])
 
17172
# fi
26494
17173
 
26495
17174
# MMX (for xtext tinting)
26496
17175
# Check whether --enable-mmx was given.
26784
17463
Usually this means the macro was only invoked conditionally." >&2;}
26785
17464
   { (exit 1); exit 1; }; }
26786
17465
fi
26787
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26788
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
26789
 
Usually this means the macro was only invoked conditionally." >&5
26790
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
26791
 
Usually this means the macro was only invoked conditionally." >&2;}
26792
 
   { (exit 1); exit 1; }; }
26793
 
fi
26794
17466
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
26795
17467
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
26796
17468
Usually this means the macro was only invoked conditionally." >&5
27147
17819
# report actual input values of CONFIG_FILES etc. instead of their
27148
17820
# values after options handling.
27149
17821
ac_log="
27150
 
This file was extended by XChat-GNOME IRC Chat $as_me 0.24.1, which was
 
17822
This file was extended by XChat-GNOME IRC Chat $as_me 0.24.3.1, which was
27151
17823
generated by GNU Autoconf 2.61.  Invocation command line was
27152
17824
 
27153
17825
  CONFIG_FILES    = $CONFIG_FILES
27200
17872
_ACEOF
27201
17873
cat >>$CONFIG_STATUS <<_ACEOF
27202
17874
ac_cs_version="\\
27203
 
XChat-GNOME IRC Chat config.status 0.24.1
 
17875
XChat-GNOME IRC Chat config.status 0.24.3.1
27204
17876
configured by $0, generated by GNU Autoconf 2.61,
27205
17877
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27206
17878
 
27307
17979
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27308
17980
 
27309
17981
 
 
17982
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
17983
# if CDPATH is set.
 
17984
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
17985
 
 
17986
sed_quote_subst='$sed_quote_subst'
 
17987
double_quote_subst='$double_quote_subst'
 
17988
delay_variable_subst='$delay_variable_subst'
 
17989
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
17990
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
17991
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
17992
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
17993
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
17994
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
17995
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
17996
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
17997
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
17998
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
17999
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
18000
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
18001
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
18002
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
18003
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18004
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18005
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18006
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
18007
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
18008
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
18009
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
18010
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
18011
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
18012
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
18013
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
18014
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
18015
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18016
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18017
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
18018
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
18019
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
18020
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
18021
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
18022
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
18023
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18024
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18025
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18026
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
18027
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
18028
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
18029
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
18030
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
18031
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
18032
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"`'
 
18033
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"`'
 
18034
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
18035
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
18036
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
18037
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
18038
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18039
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
18040
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
18041
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
18042
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
18043
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
18044
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
18045
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
18046
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
18047
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
18048
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
18049
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
18050
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18051
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18052
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
18053
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
18054
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18055
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18056
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
18057
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18058
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18059
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18060
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18061
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18062
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18063
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
18064
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18065
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18066
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18067
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
18068
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
18069
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
18070
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
18071
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
18072
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18073
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
18074
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
18075
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
18076
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
18077
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
18078
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18079
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
18080
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
18081
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18082
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18083
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
18084
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
18085
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
18086
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
18087
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18088
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18089
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
18090
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18091
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18092
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18093
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18094
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18095
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18096
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
18097
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
18098
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18099
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18100
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
18101
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
18102
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
18103
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
18104
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
18105
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
18106
 
 
18107
LTCC='$LTCC'
 
18108
LTCFLAGS='$LTCFLAGS'
 
18109
compiler='$compiler_DEFAULT'
 
18110
 
 
18111
# Quote evaled strings.
 
18112
for var in SED \
 
18113
GREP \
 
18114
EGREP \
 
18115
FGREP \
 
18116
LD \
 
18117
NM \
 
18118
LN_S \
 
18119
lt_SP2NL \
 
18120
lt_NL2SP \
 
18121
reload_flag \
 
18122
deplibs_check_method \
 
18123
file_magic_cmd \
 
18124
AR \
 
18125
AR_FLAGS \
 
18126
STRIP \
 
18127
RANLIB \
 
18128
CC \
 
18129
CFLAGS \
 
18130
compiler \
 
18131
lt_cv_sys_global_symbol_pipe \
 
18132
lt_cv_sys_global_symbol_to_cdecl \
 
18133
lt_cv_sys_global_symbol_to_c_name_address \
 
18134
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
18135
SHELL \
 
18136
ECHO \
 
18137
lt_prog_compiler_no_builtin_flag \
 
18138
lt_prog_compiler_wl \
 
18139
lt_prog_compiler_pic \
 
18140
lt_prog_compiler_static \
 
18141
lt_cv_prog_compiler_c_o \
 
18142
need_locks \
 
18143
DSYMUTIL \
 
18144
NMEDIT \
 
18145
LIPO \
 
18146
OTOOL \
 
18147
OTOOL64 \
 
18148
shrext_cmds \
 
18149
export_dynamic_flag_spec \
 
18150
whole_archive_flag_spec \
 
18151
compiler_needs_object \
 
18152
with_gnu_ld \
 
18153
allow_undefined_flag \
 
18154
no_undefined_flag \
 
18155
hardcode_libdir_flag_spec \
 
18156
hardcode_libdir_flag_spec_ld \
 
18157
hardcode_libdir_separator \
 
18158
fix_srcfile_path \
 
18159
exclude_expsyms \
 
18160
include_expsyms \
 
18161
file_list_spec \
 
18162
variables_saved_for_relink \
 
18163
libname_spec \
 
18164
library_names_spec \
 
18165
soname_spec \
 
18166
finish_eval \
 
18167
old_striplib \
 
18168
striplib; do
 
18169
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
18170
    *[\\\\\\\`\\"\\\$]*)
 
18171
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
18172
      ;;
 
18173
    *)
 
18174
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
18175
      ;;
 
18176
    esac
 
18177
done
 
18178
 
 
18179
# Double-quote double-evaled strings.
 
18180
for var in reload_cmds \
 
18181
old_postinstall_cmds \
 
18182
old_postuninstall_cmds \
 
18183
old_archive_cmds \
 
18184
extract_expsyms_cmds \
 
18185
old_archive_from_new_cmds \
 
18186
old_archive_from_expsyms_cmds \
 
18187
archive_cmds \
 
18188
archive_expsym_cmds \
 
18189
module_cmds \
 
18190
module_expsym_cmds \
 
18191
export_symbols_cmds \
 
18192
prelink_cmds \
 
18193
postinstall_cmds \
 
18194
postuninstall_cmds \
 
18195
finish_cmds \
 
18196
sys_lib_search_path_spec \
 
18197
sys_lib_dlsearch_path_spec; do
 
18198
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
18199
    *[\\\\\\\`\\"\\\$]*)
 
18200
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
18201
      ;;
 
18202
    *)
 
18203
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
18204
      ;;
 
18205
    esac
 
18206
done
 
18207
 
 
18208
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
18209
case \$lt_ECHO in
 
18210
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
18211
  ;;
 
18212
esac
 
18213
 
 
18214
ac_aux_dir='$ac_aux_dir'
 
18215
xsi_shell='$xsi_shell'
 
18216
lt_shell_append='$lt_shell_append'
 
18217
 
 
18218
# See if we are running on zsh, and set the options which allow our
 
18219
# commands through without removal of \ escapes INIT.
 
18220
if test -n "\${ZSH_VERSION+set}" ; then
 
18221
   setopt NO_GLOB_SUBST
 
18222
fi
 
18223
 
 
18224
 
 
18225
    PACKAGE='$PACKAGE'
 
18226
    VERSION='$VERSION'
 
18227
    TIMESTAMP='$TIMESTAMP'
 
18228
    RM='$RM'
 
18229
    ofile='$ofile'
 
18230
 
 
18231
 
 
18232
 
 
18233
 
 
18234
 
27310
18235
_ACEOF
27311
18236
 
27312
18237
cat >>$CONFIG_STATUS <<\_ACEOF
27317
18242
  case $ac_config_target in
27318
18243
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27319
18244
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
18245
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27320
18246
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27321
18247
    "data/icons/hicolor/128x128/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/128x128/apps/Makefile" ;;
27322
18248
    "data/icons/hicolor/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/128x128/Makefile" ;;
27568
18494
CCASDEPMODE!$CCASDEPMODE$ac_delim
27569
18495
am__fastdepCCAS_TRUE!$am__fastdepCCAS_TRUE$ac_delim
27570
18496
am__fastdepCCAS_FALSE!$am__fastdepCCAS_FALSE$ac_delim
 
18497
LIBTOOL!$LIBTOOL$ac_delim
27571
18498
build!$build$ac_delim
27572
18499
build_cpu!$build_cpu$ac_delim
27573
18500
build_vendor!$build_vendor$ac_delim
27579
18506
SED!$SED$ac_delim
27580
18507
GREP!$GREP$ac_delim
27581
18508
EGREP!$EGREP$ac_delim
 
18509
FGREP!$FGREP$ac_delim
 
18510
LD!$LD$ac_delim
 
18511
DUMPBIN!$DUMPBIN$ac_delim
 
18512
ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
 
18513
NM!$NM$ac_delim
27582
18514
LN_S!$LN_S$ac_delim
27583
 
ECHO!$ECHO$ac_delim
27584
18515
AR!$AR$ac_delim
27585
18516
RANLIB!$RANLIB$ac_delim
 
18517
lt_ECHO!$lt_ECHO$ac_delim
27586
18518
DSYMUTIL!$DSYMUTIL$ac_delim
27587
18519
NMEDIT!$NMEDIT$ac_delim
27588
 
CXX!$CXX$ac_delim
27589
 
CXXFLAGS!$CXXFLAGS$ac_delim
27590
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
27591
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
27592
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
27593
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
27594
 
CXXCPP!$CXXCPP$ac_delim
27595
 
F77!$F77$ac_delim
27596
 
FFLAGS!$FFLAGS$ac_delim
27597
 
ac_ct_F77!$ac_ct_F77$ac_delim
27598
 
LIBTOOL!$LIBTOOL$ac_delim
 
18520
LIPO!$LIPO$ac_delim
 
18521
OTOOL!$OTOOL$ac_delim
 
18522
OTOOL64!$OTOOL64$ac_delim
27599
18523
GLIB_GENMARSHAL!$GLIB_GENMARSHAL$ac_delim
27600
18524
ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
27601
18525
DISABLE_DEPRECATED!$DISABLE_DEPRECATED$ac_delim
27648
18572
PYTHON_LIB_LOC!$PYTHON_LIB_LOC$ac_delim
27649
18573
PYTHON_CFLAGS!$PYTHON_CFLAGS$ac_delim
27650
18574
PYTHON_EXTRA_LIBS!$PYTHON_EXTRA_LIBS$ac_delim
27651
 
_ACEOF
27652
 
 
27653
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
27654
 
    break
27655
 
  elif $ac_last_try; then
27656
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27657
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27658
 
   { (exit 1); exit 1; }; }
27659
 
  else
27660
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27661
 
  fi
27662
 
done
27663
 
 
27664
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27665
 
if test -n "$ac_eof"; then
27666
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
27667
 
  ac_eof=`expr $ac_eof + 1`
27668
 
fi
27669
 
 
27670
 
cat >>$CONFIG_STATUS <<_ACEOF
27671
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
27672
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27673
 
_ACEOF
27674
 
sed '
27675
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27676
 
s/^/s,@/; s/!/@,|#_!!_#|/
27677
 
:n
27678
 
t n
27679
 
s/'"$ac_delim"'$/,g/; t
27680
 
s/$/\\/; p
27681
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27682
 
' >>$CONFIG_STATUS <conf$$subs.sed
27683
 
rm -f conf$$subs.sed
27684
 
cat >>$CONFIG_STATUS <<_ACEOF
27685
 
CEOF$ac_eof
27686
 
_ACEOF
27687
 
 
27688
 
 
27689
 
ac_delim='%!_!# '
27690
 
for ac_last_try in false false false false false :; do
27691
 
  cat >conf$$subs.sed <<_ACEOF
27692
18575
TCL_LIBS!$TCL_LIBS$ac_delim
27693
18576
TCL_CFLAGS!$TCL_CFLAGS$ac_delim
 
18577
_ACEOF
 
18578
 
 
18579
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
18580
    break
 
18581
  elif $ac_last_try; then
 
18582
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
18583
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
18584
   { (exit 1); exit 1; }; }
 
18585
  else
 
18586
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
18587
  fi
 
18588
done
 
18589
 
 
18590
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
18591
if test -n "$ac_eof"; then
 
18592
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
18593
  ac_eof=`expr $ac_eof + 1`
 
18594
fi
 
18595
 
 
18596
cat >>$CONFIG_STATUS <<_ACEOF
 
18597
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
18598
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
18599
_ACEOF
 
18600
sed '
 
18601
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
18602
s/^/s,@/; s/!/@,|#_!!_#|/
 
18603
:n
 
18604
t n
 
18605
s/'"$ac_delim"'$/,g/; t
 
18606
s/$/\\/; p
 
18607
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
18608
' >>$CONFIG_STATUS <conf$$subs.sed
 
18609
rm -f conf$$subs.sed
 
18610
cat >>$CONFIG_STATUS <<_ACEOF
 
18611
CEOF$ac_eof
 
18612
_ACEOF
 
18613
 
 
18614
 
 
18615
ac_delim='%!_!# '
 
18616
for ac_last_try in false false false false false :; do
 
18617
  cat >conf$$subs.sed <<_ACEOF
27694
18618
OPENSSL_CFLAGS!$OPENSSL_CFLAGS$ac_delim
27695
18619
OPENSSL_LIBS!$OPENSSL_LIBS$ac_delim
27696
18620
USE_OPENSSL_TRUE!$USE_OPENSSL_TRUE$ac_delim
27718
18642
LTLIBOBJS!$LTLIBOBJS$ac_delim
27719
18643
_ACEOF
27720
18644
 
27721
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 27; then
 
18645
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 25; then
27722
18646
    break
27723
18647
  elif $ac_last_try; then
27724
18648
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
28285
19209
  done
28286
19210
done
28287
19211
 ;;
 
19212
    "libtool":C)
 
19213
 
 
19214
    # See if we are running on zsh, and set the options which allow our
 
19215
    # commands through without removal of \ escapes.
 
19216
    if test -n "${ZSH_VERSION+set}" ; then
 
19217
      setopt NO_GLOB_SUBST
 
19218
    fi
 
19219
 
 
19220
    cfgfile="${ofile}T"
 
19221
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
19222
    $RM "$cfgfile"
 
19223
 
 
19224
    cat <<_LT_EOF >> "$cfgfile"
 
19225
#! $SHELL
 
19226
 
 
19227
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
19228
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
19229
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
19230
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
19231
#
 
19232
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
19233
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
19234
#   Written by Gordon Matzigkeit, 1996
 
19235
#
 
19236
#   This file is part of GNU Libtool.
 
19237
#
 
19238
# GNU Libtool is free software; you can redistribute it and/or
 
19239
# modify it under the terms of the GNU General Public License as
 
19240
# published by the Free Software Foundation; either version 2 of
 
19241
# the License, or (at your option) any later version.
 
19242
#
 
19243
# As a special exception to the GNU General Public License,
 
19244
# if you distribute this file as part of a program or library that
 
19245
# is built using GNU Libtool, you may include this file under the
 
19246
# same distribution terms that you use for the rest of that program.
 
19247
#
 
19248
# GNU Libtool is distributed in the hope that it will be useful,
 
19249
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19250
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19251
# GNU General Public License for more details.
 
19252
#
 
19253
# You should have received a copy of the GNU General Public License
 
19254
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
19255
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
19256
# obtained by writing to the Free Software Foundation, Inc.,
 
19257
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
19258
 
 
19259
 
 
19260
# The names of the tagged configurations supported by this script.
 
19261
available_tags=""
 
19262
 
 
19263
# ### BEGIN LIBTOOL CONFIG
 
19264
 
 
19265
# Which release of libtool.m4 was used?
 
19266
macro_version=$macro_version
 
19267
macro_revision=$macro_revision
 
19268
 
 
19269
# Whether or not to build shared libraries.
 
19270
build_libtool_libs=$enable_shared
 
19271
 
 
19272
# Whether or not to build static libraries.
 
19273
build_old_libs=$enable_static
 
19274
 
 
19275
# What type of objects to build.
 
19276
pic_mode=$pic_mode
 
19277
 
 
19278
# Whether or not to optimize for fast installation.
 
19279
fast_install=$enable_fast_install
 
19280
 
 
19281
# The host system.
 
19282
host_alias=$host_alias
 
19283
host=$host
 
19284
host_os=$host_os
 
19285
 
 
19286
# The build system.
 
19287
build_alias=$build_alias
 
19288
build=$build
 
19289
build_os=$build_os
 
19290
 
 
19291
# A sed program that does not truncate output.
 
19292
SED=$lt_SED
 
19293
 
 
19294
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
19295
Xsed="\$SED -e 1s/^X//"
 
19296
 
 
19297
# A grep program that handles long lines.
 
19298
GREP=$lt_GREP
 
19299
 
 
19300
# An ERE matcher.
 
19301
EGREP=$lt_EGREP
 
19302
 
 
19303
# A literal string matcher.
 
19304
FGREP=$lt_FGREP
 
19305
 
 
19306
# A BSD- or MS-compatible name lister.
 
19307
NM=$lt_NM
 
19308
 
 
19309
# Whether we need soft or hard links.
 
19310
LN_S=$lt_LN_S
 
19311
 
 
19312
# What is the maximum length of a command?
 
19313
max_cmd_len=$max_cmd_len
 
19314
 
 
19315
# Object file suffix (normally "o").
 
19316
objext=$ac_objext
 
19317
 
 
19318
# Executable file suffix (normally "").
 
19319
exeext=$exeext
 
19320
 
 
19321
# whether the shell understands "unset".
 
19322
lt_unset=$lt_unset
 
19323
 
 
19324
# turn spaces into newlines.
 
19325
SP2NL=$lt_lt_SP2NL
 
19326
 
 
19327
# turn newlines into spaces.
 
19328
NL2SP=$lt_lt_NL2SP
 
19329
 
 
19330
# How to create reloadable object files.
 
19331
reload_flag=$lt_reload_flag
 
19332
reload_cmds=$lt_reload_cmds
 
19333
 
 
19334
# Method to check whether dependent libraries are shared objects.
 
19335
deplibs_check_method=$lt_deplibs_check_method
 
19336
 
 
19337
# Command to use when deplibs_check_method == "file_magic".
 
19338
file_magic_cmd=$lt_file_magic_cmd
 
19339
 
 
19340
# The archiver.
 
19341
AR=$lt_AR
 
19342
AR_FLAGS=$lt_AR_FLAGS
 
19343
 
 
19344
# A symbol stripping program.
 
19345
STRIP=$lt_STRIP
 
19346
 
 
19347
# Commands used to install an old-style archive.
 
19348
RANLIB=$lt_RANLIB
 
19349
old_postinstall_cmds=$lt_old_postinstall_cmds
 
19350
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
19351
 
 
19352
# A C compiler.
 
19353
LTCC=$lt_CC
 
19354
 
 
19355
# LTCC compiler flags.
 
19356
LTCFLAGS=$lt_CFLAGS
 
19357
 
 
19358
# Take the output of nm and produce a listing of raw symbols and C names.
 
19359
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
19360
 
 
19361
# Transform the output of nm in a proper C declaration.
 
19362
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
19363
 
 
19364
# Transform the output of nm in a C name address pair.
 
19365
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
19366
 
 
19367
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
19368
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
19369
 
 
19370
# The name of the directory that contains temporary libtool files.
 
19371
objdir=$objdir
 
19372
 
 
19373
# Shell to use when invoking shell scripts.
 
19374
SHELL=$lt_SHELL
 
19375
 
 
19376
# An echo program that does not interpret backslashes.
 
19377
ECHO=$lt_ECHO
 
19378
 
 
19379
# Used to examine libraries when file_magic_cmd begins with "file".
 
19380
MAGIC_CMD=$MAGIC_CMD
 
19381
 
 
19382
# Must we lock files when doing compilation?
 
19383
need_locks=$lt_need_locks
 
19384
 
 
19385
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
19386
DSYMUTIL=$lt_DSYMUTIL
 
19387
 
 
19388
# Tool to change global to local symbols on Mac OS X.
 
19389
NMEDIT=$lt_NMEDIT
 
19390
 
 
19391
# Tool to manipulate fat objects and archives on Mac OS X.
 
19392
LIPO=$lt_LIPO
 
19393
 
 
19394
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
19395
OTOOL=$lt_OTOOL
 
19396
 
 
19397
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
19398
OTOOL64=$lt_OTOOL64
 
19399
 
 
19400
# Old archive suffix (normally "a").
 
19401
libext=$libext
 
19402
 
 
19403
# Shared library suffix (normally ".so").
 
19404
shrext_cmds=$lt_shrext_cmds
 
19405
 
 
19406
# The commands to extract the exported symbol list from a shared archive.
 
19407
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
19408
 
 
19409
# Variables whose values should be saved in libtool wrapper scripts and
 
19410
# restored at link time.
 
19411
variables_saved_for_relink=$lt_variables_saved_for_relink
 
19412
 
 
19413
# Do we need the "lib" prefix for modules?
 
19414
need_lib_prefix=$need_lib_prefix
 
19415
 
 
19416
# Do we need a version for libraries?
 
19417
need_version=$need_version
 
19418
 
 
19419
# Library versioning type.
 
19420
version_type=$version_type
 
19421
 
 
19422
# Shared library runtime path variable.
 
19423
runpath_var=$runpath_var
 
19424
 
 
19425
# Shared library path variable.
 
19426
shlibpath_var=$shlibpath_var
 
19427
 
 
19428
# Is shlibpath searched before the hard-coded library search path?
 
19429
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
19430
 
 
19431
# Format of library name prefix.
 
19432
libname_spec=$lt_libname_spec
 
19433
 
 
19434
# List of archive names.  First name is the real one, the rest are links.
 
19435
# The last name is the one that the linker finds with -lNAME
 
19436
library_names_spec=$lt_library_names_spec
 
19437
 
 
19438
# The coded name of the library, if different from the real name.
 
19439
soname_spec=$lt_soname_spec
 
19440
 
 
19441
# Command to use after installation of a shared archive.
 
19442
postinstall_cmds=$lt_postinstall_cmds
 
19443
 
 
19444
# Command to use after uninstallation of a shared archive.
 
19445
postuninstall_cmds=$lt_postuninstall_cmds
 
19446
 
 
19447
# Commands used to finish a libtool library installation in a directory.
 
19448
finish_cmds=$lt_finish_cmds
 
19449
 
 
19450
# As "finish_cmds", except a single script fragment to be evaled but
 
19451
# not shown.
 
19452
finish_eval=$lt_finish_eval
 
19453
 
 
19454
# Whether we should hardcode library paths into libraries.
 
19455
hardcode_into_libs=$hardcode_into_libs
 
19456
 
 
19457
# Compile-time system search path for libraries.
 
19458
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
19459
 
 
19460
# Run-time system search path for libraries.
 
19461
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
19462
 
 
19463
# Whether dlopen is supported.
 
19464
dlopen_support=$enable_dlopen
 
19465
 
 
19466
# Whether dlopen of programs is supported.
 
19467
dlopen_self=$enable_dlopen_self
 
19468
 
 
19469
# Whether dlopen of statically linked programs is supported.
 
19470
dlopen_self_static=$enable_dlopen_self_static
 
19471
 
 
19472
# Commands to strip libraries.
 
19473
old_striplib=$lt_old_striplib
 
19474
striplib=$lt_striplib
 
19475
 
 
19476
 
 
19477
# The linker used to build libraries.
 
19478
LD=$lt_LD
 
19479
 
 
19480
# Commands used to build an old-style archive.
 
19481
old_archive_cmds=$lt_old_archive_cmds
 
19482
 
 
19483
# A language specific compiler.
 
19484
CC=$lt_compiler
 
19485
 
 
19486
# Is the compiler the GNU compiler?
 
19487
with_gcc=$GCC
 
19488
 
 
19489
# Compiler flag to turn off builtin functions.
 
19490
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
19491
 
 
19492
# How to pass a linker flag through the compiler.
 
19493
wl=$lt_lt_prog_compiler_wl
 
19494
 
 
19495
# Additional compiler flags for building library objects.
 
19496
pic_flag=$lt_lt_prog_compiler_pic
 
19497
 
 
19498
# Compiler flag to prevent dynamic linking.
 
19499
link_static_flag=$lt_lt_prog_compiler_static
 
19500
 
 
19501
# Does compiler simultaneously support -c and -o options?
 
19502
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
19503
 
 
19504
# Whether or not to add -lc for building shared libraries.
 
19505
build_libtool_need_lc=$archive_cmds_need_lc
 
19506
 
 
19507
# Whether or not to disallow shared libs when runtime libs are static.
 
19508
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
19509
 
 
19510
# Compiler flag to allow reflexive dlopens.
 
19511
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
19512
 
 
19513
# Compiler flag to generate shared objects directly from archives.
 
19514
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
19515
 
 
19516
# Whether the compiler copes with passing no objects directly.
 
19517
compiler_needs_object=$lt_compiler_needs_object
 
19518
 
 
19519
# Create an old-style archive from a shared archive.
 
19520
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
19521
 
 
19522
# Create a temporary old-style archive to link instead of a shared archive.
 
19523
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
19524
 
 
19525
# Commands used to build a shared archive.
 
19526
archive_cmds=$lt_archive_cmds
 
19527
archive_expsym_cmds=$lt_archive_expsym_cmds
 
19528
 
 
19529
# Commands used to build a loadable module if different from building
 
19530
# a shared archive.
 
19531
module_cmds=$lt_module_cmds
 
19532
module_expsym_cmds=$lt_module_expsym_cmds
 
19533
 
 
19534
# Whether we are building with GNU ld or not.
 
19535
with_gnu_ld=$lt_with_gnu_ld
 
19536
 
 
19537
# Flag that allows shared libraries with undefined symbols to be built.
 
19538
allow_undefined_flag=$lt_allow_undefined_flag
 
19539
 
 
19540
# Flag that enforces no undefined symbols.
 
19541
no_undefined_flag=$lt_no_undefined_flag
 
19542
 
 
19543
# Flag to hardcode \$libdir into a binary during linking.
 
19544
# This must work even if \$libdir does not exist
 
19545
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
19546
 
 
19547
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
19548
# during linking.  This must work even if \$libdir does not exist.
 
19549
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
19550
 
 
19551
# Whether we need a single "-rpath" flag with a separated argument.
 
19552
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
19553
 
 
19554
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
19555
# DIR into the resulting binary.
 
19556
hardcode_direct=$hardcode_direct
 
19557
 
 
19558
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
19559
# DIR into the resulting binary and the resulting library dependency is
 
19560
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
19561
# library is relocated.
 
19562
hardcode_direct_absolute=$hardcode_direct_absolute
 
19563
 
 
19564
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
19565
# into the resulting binary.
 
19566
hardcode_minus_L=$hardcode_minus_L
 
19567
 
 
19568
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
19569
# into the resulting binary.
 
19570
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
19571
 
 
19572
# Set to "yes" if building a shared library automatically hardcodes DIR
 
19573
# into the library and all subsequent libraries and executables linked
 
19574
# against it.
 
19575
hardcode_automatic=$hardcode_automatic
 
19576
 
 
19577
# Set to yes if linker adds runtime paths of dependent libraries
 
19578
# to runtime path list.
 
19579
inherit_rpath=$inherit_rpath
 
19580
 
 
19581
# Whether libtool must link a program against all its dependency libraries.
 
19582
link_all_deplibs=$link_all_deplibs
 
19583
 
 
19584
# Fix the shell variable \$srcfile for the compiler.
 
19585
fix_srcfile_path=$lt_fix_srcfile_path
 
19586
 
 
19587
# Set to "yes" if exported symbols are required.
 
19588
always_export_symbols=$always_export_symbols
 
19589
 
 
19590
# The commands to list exported symbols.
 
19591
export_symbols_cmds=$lt_export_symbols_cmds
 
19592
 
 
19593
# Symbols that should not be listed in the preloaded symbols.
 
19594
exclude_expsyms=$lt_exclude_expsyms
 
19595
 
 
19596
# Symbols that must always be exported.
 
19597
include_expsyms=$lt_include_expsyms
 
19598
 
 
19599
# Commands necessary for linking programs (against libraries) with templates.
 
19600
prelink_cmds=$lt_prelink_cmds
 
19601
 
 
19602
# Specify filename containing input files.
 
19603
file_list_spec=$lt_file_list_spec
 
19604
 
 
19605
# How to hardcode a shared library path into an executable.
 
19606
hardcode_action=$hardcode_action
 
19607
 
 
19608
# ### END LIBTOOL CONFIG
 
19609
 
 
19610
_LT_EOF
 
19611
 
 
19612
  case $host_os in
 
19613
  aix3*)
 
19614
    cat <<\_LT_EOF >> "$cfgfile"
 
19615
# AIX sometimes has problems with the GCC collect2 program.  For some
 
19616
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
19617
# vanish in a puff of smoke.
 
19618
if test "X${COLLECT_NAMES+set}" != Xset; then
 
19619
  COLLECT_NAMES=
 
19620
  export COLLECT_NAMES
 
19621
fi
 
19622
_LT_EOF
 
19623
    ;;
 
19624
  esac
 
19625
 
 
19626
 
 
19627
ltmain="$ac_aux_dir/ltmain.sh"
 
19628
 
 
19629
 
 
19630
  # We use sed instead of cat because bash on DJGPP gets confused if
 
19631
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
19632
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
19633
  # is reportedly fixed, but why not run on old versions too?
 
19634
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
19635
    || (rm -f "$cfgfile"; exit 1)
 
19636
 
 
19637
  case $xsi_shell in
 
19638
  yes)
 
19639
    cat << \_LT_EOF >> "$cfgfile"
 
19640
 
 
19641
# func_dirname file append nondir_replacement
 
19642
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
19643
# otherwise set result to NONDIR_REPLACEMENT.
 
19644
func_dirname ()
 
19645
{
 
19646
  case ${1} in
 
19647
    */*) func_dirname_result="${1%/*}${2}" ;;
 
19648
    *  ) func_dirname_result="${3}" ;;
 
19649
  esac
 
19650
}
 
19651
 
 
19652
# func_basename file
 
19653
func_basename ()
 
19654
{
 
19655
  func_basename_result="${1##*/}"
 
19656
}
 
19657
 
 
19658
# func_dirname_and_basename file append nondir_replacement
 
19659
# perform func_basename and func_dirname in a single function
 
19660
# call:
 
19661
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
19662
#             add APPEND to the result, otherwise set result
 
19663
#             to NONDIR_REPLACEMENT.
 
19664
#             value returned in "$func_dirname_result"
 
19665
#   basename: Compute filename of FILE.
 
19666
#             value retuned in "$func_basename_result"
 
19667
# Implementation must be kept synchronized with func_dirname
 
19668
# and func_basename. For efficiency, we do not delegate to
 
19669
# those functions but instead duplicate the functionality here.
 
19670
func_dirname_and_basename ()
 
19671
{
 
19672
  case ${1} in
 
19673
    */*) func_dirname_result="${1%/*}${2}" ;;
 
19674
    *  ) func_dirname_result="${3}" ;;
 
19675
  esac
 
19676
  func_basename_result="${1##*/}"
 
19677
}
 
19678
 
 
19679
# func_stripname prefix suffix name
 
19680
# strip PREFIX and SUFFIX off of NAME.
 
19681
# PREFIX and SUFFIX must not contain globbing or regex special
 
19682
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
19683
# dot (in which case that matches only a dot).
 
19684
func_stripname ()
 
19685
{
 
19686
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
19687
  # positional parameters, so assign one to ordinary parameter first.
 
19688
  func_stripname_result=${3}
 
19689
  func_stripname_result=${func_stripname_result#"${1}"}
 
19690
  func_stripname_result=${func_stripname_result%"${2}"}
 
19691
}
 
19692
 
 
19693
# func_opt_split
 
19694
func_opt_split ()
 
19695
{
 
19696
  func_opt_split_opt=${1%%=*}
 
19697
  func_opt_split_arg=${1#*=}
 
19698
}
 
19699
 
 
19700
# func_lo2o object
 
19701
func_lo2o ()
 
19702
{
 
19703
  case ${1} in
 
19704
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
19705
    *)    func_lo2o_result=${1} ;;
 
19706
  esac
 
19707
}
 
19708
 
 
19709
# func_xform libobj-or-source
 
19710
func_xform ()
 
19711
{
 
19712
  func_xform_result=${1%.*}.lo
 
19713
}
 
19714
 
 
19715
# func_arith arithmetic-term...
 
19716
func_arith ()
 
19717
{
 
19718
  func_arith_result=$(( $* ))
 
19719
}
 
19720
 
 
19721
# func_len string
 
19722
# STRING may not start with a hyphen.
 
19723
func_len ()
 
19724
{
 
19725
  func_len_result=${#1}
 
19726
}
 
19727
 
 
19728
_LT_EOF
 
19729
    ;;
 
19730
  *) # Bourne compatible functions.
 
19731
    cat << \_LT_EOF >> "$cfgfile"
 
19732
 
 
19733
# func_dirname file append nondir_replacement
 
19734
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
19735
# otherwise set result to NONDIR_REPLACEMENT.
 
19736
func_dirname ()
 
19737
{
 
19738
  # Extract subdirectory from the argument.
 
19739
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
19740
  if test "X$func_dirname_result" = "X${1}"; then
 
19741
    func_dirname_result="${3}"
 
19742
  else
 
19743
    func_dirname_result="$func_dirname_result${2}"
 
19744
  fi
 
19745
}
 
19746
 
 
19747
# func_basename file
 
19748
func_basename ()
 
19749
{
 
19750
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
19751
}
 
19752
 
 
19753
 
 
19754
# func_stripname prefix suffix name
 
19755
# strip PREFIX and SUFFIX off of NAME.
 
19756
# PREFIX and SUFFIX must not contain globbing or regex special
 
19757
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
19758
# dot (in which case that matches only a dot).
 
19759
# func_strip_suffix prefix name
 
19760
func_stripname ()
 
19761
{
 
19762
  case ${2} in
 
19763
    .*) func_stripname_result=`$ECHO "X${3}" \
 
19764
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
19765
    *)  func_stripname_result=`$ECHO "X${3}" \
 
19766
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
19767
  esac
 
19768
}
 
19769
 
 
19770
# sed scripts:
 
19771
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
19772
my_sed_long_arg='1s/^-[^=]*=//'
 
19773
 
 
19774
# func_opt_split
 
19775
func_opt_split ()
 
19776
{
 
19777
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
19778
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
19779
}
 
19780
 
 
19781
# func_lo2o object
 
19782
func_lo2o ()
 
19783
{
 
19784
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
19785
}
 
19786
 
 
19787
# func_xform libobj-or-source
 
19788
func_xform ()
 
19789
{
 
19790
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
19791
}
 
19792
 
 
19793
# func_arith arithmetic-term...
 
19794
func_arith ()
 
19795
{
 
19796
  func_arith_result=`expr "$@"`
 
19797
}
 
19798
 
 
19799
# func_len string
 
19800
# STRING may not start with a hyphen.
 
19801
func_len ()
 
19802
{
 
19803
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
19804
}
 
19805
 
 
19806
_LT_EOF
 
19807
esac
 
19808
 
 
19809
case $lt_shell_append in
 
19810
  yes)
 
19811
    cat << \_LT_EOF >> "$cfgfile"
 
19812
 
 
19813
# func_append var value
 
19814
# Append VALUE to the end of shell variable VAR.
 
19815
func_append ()
 
19816
{
 
19817
  eval "$1+=\$2"
 
19818
}
 
19819
_LT_EOF
 
19820
    ;;
 
19821
  *)
 
19822
    cat << \_LT_EOF >> "$cfgfile"
 
19823
 
 
19824
# func_append var value
 
19825
# Append VALUE to the end of shell variable VAR.
 
19826
func_append ()
 
19827
{
 
19828
  eval "$1=\$$1\$2"
 
19829
}
 
19830
 
 
19831
_LT_EOF
 
19832
    ;;
 
19833
  esac
 
19834
 
 
19835
 
 
19836
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
19837
    || (rm -f "$cfgfile"; exit 1)
 
19838
 
 
19839
  mv -f "$cfgfile" "$ofile" ||
 
19840
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
19841
  chmod +x "$ofile"
 
19842
 
 
19843
 ;;
28288
19844
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
28289
19845
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
28290
19846
      esac ;;
28291
19847
    "po/stamp-it":C)
 
19848
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
19849
       { { echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
 
19850
echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
 
19851
   { (exit 1); exit 1; }; }
 
19852
    fi
28292
19853
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
28293
19854
    >"po/stamp-it.tmp"
28294
19855
    sed '/^#/d