~ubuntu-branches/ubuntu/maverick/gnome-media/maverick

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette, Josselin Mouette, Luca Bruno
  • Date: 2009-05-28 00:05:41 UTC
  • mfrom: (0.1.28 upstream)
  • mto: This revision was merged to the branch mainline in revision 62.
  • Revision ID: james.westby@ubuntu.com-20090528000541-s3h2g1jjw8sodkfi
Tags: 2.26.0-1
[ Josselin Mouette ]
* Set the team as primary maintainer. Closes: #523538.

[ Luca Bruno ]
* New upstream release. Closes: #526798.
  + Features a MP2 audio profile. Closes: #502059.
* debian/control.in:
  - Build-Depends:
    + Add libcanberra-gtk-dev 0.4.
    + Add libunique-dev.
    + Bump libglib2.0-dev to 2.18.2.
* debian/patches/01_vumeter_nodisplay.patch:
  - Remove, vu-meter isn't being built by default since 2.23.

[ Josselin Mouette ]
* Update build-dependencies, include libpulse.
* Explicitly enable the gst mixer.
* Install the autostart file in /usr/share/gnome/autostart.
* Install OMF and sound files.
* 10_applet_tryexec.patch: new patch. Only run 
  gnome-volume-control-applet when pulseaudio is installed.
* Split install targets for gnome-volume-control and gst-mixer. 
  Install selectively what comes from each of them.
* Install both gnome-volume-control.pulse and 
  gnome-volume-control.gstreamer. The real gnome-volume-control is now  
  a wrapper script.
* Depend on x11-utils for the wrapper script to work.
* Suggest pulseaudio.

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.62 for gnome-media 2.24.0.1.
 
3
# Generated by GNU Autoconf 2.63 for gnome-media 2.26.0.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-media>.
6
6
#
577
577
# Check that we are running under the correct shell.
578
578
SHELL=${CONFIG_SHELL-/bin/sh}
579
579
 
580
 
case X$ECHO in
 
580
case X$lt_ECHO in
581
581
X*--fallback-echo)
582
582
  # Remove one level of quotation (which was required for Make).
583
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
583
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
584
584
  ;;
585
585
esac
586
586
 
587
 
echo=${ECHO-echo}
 
587
ECHO=${lt_ECHO-echo}
588
588
if test "X$1" = X--no-reexec; then
589
589
  # Discard the --no-reexec flag, and continue.
590
590
  shift
591
591
elif test "X$1" = X--fallback-echo; then
592
592
  # Avoid inline document here, it may be left over
593
593
  :
594
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
595
 
  # Yippee, $echo works!
 
594
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
595
  # Yippee, $ECHO works!
596
596
  :
597
597
else
598
598
  # Restart under the correct shell.
602
602
if test "X$1" = X--fallback-echo; then
603
603
  # used as fallback echo
604
604
  shift
605
 
  cat <<EOF
 
605
  cat <<_LT_EOF
606
606
$*
607
 
EOF
 
607
_LT_EOF
608
608
  exit 0
609
609
fi
610
610
 
612
612
# if CDPATH is set.
613
613
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
614
614
 
615
 
if test -z "$ECHO"; then
616
 
if test "X${echo_test_string+set}" != Xset; then
617
 
# find a string as large as possible, as long as the shell can cope with it
618
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
621
 
       echo_test_string=`eval $cmd` &&
622
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
623
 
    then
624
 
      break
625
 
    fi
626
 
  done
627
 
fi
628
 
 
629
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
630
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
631
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
  :
633
 
else
634
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
635
 
  # backslashes.  This makes it impossible to quote backslashes using
636
 
  #   echo "$something" | sed 's/\\/\\\\/g'
637
 
  #
638
 
  # So, first we look for a working echo in the user's PATH.
639
 
 
640
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
641
 
  for dir in $PATH /usr/ucb; do
 
615
if test -z "$lt_ECHO"; then
 
616
  if test "X${echo_test_string+set}" != Xset; then
 
617
    # find a string as large as possible, as long as the shell can cope with it
 
618
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
619
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
620
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
621
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
622
      then
 
623
        break
 
624
      fi
 
625
    done
 
626
  fi
 
627
 
 
628
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
629
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
630
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
631
    :
 
632
  else
 
633
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
634
    # backslashes.  This makes it impossible to quote backslashes using
 
635
    #   echo "$something" | sed 's/\\/\\\\/g'
 
636
    #
 
637
    # So, first we look for a working echo in the user's PATH.
 
638
 
 
639
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
640
    for dir in $PATH /usr/ucb; do
 
641
      IFS="$lt_save_ifs"
 
642
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
643
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
644
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
645
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
646
        ECHO="$dir/echo"
 
647
        break
 
648
      fi
 
649
    done
642
650
    IFS="$lt_save_ifs"
643
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
644
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
645
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
646
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
647
 
      echo="$dir/echo"
648
 
      break
649
 
    fi
650
 
  done
651
 
  IFS="$lt_save_ifs"
652
651
 
653
 
  if test "X$echo" = Xecho; then
654
 
    # We didn't find a better echo, so look for alternatives.
655
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
656
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
657
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
658
 
      # This shell has a builtin print -r that does the trick.
659
 
      echo='print -r'
660
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
661
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
662
 
      # If we have ksh, try running configure again with it.
663
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
664
 
      export ORIGINAL_CONFIG_SHELL
665
 
      CONFIG_SHELL=/bin/ksh
666
 
      export CONFIG_SHELL
667
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668
 
    else
669
 
      # Try using printf.
670
 
      echo='printf %s\n'
671
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
672
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
673
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
674
 
        # Cool, printf works
675
 
        :
676
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
677
 
           test "X$echo_testing_string" = 'X\t' &&
678
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
679
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
680
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
681
 
        export CONFIG_SHELL
682
 
        SHELL="$CONFIG_SHELL"
683
 
        export SHELL
684
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
685
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
686
 
           test "X$echo_testing_string" = 'X\t' &&
687
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
688
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
689
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
652
    if test "X$ECHO" = Xecho; then
 
653
      # We didn't find a better echo, so look for alternatives.
 
654
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
655
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
656
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
657
        # This shell has a builtin print -r that does the trick.
 
658
        ECHO='print -r'
 
659
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
660
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
661
        # If we have ksh, try running configure again with it.
 
662
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
663
        export ORIGINAL_CONFIG_SHELL
 
664
        CONFIG_SHELL=/bin/ksh
 
665
        export CONFIG_SHELL
 
666
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
690
667
      else
691
 
        # maybe with a smaller string...
692
 
        prev=:
693
 
 
694
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
695
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
696
 
          then
697
 
            break
 
668
        # Try using printf.
 
669
        ECHO='printf %s\n'
 
670
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
671
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
672
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
673
          # Cool, printf works
 
674
          :
 
675
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
676
             test "X$echo_testing_string" = 'X\t' &&
 
677
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
678
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
679
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
680
          export CONFIG_SHELL
 
681
          SHELL="$CONFIG_SHELL"
 
682
          export SHELL
 
683
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
684
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
685
             test "X$echo_testing_string" = 'X\t' &&
 
686
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
687
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
688
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
689
        else
 
690
          # maybe with a smaller string...
 
691
          prev=:
 
692
 
 
693
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
694
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
695
            then
 
696
              break
 
697
            fi
 
698
            prev="$cmd"
 
699
          done
 
700
 
 
701
          if test "$prev" != 'sed 50q "$0"'; then
 
702
            echo_test_string=`eval $prev`
 
703
            export echo_test_string
 
704
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
705
          else
 
706
            # Oops.  We lost completely, so just stick with echo.
 
707
            ECHO=echo
698
708
          fi
699
 
          prev="$cmd"
700
 
        done
701
 
 
702
 
        if test "$prev" != 'sed 50q "$0"'; then
703
 
          echo_test_string=`eval $prev`
704
 
          export echo_test_string
705
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706
 
        else
707
 
          # Oops.  We lost completely, so just stick with echo.
708
 
          echo=echo
709
 
        fi
 
709
        fi
710
710
      fi
711
711
    fi
712
712
  fi
713
713
fi
714
 
fi
715
714
 
716
715
# Copy echo and quote the copy suitably for passing to libtool from
717
716
# the Makefile, instead of quoting the original, which is used later.
718
 
ECHO=$echo
719
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
720
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
717
lt_ECHO=$ECHO
 
718
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
719
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
721
720
fi
722
721
 
723
722
 
724
723
 
725
724
 
726
 
tagnames=${tagnames+${tagnames},}CXX
727
 
 
728
 
tagnames=${tagnames+${tagnames},}F77
729
 
 
730
725
exec 7<&0 </dev/null 6>&1
731
726
 
732
727
# Name of the host.
750
745
# Identity of this package.
751
746
PACKAGE_NAME='gnome-media'
752
747
PACKAGE_TARNAME='gnome-media'
753
 
PACKAGE_VERSION='2.24.0.1'
754
 
PACKAGE_STRING='gnome-media 2.24.0.1'
 
748
PACKAGE_VERSION='2.26.0'
 
749
PACKAGE_STRING='gnome-media 2.26.0'
755
750
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-media'
756
751
 
757
752
# Factoring default headers for most tests.
790
785
# include <unistd.h>
791
786
#endif"
792
787
 
793
 
ac_subst_vars='SHELL
794
 
PATH_SEPARATOR
795
 
PACKAGE_NAME
796
 
PACKAGE_TARNAME
797
 
PACKAGE_VERSION
798
 
PACKAGE_STRING
799
 
PACKAGE_BUGREPORT
800
 
exec_prefix
801
 
prefix
802
 
program_transform_name
803
 
bindir
804
 
sbindir
805
 
libexecdir
806
 
datarootdir
807
 
datadir
808
 
sysconfdir
809
 
sharedstatedir
810
 
localstatedir
811
 
includedir
812
 
oldincludedir
813
 
docdir
814
 
infodir
815
 
htmldir
816
 
dvidir
817
 
pdfdir
818
 
psdir
819
 
libdir
820
 
localedir
821
 
mandir
822
 
DEFS
823
 
ECHO_C
824
 
ECHO_N
825
 
ECHO_T
826
 
LIBS
827
 
build_alias
828
 
host_alias
829
 
target_alias
830
 
INSTALL_PROGRAM
831
 
INSTALL_SCRIPT
832
 
INSTALL_DATA
833
 
am__isrc
834
 
CYGPATH_W
835
 
PACKAGE
836
 
VERSION
837
 
ACLOCAL
838
 
AUTOCONF
839
 
AUTOMAKE
840
 
AUTOHEADER
841
 
MAKEINFO
842
 
install_sh
843
 
STRIP
844
 
INSTALL_STRIP_PROGRAM
845
 
MKDIR_P
846
 
mkdir_p
847
 
AWK
848
 
SET_MAKE
849
 
am__leading_dot
850
 
AMTAR
851
 
am__tar
852
 
am__untar
853
 
PACKAGE_VERSION_MAJOR
854
 
PACKAGE_VERSION_MINOR
855
 
PACKAGE_VERSION_MICRO
856
 
MAINTAINER_MODE_TRUE
857
 
MAINTAINER_MODE_FALSE
858
 
MAINT
 
788
ac_subst_vars='LTLIBOBJS
 
789
LIBOBJS
 
790
HAVE_GSTMIXER_FALSE
 
791
HAVE_GSTMIXER_TRUE
 
792
GSTMIXER_LIBS
 
793
GSTMIXER_CFLAGS
 
794
HAVE_GSTPROPS_FALSE
 
795
HAVE_GSTPROPS_TRUE
 
796
PROGRAMS_GSTPROPS
 
797
GNOMECC_DESKTOP_DIR
 
798
GSTPROPS_LIBS
 
799
GSTPROPS_CFLAGS
 
800
CDROM_HOST_SOLARIS_FALSE
 
801
CDROM_HOST_SOLARIS_TRUE
 
802
CDROM_HOST_LINUX_FALSE
 
803
CDROM_HOST_LINUX_TRUE
 
804
CDROM_HOST_BSD_FALSE
 
805
CDROM_HOST_BSD_TRUE
 
806
GAILUTIL_LIBS
 
807
GAILUTIL_CFLAGS
 
808
THEME_DIR_UNINSTALLED
 
809
default_cd_device
 
810
CDROM_HOST_SOLARIS
 
811
CDROM_HOST_LINUX
 
812
CDROM_HOST_BSD
 
813
CDROM_HOST
 
814
PROGRAMS_GNOME_CD
 
815
USE_CD_CHANGER
 
816
HAVE_GNOMECD_FALSE
 
817
HAVE_GNOMECD_TRUE
 
818
GNOMECD_LIBS
 
819
GNOMECD_CFLAGS
 
820
LIBXML2_LIBS
 
821
LIBXML2_CFLAGS
 
822
HAVE_VUMETER_FALSE
 
823
HAVE_VUMETER_TRUE
 
824
VUMETER_LIBS
 
825
VUMETER_CFLAGS
 
826
OTOOL64
 
827
OTOOL
 
828
LIPO
 
829
NMEDIT
 
830
DSYMUTIL
 
831
lt_ECHO
 
832
RANLIB
 
833
AR
 
834
OBJDUMP
 
835
NM
 
836
ac_ct_DUMPBIN
 
837
DUMPBIN
 
838
LD
 
839
FGREP
 
840
SED
 
841
host_os
 
842
host_vendor
 
843
host_cpu
 
844
host
 
845
build_os
 
846
build_vendor
 
847
build_cpu
 
848
build
 
849
LIBTOOL
 
850
HAVE_GNOME_DOC_UTILS_FALSE
 
851
HAVE_GNOME_DOC_UTILS_TRUE
 
852
DISTCHECK_CONFIGURE_FLAGS
 
853
ENABLE_SK_FALSE
 
854
ENABLE_SK_TRUE
 
855
DOC_USER_FORMATS
 
856
OMF_DIR
 
857
HELP_DIR
 
858
MKINSTALLDIRS
 
859
POSUB
 
860
POFILES
 
861
PO_IN_DATADIR_FALSE
 
862
PO_IN_DATADIR_TRUE
 
863
INTLLIBS
 
864
INSTOBJEXT
 
865
GMOFILES
 
866
CATOBJEXT
 
867
CATALOGS
 
868
MSGFMT_OPTS
 
869
GETTEXT_PACKAGE
 
870
HAVE_JW
 
871
HAVE_JW_FALSE
 
872
HAVE_JW_TRUE
 
873
JW
 
874
ESD_LIBS
 
875
ESD_CFLAGS
 
876
ESD_CONFIG
 
877
ORBIT_IDL
 
878
BONOBO_ACT_IDLDIR
 
879
BONOBO_IDLDIR
 
880
GLIB_GENMARSHAL
 
881
GCONF_SCHEMAS_INSTALL_FALSE
 
882
GCONF_SCHEMAS_INSTALL_TRUE
 
883
GCONF_SCHEMA_FILE_DIR
 
884
GCONF_SCHEMA_CONFIG_SOURCE
 
885
GCONFTOOL
 
886
HAVE_GRECORD_FALSE
 
887
HAVE_GRECORD_TRUE
 
888
HAVE_GSTREAMER_FALSE
 
889
HAVE_GSTREAMER_TRUE
 
890
GSR_LIBS
 
891
GSR_CFLAGS
 
892
GST_MAJORMINOR
 
893
HAVE_GMP_FALSE
 
894
HAVE_GMP_TRUE
 
895
GMP_LIBS
 
896
GMP_CFLAGS
 
897
HAVE_CDDBSLAVE_FALSE
 
898
HAVE_CDDBSLAVE_TRUE
 
899
CDDBSLAVE_LIBS
 
900
CDDBSLAVE_CFLAGS
 
901
NEW_PA_LIBS
 
902
NEW_PA_CFLAGS
 
903
HAVE_PULSEAUDIO
 
904
HAVE_PULSEAUDIO_FALSE
 
905
HAVE_PULSEAUDIO_TRUE
 
906
PULSEAUDIO_LIBS
 
907
PULSEAUDIO_CFLAGS
 
908
VOLUME_CONTROL_LIBS
 
909
VOLUME_CONTROL_CFLAGS
 
910
SOUNDTHEME_LIBS
 
911
SOUNDTHEME_CFLAGS
 
912
HAVE_SOUND_THEME
 
913
HAVE_SOUND_THEME_FALSE
 
914
HAVE_SOUND_THEME_TRUE
 
915
SOUND_THEME_LIBS
 
916
SOUND_THEME_CFLAGS
 
917
MEDIA_LIBS
 
918
MEDIA_CFLAGS
 
919
PKG_CONFIG
 
920
WARN_CFLAGS
 
921
EGREP
 
922
GREP
 
923
CPP
 
924
LN_S
 
925
DATADIRNAME
 
926
am__fastdepCC_FALSE
 
927
am__fastdepCC_TRUE
 
928
CCDEPMODE
 
929
AMDEPBACKSLASH
 
930
AMDEP_FALSE
 
931
AMDEP_TRUE
 
932
am__quote
 
933
am__include
 
934
DEPDIR
 
935
OBJEXT
 
936
EXEEXT
 
937
ac_ct_CC
 
938
CPPFLAGS
 
939
LDFLAGS
 
940
CFLAGS
 
941
CC
 
942
ALL_LINGUAS
 
943
INTLTOOL_PERL
 
944
GMSGFMT
 
945
MSGFMT
 
946
MSGMERGE
 
947
XGETTEXT
 
948
INTLTOOL_POLICY_RULE
 
949
INTLTOOL_SERVICE_RULE
 
950
INTLTOOL_THEME_RULE
 
951
INTLTOOL_SCHEMAS_RULE
 
952
INTLTOOL_CAVES_RULE
 
953
INTLTOOL_XML_NOMERGE_RULE
 
954
INTLTOOL_XML_RULE
 
955
INTLTOOL_KBD_RULE
 
956
INTLTOOL_XAM_RULE
 
957
INTLTOOL_UI_RULE
 
958
INTLTOOL_SOUNDLIST_RULE
 
959
INTLTOOL_SHEET_RULE
 
960
INTLTOOL_SERVER_RULE
 
961
INTLTOOL_PONG_RULE
 
962
INTLTOOL_OAF_RULE
 
963
INTLTOOL_PROP_RULE
 
964
INTLTOOL_KEYS_RULE
 
965
INTLTOOL_DIRECTORY_RULE
 
966
INTLTOOL_DESKTOP_RULE
 
967
INTLTOOL_EXTRACT
 
968
INTLTOOL_MERGE
859
969
INTLTOOL_UPDATE
860
 
INTLTOOL_MERGE
861
 
INTLTOOL_EXTRACT
862
 
INTLTOOL_DESKTOP_RULE
863
 
INTLTOOL_DIRECTORY_RULE
864
 
INTLTOOL_KEYS_RULE
865
 
INTLTOOL_PROP_RULE
866
 
INTLTOOL_OAF_RULE
867
 
INTLTOOL_PONG_RULE
868
 
INTLTOOL_SERVER_RULE
869
 
INTLTOOL_SHEET_RULE
870
 
INTLTOOL_SOUNDLIST_RULE
871
 
INTLTOOL_UI_RULE
872
 
INTLTOOL_XAM_RULE
873
 
INTLTOOL_KBD_RULE
874
 
INTLTOOL_XML_RULE
875
 
INTLTOOL_XML_NOMERGE_RULE
876
 
INTLTOOL_CAVES_RULE
877
 
INTLTOOL_SCHEMAS_RULE
878
 
INTLTOOL_THEME_RULE
879
 
INTLTOOL_SERVICE_RULE
880
 
INTLTOOL_POLICY_RULE
881
 
XGETTEXT
882
 
MSGMERGE
883
 
MSGFMT
884
 
INTLTOOL_PERL
885
 
ALL_LINGUAS
886
 
CC
887
 
CFLAGS
888
 
LDFLAGS
889
 
CPPFLAGS
890
 
ac_ct_CC
891
 
EXEEXT
892
 
OBJEXT
893
 
DEPDIR
894
 
am__include
895
 
am__quote
896
 
AMDEP_TRUE
897
 
AMDEP_FALSE
898
 
AMDEPBACKSLASH
899
 
CCDEPMODE
900
 
am__fastdepCC_TRUE
901
 
am__fastdepCC_FALSE
902
 
DATADIRNAME
903
 
LN_S
904
 
CPP
905
 
GREP
906
 
EGREP
907
 
WARN_CFLAGS
908
 
PKG_CONFIG
909
 
MEDIA_CFLAGS
910
 
MEDIA_LIBS
911
 
CDDBSLAVE_CFLAGS
912
 
CDDBSLAVE_LIBS
913
 
HAVE_CDDBSLAVE_TRUE
914
 
HAVE_CDDBSLAVE_FALSE
915
 
GMP_CFLAGS
916
 
GMP_LIBS
917
 
HAVE_GMP_TRUE
918
 
HAVE_GMP_FALSE
919
 
GST_MAJORMINOR
920
 
GSR_CFLAGS
921
 
GSR_LIBS
922
 
HAVE_GSTREAMER_TRUE
923
 
HAVE_GSTREAMER_FALSE
924
 
HAVE_GRECORD_TRUE
925
 
HAVE_GRECORD_FALSE
926
 
GCONFTOOL
927
 
GCONF_SCHEMA_CONFIG_SOURCE
928
 
GCONF_SCHEMA_FILE_DIR
929
 
GCONF_SCHEMAS_INSTALL_TRUE
930
 
GCONF_SCHEMAS_INSTALL_FALSE
931
 
GLIB_GENMARSHAL
932
 
BONOBO_IDLDIR
933
 
BONOBO_ACT_IDLDIR
934
 
ORBIT_IDL
935
 
ESD_CONFIG
936
 
ESD_CFLAGS
937
 
ESD_LIBS
938
 
JW
939
 
HAVE_JW_TRUE
940
 
HAVE_JW_FALSE
941
 
HAVE_JW
942
 
GETTEXT_PACKAGE
943
970
USE_NLS
944
 
MSGFMT_OPTS
945
 
GMSGFMT
946
 
CATALOGS
947
 
CATOBJEXT
948
 
GMOFILES
949
 
INSTOBJEXT
950
 
INTLLIBS
951
 
PO_IN_DATADIR_TRUE
952
 
PO_IN_DATADIR_FALSE
953
 
POFILES
954
 
POSUB
955
 
MKINSTALLDIRS
956
 
HELP_DIR
957
 
OMF_DIR
958
 
DOC_USER_FORMATS
959
 
ENABLE_SK_TRUE
960
 
ENABLE_SK_FALSE
961
 
DISTCHECK_CONFIGURE_FLAGS
962
 
HAVE_GNOME_DOC_UTILS_TRUE
963
 
HAVE_GNOME_DOC_UTILS_FALSE
964
 
build
965
 
build_cpu
966
 
build_vendor
967
 
build_os
968
 
host
969
 
host_cpu
970
 
host_vendor
971
 
host_os
972
 
SED
973
 
ECHO
974
 
AR
975
 
RANLIB
976
 
DSYMUTIL
977
 
NMEDIT
978
 
CXX
979
 
CXXFLAGS
980
 
ac_ct_CXX
981
 
CXXDEPMODE
982
 
am__fastdepCXX_TRUE
983
 
am__fastdepCXX_FALSE
984
 
CXXCPP
985
 
F77
986
 
FFLAGS
987
 
ac_ct_F77
988
 
LIBTOOL
989
 
VUMETER_CFLAGS
990
 
VUMETER_LIBS
991
 
HAVE_VUMETER_TRUE
992
 
HAVE_VUMETER_FALSE
993
 
LIBXML2_CFLAGS
994
 
LIBXML2_LIBS
995
 
GNOMECD_CFLAGS
996
 
GNOMECD_LIBS
997
 
HAVE_GNOMECD_TRUE
998
 
HAVE_GNOMECD_FALSE
999
 
USE_CD_CHANGER
1000
 
PROGRAMS_GNOME_CD
1001
 
CDROM_HOST
1002
 
CDROM_HOST_BSD
1003
 
CDROM_HOST_LINUX
1004
 
CDROM_HOST_SOLARIS
1005
 
default_cd_device
1006
 
THEME_DIR_UNINSTALLED
1007
 
GAILUTIL_CFLAGS
1008
 
GAILUTIL_LIBS
1009
 
CDROM_HOST_BSD_TRUE
1010
 
CDROM_HOST_BSD_FALSE
1011
 
CDROM_HOST_LINUX_TRUE
1012
 
CDROM_HOST_LINUX_FALSE
1013
 
CDROM_HOST_SOLARIS_TRUE
1014
 
CDROM_HOST_SOLARIS_FALSE
1015
 
GSTPROPS_CFLAGS
1016
 
GSTPROPS_LIBS
1017
 
GNOMECC_DESKTOP_DIR
1018
 
PROGRAMS_GSTPROPS
1019
 
HAVE_GSTPROPS_TRUE
1020
 
HAVE_GSTPROPS_FALSE
1021
 
GSTMIXER_CFLAGS
1022
 
GSTMIXER_LIBS
1023
 
HAVE_GSTMIXER_TRUE
1024
 
HAVE_GSTMIXER_FALSE
1025
 
LIBOBJS
1026
 
LTLIBOBJS'
 
971
MAINT
 
972
MAINTAINER_MODE_FALSE
 
973
MAINTAINER_MODE_TRUE
 
974
PACKAGE_VERSION_MICRO
 
975
PACKAGE_VERSION_MINOR
 
976
PACKAGE_VERSION_MAJOR
 
977
am__untar
 
978
am__tar
 
979
AMTAR
 
980
am__leading_dot
 
981
SET_MAKE
 
982
AWK
 
983
mkdir_p
 
984
MKDIR_P
 
985
INSTALL_STRIP_PROGRAM
 
986
STRIP
 
987
install_sh
 
988
MAKEINFO
 
989
AUTOHEADER
 
990
AUTOMAKE
 
991
AUTOCONF
 
992
ACLOCAL
 
993
VERSION
 
994
PACKAGE
 
995
CYGPATH_W
 
996
am__isrc
 
997
INSTALL_DATA
 
998
INSTALL_SCRIPT
 
999
INSTALL_PROGRAM
 
1000
target_alias
 
1001
host_alias
 
1002
build_alias
 
1003
LIBS
 
1004
ECHO_T
 
1005
ECHO_N
 
1006
ECHO_C
 
1007
DEFS
 
1008
mandir
 
1009
localedir
 
1010
libdir
 
1011
psdir
 
1012
pdfdir
 
1013
dvidir
 
1014
htmldir
 
1015
infodir
 
1016
docdir
 
1017
oldincludedir
 
1018
includedir
 
1019
localstatedir
 
1020
sharedstatedir
 
1021
sysconfdir
 
1022
datadir
 
1023
datarootdir
 
1024
libexecdir
 
1025
sbindir
 
1026
bindir
 
1027
program_transform_name
 
1028
prefix
 
1029
exec_prefix
 
1030
PACKAGE_BUGREPORT
 
1031
PACKAGE_STRING
 
1032
PACKAGE_VERSION
 
1033
PACKAGE_TARNAME
 
1034
PACKAGE_NAME
 
1035
PATH_SEPARATOR
 
1036
SHELL'
1027
1037
ac_subst_files=''
1028
1038
ac_user_opts='
1029
1039
enable_option_checking
1030
1040
enable_maintainer_mode
 
1041
enable_nls
1031
1042
enable_dependency_tracking
1032
1043
enable_compile_warnings
1033
1044
enable_iso_c
 
1045
enable_pulseaudio
1034
1046
enable_cddbslave
1035
1047
enable_ipv6
1036
1048
enable_profiles
1048
1060
enable_scrollkeeper
1049
1061
enable_shared
1050
1062
enable_static
 
1063
with_pic
1051
1064
enable_fast_install
1052
1065
with_gnu_ld
1053
1066
enable_libtool_lock
1054
 
with_pic
1055
 
with_tags
1056
1067
enable_vumeter
1057
1068
enable_gnomecd
1058
1069
enable_gstprops
1059
1070
enable_gstmix
 
1071
enable_more_warnings
1060
1072
'
1061
1073
      ac_precious_vars='build_alias
1062
1074
host_alias
1070
1082
PKG_CONFIG
1071
1083
MEDIA_CFLAGS
1072
1084
MEDIA_LIBS
 
1085
SOUND_THEME_CFLAGS
 
1086
SOUND_THEME_LIBS
 
1087
VOLUME_CONTROL_CFLAGS
 
1088
VOLUME_CONTROL_LIBS
 
1089
PULSEAUDIO_CFLAGS
 
1090
PULSEAUDIO_LIBS
 
1091
NEW_PA_CFLAGS
 
1092
NEW_PA_LIBS
1073
1093
CDDBSLAVE_CFLAGS
1074
1094
CDDBSLAVE_LIBS
1075
1095
GMP_CFLAGS
1076
1096
GMP_LIBS
1077
1097
GSR_CFLAGS
1078
1098
GSR_LIBS
1079
 
CXX
1080
 
CXXFLAGS
1081
 
CCC
1082
 
CXXCPP
1083
 
F77
1084
 
FFLAGS
1085
1099
VUMETER_CFLAGS
1086
1100
VUMETER_LIBS
1087
1101
LIBXML2_CFLAGS
1516
1530
if test -n "$ac_unrecognized_opts"; then
1517
1531
  case $enable_option_checking in
1518
1532
    no) ;;
1519
 
    fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
 
1533
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1520
1534
   { (exit 1); exit 1; }; } ;;
1521
 
    *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1535
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1522
1536
  esac
1523
1537
fi
1524
1538
 
1571
1585
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1572
1586
ac_ls_di=`ls -di .` &&
1573
1587
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1574
 
  { $as_echo "$as_me: error: Working directory cannot be determined" >&2
 
1588
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1575
1589
   { (exit 1); exit 1; }; }
1576
1590
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1577
1591
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1646
1660
  # Omit some internal or obsolete options to make the list less imposing.
1647
1661
  # This message is too long to be a string in the A/UX 3.1 sh.
1648
1662
  cat <<_ACEOF
1649
 
\`configure' configures gnome-media 2.24.0.1 to adapt to many kinds of systems.
 
1663
\`configure' configures gnome-media 2.26.0 to adapt to many kinds of systems.
1650
1664
 
1651
1665
Usage: $0 [OPTION]... [VAR=VALUE]...
1652
1666
 
1716
1730
 
1717
1731
if test -n "$ac_init_help"; then
1718
1732
  case $ac_init_help in
1719
 
     short | recursive ) echo "Configuration of gnome-media 2.24.0.1:";;
 
1733
     short | recursive ) echo "Configuration of gnome-media 2.26.0:";;
1720
1734
   esac
1721
1735
  cat <<\_ACEOF
1722
1736
 
1726
1740
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1727
1741
  --enable-maintainer-mode  enable make rules and dependencies not useful
1728
1742
                          (and sometimes confusing) to the casual installer
 
1743
  --disable-nls           do not use Native Language Support
1729
1744
  --disable-dependency-tracking  speeds up one-time build
1730
1745
  --enable-dependency-tracking   do not reject slow dependency extractors
1731
1746
  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1732
1747
                          Turn on compiler warnings
1733
1748
  --enable-iso-c          Try to warn if code is not ISO C
 
1749
  --enable-pulseaudio     Enable PulseAudio support [default=auto]
1734
1750
  --enable-cddbslave      enable gnome cd database
1735
1751
  --enable-ipv6           enable IPv6 extension
1736
1752
  --enable-profiles       enable gnome media profiles
1748
1764
  --enable-gnomecd        enable gnome cd player
1749
1765
  --enable-gstprops       enable gstreamer properties
1750
1766
  --enable-gstmix         enable gstreamer mixer
 
1767
  --enable-more-warnings  Maximum compiler warnings
1751
1768
 
1752
1769
Optional Packages:
1753
1770
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1754
1771
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1755
 
  --with-gconf-source=sourceaddress      Config database for installing schema files.
1756
 
  --with-gconf-schema-file-dir=dir        Directory for installing schema files.
 
1772
  --with-gconf-source=sourceaddress
 
1773
                          Config database for installing schema files.
 
1774
  --with-gconf-schema-file-dir=dir
 
1775
                          Directory for installing schema files.
1757
1776
  --with-esd-prefix=PFX   Prefix where ESD is installed (optional)
1758
1777
  --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)
1759
1778
  --with-help-dir=DIR     path to help docs
1760
1779
  --with-omf-dir=DIR      path to OMF files
1761
1780
  --with-help-formats=FORMATS
1762
1781
                          list of formats
1763
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1764
1782
  --with-pic              try to use only PIC/non-PIC objects [default=use
1765
1783
                          both]
1766
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1784
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1767
1785
 
1768
1786
Some influential environment variables:
1769
1787
  CC          C compiler command
1778
1796
  MEDIA_CFLAGS
1779
1797
              C compiler flags for MEDIA, overriding pkg-config
1780
1798
  MEDIA_LIBS  linker flags for MEDIA, overriding pkg-config
 
1799
  SOUND_THEME_CFLAGS
 
1800
              C compiler flags for SOUND_THEME, overriding pkg-config
 
1801
  SOUND_THEME_LIBS
 
1802
              linker flags for SOUND_THEME, overriding pkg-config
 
1803
  VOLUME_CONTROL_CFLAGS
 
1804
              C compiler flags for VOLUME_CONTROL, overriding pkg-config
 
1805
  VOLUME_CONTROL_LIBS
 
1806
              linker flags for VOLUME_CONTROL, overriding pkg-config
 
1807
  PULSEAUDIO_CFLAGS
 
1808
              C compiler flags for PULSEAUDIO, overriding pkg-config
 
1809
  PULSEAUDIO_LIBS
 
1810
              linker flags for PULSEAUDIO, overriding pkg-config
 
1811
  NEW_PA_CFLAGS
 
1812
              C compiler flags for NEW_PA, overriding pkg-config
 
1813
  NEW_PA_LIBS linker flags for NEW_PA, overriding pkg-config
1781
1814
  CDDBSLAVE_CFLAGS
1782
1815
              C compiler flags for CDDBSLAVE, overriding pkg-config
1783
1816
  CDDBSLAVE_LIBS
1786
1819
  GMP_LIBS    linker flags for GMP, overriding pkg-config
1787
1820
  GSR_CFLAGS  C compiler flags for GSR, overriding pkg-config
1788
1821
  GSR_LIBS    linker flags for GSR, overriding pkg-config
1789
 
  CXX         C++ compiler command
1790
 
  CXXFLAGS    C++ compiler flags
1791
 
  CXXCPP      C++ preprocessor
1792
 
  F77         Fortran 77 compiler command
1793
 
  FFLAGS      Fortran 77 compiler flags
1794
1822
  VUMETER_CFLAGS
1795
1823
              C compiler flags for VUMETER, overriding pkg-config
1796
1824
  VUMETER_LIBS
1882
1910
test -n "$ac_init_help" && exit $ac_status
1883
1911
if $ac_init_version; then
1884
1912
  cat <<\_ACEOF
1885
 
gnome-media configure 2.24.0.1
1886
 
generated by GNU Autoconf 2.62
 
1913
gnome-media configure 2.26.0
 
1914
generated by GNU Autoconf 2.63
1887
1915
 
1888
1916
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1889
1917
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1896
1924
This file contains any messages produced by compilers while
1897
1925
running configure, to aid debugging if configure makes a mistake.
1898
1926
 
1899
 
It was created by gnome-media $as_me 2.24.0.1, which was
1900
 
generated by GNU Autoconf 2.62.  Invocation command line was
 
1927
It was created by gnome-media $as_me 2.26.0, which was
 
1928
generated by GNU Autoconf 2.63.  Invocation command line was
1901
1929
 
1902
1930
  $ $0 $@
1903
1931
 
2020
2048
    case $ac_val in #(
2021
2049
    *${as_nl}*)
2022
2050
      case $ac_var in #(
2023
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2024
 
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
2051
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2052
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2025
2053
      esac
2026
2054
      case $ac_var in #(
2027
2055
      _ | IFS | as_nl) ;; #(
2224
2252
  fi
2225
2253
done
2226
2254
if $ac_cache_corrupted; then
 
2255
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2256
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2227
2257
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2228
2258
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2229
2259
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2611
2641
 
2612
2642
# Define the identity of the package.
2613
2643
 PACKAGE='gnome-media'
2614
 
 VERSION='2.24.0.1'
 
2644
 VERSION='2.26.0'
2615
2645
 
2616
2646
 
2617
2647
cat >>confdefs.h <<_ACEOF
2728
2758
  else
2729
2759
    case $cross_compiling:$ac_tool_warned in
2730
2760
yes:)
2731
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2732
 
whose name does not start with the host triplet.  If you think this
2733
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2734
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2735
 
whose name does not start with the host triplet.  If you think this
2736
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2761
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2762
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2737
2763
ac_tool_warned=yes ;;
2738
2764
esac
2739
2765
    STRIP=$ac_ct_STRIP
2751
2777
 
2752
2778
AMTAR=${AMTAR-"${am_missing_run}tar"}
2753
2779
 
2754
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2755
 
 
2756
 
 
2757
 
 
2758
 
 
2759
 
 
2760
 
 
2761
 
 
2762
 
  PACKAGE_VERSION_MAJOR=$(echo 2.24.0.1 | cut -d'.' -f1)
2763
 
  PACKAGE_VERSION_MINOR=$(echo 2.24.0.1 | cut -d'.' -f2)
2764
 
  PACKAGE_VERSION_MICRO=$(echo 2.24.0.1 | cut -d'.' -f3)
 
2780
 
 
2781
{ $as_echo "$as_me:$LINENO: checking how to create a pax tar archive" >&5
 
2782
$as_echo_n "checking how to create a pax tar archive... " >&6; }
 
2783
# Loop over all known methods to create a tar archive until one works.
 
2784
_am_tools='gnutar  pax cpio none'
 
2785
_am_tools=${am_cv_prog_tar_pax-$_am_tools}
 
2786
# Do not fold the above two line into one, because Tru64 sh and
 
2787
# Solaris sh will not grok spaces in the rhs of `-'.
 
2788
for _am_tool in $_am_tools
 
2789
do
 
2790
  case $_am_tool in
 
2791
  gnutar)
 
2792
    for _am_tar in tar gnutar gtar;
 
2793
    do
 
2794
      { echo "$as_me:$LINENO: $_am_tar --version" >&5
 
2795
   ($_am_tar --version) >&5 2>&5
 
2796
   ac_status=$?
 
2797
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2798
   (exit $ac_status); } && break
 
2799
    done
 
2800
    am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
 
2801
    am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
 
2802
    am__untar="$_am_tar -xf -"
 
2803
    ;;
 
2804
  plaintar)
 
2805
    # Must skip GNU tar: if it does not support --format= it doesn't create
 
2806
    # ustar tarball either.
 
2807
    (tar --version) >/dev/null 2>&1 && continue
 
2808
    am__tar='tar chf - "$$tardir"'
 
2809
    am__tar_='tar chf - "$tardir"'
 
2810
    am__untar='tar xf -'
 
2811
    ;;
 
2812
  pax)
 
2813
    am__tar='pax -L -x pax -w "$$tardir"'
 
2814
    am__tar_='pax -L -x pax -w "$tardir"'
 
2815
    am__untar='pax -r'
 
2816
    ;;
 
2817
  cpio)
 
2818
    am__tar='find "$$tardir" -print | cpio -o -H pax -L'
 
2819
    am__tar_='find "$tardir" -print | cpio -o -H pax -L'
 
2820
    am__untar='cpio -i -H pax -d'
 
2821
    ;;
 
2822
  none)
 
2823
    am__tar=false
 
2824
    am__tar_=false
 
2825
    am__untar=false
 
2826
    ;;
 
2827
  esac
 
2828
 
 
2829
  # If the value was cached, stop now.  We just wanted to have am__tar
 
2830
  # and am__untar set.
 
2831
  test -n "${am_cv_prog_tar_pax}" && break
 
2832
 
 
2833
  # tar/untar a dummy directory, and stop if the command works
 
2834
  rm -rf conftest.dir
 
2835
  mkdir conftest.dir
 
2836
  echo GrepMe > conftest.dir/file
 
2837
  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
 
2838
   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
 
2839
   ac_status=$?
 
2840
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2841
   (exit $ac_status); }
 
2842
  rm -rf conftest.dir
 
2843
  if test -s conftest.tar; then
 
2844
    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
 
2845
   ($am__untar <conftest.tar) >&5 2>&5
 
2846
   ac_status=$?
 
2847
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2848
   (exit $ac_status); }
 
2849
    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
 
2850
  fi
 
2851
done
 
2852
rm -rf conftest.dir
 
2853
 
 
2854
if test "${am_cv_prog_tar_pax+set}" = set; then
 
2855
  $as_echo_n "(cached) " >&6
 
2856
else
 
2857
  am_cv_prog_tar_pax=$_am_tool
 
2858
fi
 
2859
 
 
2860
{ $as_echo "$as_me:$LINENO: result: $am_cv_prog_tar_pax" >&5
 
2861
$as_echo "$am_cv_prog_tar_pax" >&6; }
 
2862
 
 
2863
 
 
2864
 
 
2865
 
 
2866
 
 
2867
 
 
2868
 
 
2869
  PACKAGE_VERSION_MAJOR=$(echo 2.26.0 | cut -d'.' -f1)
 
2870
  PACKAGE_VERSION_MINOR=$(echo 2.26.0 | cut -d'.' -f2)
 
2871
  PACKAGE_VERSION_MICRO=$(echo 2.26.0 | cut -d'.' -f3)
2765
2872
 
2766
2873
 
2767
2874
 
2801
2908
 
2802
2909
 
2803
2910
 
 
2911
 
 
2912
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
2913
$as_echo_n "checking whether NLS is requested... " >&6; }
 
2914
    # Check whether --enable-nls was given.
 
2915
if test "${enable_nls+set}" = set; then
 
2916
  enableval=$enable_nls; USE_NLS=$enableval
 
2917
else
 
2918
  USE_NLS=yes
 
2919
fi
 
2920
 
 
2921
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
2922
$as_echo "$USE_NLS" >&6; }
 
2923
 
 
2924
 
2804
2925
DEPDIR="${am__leading_dot}deps"
2805
2926
 
2806
2927
ac_config_commands="$ac_config_commands depfiles"
2950
3071
  else
2951
3072
    case $cross_compiling:$ac_tool_warned in
2952
3073
yes:)
2953
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2954
 
whose name does not start with the host triplet.  If you think this
2955
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2956
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2957
 
whose name does not start with the host triplet.  If you think this
2958
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3074
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3075
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2959
3076
ac_tool_warned=yes ;;
2960
3077
esac
2961
3078
    CC=$ac_ct_CC
3154
3271
  else
3155
3272
    case $cross_compiling:$ac_tool_warned in
3156
3273
yes:)
3157
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3158
 
whose name does not start with the host triplet.  If you think this
3159
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3160
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3161
 
whose name does not start with the host triplet.  If you think this
3162
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3274
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3275
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3163
3276
ac_tool_warned=yes ;;
3164
3277
esac
3165
3278
    CC=$ac_ct_CC
3169
3282
fi
3170
3283
 
3171
3284
 
3172
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3285
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3286
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3287
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3173
3288
See \`config.log' for more details." >&5
3174
3289
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3175
3290
See \`config.log' for more details." >&2;}
3176
 
   { (exit 1); exit 1; }; }
 
3291
   { (exit 1); exit 1; }; }; }
3177
3292
 
3178
3293
# Provide some information about the compiler.
3179
3294
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3303
3418
  $as_echo "$as_me: failed program was:" >&5
3304
3419
sed 's/^/| /' conftest.$ac_ext >&5
3305
3420
 
 
3421
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3422
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3306
3423
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3307
3424
See \`config.log' for more details." >&5
3308
3425
$as_echo "$as_me: error: C compiler cannot create executables
3309
3426
See \`config.log' for more details." >&2;}
3310
 
   { (exit 77); exit 77; }; }
 
3427
   { (exit 77); exit 77; }; }; }
3311
3428
fi
3312
3429
 
3313
3430
ac_exeext=$ac_cv_exeext
3335
3452
    if test "$cross_compiling" = maybe; then
3336
3453
        cross_compiling=yes
3337
3454
    else
3338
 
        { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3455
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3456
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3457
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3339
3458
If you meant to cross compile, use \`--host'.
3340
3459
See \`config.log' for more details." >&5
3341
3460
$as_echo "$as_me: error: cannot run C compiled programs.
3342
3461
If you meant to cross compile, use \`--host'.
3343
3462
See \`config.log' for more details." >&2;}
3344
 
   { (exit 1); exit 1; }; }
 
3463
   { (exit 1); exit 1; }; }; }
3345
3464
    fi
3346
3465
  fi
3347
3466
fi
3384
3503
  esac
3385
3504
done
3386
3505
else
3387
 
  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3506
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3507
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3508
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3388
3509
See \`config.log' for more details." >&5
3389
3510
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3390
3511
See \`config.log' for more details." >&2;}
3391
 
   { (exit 1); exit 1; }; }
 
3512
   { (exit 1); exit 1; }; }; }
3392
3513
fi
3393
3514
 
3394
3515
rm -f conftest$ac_cv_exeext
3442
3563
  $as_echo "$as_me: failed program was:" >&5
3443
3564
sed 's/^/| /' conftest.$ac_ext >&5
3444
3565
 
 
3566
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3567
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3445
3568
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3446
3569
See \`config.log' for more details." >&5
3447
3570
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3448
3571
See \`config.log' for more details." >&2;}
3449
 
   { (exit 1); exit 1; }; }
 
3572
   { (exit 1); exit 1; }; }; }
3450
3573
fi
3451
3574
 
3452
3575
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3904
4027
 
3905
4028
 
3906
4029
 
 
4030
 
3907
4031
case "$am__api_version" in
3908
4032
    1.01234)
3909
4033
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
4217
4341
fi
4218
4342
 
4219
4343
 
 
4344
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
4345
set dummy gmsgfmt; ac_word=$2
 
4346
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4347
$as_echo_n "checking for $ac_word... " >&6; }
 
4348
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
4349
  $as_echo_n "(cached) " >&6
 
4350
else
 
4351
  case $GMSGFMT in
 
4352
  [\\/]* | ?:[\\/]*)
 
4353
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
4354
  ;;
 
4355
  *)
 
4356
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4357
for as_dir in $PATH
 
4358
do
 
4359
  IFS=$as_save_IFS
 
4360
  test -z "$as_dir" && as_dir=.
 
4361
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4362
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4363
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
4364
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4365
    break 2
 
4366
  fi
 
4367
done
 
4368
done
 
4369
IFS=$as_save_IFS
 
4370
 
 
4371
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
4372
  ;;
 
4373
esac
 
4374
fi
 
4375
GMSGFMT=$ac_cv_path_GMSGFMT
 
4376
if test -n "$GMSGFMT"; then
 
4377
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
4378
$as_echo "$GMSGFMT" >&6; }
 
4379
else
 
4380
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4381
$as_echo "no" >&6; }
 
4382
fi
 
4383
 
 
4384
 
4220
4385
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4221
4386
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4222
4387
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4429
4594
fi
4430
4595
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4431
4596
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
4432
 
if test $ac_cv_func_bind_textdomain_codeset = yes; then
 
4597
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
4433
4598
  DATADIRNAME=share
4434
4599
else
4435
4600
  DATADIRNAME=lib
4539
4704
  else
4540
4705
    case $cross_compiling:$ac_tool_warned in
4541
4706
yes:)
4542
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4543
 
whose name does not start with the host triplet.  If you think this
4544
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4545
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4546
 
whose name does not start with the host triplet.  If you think this
4547
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4707
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4708
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4548
4709
ac_tool_warned=yes ;;
4549
4710
esac
4550
4711
    CC=$ac_ct_CC
4743
4904
  else
4744
4905
    case $cross_compiling:$ac_tool_warned in
4745
4906
yes:)
4746
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4747
 
whose name does not start with the host triplet.  If you think this
4748
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4749
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4750
 
whose name does not start with the host triplet.  If you think this
4751
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4907
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4908
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4752
4909
ac_tool_warned=yes ;;
4753
4910
esac
4754
4911
    CC=$ac_ct_CC
4758
4915
fi
4759
4916
 
4760
4917
 
4761
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
4918
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4919
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4920
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4762
4921
See \`config.log' for more details." >&5
4763
4922
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4764
4923
See \`config.log' for more details." >&2;}
4765
 
   { (exit 1); exit 1; }; }
 
4924
   { (exit 1); exit 1; }; }; }
4766
4925
 
4767
4926
# Provide some information about the compiler.
4768
4927
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
5696
5855
if $ac_preproc_ok; then
5697
5856
  :
5698
5857
else
5699
 
  { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
5858
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5859
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5860
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5700
5861
See \`config.log' for more details." >&5
5701
5862
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5702
5863
See \`config.log' for more details." >&2;}
5703
 
   { (exit 1); exit 1; }; }
 
5864
   { (exit 1); exit 1; }; }; }
5704
5865
fi
5705
5866
 
5706
5867
ac_ext=c
6083
6244
                 $as_echo "$as_val"'`
6084
6245
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6085
6246
$as_echo "$ac_res" >&6; }
6086
 
if test `eval 'as_val=${'$as_ac_Header'}
6087
 
                 $as_echo "$as_val"'` = yes; then
 
6247
as_val=`eval 'as_val=${'$as_ac_Header'}
 
6248
                 $as_echo "$as_val"'`
 
6249
   if test "x$as_val" = x""yes; then
6088
6250
  cat >>confdefs.h <<_ACEOF
6089
6251
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6090
6252
_ACEOF
6239
6401
$as_echo "$ac_res" >&6; }
6240
6402
 
6241
6403
fi
6242
 
if test `eval 'as_val=${'$as_ac_Header'}
6243
 
                 $as_echo "$as_val"'` = yes; then
 
6404
as_val=`eval 'as_val=${'$as_ac_Header'}
 
6405
                 $as_echo "$as_val"'`
 
6406
   if test "x$as_val" = x""yes; then
6244
6407
  cat >>confdefs.h <<_ACEOF
6245
6408
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6246
6409
_ACEOF
6390
6553
$as_echo "$ac_res" >&6; }
6391
6554
 
6392
6555
fi
6393
 
if test `eval 'as_val=${'$as_ac_Header'}
6394
 
                 $as_echo "$as_val"'` = yes; then
 
6556
as_val=`eval 'as_val=${'$as_ac_Header'}
 
6557
                 $as_echo "$as_val"'`
 
6558
   if test "x$as_val" = x""yes; then
6395
6559
  cat >>confdefs.h <<_ACEOF
6396
6560
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6397
6561
_ACEOF
6673
6837
fi
6674
6838
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6675
6839
$as_echo "$ac_cv_type_off_t" >&6; }
6676
 
if test $ac_cv_type_off_t = yes; then
 
6840
if test "x$ac_cv_type_off_t" = x""yes; then
6677
6841
  :
6678
6842
else
6679
6843
 
6777
6941
fi
6778
6942
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6779
6943
$as_echo "$ac_cv_type_size_t" >&6; }
6780
 
if test $ac_cv_type_size_t = yes; then
 
6944
if test "x$ac_cv_type_size_t" = x""yes; then
6781
6945
  :
6782
6946
else
6783
6947
 
6980
7144
$as_echo "$ac_res" >&6; }
6981
7145
 
6982
7146
fi
6983
 
if test `eval 'as_val=${'$as_ac_Header'}
6984
 
                 $as_echo "$as_val"'` = yes; then
 
7147
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7148
                 $as_echo "$as_val"'`
 
7149
   if test "x$as_val" = x""yes; then
6985
7150
  cat >>confdefs.h <<_ACEOF
6986
7151
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6987
7152
_ACEOF
7081
7246
                 $as_echo "$as_val"'`
7082
7247
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7083
7248
$as_echo "$ac_res" >&6; }
7084
 
if test `eval 'as_val=${'$as_ac_var'}
7085
 
                 $as_echo "$as_val"'` = yes; then
 
7249
as_val=`eval 'as_val=${'$as_ac_var'}
 
7250
                 $as_echo "$as_val"'`
 
7251
   if test "x$as_val" = x""yes; then
7086
7252
  cat >>confdefs.h <<_ACEOF
7087
7253
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7088
7254
_ACEOF
7546
7712
$as_echo "$as_me: Using $GM_ERROR_CFLAGS as error checking CFLAGS" >&6;}
7547
7713
 
7548
7714
 
 
7715
GLIB_REQUIRED_VERSION=2.18.2
 
7716
GTK_REQUIRED_VERSION=2.10.0
 
7717
LIBGLADE_REQUIRED_VERSION=1.99.2
 
7718
GCONF_REQUIRED_VERSION=2.6.1
 
7719
PA_REQUIRED_VERSION=0.9.12 # FIXME remove extra checks below when we have PA 0.9.15
 
7720
CANBERRA_REQUIRED_VERSION=0.4
 
7721
 
7549
7722
 
7550
7723
 
7551
7724
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7637
7810
  else
7638
7811
    case $cross_compiling:$ac_tool_warned in
7639
7812
yes:)
7640
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7641
 
whose name does not start with the host triplet.  If you think this
7642
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7643
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7644
 
whose name does not start with the host triplet.  If you think this
7645
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7813
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7814
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7646
7815
ac_tool_warned=yes ;;
7647
7816
esac
7648
7817
    PKG_CONFIG=$ac_pt_PKG_CONFIG
7677
7846
    else
7678
7847
        if test -n "$PKG_CONFIG" && \
7679
7848
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
7680
 
        glib-2.0 >= 1.3.7
7681
 
        gmodule-2.0 >= 1.3.7
7682
 
        libgnome-2.0 >= 2.13.7
7683
 
        libgnomeui-2.0 >= 2.13.2
 
7849
        glib-2.0 >= \$GLIB_REQUIRED_VERSION
 
7850
        gmodule-2.0 >= \$GLIB_REQUIRED_VERSION
 
7851
        gtk+-2.0 >= \$GTK_REQUIRED_VERSION
7684
7852
\"") >&5
7685
7853
  ($PKG_CONFIG --exists --print-errors "
7686
 
        glib-2.0 >= 1.3.7
7687
 
        gmodule-2.0 >= 1.3.7
7688
 
        libgnome-2.0 >= 2.13.7
7689
 
        libgnomeui-2.0 >= 2.13.2
 
7854
        glib-2.0 >= $GLIB_REQUIRED_VERSION
 
7855
        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
 
7856
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
7690
7857
") 2>&5
7691
7858
  ac_status=$?
7692
7859
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693
7860
  (exit $ac_status); }; then
7694
7861
  pkg_cv_MEDIA_CFLAGS=`$PKG_CONFIG --cflags "
7695
 
        glib-2.0 >= 1.3.7
7696
 
        gmodule-2.0 >= 1.3.7
7697
 
        libgnome-2.0 >= 2.13.7
7698
 
        libgnomeui-2.0 >= 2.13.2
 
7862
        glib-2.0 >= $GLIB_REQUIRED_VERSION
 
7863
        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
 
7864
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
7699
7865
" 2>/dev/null`
7700
7866
else
7701
7867
  pkg_failed=yes
7710
7876
    else
7711
7877
        if test -n "$PKG_CONFIG" && \
7712
7878
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
7713
 
        glib-2.0 >= 1.3.7
7714
 
        gmodule-2.0 >= 1.3.7
7715
 
        libgnome-2.0 >= 2.13.7
7716
 
        libgnomeui-2.0 >= 2.13.2
 
7879
        glib-2.0 >= \$GLIB_REQUIRED_VERSION
 
7880
        gmodule-2.0 >= \$GLIB_REQUIRED_VERSION
 
7881
        gtk+-2.0 >= \$GTK_REQUIRED_VERSION
7717
7882
\"") >&5
7718
7883
  ($PKG_CONFIG --exists --print-errors "
7719
 
        glib-2.0 >= 1.3.7
7720
 
        gmodule-2.0 >= 1.3.7
7721
 
        libgnome-2.0 >= 2.13.7
7722
 
        libgnomeui-2.0 >= 2.13.2
 
7884
        glib-2.0 >= $GLIB_REQUIRED_VERSION
 
7885
        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
 
7886
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
7723
7887
") 2>&5
7724
7888
  ac_status=$?
7725
7889
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726
7890
  (exit $ac_status); }; then
7727
7891
  pkg_cv_MEDIA_LIBS=`$PKG_CONFIG --libs "
7728
 
        glib-2.0 >= 1.3.7
7729
 
        gmodule-2.0 >= 1.3.7
7730
 
        libgnome-2.0 >= 2.13.7
7731
 
        libgnomeui-2.0 >= 2.13.2
 
7892
        glib-2.0 >= $GLIB_REQUIRED_VERSION
 
7893
        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
 
7894
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
7732
7895
" 2>/dev/null`
7733
7896
else
7734
7897
  pkg_failed=yes
7749
7912
fi
7750
7913
        if test $_pkg_short_errors_supported = yes; then
7751
7914
                MEDIA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "
7752
 
        glib-2.0 >= 1.3.7
7753
 
        gmodule-2.0 >= 1.3.7
7754
 
        libgnome-2.0 >= 2.13.7
7755
 
        libgnomeui-2.0 >= 2.13.2
 
7915
        glib-2.0 >= $GLIB_REQUIRED_VERSION
 
7916
        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
 
7917
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
7756
7918
"`
7757
7919
        else
7758
7920
                MEDIA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
7759
 
        glib-2.0 >= 1.3.7
7760
 
        gmodule-2.0 >= 1.3.7
7761
 
        libgnome-2.0 >= 2.13.7
7762
 
        libgnomeui-2.0 >= 2.13.2
 
7921
        glib-2.0 >= $GLIB_REQUIRED_VERSION
 
7922
        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
 
7923
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
7763
7924
"`
7764
7925
        fi
7765
7926
        # Put the nasty error message in config.log where it belongs
7766
7927
        echo "$MEDIA_PKG_ERRORS" >&5
7767
7928
 
7768
7929
        { { $as_echo "$as_me:$LINENO: error: Package requirements (
7769
 
        glib-2.0 >= 1.3.7
7770
 
        gmodule-2.0 >= 1.3.7
7771
 
        libgnome-2.0 >= 2.13.7
7772
 
        libgnomeui-2.0 >= 2.13.2
 
7930
        glib-2.0 >= $GLIB_REQUIRED_VERSION
 
7931
        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
 
7932
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
7773
7933
) were not met:
7774
7934
 
7775
7935
$MEDIA_PKG_ERRORS
7782
7942
See the pkg-config man page for more details.
7783
7943
" >&5
7784
7944
$as_echo "$as_me: error: Package requirements (
7785
 
        glib-2.0 >= 1.3.7
7786
 
        gmodule-2.0 >= 1.3.7
7787
 
        libgnome-2.0 >= 2.13.7
7788
 
        libgnomeui-2.0 >= 2.13.2
 
7945
        glib-2.0 >= $GLIB_REQUIRED_VERSION
 
7946
        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
 
7947
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
7789
7948
) were not met:
7790
7949
 
7791
7950
$MEDIA_PKG_ERRORS
7799
7958
" >&2;}
7800
7959
   { (exit 1); exit 1; }; }
7801
7960
elif test $pkg_failed = untried; then
7802
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
7961
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
7962
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7963
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
7803
7964
is in your PATH or set the PKG_CONFIG environment variable to the full
7804
7965
path to pkg-config.
7805
7966
 
7819
7980
 
7820
7981
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7821
7982
See \`config.log' for more details." >&2;}
7822
 
   { (exit 1); exit 1; }; }
 
7983
   { (exit 1); exit 1; }; }; }
7823
7984
else
7824
7985
        MEDIA_CFLAGS=$pkg_cv_MEDIA_CFLAGS
7825
7986
        MEDIA_LIBS=$pkg_cv_MEDIA_LIBS
7839
8000
 
7840
8001
 
7841
8002
 
 
8003
 
 
8004
pkg_failed=no
 
8005
{ $as_echo "$as_me:$LINENO: checking for SOUND_THEME" >&5
 
8006
$as_echo_n "checking for SOUND_THEME... " >&6; }
 
8007
 
 
8008
if test -n "$PKG_CONFIG"; then
 
8009
    if test -n "$SOUND_THEME_CFLAGS"; then
 
8010
        pkg_cv_SOUND_THEME_CFLAGS="$SOUND_THEME_CFLAGS"
 
8011
    else
 
8012
        if test -n "$PKG_CONFIG" && \
 
8013
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= \$GLIB_REQUIRED_VERSION
 
8014
        gtk+-2.0 >= \$GTK_REQUIRED_VERSION
 
8015
        gio-2.0
 
8016
        gconf-2.0 >= \$GCONF_REQUIRED_VERSION
 
8017
        libcanberra-gtk >= \$CANBERRA_REQUIRED_VERSION
 
8018
        libxml-2.0\"") >&5
 
8019
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
8020
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
8021
        gio-2.0
 
8022
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
 
8023
        libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION
 
8024
        libxml-2.0") 2>&5
 
8025
  ac_status=$?
 
8026
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8027
  (exit $ac_status); }; then
 
8028
  pkg_cv_SOUND_THEME_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
8029
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
8030
        gio-2.0
 
8031
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
 
8032
        libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION
 
8033
        libxml-2.0" 2>/dev/null`
 
8034
else
 
8035
  pkg_failed=yes
 
8036
fi
 
8037
    fi
 
8038
else
 
8039
        pkg_failed=untried
 
8040
fi
 
8041
if test -n "$PKG_CONFIG"; then
 
8042
    if test -n "$SOUND_THEME_LIBS"; then
 
8043
        pkg_cv_SOUND_THEME_LIBS="$SOUND_THEME_LIBS"
 
8044
    else
 
8045
        if test -n "$PKG_CONFIG" && \
 
8046
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= \$GLIB_REQUIRED_VERSION
 
8047
        gtk+-2.0 >= \$GTK_REQUIRED_VERSION
 
8048
        gio-2.0
 
8049
        gconf-2.0 >= \$GCONF_REQUIRED_VERSION
 
8050
        libcanberra-gtk >= \$CANBERRA_REQUIRED_VERSION
 
8051
        libxml-2.0\"") >&5
 
8052
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
8053
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
8054
        gio-2.0
 
8055
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
 
8056
        libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION
 
8057
        libxml-2.0") 2>&5
 
8058
  ac_status=$?
 
8059
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8060
  (exit $ac_status); }; then
 
8061
  pkg_cv_SOUND_THEME_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
8062
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
8063
        gio-2.0
 
8064
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
 
8065
        libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION
 
8066
        libxml-2.0" 2>/dev/null`
 
8067
else
 
8068
  pkg_failed=yes
 
8069
fi
 
8070
    fi
 
8071
else
 
8072
        pkg_failed=untried
 
8073
fi
 
8074
 
 
8075
 
 
8076
 
 
8077
if test $pkg_failed = yes; then
 
8078
 
 
8079
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
8080
        _pkg_short_errors_supported=yes
 
8081
else
 
8082
        _pkg_short_errors_supported=no
 
8083
fi
 
8084
        if test $_pkg_short_errors_supported = yes; then
 
8085
                SOUND_THEME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
8086
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
8087
        gio-2.0
 
8088
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
 
8089
        libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION
 
8090
        libxml-2.0"`
 
8091
        else
 
8092
                SOUND_THEME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
8093
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
8094
        gio-2.0
 
8095
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
 
8096
        libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION
 
8097
        libxml-2.0"`
 
8098
        fi
 
8099
        # Put the nasty error message in config.log where it belongs
 
8100
        echo "$SOUND_THEME_PKG_ERRORS" >&5
 
8101
 
 
8102
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
8103
$as_echo "no" >&6; }
 
8104
                have_soundtheme=no
 
8105
elif test $pkg_failed = untried; then
 
8106
        have_soundtheme=no
 
8107
else
 
8108
        SOUND_THEME_CFLAGS=$pkg_cv_SOUND_THEME_CFLAGS
 
8109
        SOUND_THEME_LIBS=$pkg_cv_SOUND_THEME_LIBS
 
8110
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
8111
$as_echo "yes" >&6; }
 
8112
        have_soundtheme=yes
 
8113
fi
 
8114
 
 
8115
if test "x$have_soundtheme" = "xyes" ; then
 
8116
 
 
8117
cat >>confdefs.h <<\_ACEOF
 
8118
#define HAVE_SOUND_THEME /**/
 
8119
_ACEOF
 
8120
 
 
8121
fi
 
8122
 if test x$have_soundtheme = xyes; then
 
8123
  HAVE_SOUND_THEME_TRUE=
 
8124
  HAVE_SOUND_THEME_FALSE='#'
 
8125
else
 
8126
  HAVE_SOUND_THEME_TRUE='#'
 
8127
  HAVE_SOUND_THEME_FALSE=
 
8128
fi
 
8129
 
 
8130
 
 
8131
 
 
8132
 
 
8133
 
 
8134
 
 
8135
GTK_REQUIRED_VERSION=2.15.1
 
8136
 
 
8137
 
 
8138
pkg_failed=no
 
8139
{ $as_echo "$as_me:$LINENO: checking for VOLUME_CONTROL" >&5
 
8140
$as_echo_n "checking for VOLUME_CONTROL... " >&6; }
 
8141
 
 
8142
if test -n "$PKG_CONFIG"; then
 
8143
    if test -n "$VOLUME_CONTROL_CFLAGS"; then
 
8144
        pkg_cv_VOLUME_CONTROL_CFLAGS="$VOLUME_CONTROL_CFLAGS"
 
8145
    else
 
8146
        if test -n "$PKG_CONFIG" && \
 
8147
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= \$GLIB_REQUIRED_VERSION
 
8148
        gtk+-2.0 >= \$GTK_REQUIRED_VERSION
 
8149
        gio-2.0
 
8150
        gconf-2.0 >= \$GCONF_REQUIRED_VERSION
 
8151
        libcanberra-gtk >= \$CANBERRA_REQUIRED_VERSION
 
8152
        unique-1.0
 
8153
        libxml-2.0
 
8154
\"") >&5
 
8155
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
8156
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
8157
        gio-2.0
 
8158
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
 
8159
        libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION
 
8160
        unique-1.0
 
8161
        libxml-2.0
 
8162
") 2>&5
 
8163
  ac_status=$?
 
8164
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8165
  (exit $ac_status); }; then
 
8166
  pkg_cv_VOLUME_CONTROL_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
8167
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
8168
        gio-2.0
 
8169
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
 
8170
        libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION
 
8171
        unique-1.0
 
8172
        libxml-2.0
 
8173
" 2>/dev/null`
 
8174
else
 
8175
  pkg_failed=yes
 
8176
fi
 
8177
    fi
 
8178
else
 
8179
        pkg_failed=untried
 
8180
fi
 
8181
if test -n "$PKG_CONFIG"; then
 
8182
    if test -n "$VOLUME_CONTROL_LIBS"; then
 
8183
        pkg_cv_VOLUME_CONTROL_LIBS="$VOLUME_CONTROL_LIBS"
 
8184
    else
 
8185
        if test -n "$PKG_CONFIG" && \
 
8186
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= \$GLIB_REQUIRED_VERSION
 
8187
        gtk+-2.0 >= \$GTK_REQUIRED_VERSION
 
8188
        gio-2.0
 
8189
        gconf-2.0 >= \$GCONF_REQUIRED_VERSION
 
8190
        libcanberra-gtk >= \$CANBERRA_REQUIRED_VERSION
 
8191
        unique-1.0
 
8192
        libxml-2.0
 
8193
\"") >&5
 
8194
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
8195
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
8196
        gio-2.0
 
8197
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
 
8198
        libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION
 
8199
        unique-1.0
 
8200
        libxml-2.0
 
8201
") 2>&5
 
8202
  ac_status=$?
 
8203
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8204
  (exit $ac_status); }; then
 
8205
  pkg_cv_VOLUME_CONTROL_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
8206
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
8207
        gio-2.0
 
8208
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
 
8209
        libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION
 
8210
        unique-1.0
 
8211
        libxml-2.0
 
8212
" 2>/dev/null`
 
8213
else
 
8214
  pkg_failed=yes
 
8215
fi
 
8216
    fi
 
8217
else
 
8218
        pkg_failed=untried
 
8219
fi
 
8220
 
 
8221
 
 
8222
 
 
8223
if test $pkg_failed = yes; then
 
8224
 
 
8225
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
8226
        _pkg_short_errors_supported=yes
 
8227
else
 
8228
        _pkg_short_errors_supported=no
 
8229
fi
 
8230
        if test $_pkg_short_errors_supported = yes; then
 
8231
                VOLUME_CONTROL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
8232
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
8233
        gio-2.0
 
8234
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
 
8235
        libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION
 
8236
        unique-1.0
 
8237
        libxml-2.0
 
8238
"`
 
8239
        else
 
8240
                VOLUME_CONTROL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
8241
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
8242
        gio-2.0
 
8243
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
 
8244
        libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION
 
8245
        unique-1.0
 
8246
        libxml-2.0
 
8247
"`
 
8248
        fi
 
8249
        # Put the nasty error message in config.log where it belongs
 
8250
        echo "$VOLUME_CONTROL_PKG_ERRORS" >&5
 
8251
 
 
8252
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
8253
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
8254
        gio-2.0
 
8255
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
 
8256
        libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION
 
8257
        unique-1.0
 
8258
        libxml-2.0
 
8259
) were not met:
 
8260
 
 
8261
$VOLUME_CONTROL_PKG_ERRORS
 
8262
 
 
8263
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
8264
installed software in a non-standard prefix.
 
8265
 
 
8266
Alternatively, you may set the environment variables VOLUME_CONTROL_CFLAGS
 
8267
and VOLUME_CONTROL_LIBS to avoid the need to call pkg-config.
 
8268
See the pkg-config man page for more details.
 
8269
" >&5
 
8270
$as_echo "$as_me: error: Package requirements (gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
8271
        gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
8272
        gio-2.0
 
8273
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
 
8274
        libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION
 
8275
        unique-1.0
 
8276
        libxml-2.0
 
8277
) were not met:
 
8278
 
 
8279
$VOLUME_CONTROL_PKG_ERRORS
 
8280
 
 
8281
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
8282
installed software in a non-standard prefix.
 
8283
 
 
8284
Alternatively, you may set the environment variables VOLUME_CONTROL_CFLAGS
 
8285
and VOLUME_CONTROL_LIBS to avoid the need to call pkg-config.
 
8286
See the pkg-config man page for more details.
 
8287
" >&2;}
 
8288
   { (exit 1); exit 1; }; }
 
8289
elif test $pkg_failed = untried; then
 
8290
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
8291
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
8292
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
8293
is in your PATH or set the PKG_CONFIG environment variable to the full
 
8294
path to pkg-config.
 
8295
 
 
8296
Alternatively, you may set the environment variables VOLUME_CONTROL_CFLAGS
 
8297
and VOLUME_CONTROL_LIBS to avoid the need to call pkg-config.
 
8298
See the pkg-config man page for more details.
 
8299
 
 
8300
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
8301
See \`config.log' for more details." >&5
 
8302
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
8303
is in your PATH or set the PKG_CONFIG environment variable to the full
 
8304
path to pkg-config.
 
8305
 
 
8306
Alternatively, you may set the environment variables VOLUME_CONTROL_CFLAGS
 
8307
and VOLUME_CONTROL_LIBS to avoid the need to call pkg-config.
 
8308
See the pkg-config man page for more details.
 
8309
 
 
8310
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
8311
See \`config.log' for more details." >&2;}
 
8312
   { (exit 1); exit 1; }; }; }
 
8313
else
 
8314
        VOLUME_CONTROL_CFLAGS=$pkg_cv_VOLUME_CONTROL_CFLAGS
 
8315
        VOLUME_CONTROL_LIBS=$pkg_cv_VOLUME_CONTROL_LIBS
 
8316
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
8317
$as_echo "yes" >&6; }
 
8318
        :
 
8319
fi
 
8320
 
 
8321
 
 
8322
 
 
8323
 
 
8324
pkg_failed=no
 
8325
{ $as_echo "$as_me:$LINENO: checking for PULSEAUDIO" >&5
 
8326
$as_echo_n "checking for PULSEAUDIO... " >&6; }
 
8327
 
 
8328
if test -n "$PKG_CONFIG"; then
 
8329
    if test -n "$PULSEAUDIO_CFLAGS"; then
 
8330
        pkg_cv_PULSEAUDIO_CFLAGS="$PULSEAUDIO_CFLAGS"
 
8331
    else
 
8332
        if test -n "$PKG_CONFIG" && \
 
8333
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse >= \$PA_REQUIRED_VERSION libpulse-mainloop-glib >= \$PA_REQUIRED_VERSION\"") >&5
 
8334
  ($PKG_CONFIG --exists --print-errors "libpulse >= $PA_REQUIRED_VERSION libpulse-mainloop-glib >= $PA_REQUIRED_VERSION") 2>&5
 
8335
  ac_status=$?
 
8336
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8337
  (exit $ac_status); }; then
 
8338
  pkg_cv_PULSEAUDIO_CFLAGS=`$PKG_CONFIG --cflags "libpulse >= $PA_REQUIRED_VERSION libpulse-mainloop-glib >= $PA_REQUIRED_VERSION" 2>/dev/null`
 
8339
else
 
8340
  pkg_failed=yes
 
8341
fi
 
8342
    fi
 
8343
else
 
8344
        pkg_failed=untried
 
8345
fi
 
8346
if test -n "$PKG_CONFIG"; then
 
8347
    if test -n "$PULSEAUDIO_LIBS"; then
 
8348
        pkg_cv_PULSEAUDIO_LIBS="$PULSEAUDIO_LIBS"
 
8349
    else
 
8350
        if test -n "$PKG_CONFIG" && \
 
8351
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse >= \$PA_REQUIRED_VERSION libpulse-mainloop-glib >= \$PA_REQUIRED_VERSION\"") >&5
 
8352
  ($PKG_CONFIG --exists --print-errors "libpulse >= $PA_REQUIRED_VERSION libpulse-mainloop-glib >= $PA_REQUIRED_VERSION") 2>&5
 
8353
  ac_status=$?
 
8354
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8355
  (exit $ac_status); }; then
 
8356
  pkg_cv_PULSEAUDIO_LIBS=`$PKG_CONFIG --libs "libpulse >= $PA_REQUIRED_VERSION libpulse-mainloop-glib >= $PA_REQUIRED_VERSION" 2>/dev/null`
 
8357
else
 
8358
  pkg_failed=yes
 
8359
fi
 
8360
    fi
 
8361
else
 
8362
        pkg_failed=untried
 
8363
fi
 
8364
 
 
8365
 
 
8366
 
 
8367
if test $pkg_failed = yes; then
 
8368
 
 
8369
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
8370
        _pkg_short_errors_supported=yes
 
8371
else
 
8372
        _pkg_short_errors_supported=no
 
8373
fi
 
8374
        if test $_pkg_short_errors_supported = yes; then
 
8375
                PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpulse >= $PA_REQUIRED_VERSION libpulse-mainloop-glib >= $PA_REQUIRED_VERSION"`
 
8376
        else
 
8377
                PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpulse >= $PA_REQUIRED_VERSION libpulse-mainloop-glib >= $PA_REQUIRED_VERSION"`
 
8378
        fi
 
8379
        # Put the nasty error message in config.log where it belongs
 
8380
        echo "$PULSEAUDIO_PKG_ERRORS" >&5
 
8381
 
 
8382
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
8383
$as_echo "no" >&6; }
 
8384
                have_pulseaudio=no
 
8385
elif test $pkg_failed = untried; then
 
8386
        have_pulseaudio=no
 
8387
else
 
8388
        PULSEAUDIO_CFLAGS=$pkg_cv_PULSEAUDIO_CFLAGS
 
8389
        PULSEAUDIO_LIBS=$pkg_cv_PULSEAUDIO_LIBS
 
8390
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
8391
$as_echo "yes" >&6; }
 
8392
        have_pulseaudio=yes
 
8393
fi
 
8394
 
 
8395
# Check whether --enable-pulseaudio was given.
 
8396
if test "${enable_pulseaudio+set}" = set; then
 
8397
  enableval=$enable_pulseaudio; enable_pulseaudio=$enableval
 
8398
else
 
8399
  enable_pulseaudio=auto
 
8400
fi
 
8401
 
 
8402
 
 
8403
if test "x$enable_pulseaudio" != "xno"; then
 
8404
  if test "x$enable_pulseaudio" = "xyes" -a "x$have_pulseaudio" = "xno"; then
 
8405
    { { $as_echo "$as_me:$LINENO: error: PulseAudio support explicitly requested but dependencies not found" >&5
 
8406
$as_echo "$as_me: error: PulseAudio support explicitly requested but dependencies not found" >&2;}
 
8407
   { (exit 1); exit 1; }; }
 
8408
  fi
 
8409
 
 
8410
  if test "x$have_pulseaudio" = "xyes" ; then
 
8411
 
 
8412
cat >>confdefs.h <<\_ACEOF
 
8413
#define HAVE_PULSEAUDIO /**/
 
8414
_ACEOF
 
8415
 
 
8416
  fi
 
8417
else
 
8418
  have_pulseaudio=no
 
8419
fi
 
8420
 if test x$have_pulseaudio = xyes; then
 
8421
  HAVE_PULSEAUDIO_TRUE=
 
8422
  HAVE_PULSEAUDIO_FALSE='#'
 
8423
else
 
8424
  HAVE_PULSEAUDIO_TRUE='#'
 
8425
  HAVE_PULSEAUDIO_FALSE=
 
8426
fi
 
8427
 
 
8428
 
 
8429
 
 
8430
 
 
8431
 
 
8432
if test "x$have_pulseaudio" = "xyes" ; then
 
8433
 
 
8434
pkg_failed=no
 
8435
{ $as_echo "$as_me:$LINENO: checking for NEW_PA" >&5
 
8436
$as_echo_n "checking for NEW_PA... " >&6; }
 
8437
 
 
8438
if test -n "$PKG_CONFIG"; then
 
8439
    if test -n "$NEW_PA_CFLAGS"; then
 
8440
        pkg_cv_NEW_PA_CFLAGS="$NEW_PA_CFLAGS"
 
8441
    else
 
8442
        if test -n "$PKG_CONFIG" && \
 
8443
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse >= 0.9.15\"") >&5
 
8444
  ($PKG_CONFIG --exists --print-errors "libpulse >= 0.9.15") 2>&5
 
8445
  ac_status=$?
 
8446
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8447
  (exit $ac_status); }; then
 
8448
  pkg_cv_NEW_PA_CFLAGS=`$PKG_CONFIG --cflags "libpulse >= 0.9.15" 2>/dev/null`
 
8449
else
 
8450
  pkg_failed=yes
 
8451
fi
 
8452
    fi
 
8453
else
 
8454
        pkg_failed=untried
 
8455
fi
 
8456
if test -n "$PKG_CONFIG"; then
 
8457
    if test -n "$NEW_PA_LIBS"; then
 
8458
        pkg_cv_NEW_PA_LIBS="$NEW_PA_LIBS"
 
8459
    else
 
8460
        if test -n "$PKG_CONFIG" && \
 
8461
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse >= 0.9.15\"") >&5
 
8462
  ($PKG_CONFIG --exists --print-errors "libpulse >= 0.9.15") 2>&5
 
8463
  ac_status=$?
 
8464
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8465
  (exit $ac_status); }; then
 
8466
  pkg_cv_NEW_PA_LIBS=`$PKG_CONFIG --libs "libpulse >= 0.9.15" 2>/dev/null`
 
8467
else
 
8468
  pkg_failed=yes
 
8469
fi
 
8470
    fi
 
8471
else
 
8472
        pkg_failed=untried
 
8473
fi
 
8474
 
 
8475
 
 
8476
 
 
8477
if test $pkg_failed = yes; then
 
8478
 
 
8479
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
8480
        _pkg_short_errors_supported=yes
 
8481
else
 
8482
        _pkg_short_errors_supported=no
 
8483
fi
 
8484
        if test $_pkg_short_errors_supported = yes; then
 
8485
                NEW_PA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpulse >= 0.9.15"`
 
8486
        else
 
8487
                NEW_PA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpulse >= 0.9.15"`
 
8488
        fi
 
8489
        # Put the nasty error message in config.log where it belongs
 
8490
        echo "$NEW_PA_PKG_ERRORS" >&5
 
8491
 
 
8492
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
8493
$as_echo "no" >&6; }
 
8494
                have_new_pulseaudio=no
 
8495
elif test $pkg_failed = untried; then
 
8496
        have_new_pulseaudio=no
 
8497
else
 
8498
        NEW_PA_CFLAGS=$pkg_cv_NEW_PA_CFLAGS
 
8499
        NEW_PA_LIBS=$pkg_cv_NEW_PA_LIBS
 
8500
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
8501
$as_echo "yes" >&6; }
 
8502
        have_new_pulseaudio=yes
 
8503
fi
 
8504
  if test "x$have_new_pulseaudio" = "xyes" ; then
 
8505
 
 
8506
cat >>confdefs.h <<\_ACEOF
 
8507
#define HAVE_NEW_PULSE 1
 
8508
_ACEOF
 
8509
 
 
8510
  fi
 
8511
fi
 
8512
 
 
8513
 
 
8514
 
 
8515
 
7842
8516
have_cddbslave=no
7843
8517
 
7844
8518
# Check whether --enable-cddbslave was given.
7973
8647
" >&2;}
7974
8648
   { (exit 1); exit 1; }; }
7975
8649
elif test $pkg_failed = untried; then
7976
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
8650
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
8651
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
8652
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
7977
8653
is in your PATH or set the PKG_CONFIG environment variable to the full
7978
8654
path to pkg-config.
7979
8655
 
7993
8669
 
7994
8670
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7995
8671
See \`config.log' for more details." >&2;}
7996
 
   { (exit 1); exit 1; }; }
 
8672
   { (exit 1); exit 1; }; }; }
7997
8673
else
7998
8674
        CDDBSLAVE_CFLAGS=$pkg_cv_CDDBSLAVE_CFLAGS
7999
8675
        CDDBSLAVE_LIBS=$pkg_cv_CDDBSLAVE_LIBS
8096
8772
                 $as_echo "$as_val"'`
8097
8773
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8098
8774
$as_echo "$ac_res" >&6; }
8099
 
if test `eval 'as_val=${'$as_ac_var'}
8100
 
                 $as_echo "$as_val"'` = yes; then
 
8775
as_val=`eval 'as_val=${'$as_ac_var'}
 
8776
                 $as_echo "$as_val"'`
 
8777
   if test "x$as_val" = x""yes; then
8101
8778
  cat >>confdefs.h <<_ACEOF
8102
8779
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8103
8780
_ACEOF
8190
8867
fi
8191
8868
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton" >&5
8192
8869
$as_echo "$ac_cv_func_inet_aton" >&6; }
8193
 
if test $ac_cv_func_inet_aton = yes; then
 
8870
if test "x$ac_cv_func_inet_aton" = x""yes; then
8194
8871
  :
8195
8872
else
8196
8873
  { $as_echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
8258
8935
fi
8259
8936
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
8260
8937
$as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
8261
 
if test $ac_cv_lib_resolv_inet_aton = yes; then
 
8938
if test "x$ac_cv_lib_resolv_inet_aton" = x""yes; then
8262
8939
  CDDBSLAVE_LIBS="$CDDBSLAVE_LIBS -lresolv"
8263
8940
fi
8264
8941
 
8349
9026
fi
8350
9027
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
8351
9028
$as_echo "$ac_cv_func_socket" >&6; }
8352
 
if test $ac_cv_func_socket = yes; then
 
9029
if test "x$ac_cv_func_socket" = x""yes; then
8353
9030
  :
8354
9031
else
8355
9032
  { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
8417
9094
fi
8418
9095
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
8419
9096
$as_echo "$ac_cv_lib_socket_socket" >&6; }
8420
 
if test $ac_cv_lib_socket_socket = yes; then
 
9097
if test "x$ac_cv_lib_socket_socket" = x""yes; then
8421
9098
  CDDBSLAVE_LIBS="$CDDBSLAVE_LIBS -lsocket"
8422
9099
fi
8423
9100
 
8508
9185
fi
8509
9186
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8510
9187
$as_echo "$ac_cv_func_gethostbyname" >&6; }
8511
 
if test $ac_cv_func_gethostbyname = yes; then
 
9188
if test "x$ac_cv_func_gethostbyname" = x""yes; then
8512
9189
  :
8513
9190
else
8514
9191
  { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
8576
9253
fi
8577
9254
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8578
9255
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8579
 
if test $ac_cv_lib_nsl_gethostbyname = yes; then
 
9256
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
8580
9257
  CDDBSLAVE_LIBS="$CDDBSLAVE_LIBS -lnsl"
8581
9258
fi
8582
9259
 
8734
9411
fi
8735
9412
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
8736
9413
$as_echo "$ac_cv_func_getaddrinfo" >&6; }
8737
 
if test $ac_cv_func_getaddrinfo = yes; then
 
9414
if test "x$ac_cv_func_getaddrinfo" = x""yes; then
8738
9415
  have_getaddrinfo=yes
8739
9416
fi
8740
9417
 
8809
9486
                 $as_echo "$as_val"'`
8810
9487
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8811
9488
$as_echo "$ac_res" >&6; }
8812
 
if test `eval 'as_val=${'$as_ac_Lib'}
8813
 
                 $as_echo "$as_val"'` = yes; then
 
9489
as_val=`eval 'as_val=${'$as_ac_Lib'}
 
9490
                 $as_echo "$as_val"'`
 
9491
   if test "x$as_val" = x""yes; then
8814
9492
  LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break
8815
9493
fi
8816
9494
 
8985
9663
" >&2;}
8986
9664
   { (exit 1); exit 1; }; }
8987
9665
elif test $pkg_failed = untried; then
8988
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
9666
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
9667
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
9668
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
8989
9669
is in your PATH or set the PKG_CONFIG environment variable to the full
8990
9670
path to pkg-config.
8991
9671
 
9005
9685
 
9006
9686
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
9007
9687
See \`config.log' for more details." >&2;}
9008
 
   { (exit 1); exit 1; }; }
 
9688
   { (exit 1); exit 1; }; }; }
9009
9689
else
9010
9690
        GMP_CFLAGS=$pkg_cv_GMP_CFLAGS
9011
9691
        GMP_LIBS=$pkg_cv_GMP_LIBS
9885
10565
$as_echo "$ac_res" >&6; }
9886
10566
 
9887
10567
fi
9888
 
if test `eval 'as_val=${'$as_ac_Header'}
9889
 
                 $as_echo "$as_val"'` = yes; then
 
10568
as_val=`eval 'as_val=${'$as_ac_Header'}
 
10569
                 $as_echo "$as_val"'`
 
10570
   if test "x$as_val" = x""yes; then
9890
10571
  cat >>confdefs.h <<_ACEOF
9891
10572
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9892
10573
_ACEOF
10100
10781
$as_echo "$ac_cv_header_libintl_h" >&6; }
10101
10782
 
10102
10783
fi
10103
 
if test $ac_cv_header_libintl_h = yes; then
 
10784
if test "x$ac_cv_header_libintl_h" = x""yes; then
10104
10785
  gt_cv_func_dgettext_libintl="no"
10105
10786
      libintl_extra_libs=""
10106
10787
 
10319
11000
                 $as_echo "$as_val"'`
10320
11001
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10321
11002
$as_echo "$ac_res" >&6; }
10322
 
if test `eval 'as_val=${'$as_ac_var'}
10323
 
                 $as_echo "$as_val"'` = yes; then
 
11003
as_val=`eval 'as_val=${'$as_ac_var'}
 
11004
                 $as_echo "$as_val"'`
 
11005
   if test "x$as_val" = x""yes; then
10324
11006
  cat >>confdefs.h <<_ACEOF
10325
11007
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10326
11008
_ACEOF
10402
11084
fi
10403
11085
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
10404
11086
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
10405
 
if test $ac_cv_lib_intl_bindtextdomain = yes; then
 
11087
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
10406
11088
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
10407
11089
$as_echo_n "checking for ngettext in -lintl... " >&6; }
10408
11090
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
10468
11150
fi
10469
11151
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
10470
11152
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
10471
 
if test $ac_cv_lib_intl_ngettext = yes; then
 
11153
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
10472
11154
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
10473
11155
$as_echo_n "checking for dgettext in -lintl... " >&6; }
10474
11156
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
10534
11216
fi
10535
11217
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
10536
11218
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
10537
 
if test $ac_cv_lib_intl_dgettext = yes; then
 
11219
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
10538
11220
  gt_cv_func_dgettext_libintl=yes
10539
11221
fi
10540
11222
 
10613
11295
fi
10614
11296
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
10615
11297
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
10616
 
if test $ac_cv_lib_intl_ngettext = yes; then
 
11298
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
10617
11299
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
10618
11300
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
10619
11301
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
10679
11361
fi
10680
11362
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
10681
11363
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
10682
 
if test $ac_cv_lib_intl_dcgettext = yes; then
 
11364
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
10683
11365
  gt_cv_func_dgettext_libintl=yes
10684
11366
                        libintl_extra_libs=-liconv
10685
11367
else
10792
11474
                 $as_echo "$as_val"'`
10793
11475
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10794
11476
$as_echo "$ac_res" >&6; }
10795
 
if test `eval 'as_val=${'$as_ac_var'}
10796
 
                 $as_echo "$as_val"'` = yes; then
 
11477
as_val=`eval 'as_val=${'$as_ac_var'}
 
11478
                 $as_echo "$as_val"'`
 
11479
   if test "x$as_val" = x""yes; then
10797
11480
  cat >>confdefs.h <<_ACEOF
10798
11481
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10799
11482
_ACEOF
10958
11641
                 $as_echo "$as_val"'`
10959
11642
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10960
11643
$as_echo "$ac_res" >&6; }
10961
 
if test `eval 'as_val=${'$as_ac_var'}
10962
 
                 $as_echo "$as_val"'` = yes; then
 
11644
as_val=`eval 'as_val=${'$as_ac_var'}
 
11645
                 $as_echo "$as_val"'`
 
11646
   if test "x$as_val" = x""yes; then
10963
11647
  cat >>confdefs.h <<_ACEOF
10964
11648
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10965
11649
_ACEOF
11203
11887
fi
11204
11888
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
11205
11889
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
11206
 
if test $ac_cv_func_bind_textdomain_codeset = yes; then
 
11890
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
11207
11891
  CATOBJEXT=.gmo
11208
11892
               DATADIRNAME=share
11209
11893
else
11422
12106
 
11423
12107
 
11424
12108
 
11425
 
# Check whether --enable-shared was given.
11426
 
if test "${enable_shared+set}" = set; then
11427
 
  enableval=$enable_shared; p=${PACKAGE-default}
11428
 
    case $enableval in
11429
 
    yes) enable_shared=yes ;;
11430
 
    no) enable_shared=no ;;
11431
 
    *)
11432
 
      enable_shared=no
11433
 
      # Look at the argument we got.  We use all the common list separators.
11434
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11435
 
      for pkg in $enableval; do
11436
 
        IFS="$lt_save_ifs"
11437
 
        if test "X$pkg" = "X$p"; then
11438
 
          enable_shared=yes
11439
 
        fi
11440
 
      done
11441
 
      IFS="$lt_save_ifs"
11442
 
      ;;
11443
 
    esac
11444
 
else
11445
 
  enable_shared=yes
11446
 
fi
11447
 
 
11448
 
 
11449
 
# Check whether --enable-static was given.
11450
 
if test "${enable_static+set}" = set; then
11451
 
  enableval=$enable_static; p=${PACKAGE-default}
11452
 
    case $enableval in
11453
 
    yes) enable_static=yes ;;
11454
 
    no) enable_static=no ;;
11455
 
    *)
11456
 
     enable_static=no
11457
 
      # Look at the argument we got.  We use all the common list separators.
11458
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11459
 
      for pkg in $enableval; do
11460
 
        IFS="$lt_save_ifs"
11461
 
        if test "X$pkg" = "X$p"; then
11462
 
          enable_static=yes
11463
 
        fi
11464
 
      done
11465
 
      IFS="$lt_save_ifs"
11466
 
      ;;
11467
 
    esac
11468
 
else
11469
 
  enable_static=yes
11470
 
fi
11471
 
 
11472
 
 
11473
 
# Check whether --enable-fast-install was given.
11474
 
if test "${enable_fast_install+set}" = set; then
11475
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
11476
 
    case $enableval in
11477
 
    yes) enable_fast_install=yes ;;
11478
 
    no) enable_fast_install=no ;;
11479
 
    *)
11480
 
      enable_fast_install=no
11481
 
      # Look at the argument we got.  We use all the common list separators.
11482
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11483
 
      for pkg in $enableval; do
11484
 
        IFS="$lt_save_ifs"
11485
 
        if test "X$pkg" = "X$p"; then
11486
 
          enable_fast_install=yes
11487
 
        fi
11488
 
      done
11489
 
      IFS="$lt_save_ifs"
11490
 
      ;;
11491
 
    esac
11492
 
else
11493
 
  enable_fast_install=yes
11494
 
fi
11495
 
 
 
12109
case `pwd` in
 
12110
  *\ * | *\     *)
 
12111
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
12112
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
12113
esac
 
12114
 
 
12115
 
 
12116
 
 
12117
macro_version='2.2.6'
 
12118
macro_revision='1.3012'
 
12119
 
 
12120
 
 
12121
 
 
12122
 
 
12123
 
 
12124
 
 
12125
 
 
12126
 
 
12127
 
 
12128
 
 
12129
 
 
12130
 
 
12131
 
 
12132
ltmain="$ac_aux_dir/ltmain.sh"
11496
12133
 
11497
12134
# Make sure we can run config.sub.
11498
12135
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
11579
12216
 
11580
12217
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
11581
12218
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
11582
 
if test "${lt_cv_path_SED+set}" = set; then
 
12219
if test "${ac_cv_path_SED+set}" = set; then
11583
12220
  $as_echo_n "(cached) " >&6
11584
12221
else
11585
 
  # Loop through the user's path and test for sed and gsed.
11586
 
# Then use that list of sed's as ones to test for truncation.
11587
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12222
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
12223
     for ac_i in 1 2 3 4 5 6 7; do
 
12224
       ac_script="$ac_script$as_nl$ac_script"
 
12225
     done
 
12226
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
12227
     $as_unset ac_script || ac_script=
 
12228
     if test -z "$SED"; then
 
12229
  ac_path_SED_found=false
 
12230
  # Loop through the user's path and test for each of PROGNAME-LIST
 
12231
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11588
12232
for as_dir in $PATH
11589
12233
do
11590
12234
  IFS=$as_save_IFS
11591
12235
  test -z "$as_dir" && as_dir=.
11592
 
  for lt_ac_prog in sed gsed; do
11593
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11594
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
11595
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
11596
 
      fi
11597
 
    done
11598
 
  done
11599
 
done
11600
 
IFS=$as_save_IFS
11601
 
lt_ac_max=0
11602
 
lt_ac_count=0
11603
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
11604
 
# along with /bin/sed that truncates output.
11605
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
11606
 
  test ! -f $lt_ac_sed && continue
11607
 
  cat /dev/null > conftest.in
11608
 
  lt_ac_count=0
11609
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
11610
 
  # Check for GNU sed and select it if it is found.
11611
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
11612
 
    lt_cv_path_SED=$lt_ac_sed
11613
 
    break
11614
 
  fi
11615
 
  while true; do
11616
 
    cat conftest.in conftest.in >conftest.tmp
11617
 
    mv conftest.tmp conftest.in
11618
 
    cp conftest.in conftest.nl
11619
 
    echo >>conftest.nl
11620
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
11621
 
    cmp -s conftest.out conftest.nl || break
11622
 
    # 10000 chars as input seems more than enough
11623
 
    test $lt_ac_count -gt 10 && break
11624
 
    lt_ac_count=`expr $lt_ac_count + 1`
11625
 
    if test $lt_ac_count -gt $lt_ac_max; then
11626
 
      lt_ac_max=$lt_ac_count
11627
 
      lt_cv_path_SED=$lt_ac_sed
11628
 
    fi
11629
 
  done
11630
 
done
11631
 
 
11632
 
fi
11633
 
 
11634
 
SED=$lt_cv_path_SED
11635
 
 
11636
 
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
11637
 
$as_echo "$SED" >&6; }
 
12236
  for ac_prog in sed gsed; do
 
12237
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12238
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
12239
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
12240
# Check for GNU ac_path_SED and select it if it is found.
 
12241
  # Check for GNU $ac_path_SED
 
12242
case `"$ac_path_SED" --version 2>&1` in
 
12243
*GNU*)
 
12244
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
12245
*)
 
12246
  ac_count=0
 
12247
  $as_echo_n 0123456789 >"conftest.in"
 
12248
  while :
 
12249
  do
 
12250
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
12251
    mv "conftest.tmp" "conftest.in"
 
12252
    cp "conftest.in" "conftest.nl"
 
12253
    $as_echo '' >> "conftest.nl"
 
12254
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
12255
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
12256
    ac_count=`expr $ac_count + 1`
 
12257
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
12258
      # Best one so far, save it but keep looking for a better one
 
12259
      ac_cv_path_SED="$ac_path_SED"
 
12260
      ac_path_SED_max=$ac_count
 
12261
    fi
 
12262
    # 10*(2^10) chars as input seems more than enough
 
12263
    test $ac_count -gt 10 && break
 
12264
  done
 
12265
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
12266
esac
 
12267
 
 
12268
      $ac_path_SED_found && break 3
 
12269
    done
 
12270
  done
 
12271
done
 
12272
IFS=$as_save_IFS
 
12273
  if test -z "$ac_cv_path_SED"; then
 
12274
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
12275
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
12276
   { (exit 1); exit 1; }; }
 
12277
  fi
 
12278
else
 
12279
  ac_cv_path_SED=$SED
 
12280
fi
 
12281
 
 
12282
fi
 
12283
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
12284
$as_echo "$ac_cv_path_SED" >&6; }
 
12285
 SED="$ac_cv_path_SED"
 
12286
  rm -f conftest.sed
 
12287
 
 
12288
test -z "$SED" && SED=sed
 
12289
Xsed="$SED -e 1s/^X//"
 
12290
 
 
12291
 
 
12292
 
 
12293
 
 
12294
 
 
12295
 
 
12296
 
 
12297
 
 
12298
 
 
12299
 
 
12300
 
 
12301
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
12302
$as_echo_n "checking for fgrep... " >&6; }
 
12303
if test "${ac_cv_path_FGREP+set}" = set; then
 
12304
  $as_echo_n "(cached) " >&6
 
12305
else
 
12306
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
12307
   then ac_cv_path_FGREP="$GREP -F"
 
12308
   else
 
12309
     if test -z "$FGREP"; then
 
12310
  ac_path_FGREP_found=false
 
12311
  # Loop through the user's path and test for each of PROGNAME-LIST
 
12312
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12313
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
12314
do
 
12315
  IFS=$as_save_IFS
 
12316
  test -z "$as_dir" && as_dir=.
 
12317
  for ac_prog in fgrep; do
 
12318
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12319
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
12320
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
12321
# Check for GNU ac_path_FGREP and select it if it is found.
 
12322
  # Check for GNU $ac_path_FGREP
 
12323
case `"$ac_path_FGREP" --version 2>&1` in
 
12324
*GNU*)
 
12325
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
12326
*)
 
12327
  ac_count=0
 
12328
  $as_echo_n 0123456789 >"conftest.in"
 
12329
  while :
 
12330
  do
 
12331
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
12332
    mv "conftest.tmp" "conftest.in"
 
12333
    cp "conftest.in" "conftest.nl"
 
12334
    $as_echo 'FGREP' >> "conftest.nl"
 
12335
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
12336
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
12337
    ac_count=`expr $ac_count + 1`
 
12338
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
12339
      # Best one so far, save it but keep looking for a better one
 
12340
      ac_cv_path_FGREP="$ac_path_FGREP"
 
12341
      ac_path_FGREP_max=$ac_count
 
12342
    fi
 
12343
    # 10*(2^10) chars as input seems more than enough
 
12344
    test $ac_count -gt 10 && break
 
12345
  done
 
12346
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
12347
esac
 
12348
 
 
12349
      $ac_path_FGREP_found && break 3
 
12350
    done
 
12351
  done
 
12352
done
 
12353
IFS=$as_save_IFS
 
12354
  if test -z "$ac_cv_path_FGREP"; then
 
12355
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
12356
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
12357
   { (exit 1); exit 1; }; }
 
12358
  fi
 
12359
else
 
12360
  ac_cv_path_FGREP=$FGREP
 
12361
fi
 
12362
 
 
12363
   fi
 
12364
fi
 
12365
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
12366
$as_echo "$ac_cv_path_FGREP" >&6; }
 
12367
 FGREP="$ac_cv_path_FGREP"
 
12368
 
 
12369
 
 
12370
test -z "$GREP" && GREP=grep
 
12371
 
 
12372
 
 
12373
 
 
12374
 
 
12375
 
 
12376
 
 
12377
 
 
12378
 
 
12379
 
 
12380
 
 
12381
 
 
12382
 
 
12383
 
 
12384
 
 
12385
 
 
12386
 
 
12387
 
11638
12388
 
11639
12389
 
11640
12390
# Check whether --with-gnu-ld was given.
11661
12411
    [\\/]* | ?:[\\/]*)
11662
12412
      re_direlt='/[^/][^/]*/\.\./'
11663
12413
      # Canonicalize the pathname of ld
11664
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11665
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11666
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
12414
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
12415
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
12416
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11667
12417
      done
11668
12418
      test -z "$LD" && LD="$ac_prog"
11669
12419
      ;;
11743
12493
with_gnu_ld=$lt_cv_prog_gnu_ld
11744
12494
 
11745
12495
 
11746
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
11747
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
11748
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
11749
 
  $as_echo_n "(cached) " >&6
11750
 
else
11751
 
  lt_cv_ld_reload_flag='-r'
11752
 
fi
11753
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
11754
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
11755
 
reload_flag=$lt_cv_ld_reload_flag
11756
 
case $reload_flag in
11757
 
"" | " "*) ;;
11758
 
*) reload_flag=" $reload_flag" ;;
11759
 
esac
11760
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
11761
 
case $host_os in
11762
 
  darwin*)
11763
 
    if test "$GCC" = yes; then
11764
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
11765
 
    else
11766
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
11767
 
    fi
11768
 
    ;;
11769
 
esac
11770
 
 
11771
 
{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
11772
 
$as_echo_n "checking for BSD-compatible nm... " >&6; }
 
12496
 
 
12497
 
 
12498
 
 
12499
 
 
12500
 
 
12501
 
 
12502
 
 
12503
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
12504
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
11773
12505
if test "${lt_cv_path_NM+set}" = set; then
11774
12506
  $as_echo_n "(cached) " >&6
11775
12507
else
11814
12546
    done
11815
12547
    IFS="$lt_save_ifs"
11816
12548
  done
11817
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
12549
  : ${lt_cv_path_NM=no}
11818
12550
fi
11819
12551
fi
11820
12552
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
11821
12553
$as_echo "$lt_cv_path_NM" >&6; }
11822
 
NM="$lt_cv_path_NM"
 
12554
if test "$lt_cv_path_NM" != "no"; then
 
12555
  NM="$lt_cv_path_NM"
 
12556
else
 
12557
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
12558
  if test -n "$ac_tool_prefix"; then
 
12559
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
12560
  do
 
12561
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
12562
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
12563
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12564
$as_echo_n "checking for $ac_word... " >&6; }
 
12565
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
12566
  $as_echo_n "(cached) " >&6
 
12567
else
 
12568
  if test -n "$DUMPBIN"; then
 
12569
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
12570
else
 
12571
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12572
for as_dir in $PATH
 
12573
do
 
12574
  IFS=$as_save_IFS
 
12575
  test -z "$as_dir" && as_dir=.
 
12576
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12577
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12578
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
12579
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12580
    break 2
 
12581
  fi
 
12582
done
 
12583
done
 
12584
IFS=$as_save_IFS
 
12585
 
 
12586
fi
 
12587
fi
 
12588
DUMPBIN=$ac_cv_prog_DUMPBIN
 
12589
if test -n "$DUMPBIN"; then
 
12590
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
12591
$as_echo "$DUMPBIN" >&6; }
 
12592
else
 
12593
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12594
$as_echo "no" >&6; }
 
12595
fi
 
12596
 
 
12597
 
 
12598
    test -n "$DUMPBIN" && break
 
12599
  done
 
12600
fi
 
12601
if test -z "$DUMPBIN"; then
 
12602
  ac_ct_DUMPBIN=$DUMPBIN
 
12603
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
12604
do
 
12605
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
12606
set dummy $ac_prog; ac_word=$2
 
12607
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12608
$as_echo_n "checking for $ac_word... " >&6; }
 
12609
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
12610
  $as_echo_n "(cached) " >&6
 
12611
else
 
12612
  if test -n "$ac_ct_DUMPBIN"; then
 
12613
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
12614
else
 
12615
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12616
for as_dir in $PATH
 
12617
do
 
12618
  IFS=$as_save_IFS
 
12619
  test -z "$as_dir" && as_dir=.
 
12620
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12621
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12622
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
12623
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12624
    break 2
 
12625
  fi
 
12626
done
 
12627
done
 
12628
IFS=$as_save_IFS
 
12629
 
 
12630
fi
 
12631
fi
 
12632
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
12633
if test -n "$ac_ct_DUMPBIN"; then
 
12634
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
12635
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
12636
else
 
12637
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12638
$as_echo "no" >&6; }
 
12639
fi
 
12640
 
 
12641
 
 
12642
  test -n "$ac_ct_DUMPBIN" && break
 
12643
done
 
12644
 
 
12645
  if test "x$ac_ct_DUMPBIN" = x; then
 
12646
    DUMPBIN=":"
 
12647
  else
 
12648
    case $cross_compiling:$ac_tool_warned in
 
12649
yes:)
 
12650
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
12651
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
12652
ac_tool_warned=yes ;;
 
12653
esac
 
12654
    DUMPBIN=$ac_ct_DUMPBIN
 
12655
  fi
 
12656
fi
 
12657
 
 
12658
 
 
12659
  if test "$DUMPBIN" != ":"; then
 
12660
    NM="$DUMPBIN"
 
12661
  fi
 
12662
fi
 
12663
test -z "$NM" && NM=nm
 
12664
 
 
12665
 
 
12666
 
 
12667
 
 
12668
 
 
12669
 
 
12670
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
12671
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
12672
if test "${lt_cv_nm_interface+set}" = set; then
 
12673
  $as_echo_n "(cached) " >&6
 
12674
else
 
12675
  lt_cv_nm_interface="BSD nm"
 
12676
  echo "int some_variable = 0;" > conftest.$ac_ext
 
12677
  (eval echo "\"\$as_me:12677: $ac_compile\"" >&5)
 
12678
  (eval "$ac_compile" 2>conftest.err)
 
12679
  cat conftest.err >&5
 
12680
  (eval echo "\"\$as_me:12680: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
12681
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
12682
  cat conftest.err >&5
 
12683
  (eval echo "\"\$as_me:12683: output\"" >&5)
 
12684
  cat conftest.out >&5
 
12685
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
12686
    lt_cv_nm_interface="MS dumpbin"
 
12687
  fi
 
12688
  rm -f conftest*
 
12689
fi
 
12690
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
12691
$as_echo "$lt_cv_nm_interface" >&6; }
 
12692
 
 
12693
# find the maximum length of command line arguments
 
12694
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
12695
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
12696
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
12697
  $as_echo_n "(cached) " >&6
 
12698
else
 
12699
    i=0
 
12700
  teststring="ABCD"
 
12701
 
 
12702
  case $build_os in
 
12703
  msdosdjgpp*)
 
12704
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
12705
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
12706
    # during glob expansion).  Even if it were fixed, the result of this
 
12707
    # check would be larger than it should be.
 
12708
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
12709
    ;;
 
12710
 
 
12711
  gnu*)
 
12712
    # Under GNU Hurd, this test is not required because there is
 
12713
    # no limit to the length of command line arguments.
 
12714
    # Libtool will interpret -1 as no limit whatsoever
 
12715
    lt_cv_sys_max_cmd_len=-1;
 
12716
    ;;
 
12717
 
 
12718
  cygwin* | mingw* | cegcc*)
 
12719
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
12720
    # about 5 minutes as the teststring grows exponentially.
 
12721
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
12722
    # you end up with a "frozen" computer, even though with patience
 
12723
    # the test eventually succeeds (with a max line length of 256k).
 
12724
    # Instead, let's just punt: use the minimum linelength reported by
 
12725
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
12726
    lt_cv_sys_max_cmd_len=8192;
 
12727
    ;;
 
12728
 
 
12729
  amigaos*)
 
12730
    # On AmigaOS with pdksh, this test takes hours, literally.
 
12731
    # So we just punt and use a minimum line length of 8192.
 
12732
    lt_cv_sys_max_cmd_len=8192;
 
12733
    ;;
 
12734
 
 
12735
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
12736
    # This has been around since 386BSD, at least.  Likely further.
 
12737
    if test -x /sbin/sysctl; then
 
12738
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
12739
    elif test -x /usr/sbin/sysctl; then
 
12740
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
12741
    else
 
12742
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
12743
    fi
 
12744
    # And add a safety zone
 
12745
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
12746
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
12747
    ;;
 
12748
 
 
12749
  interix*)
 
12750
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
12751
    lt_cv_sys_max_cmd_len=196608
 
12752
    ;;
 
12753
 
 
12754
  osf*)
 
12755
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
12756
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
12757
    # nice to cause kernel panics so lets avoid the loop below.
 
12758
    # First set a reasonable default.
 
12759
    lt_cv_sys_max_cmd_len=16384
 
12760
    #
 
12761
    if test -x /sbin/sysconfig; then
 
12762
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
12763
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
12764
      esac
 
12765
    fi
 
12766
    ;;
 
12767
  sco3.2v5*)
 
12768
    lt_cv_sys_max_cmd_len=102400
 
12769
    ;;
 
12770
  sysv5* | sco5v6* | sysv4.2uw2*)
 
12771
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
12772
    if test -n "$kargmax"; then
 
12773
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
12774
    else
 
12775
      lt_cv_sys_max_cmd_len=32768
 
12776
    fi
 
12777
    ;;
 
12778
  *)
 
12779
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
12780
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
12781
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
12782
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
12783
    else
 
12784
      # Make teststring a little bigger before we do anything with it.
 
12785
      # a 1K string should be a reasonable start.
 
12786
      for i in 1 2 3 4 5 6 7 8 ; do
 
12787
        teststring=$teststring$teststring
 
12788
      done
 
12789
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
12790
      # If test is not a shell built-in, we'll probably end up computing a
 
12791
      # maximum length that is only half of the actual maximum length, but
 
12792
      # we can't tell.
 
12793
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
12794
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
12795
              test $i != 17 # 1/2 MB should be enough
 
12796
      do
 
12797
        i=`expr $i + 1`
 
12798
        teststring=$teststring$teststring
 
12799
      done
 
12800
      # Only check the string length outside the loop.
 
12801
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
12802
      teststring=
 
12803
      # Add a significant safety factor because C++ compilers can tack on
 
12804
      # massive amounts of additional arguments before passing them to the
 
12805
      # linker.  It appears as though 1/2 is a usable value.
 
12806
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
12807
    fi
 
12808
    ;;
 
12809
  esac
 
12810
 
 
12811
fi
 
12812
 
 
12813
if test -n $lt_cv_sys_max_cmd_len ; then
 
12814
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
12815
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
12816
else
 
12817
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
12818
$as_echo "none" >&6; }
 
12819
fi
 
12820
max_cmd_len=$lt_cv_sys_max_cmd_len
 
12821
 
 
12822
 
 
12823
 
 
12824
 
 
12825
 
 
12826
 
 
12827
: ${CP="cp -f"}
 
12828
: ${MV="mv -f"}
 
12829
: ${RM="rm -f"}
 
12830
 
 
12831
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
12832
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
12833
# Try some XSI features
 
12834
xsi_shell=no
 
12835
( _lt_dummy="a/b/c"
 
12836
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
12837
      = c,a/b,, \
 
12838
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
12839
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
12840
  && xsi_shell=yes
 
12841
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
12842
$as_echo "$xsi_shell" >&6; }
 
12843
 
 
12844
 
 
12845
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
12846
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
12847
lt_shell_append=no
 
12848
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
12849
    >/dev/null 2>&1 \
 
12850
  && lt_shell_append=yes
 
12851
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
12852
$as_echo "$lt_shell_append" >&6; }
 
12853
 
 
12854
 
 
12855
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
12856
  lt_unset=unset
 
12857
else
 
12858
  lt_unset=false
 
12859
fi
 
12860
 
 
12861
 
 
12862
 
 
12863
 
 
12864
 
 
12865
# test EBCDIC or ASCII
 
12866
case `echo X|tr X '\101'` in
 
12867
 A) # ASCII based system
 
12868
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
12869
  lt_SP2NL='tr \040 \012'
 
12870
  lt_NL2SP='tr \015\012 \040\040'
 
12871
  ;;
 
12872
 *) # EBCDIC based system
 
12873
  lt_SP2NL='tr \100 \n'
 
12874
  lt_NL2SP='tr \r\n \100\100'
 
12875
  ;;
 
12876
esac
 
12877
 
 
12878
 
 
12879
 
 
12880
 
 
12881
 
 
12882
 
 
12883
 
 
12884
 
 
12885
 
 
12886
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
12887
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
12888
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
12889
  $as_echo_n "(cached) " >&6
 
12890
else
 
12891
  lt_cv_ld_reload_flag='-r'
 
12892
fi
 
12893
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
12894
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
12895
reload_flag=$lt_cv_ld_reload_flag
 
12896
case $reload_flag in
 
12897
"" | " "*) ;;
 
12898
*) reload_flag=" $reload_flag" ;;
 
12899
esac
 
12900
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
12901
case $host_os in
 
12902
  darwin*)
 
12903
    if test "$GCC" = yes; then
 
12904
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
12905
    else
 
12906
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
12907
    fi
 
12908
    ;;
 
12909
esac
 
12910
 
 
12911
 
 
12912
 
 
12913
 
 
12914
 
 
12915
 
 
12916
 
 
12917
 
 
12918
 
 
12919
if test -n "$ac_tool_prefix"; then
 
12920
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
12921
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
12922
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12923
$as_echo_n "checking for $ac_word... " >&6; }
 
12924
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
12925
  $as_echo_n "(cached) " >&6
 
12926
else
 
12927
  if test -n "$OBJDUMP"; then
 
12928
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
12929
else
 
12930
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12931
for as_dir in $PATH
 
12932
do
 
12933
  IFS=$as_save_IFS
 
12934
  test -z "$as_dir" && as_dir=.
 
12935
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12936
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12937
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
12938
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12939
    break 2
 
12940
  fi
 
12941
done
 
12942
done
 
12943
IFS=$as_save_IFS
 
12944
 
 
12945
fi
 
12946
fi
 
12947
OBJDUMP=$ac_cv_prog_OBJDUMP
 
12948
if test -n "$OBJDUMP"; then
 
12949
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
12950
$as_echo "$OBJDUMP" >&6; }
 
12951
else
 
12952
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12953
$as_echo "no" >&6; }
 
12954
fi
 
12955
 
 
12956
 
 
12957
fi
 
12958
if test -z "$ac_cv_prog_OBJDUMP"; then
 
12959
  ac_ct_OBJDUMP=$OBJDUMP
 
12960
  # Extract the first word of "objdump", so it can be a program name with args.
 
12961
set dummy objdump; ac_word=$2
 
12962
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12963
$as_echo_n "checking for $ac_word... " >&6; }
 
12964
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
12965
  $as_echo_n "(cached) " >&6
 
12966
else
 
12967
  if test -n "$ac_ct_OBJDUMP"; then
 
12968
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
12969
else
 
12970
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12971
for as_dir in $PATH
 
12972
do
 
12973
  IFS=$as_save_IFS
 
12974
  test -z "$as_dir" && as_dir=.
 
12975
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12976
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12977
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
12978
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12979
    break 2
 
12980
  fi
 
12981
done
 
12982
done
 
12983
IFS=$as_save_IFS
 
12984
 
 
12985
fi
 
12986
fi
 
12987
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
12988
if test -n "$ac_ct_OBJDUMP"; then
 
12989
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
12990
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
12991
else
 
12992
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12993
$as_echo "no" >&6; }
 
12994
fi
 
12995
 
 
12996
  if test "x$ac_ct_OBJDUMP" = x; then
 
12997
    OBJDUMP="false"
 
12998
  else
 
12999
    case $cross_compiling:$ac_tool_warned in
 
13000
yes:)
 
13001
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
13002
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
13003
ac_tool_warned=yes ;;
 
13004
esac
 
13005
    OBJDUMP=$ac_ct_OBJDUMP
 
13006
  fi
 
13007
else
 
13008
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
13009
fi
 
13010
 
 
13011
test -z "$OBJDUMP" && OBJDUMP=objdump
 
13012
 
 
13013
 
 
13014
 
 
13015
 
 
13016
 
 
13017
 
 
13018
 
 
13019
 
11823
13020
 
11824
13021
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
11825
13022
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
11874
13071
  fi
11875
13072
  ;;
11876
13073
 
 
13074
cegcc)
 
13075
  # use the weaker test based on 'objdump'. See mingw*.
 
13076
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
13077
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
13078
  ;;
 
13079
 
11877
13080
darwin* | rhapsody*)
11878
13081
  lt_cv_deplibs_check_method=pass_all
11879
13082
  ;;
11880
13083
 
11881
13084
freebsd* | dragonfly*)
11882
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
13085
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
11883
13086
    case $host_cpu in
11884
13087
    i*86 )
11885
13088
      # Not sure whether the presence of OpenBSD here was a mistake.
11937
13140
  ;;
11938
13141
 
11939
13142
netbsd* | netbsdelf*-gnu)
11940
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
13143
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
11941
13144
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
11942
13145
  else
11943
13146
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
11950
13153
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
11951
13154
  ;;
11952
13155
 
11953
 
nto-qnx*)
11954
 
  lt_cv_deplibs_check_method=unknown
 
13156
*nto* | *qnx*)
 
13157
  lt_cv_deplibs_check_method=pass_all
11955
13158
  ;;
11956
13159
 
11957
13160
openbsd*)
11958
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13161
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11959
13162
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
11960
13163
  else
11961
13164
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
11974
13177
  lt_cv_deplibs_check_method=pass_all
11975
13178
  ;;
11976
13179
 
 
13180
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
13181
  lt_cv_deplibs_check_method=pass_all
 
13182
  ;;
 
13183
 
11977
13184
sysv4 | sysv4.3*)
11978
13185
  case $host_vendor in
11979
13186
  motorola)
12001
13208
  esac
12002
13209
  ;;
12003
13210
 
12004
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
13211
tpf*)
12005
13212
  lt_cv_deplibs_check_method=pass_all
12006
13213
  ;;
12007
13214
esac
12016
13223
 
12017
13224
 
12018
13225
 
 
13226
 
 
13227
 
 
13228
 
 
13229
 
 
13230
 
 
13231
 
 
13232
 
 
13233
 
 
13234
if test -n "$ac_tool_prefix"; then
 
13235
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
13236
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
13237
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13238
$as_echo_n "checking for $ac_word... " >&6; }
 
13239
if test "${ac_cv_prog_AR+set}" = set; then
 
13240
  $as_echo_n "(cached) " >&6
 
13241
else
 
13242
  if test -n "$AR"; then
 
13243
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
13244
else
 
13245
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13246
for as_dir in $PATH
 
13247
do
 
13248
  IFS=$as_save_IFS
 
13249
  test -z "$as_dir" && as_dir=.
 
13250
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13251
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13252
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
13253
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13254
    break 2
 
13255
  fi
 
13256
done
 
13257
done
 
13258
IFS=$as_save_IFS
 
13259
 
 
13260
fi
 
13261
fi
 
13262
AR=$ac_cv_prog_AR
 
13263
if test -n "$AR"; then
 
13264
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
13265
$as_echo "$AR" >&6; }
 
13266
else
 
13267
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13268
$as_echo "no" >&6; }
 
13269
fi
 
13270
 
 
13271
 
 
13272
fi
 
13273
if test -z "$ac_cv_prog_AR"; then
 
13274
  ac_ct_AR=$AR
 
13275
  # Extract the first word of "ar", so it can be a program name with args.
 
13276
set dummy ar; ac_word=$2
 
13277
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13278
$as_echo_n "checking for $ac_word... " >&6; }
 
13279
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
13280
  $as_echo_n "(cached) " >&6
 
13281
else
 
13282
  if test -n "$ac_ct_AR"; then
 
13283
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
13284
else
 
13285
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13286
for as_dir in $PATH
 
13287
do
 
13288
  IFS=$as_save_IFS
 
13289
  test -z "$as_dir" && as_dir=.
 
13290
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13291
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13292
    ac_cv_prog_ac_ct_AR="ar"
 
13293
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13294
    break 2
 
13295
  fi
 
13296
done
 
13297
done
 
13298
IFS=$as_save_IFS
 
13299
 
 
13300
fi
 
13301
fi
 
13302
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
13303
if test -n "$ac_ct_AR"; then
 
13304
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
13305
$as_echo "$ac_ct_AR" >&6; }
 
13306
else
 
13307
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13308
$as_echo "no" >&6; }
 
13309
fi
 
13310
 
 
13311
  if test "x$ac_ct_AR" = x; then
 
13312
    AR="false"
 
13313
  else
 
13314
    case $cross_compiling:$ac_tool_warned in
 
13315
yes:)
 
13316
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
13317
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
13318
ac_tool_warned=yes ;;
 
13319
esac
 
13320
    AR=$ac_ct_AR
 
13321
  fi
 
13322
else
 
13323
  AR="$ac_cv_prog_AR"
 
13324
fi
 
13325
 
 
13326
test -z "$AR" && AR=ar
 
13327
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
13328
 
 
13329
 
 
13330
 
 
13331
 
 
13332
 
 
13333
 
 
13334
 
 
13335
 
 
13336
 
 
13337
 
 
13338
 
 
13339
if test -n "$ac_tool_prefix"; then
 
13340
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
13341
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
13342
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13343
$as_echo_n "checking for $ac_word... " >&6; }
 
13344
if test "${ac_cv_prog_STRIP+set}" = set; then
 
13345
  $as_echo_n "(cached) " >&6
 
13346
else
 
13347
  if test -n "$STRIP"; then
 
13348
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
13349
else
 
13350
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13351
for as_dir in $PATH
 
13352
do
 
13353
  IFS=$as_save_IFS
 
13354
  test -z "$as_dir" && as_dir=.
 
13355
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13356
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13357
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
13358
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13359
    break 2
 
13360
  fi
 
13361
done
 
13362
done
 
13363
IFS=$as_save_IFS
 
13364
 
 
13365
fi
 
13366
fi
 
13367
STRIP=$ac_cv_prog_STRIP
 
13368
if test -n "$STRIP"; then
 
13369
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
13370
$as_echo "$STRIP" >&6; }
 
13371
else
 
13372
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13373
$as_echo "no" >&6; }
 
13374
fi
 
13375
 
 
13376
 
 
13377
fi
 
13378
if test -z "$ac_cv_prog_STRIP"; then
 
13379
  ac_ct_STRIP=$STRIP
 
13380
  # Extract the first word of "strip", so it can be a program name with args.
 
13381
set dummy strip; ac_word=$2
 
13382
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13383
$as_echo_n "checking for $ac_word... " >&6; }
 
13384
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
13385
  $as_echo_n "(cached) " >&6
 
13386
else
 
13387
  if test -n "$ac_ct_STRIP"; then
 
13388
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
13389
else
 
13390
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13391
for as_dir in $PATH
 
13392
do
 
13393
  IFS=$as_save_IFS
 
13394
  test -z "$as_dir" && as_dir=.
 
13395
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13396
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13397
    ac_cv_prog_ac_ct_STRIP="strip"
 
13398
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13399
    break 2
 
13400
  fi
 
13401
done
 
13402
done
 
13403
IFS=$as_save_IFS
 
13404
 
 
13405
fi
 
13406
fi
 
13407
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
13408
if test -n "$ac_ct_STRIP"; then
 
13409
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
13410
$as_echo "$ac_ct_STRIP" >&6; }
 
13411
else
 
13412
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13413
$as_echo "no" >&6; }
 
13414
fi
 
13415
 
 
13416
  if test "x$ac_ct_STRIP" = x; then
 
13417
    STRIP=":"
 
13418
  else
 
13419
    case $cross_compiling:$ac_tool_warned in
 
13420
yes:)
 
13421
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
13422
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
13423
ac_tool_warned=yes ;;
 
13424
esac
 
13425
    STRIP=$ac_ct_STRIP
 
13426
  fi
 
13427
else
 
13428
  STRIP="$ac_cv_prog_STRIP"
 
13429
fi
 
13430
 
 
13431
test -z "$STRIP" && STRIP=:
 
13432
 
 
13433
 
 
13434
 
 
13435
 
 
13436
 
 
13437
 
 
13438
if test -n "$ac_tool_prefix"; then
 
13439
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
13440
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
13441
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13442
$as_echo_n "checking for $ac_word... " >&6; }
 
13443
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
13444
  $as_echo_n "(cached) " >&6
 
13445
else
 
13446
  if test -n "$RANLIB"; then
 
13447
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
13448
else
 
13449
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13450
for as_dir in $PATH
 
13451
do
 
13452
  IFS=$as_save_IFS
 
13453
  test -z "$as_dir" && as_dir=.
 
13454
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13455
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13456
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
13457
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13458
    break 2
 
13459
  fi
 
13460
done
 
13461
done
 
13462
IFS=$as_save_IFS
 
13463
 
 
13464
fi
 
13465
fi
 
13466
RANLIB=$ac_cv_prog_RANLIB
 
13467
if test -n "$RANLIB"; then
 
13468
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
13469
$as_echo "$RANLIB" >&6; }
 
13470
else
 
13471
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13472
$as_echo "no" >&6; }
 
13473
fi
 
13474
 
 
13475
 
 
13476
fi
 
13477
if test -z "$ac_cv_prog_RANLIB"; then
 
13478
  ac_ct_RANLIB=$RANLIB
 
13479
  # Extract the first word of "ranlib", so it can be a program name with args.
 
13480
set dummy ranlib; ac_word=$2
 
13481
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13482
$as_echo_n "checking for $ac_word... " >&6; }
 
13483
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
13484
  $as_echo_n "(cached) " >&6
 
13485
else
 
13486
  if test -n "$ac_ct_RANLIB"; then
 
13487
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
13488
else
 
13489
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13490
for as_dir in $PATH
 
13491
do
 
13492
  IFS=$as_save_IFS
 
13493
  test -z "$as_dir" && as_dir=.
 
13494
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13495
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13496
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
13497
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13498
    break 2
 
13499
  fi
 
13500
done
 
13501
done
 
13502
IFS=$as_save_IFS
 
13503
 
 
13504
fi
 
13505
fi
 
13506
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
13507
if test -n "$ac_ct_RANLIB"; then
 
13508
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
13509
$as_echo "$ac_ct_RANLIB" >&6; }
 
13510
else
 
13511
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13512
$as_echo "no" >&6; }
 
13513
fi
 
13514
 
 
13515
  if test "x$ac_ct_RANLIB" = x; then
 
13516
    RANLIB=":"
 
13517
  else
 
13518
    case $cross_compiling:$ac_tool_warned in
 
13519
yes:)
 
13520
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
13521
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
13522
ac_tool_warned=yes ;;
 
13523
esac
 
13524
    RANLIB=$ac_ct_RANLIB
 
13525
  fi
 
13526
else
 
13527
  RANLIB="$ac_cv_prog_RANLIB"
 
13528
fi
 
13529
 
 
13530
test -z "$RANLIB" && RANLIB=:
 
13531
 
 
13532
 
 
13533
 
 
13534
 
 
13535
 
 
13536
 
 
13537
# Determine commands to create old-style static archives.
 
13538
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
13539
old_postinstall_cmds='chmod 644 $oldlib'
 
13540
old_postuninstall_cmds=
 
13541
 
 
13542
if test -n "$RANLIB"; then
 
13543
  case $host_os in
 
13544
  openbsd*)
 
13545
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
13546
    ;;
 
13547
  *)
 
13548
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
13549
    ;;
 
13550
  esac
 
13551
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
13552
fi
 
13553
 
 
13554
 
 
13555
 
 
13556
 
 
13557
 
 
13558
 
 
13559
 
 
13560
 
 
13561
 
 
13562
 
 
13563
 
 
13564
 
 
13565
 
 
13566
 
 
13567
 
 
13568
 
 
13569
 
 
13570
 
 
13571
 
 
13572
 
 
13573
 
 
13574
 
 
13575
 
 
13576
 
 
13577
 
 
13578
 
 
13579
 
 
13580
 
 
13581
 
 
13582
 
 
13583
 
 
13584
 
 
13585
 
 
13586
 
12019
13587
# If no C compiler was specified, use CC.
12020
13588
LTCC=${LTCC-"$CC"}
12021
13589
 
12025
13593
# Allow CC to be a program name with arguments.
12026
13594
compiler=$CC
12027
13595
 
12028
 
# Check whether --enable-libtool-lock was given.
12029
 
if test "${enable_libtool_lock+set}" = set; then
12030
 
  enableval=$enable_libtool_lock;
12031
 
fi
12032
 
 
12033
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12034
 
 
12035
 
# Some flags need to be propagated to the compiler or linker for good
12036
 
# libtool support.
12037
 
case $host in
12038
 
ia64-*-hpux*)
12039
 
  # Find out which ABI we are using.
12040
 
  echo 'int i;' > conftest.$ac_ext
12041
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12042
 
  (eval $ac_compile) 2>&5
12043
 
  ac_status=$?
12044
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12045
 
  (exit $ac_status); }; then
12046
 
    case `/usr/bin/file conftest.$ac_objext` in
12047
 
    *ELF-32*)
12048
 
      HPUX_IA64_MODE="32"
12049
 
      ;;
12050
 
    *ELF-64*)
12051
 
      HPUX_IA64_MODE="64"
12052
 
      ;;
12053
 
    esac
12054
 
  fi
12055
 
  rm -rf conftest*
12056
 
  ;;
12057
 
*-*-irix6*)
12058
 
  # Find out which ABI we are using.
12059
 
  echo '#line 12059 "configure"' > conftest.$ac_ext
12060
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12061
 
  (eval $ac_compile) 2>&5
12062
 
  ac_status=$?
12063
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064
 
  (exit $ac_status); }; then
12065
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
12066
 
    case `/usr/bin/file conftest.$ac_objext` in
12067
 
    *32-bit*)
12068
 
      LD="${LD-ld} -melf32bsmip"
12069
 
      ;;
12070
 
    *N32*)
12071
 
      LD="${LD-ld} -melf32bmipn32"
12072
 
      ;;
12073
 
    *64-bit*)
12074
 
      LD="${LD-ld} -melf64bmip"
12075
 
      ;;
12076
 
    esac
12077
 
   else
12078
 
    case `/usr/bin/file conftest.$ac_objext` in
12079
 
    *32-bit*)
12080
 
      LD="${LD-ld} -32"
12081
 
      ;;
12082
 
    *N32*)
12083
 
      LD="${LD-ld} -n32"
12084
 
      ;;
12085
 
    *64-bit*)
12086
 
      LD="${LD-ld} -64"
12087
 
      ;;
12088
 
    esac
12089
 
   fi
12090
 
  fi
12091
 
  rm -rf conftest*
12092
 
  ;;
12093
 
 
12094
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
12095
 
s390*-*linux*|sparc*-*linux*)
12096
 
  # Find out which ABI we are using.
12097
 
  echo 'int i;' > conftest.$ac_ext
12098
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12099
 
  (eval $ac_compile) 2>&5
12100
 
  ac_status=$?
12101
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102
 
  (exit $ac_status); }; then
12103
 
    case `/usr/bin/file conftest.o` in
12104
 
    *32-bit*)
12105
 
      case $host in
12106
 
        x86_64-*kfreebsd*-gnu)
12107
 
          LD="${LD-ld} -m elf_i386_fbsd"
12108
 
          ;;
12109
 
        x86_64-*linux*)
12110
 
          LD="${LD-ld} -m elf_i386"
12111
 
          ;;
12112
 
        ppc64-*linux*|powerpc64-*linux*)
12113
 
          LD="${LD-ld} -m elf32ppclinux"
12114
 
          ;;
12115
 
        s390x-*linux*)
12116
 
          LD="${LD-ld} -m elf_s390"
12117
 
          ;;
12118
 
        sparc64-*linux*)
12119
 
          LD="${LD-ld} -m elf32_sparc"
12120
 
          ;;
12121
 
      esac
12122
 
      ;;
12123
 
    *64-bit*)
12124
 
      case $host in
12125
 
        x86_64-*kfreebsd*-gnu)
12126
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
12127
 
          ;;
12128
 
        x86_64-*linux*)
12129
 
          LD="${LD-ld} -m elf_x86_64"
12130
 
          ;;
12131
 
        ppc*-*linux*|powerpc*-*linux*)
12132
 
          LD="${LD-ld} -m elf64ppc"
12133
 
          ;;
12134
 
        s390*-*linux*)
12135
 
          LD="${LD-ld} -m elf64_s390"
12136
 
          ;;
12137
 
        sparc*-*linux*)
12138
 
          LD="${LD-ld} -m elf64_sparc"
12139
 
          ;;
12140
 
      esac
12141
 
      ;;
12142
 
    esac
12143
 
  fi
12144
 
  rm -rf conftest*
12145
 
  ;;
12146
 
 
12147
 
*-*-sco3.2v5*)
12148
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12149
 
  SAVE_CFLAGS="$CFLAGS"
12150
 
  CFLAGS="$CFLAGS -belf"
12151
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
12152
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
12153
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
12154
 
  $as_echo_n "(cached) " >&6
12155
 
else
12156
 
  ac_ext=c
12157
 
ac_cpp='$CPP $CPPFLAGS'
12158
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12159
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12160
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12161
 
 
12162
 
     cat >conftest.$ac_ext <<_ACEOF
12163
 
/* confdefs.h.  */
12164
 
_ACEOF
12165
 
cat confdefs.h >>conftest.$ac_ext
12166
 
cat >>conftest.$ac_ext <<_ACEOF
12167
 
/* end confdefs.h.  */
12168
 
 
12169
 
int
12170
 
main ()
12171
 
{
12172
 
 
12173
 
  ;
12174
 
  return 0;
12175
 
}
12176
 
_ACEOF
12177
 
rm -f conftest.$ac_objext conftest$ac_exeext
12178
 
if { (ac_try="$ac_link"
12179
 
case "(($ac_try" in
12180
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12181
 
  *) ac_try_echo=$ac_try;;
12182
 
esac
12183
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12184
 
$as_echo "$ac_try_echo") >&5
12185
 
  (eval "$ac_link") 2>conftest.er1
12186
 
  ac_status=$?
12187
 
  grep -v '^ *+' conftest.er1 >conftest.err
12188
 
  rm -f conftest.er1
12189
 
  cat conftest.err >&5
12190
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191
 
  (exit $ac_status); } && {
12192
 
         test -z "$ac_c_werror_flag" ||
12193
 
         test ! -s conftest.err
12194
 
       } && test -s conftest$ac_exeext && {
12195
 
         test "$cross_compiling" = yes ||
12196
 
         $as_test_x conftest$ac_exeext
12197
 
       }; then
12198
 
  lt_cv_cc_needs_belf=yes
12199
 
else
12200
 
  $as_echo "$as_me: failed program was:" >&5
12201
 
sed 's/^/| /' conftest.$ac_ext >&5
12202
 
 
12203
 
        lt_cv_cc_needs_belf=no
12204
 
fi
12205
 
 
12206
 
rm -rf conftest.dSYM
12207
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12208
 
      conftest$ac_exeext conftest.$ac_ext
12209
 
     ac_ext=c
12210
 
ac_cpp='$CPP $CPPFLAGS'
12211
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12212
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12213
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12214
 
 
12215
 
fi
12216
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
12217
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
12218
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12219
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12220
 
    CFLAGS="$SAVE_CFLAGS"
12221
 
  fi
12222
 
  ;;
12223
 
sparc*-*solaris*)
12224
 
  # Find out which ABI we are using.
12225
 
  echo 'int i;' > conftest.$ac_ext
12226
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12227
 
  (eval $ac_compile) 2>&5
12228
 
  ac_status=$?
12229
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230
 
  (exit $ac_status); }; then
12231
 
    case `/usr/bin/file conftest.o` in
12232
 
    *64-bit*)
12233
 
      case $lt_cv_prog_gnu_ld in
12234
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
12235
 
      *)
12236
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
12237
 
          LD="${LD-ld} -64"
12238
 
        fi
12239
 
        ;;
12240
 
      esac
12241
 
      ;;
12242
 
    esac
12243
 
  fi
12244
 
  rm -rf conftest*
12245
 
  ;;
12246
 
 
12247
 
 
12248
 
esac
12249
 
 
12250
 
need_locks="$enable_libtool_lock"
12251
 
 
12252
 
 
12253
 
 
12254
 
for ac_header in dlfcn.h
12255
 
do
12256
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12257
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12258
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12259
 
$as_echo_n "checking for $ac_header... " >&6; }
12260
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12261
 
  $as_echo_n "(cached) " >&6
12262
 
fi
12263
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12264
 
                 $as_echo "$as_val"'`
12265
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12266
 
$as_echo "$ac_res" >&6; }
12267
 
else
12268
 
  # Is the header compilable?
12269
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12270
 
$as_echo_n "checking $ac_header usability... " >&6; }
12271
 
cat >conftest.$ac_ext <<_ACEOF
12272
 
/* confdefs.h.  */
12273
 
_ACEOF
12274
 
cat confdefs.h >>conftest.$ac_ext
12275
 
cat >>conftest.$ac_ext <<_ACEOF
12276
 
/* end confdefs.h.  */
12277
 
$ac_includes_default
12278
 
#include <$ac_header>
12279
 
_ACEOF
12280
 
rm -f conftest.$ac_objext
12281
 
if { (ac_try="$ac_compile"
12282
 
case "(($ac_try" in
12283
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12284
 
  *) ac_try_echo=$ac_try;;
12285
 
esac
12286
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12287
 
$as_echo "$ac_try_echo") >&5
12288
 
  (eval "$ac_compile") 2>conftest.er1
12289
 
  ac_status=$?
12290
 
  grep -v '^ *+' conftest.er1 >conftest.err
12291
 
  rm -f conftest.er1
12292
 
  cat conftest.err >&5
12293
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294
 
  (exit $ac_status); } && {
12295
 
         test -z "$ac_c_werror_flag" ||
12296
 
         test ! -s conftest.err
12297
 
       } && test -s conftest.$ac_objext; then
12298
 
  ac_header_compiler=yes
12299
 
else
12300
 
  $as_echo "$as_me: failed program was:" >&5
12301
 
sed 's/^/| /' conftest.$ac_ext >&5
12302
 
 
12303
 
        ac_header_compiler=no
12304
 
fi
12305
 
 
12306
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12307
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12308
 
$as_echo "$ac_header_compiler" >&6; }
12309
 
 
12310
 
# Is the header present?
12311
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12312
 
$as_echo_n "checking $ac_header presence... " >&6; }
12313
 
cat >conftest.$ac_ext <<_ACEOF
12314
 
/* confdefs.h.  */
12315
 
_ACEOF
12316
 
cat confdefs.h >>conftest.$ac_ext
12317
 
cat >>conftest.$ac_ext <<_ACEOF
12318
 
/* end confdefs.h.  */
12319
 
#include <$ac_header>
12320
 
_ACEOF
12321
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
12322
 
case "(($ac_try" in
12323
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12324
 
  *) ac_try_echo=$ac_try;;
12325
 
esac
12326
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12327
 
$as_echo "$ac_try_echo") >&5
12328
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12329
 
  ac_status=$?
12330
 
  grep -v '^ *+' conftest.er1 >conftest.err
12331
 
  rm -f conftest.er1
12332
 
  cat conftest.err >&5
12333
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334
 
  (exit $ac_status); } >/dev/null && {
12335
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12336
 
         test ! -s conftest.err
12337
 
       }; then
12338
 
  ac_header_preproc=yes
12339
 
else
12340
 
  $as_echo "$as_me: failed program was:" >&5
12341
 
sed 's/^/| /' conftest.$ac_ext >&5
12342
 
 
12343
 
  ac_header_preproc=no
12344
 
fi
12345
 
 
12346
 
rm -f conftest.err conftest.$ac_ext
12347
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12348
 
$as_echo "$ac_header_preproc" >&6; }
12349
 
 
12350
 
# So?  What about this header?
12351
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12352
 
  yes:no: )
12353
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12354
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12355
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12356
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12357
 
    ac_header_preproc=yes
12358
 
    ;;
12359
 
  no:yes:* )
12360
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12361
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12362
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
12363
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
12364
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12365
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12366
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
12367
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
12368
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12369
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12370
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12371
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12372
 
    ( cat <<\_ASBOX
12373
 
## -------------------------------------------------------------------------- ##
12374
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-media ##
12375
 
## -------------------------------------------------------------------------- ##
12376
 
_ASBOX
12377
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
12378
 
    ;;
12379
 
esac
12380
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12381
 
$as_echo_n "checking for $ac_header... " >&6; }
12382
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12383
 
  $as_echo_n "(cached) " >&6
12384
 
else
12385
 
  eval "$as_ac_Header=\$ac_header_preproc"
12386
 
fi
12387
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12388
 
                 $as_echo "$as_val"'`
12389
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12390
 
$as_echo "$ac_res" >&6; }
12391
 
 
12392
 
fi
12393
 
if test `eval 'as_val=${'$as_ac_Header'}
12394
 
                 $as_echo "$as_val"'` = yes; then
12395
 
  cat >>confdefs.h <<_ACEOF
12396
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12397
 
_ACEOF
12398
 
 
12399
 
fi
12400
 
 
12401
 
done
12402
 
 
12403
 
ac_ext=cpp
12404
 
ac_cpp='$CXXCPP $CPPFLAGS'
12405
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12406
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12407
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12408
 
if test -z "$CXX"; then
12409
 
  if test -n "$CCC"; then
12410
 
    CXX=$CCC
12411
 
  else
12412
 
    if test -n "$ac_tool_prefix"; then
12413
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12414
 
  do
12415
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12416
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12417
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12418
 
$as_echo_n "checking for $ac_word... " >&6; }
12419
 
if test "${ac_cv_prog_CXX+set}" = set; then
12420
 
  $as_echo_n "(cached) " >&6
12421
 
else
12422
 
  if test -n "$CXX"; then
12423
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
12424
 
else
12425
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12426
 
for as_dir in $PATH
12427
 
do
12428
 
  IFS=$as_save_IFS
12429
 
  test -z "$as_dir" && as_dir=.
12430
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12431
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12432
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12433
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12434
 
    break 2
12435
 
  fi
12436
 
done
12437
 
done
12438
 
IFS=$as_save_IFS
12439
 
 
12440
 
fi
12441
 
fi
12442
 
CXX=$ac_cv_prog_CXX
12443
 
if test -n "$CXX"; then
12444
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
12445
 
$as_echo "$CXX" >&6; }
12446
 
else
12447
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12448
 
$as_echo "no" >&6; }
12449
 
fi
12450
 
 
12451
 
 
12452
 
    test -n "$CXX" && break
12453
 
  done
12454
 
fi
12455
 
if test -z "$CXX"; then
12456
 
  ac_ct_CXX=$CXX
12457
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12458
 
do
12459
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
12460
 
set dummy $ac_prog; ac_word=$2
12461
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12462
 
$as_echo_n "checking for $ac_word... " >&6; }
12463
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12464
 
  $as_echo_n "(cached) " >&6
12465
 
else
12466
 
  if test -n "$ac_ct_CXX"; then
12467
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12468
 
else
12469
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12470
 
for as_dir in $PATH
12471
 
do
12472
 
  IFS=$as_save_IFS
12473
 
  test -z "$as_dir" && as_dir=.
12474
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12475
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12476
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
12477
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12478
 
    break 2
12479
 
  fi
12480
 
done
12481
 
done
12482
 
IFS=$as_save_IFS
12483
 
 
12484
 
fi
12485
 
fi
12486
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12487
 
if test -n "$ac_ct_CXX"; then
12488
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12489
 
$as_echo "$ac_ct_CXX" >&6; }
12490
 
else
12491
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12492
 
$as_echo "no" >&6; }
12493
 
fi
12494
 
 
12495
 
 
12496
 
  test -n "$ac_ct_CXX" && break
12497
 
done
12498
 
 
12499
 
  if test "x$ac_ct_CXX" = x; then
12500
 
    CXX="g++"
12501
 
  else
12502
 
    case $cross_compiling:$ac_tool_warned in
12503
 
yes:)
12504
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12505
 
whose name does not start with the host triplet.  If you think this
12506
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
12507
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12508
 
whose name does not start with the host triplet.  If you think this
12509
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12510
 
ac_tool_warned=yes ;;
12511
 
esac
12512
 
    CXX=$ac_ct_CXX
12513
 
  fi
12514
 
fi
12515
 
 
12516
 
  fi
12517
 
fi
12518
 
# Provide some information about the compiler.
12519
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
12520
 
set X $ac_compile
12521
 
ac_compiler=$2
12522
 
{ (ac_try="$ac_compiler --version >&5"
12523
 
case "(($ac_try" in
12524
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12525
 
  *) ac_try_echo=$ac_try;;
12526
 
esac
12527
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12528
 
$as_echo "$ac_try_echo") >&5
12529
 
  (eval "$ac_compiler --version >&5") 2>&5
12530
 
  ac_status=$?
12531
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532
 
  (exit $ac_status); }
12533
 
{ (ac_try="$ac_compiler -v >&5"
12534
 
case "(($ac_try" in
12535
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12536
 
  *) ac_try_echo=$ac_try;;
12537
 
esac
12538
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12539
 
$as_echo "$ac_try_echo") >&5
12540
 
  (eval "$ac_compiler -v >&5") 2>&5
12541
 
  ac_status=$?
12542
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543
 
  (exit $ac_status); }
12544
 
{ (ac_try="$ac_compiler -V >&5"
12545
 
case "(($ac_try" in
12546
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12547
 
  *) ac_try_echo=$ac_try;;
12548
 
esac
12549
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12550
 
$as_echo "$ac_try_echo") >&5
12551
 
  (eval "$ac_compiler -V >&5") 2>&5
12552
 
  ac_status=$?
12553
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554
 
  (exit $ac_status); }
12555
 
 
12556
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12557
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12558
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12559
 
  $as_echo_n "(cached) " >&6
12560
 
else
12561
 
  cat >conftest.$ac_ext <<_ACEOF
12562
 
/* confdefs.h.  */
12563
 
_ACEOF
12564
 
cat confdefs.h >>conftest.$ac_ext
12565
 
cat >>conftest.$ac_ext <<_ACEOF
12566
 
/* end confdefs.h.  */
12567
 
 
12568
 
int
12569
 
main ()
12570
 
{
12571
 
#ifndef __GNUC__
12572
 
       choke me
12573
 
#endif
12574
 
 
12575
 
  ;
12576
 
  return 0;
12577
 
}
12578
 
_ACEOF
12579
 
rm -f conftest.$ac_objext
12580
 
if { (ac_try="$ac_compile"
12581
 
case "(($ac_try" in
12582
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12583
 
  *) ac_try_echo=$ac_try;;
12584
 
esac
12585
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12586
 
$as_echo "$ac_try_echo") >&5
12587
 
  (eval "$ac_compile") 2>conftest.er1
12588
 
  ac_status=$?
12589
 
  grep -v '^ *+' conftest.er1 >conftest.err
12590
 
  rm -f conftest.er1
12591
 
  cat conftest.err >&5
12592
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593
 
  (exit $ac_status); } && {
12594
 
         test -z "$ac_cxx_werror_flag" ||
12595
 
         test ! -s conftest.err
12596
 
       } && test -s conftest.$ac_objext; then
12597
 
  ac_compiler_gnu=yes
12598
 
else
12599
 
  $as_echo "$as_me: failed program was:" >&5
12600
 
sed 's/^/| /' conftest.$ac_ext >&5
12601
 
 
12602
 
        ac_compiler_gnu=no
12603
 
fi
12604
 
 
12605
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12606
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12607
 
 
12608
 
fi
12609
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12610
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12611
 
if test $ac_compiler_gnu = yes; then
12612
 
  GXX=yes
12613
 
else
12614
 
  GXX=
12615
 
fi
12616
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
12617
 
ac_save_CXXFLAGS=$CXXFLAGS
12618
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12619
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
12620
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
12621
 
  $as_echo_n "(cached) " >&6
12622
 
else
12623
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12624
 
   ac_cxx_werror_flag=yes
12625
 
   ac_cv_prog_cxx_g=no
12626
 
   CXXFLAGS="-g"
12627
 
   cat >conftest.$ac_ext <<_ACEOF
12628
 
/* confdefs.h.  */
12629
 
_ACEOF
12630
 
cat confdefs.h >>conftest.$ac_ext
12631
 
cat >>conftest.$ac_ext <<_ACEOF
12632
 
/* end confdefs.h.  */
12633
 
 
12634
 
int
12635
 
main ()
12636
 
{
12637
 
 
12638
 
  ;
12639
 
  return 0;
12640
 
}
12641
 
_ACEOF
12642
 
rm -f conftest.$ac_objext
12643
 
if { (ac_try="$ac_compile"
12644
 
case "(($ac_try" in
12645
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12646
 
  *) ac_try_echo=$ac_try;;
12647
 
esac
12648
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12649
 
$as_echo "$ac_try_echo") >&5
12650
 
  (eval "$ac_compile") 2>conftest.er1
12651
 
  ac_status=$?
12652
 
  grep -v '^ *+' conftest.er1 >conftest.err
12653
 
  rm -f conftest.er1
12654
 
  cat conftest.err >&5
12655
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12656
 
  (exit $ac_status); } && {
12657
 
         test -z "$ac_cxx_werror_flag" ||
12658
 
         test ! -s conftest.err
12659
 
       } && test -s conftest.$ac_objext; then
12660
 
  ac_cv_prog_cxx_g=yes
12661
 
else
12662
 
  $as_echo "$as_me: failed program was:" >&5
12663
 
sed 's/^/| /' conftest.$ac_ext >&5
12664
 
 
12665
 
        CXXFLAGS=""
12666
 
      cat >conftest.$ac_ext <<_ACEOF
12667
 
/* confdefs.h.  */
12668
 
_ACEOF
12669
 
cat confdefs.h >>conftest.$ac_ext
12670
 
cat >>conftest.$ac_ext <<_ACEOF
12671
 
/* end confdefs.h.  */
12672
 
 
12673
 
int
12674
 
main ()
12675
 
{
12676
 
 
12677
 
  ;
12678
 
  return 0;
12679
 
}
12680
 
_ACEOF
12681
 
rm -f conftest.$ac_objext
12682
 
if { (ac_try="$ac_compile"
12683
 
case "(($ac_try" in
12684
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12685
 
  *) ac_try_echo=$ac_try;;
12686
 
esac
12687
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12688
 
$as_echo "$ac_try_echo") >&5
12689
 
  (eval "$ac_compile") 2>conftest.er1
12690
 
  ac_status=$?
12691
 
  grep -v '^ *+' conftest.er1 >conftest.err
12692
 
  rm -f conftest.er1
12693
 
  cat conftest.err >&5
12694
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695
 
  (exit $ac_status); } && {
12696
 
         test -z "$ac_cxx_werror_flag" ||
12697
 
         test ! -s conftest.err
12698
 
       } && test -s conftest.$ac_objext; then
12699
 
  :
12700
 
else
12701
 
  $as_echo "$as_me: failed program was:" >&5
12702
 
sed 's/^/| /' conftest.$ac_ext >&5
12703
 
 
12704
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12705
 
         CXXFLAGS="-g"
12706
 
         cat >conftest.$ac_ext <<_ACEOF
12707
 
/* confdefs.h.  */
12708
 
_ACEOF
12709
 
cat confdefs.h >>conftest.$ac_ext
12710
 
cat >>conftest.$ac_ext <<_ACEOF
12711
 
/* end confdefs.h.  */
12712
 
 
12713
 
int
12714
 
main ()
12715
 
{
12716
 
 
12717
 
  ;
12718
 
  return 0;
12719
 
}
12720
 
_ACEOF
12721
 
rm -f conftest.$ac_objext
12722
 
if { (ac_try="$ac_compile"
12723
 
case "(($ac_try" in
12724
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12725
 
  *) ac_try_echo=$ac_try;;
12726
 
esac
12727
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12728
 
$as_echo "$ac_try_echo") >&5
12729
 
  (eval "$ac_compile") 2>conftest.er1
12730
 
  ac_status=$?
12731
 
  grep -v '^ *+' conftest.er1 >conftest.err
12732
 
  rm -f conftest.er1
12733
 
  cat conftest.err >&5
12734
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735
 
  (exit $ac_status); } && {
12736
 
         test -z "$ac_cxx_werror_flag" ||
12737
 
         test ! -s conftest.err
12738
 
       } && test -s conftest.$ac_objext; then
12739
 
  ac_cv_prog_cxx_g=yes
12740
 
else
12741
 
  $as_echo "$as_me: failed program was:" >&5
12742
 
sed 's/^/| /' conftest.$ac_ext >&5
12743
 
 
12744
 
 
12745
 
fi
12746
 
 
12747
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12748
 
fi
12749
 
 
12750
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12751
 
fi
12752
 
 
12753
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12754
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12755
 
fi
12756
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12757
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
12758
 
if test "$ac_test_CXXFLAGS" = set; then
12759
 
  CXXFLAGS=$ac_save_CXXFLAGS
12760
 
elif test $ac_cv_prog_cxx_g = yes; then
12761
 
  if test "$GXX" = yes; then
12762
 
    CXXFLAGS="-g -O2"
12763
 
  else
12764
 
    CXXFLAGS="-g"
12765
 
  fi
12766
 
else
12767
 
  if test "$GXX" = yes; then
12768
 
    CXXFLAGS="-O2"
12769
 
  else
12770
 
    CXXFLAGS=
12771
 
  fi
12772
 
fi
12773
 
ac_ext=cpp
12774
 
ac_cpp='$CXXCPP $CPPFLAGS'
12775
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12776
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12777
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12778
 
 
12779
 
depcc="$CXX"  am_compiler_list=
12780
 
 
12781
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12782
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
12783
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12784
 
  $as_echo_n "(cached) " >&6
12785
 
else
12786
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12787
 
  # We make a subdir and do the tests there.  Otherwise we can end up
12788
 
  # making bogus files that we don't know about and never remove.  For
12789
 
  # instance it was reported that on HP-UX the gcc test will end up
12790
 
  # making a dummy file named `D' -- because `-MD' means `put the output
12791
 
  # in D'.
12792
 
  mkdir conftest.dir
12793
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
12794
 
  # using a relative directory.
12795
 
  cp "$am_depcomp" conftest.dir
12796
 
  cd conftest.dir
12797
 
  # We will build objects and dependencies in a subdirectory because
12798
 
  # it helps to detect inapplicable dependency modes.  For instance
12799
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
12800
 
  # side effect of compilation, but ICC will put the dependencies in
12801
 
  # the current directory while Tru64 will put them in the object
12802
 
  # directory.
12803
 
  mkdir sub
12804
 
 
12805
 
  am_cv_CXX_dependencies_compiler_type=none
12806
 
  if test "$am_compiler_list" = ""; then
12807
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12808
 
  fi
12809
 
  for depmode in $am_compiler_list; do
12810
 
    # Setup a source with many dependencies, because some compilers
12811
 
    # like to wrap large dependency lists on column 80 (with \), and
12812
 
    # we should not choose a depcomp mode which is confused by this.
12813
 
    #
12814
 
    # We need to recreate these files for each test, as the compiler may
12815
 
    # overwrite some of them when testing with obscure command lines.
12816
 
    # This happens at least with the AIX C compiler.
12817
 
    : > sub/conftest.c
12818
 
    for i in 1 2 3 4 5 6; do
12819
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
12820
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12821
 
      # Solaris 8's {/usr,}/bin/sh.
12822
 
      touch sub/conftst$i.h
12823
 
    done
12824
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12825
 
 
12826
 
    case $depmode in
12827
 
    nosideeffect)
12828
 
      # after this tag, mechanisms are not by side-effect, so they'll
12829
 
      # only be used when explicitly requested
12830
 
      if test "x$enable_dependency_tracking" = xyes; then
12831
 
        continue
12832
 
      else
12833
 
        break
12834
 
      fi
12835
 
      ;;
12836
 
    none) break ;;
12837
 
    esac
12838
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
12839
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
12840
 
    # handle `-M -o', and we need to detect this.
12841
 
    if depmode=$depmode \
12842
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
12843
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12844
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
12845
 
         >/dev/null 2>conftest.err &&
12846
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12847
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12848
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
12849
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12850
 
      # icc doesn't choke on unknown options, it will just issue warnings
12851
 
      # or remarks (even with -Werror).  So we grep stderr for any message
12852
 
      # that says an option was ignored or not supported.
12853
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
12854
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
12855
 
      # The diagnosis changed in icc 8.0:
12856
 
      #   icc: Command line remark: option '-MP' not supported
12857
 
      if (grep 'ignoring option' conftest.err ||
12858
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12859
 
        am_cv_CXX_dependencies_compiler_type=$depmode
12860
 
        break
12861
 
      fi
12862
 
    fi
12863
 
  done
12864
 
 
12865
 
  cd ..
12866
 
  rm -rf conftest.dir
12867
 
else
12868
 
  am_cv_CXX_dependencies_compiler_type=none
12869
 
fi
12870
 
 
12871
 
fi
12872
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
12873
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12874
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12875
 
 
12876
 
 if
12877
 
  test "x$enable_dependency_tracking" != xno \
12878
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12879
 
  am__fastdepCXX_TRUE=
12880
 
  am__fastdepCXX_FALSE='#'
12881
 
else
12882
 
  am__fastdepCXX_TRUE='#'
12883
 
  am__fastdepCXX_FALSE=
12884
 
fi
12885
 
 
12886
 
 
12887
 
 
12888
 
 
12889
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12890
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12891
 
    (test "X$CXX" != "Xg++"))) ; then
12892
 
  ac_ext=cpp
12893
 
ac_cpp='$CXXCPP $CPPFLAGS'
12894
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12895
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12896
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12897
 
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
12898
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12899
 
if test -z "$CXXCPP"; then
12900
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
12901
 
  $as_echo_n "(cached) " >&6
12902
 
else
12903
 
      # Double quotes because CXXCPP needs to be expanded
12904
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
12905
 
    do
12906
 
      ac_preproc_ok=false
12907
 
for ac_cxx_preproc_warn_flag in '' yes
12908
 
do
12909
 
  # Use a header file that comes with gcc, so configuring glibc
12910
 
  # with a fresh cross-compiler works.
12911
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12912
 
  # <limits.h> exists even on freestanding compilers.
12913
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
12914
 
  # not just through cpp. "Syntax error" is here to catch this case.
12915
 
  cat >conftest.$ac_ext <<_ACEOF
12916
 
/* confdefs.h.  */
12917
 
_ACEOF
12918
 
cat confdefs.h >>conftest.$ac_ext
12919
 
cat >>conftest.$ac_ext <<_ACEOF
12920
 
/* end confdefs.h.  */
12921
 
#ifdef __STDC__
12922
 
# include <limits.h>
12923
 
#else
12924
 
# include <assert.h>
12925
 
#endif
12926
 
                     Syntax error
12927
 
_ACEOF
12928
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
12929
 
case "(($ac_try" in
12930
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12931
 
  *) ac_try_echo=$ac_try;;
12932
 
esac
12933
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12934
 
$as_echo "$ac_try_echo") >&5
12935
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12936
 
  ac_status=$?
12937
 
  grep -v '^ *+' conftest.er1 >conftest.err
12938
 
  rm -f conftest.er1
12939
 
  cat conftest.err >&5
12940
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12941
 
  (exit $ac_status); } >/dev/null && {
12942
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12943
 
         test ! -s conftest.err
12944
 
       }; then
12945
 
  :
12946
 
else
12947
 
  $as_echo "$as_me: failed program was:" >&5
12948
 
sed 's/^/| /' conftest.$ac_ext >&5
12949
 
 
12950
 
  # Broken: fails on valid input.
12951
 
continue
12952
 
fi
12953
 
 
12954
 
rm -f conftest.err conftest.$ac_ext
12955
 
 
12956
 
  # OK, works on sane cases.  Now check whether nonexistent headers
12957
 
  # can be detected and how.
12958
 
  cat >conftest.$ac_ext <<_ACEOF
12959
 
/* confdefs.h.  */
12960
 
_ACEOF
12961
 
cat confdefs.h >>conftest.$ac_ext
12962
 
cat >>conftest.$ac_ext <<_ACEOF
12963
 
/* end confdefs.h.  */
12964
 
#include <ac_nonexistent.h>
12965
 
_ACEOF
12966
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
12967
 
case "(($ac_try" in
12968
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12969
 
  *) ac_try_echo=$ac_try;;
12970
 
esac
12971
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12972
 
$as_echo "$ac_try_echo") >&5
12973
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12974
 
  ac_status=$?
12975
 
  grep -v '^ *+' conftest.er1 >conftest.err
12976
 
  rm -f conftest.er1
12977
 
  cat conftest.err >&5
12978
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12979
 
  (exit $ac_status); } >/dev/null && {
12980
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12981
 
         test ! -s conftest.err
12982
 
       }; then
12983
 
  # Broken: success on invalid input.
12984
 
continue
12985
 
else
12986
 
  $as_echo "$as_me: failed program was:" >&5
12987
 
sed 's/^/| /' conftest.$ac_ext >&5
12988
 
 
12989
 
  # Passes both tests.
12990
 
ac_preproc_ok=:
12991
 
break
12992
 
fi
12993
 
 
12994
 
rm -f conftest.err conftest.$ac_ext
12995
 
 
12996
 
done
12997
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12998
 
rm -f conftest.err conftest.$ac_ext
12999
 
if $ac_preproc_ok; then
13000
 
  break
13001
 
fi
13002
 
 
13003
 
    done
13004
 
    ac_cv_prog_CXXCPP=$CXXCPP
13005
 
 
13006
 
fi
13007
 
  CXXCPP=$ac_cv_prog_CXXCPP
13008
 
else
13009
 
  ac_cv_prog_CXXCPP=$CXXCPP
13010
 
fi
13011
 
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
13012
 
$as_echo "$CXXCPP" >&6; }
13013
 
ac_preproc_ok=false
13014
 
for ac_cxx_preproc_warn_flag in '' yes
13015
 
do
13016
 
  # Use a header file that comes with gcc, so configuring glibc
13017
 
  # with a fresh cross-compiler works.
13018
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13019
 
  # <limits.h> exists even on freestanding compilers.
13020
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
13021
 
  # not just through cpp. "Syntax error" is here to catch this case.
13022
 
  cat >conftest.$ac_ext <<_ACEOF
13023
 
/* confdefs.h.  */
13024
 
_ACEOF
13025
 
cat confdefs.h >>conftest.$ac_ext
13026
 
cat >>conftest.$ac_ext <<_ACEOF
13027
 
/* end confdefs.h.  */
13028
 
#ifdef __STDC__
13029
 
# include <limits.h>
13030
 
#else
13031
 
# include <assert.h>
13032
 
#endif
13033
 
                     Syntax error
13034
 
_ACEOF
13035
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13036
 
case "(($ac_try" in
13037
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13038
 
  *) ac_try_echo=$ac_try;;
13039
 
esac
13040
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13041
 
$as_echo "$ac_try_echo") >&5
13042
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13043
 
  ac_status=$?
13044
 
  grep -v '^ *+' conftest.er1 >conftest.err
13045
 
  rm -f conftest.er1
13046
 
  cat conftest.err >&5
13047
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048
 
  (exit $ac_status); } >/dev/null && {
13049
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13050
 
         test ! -s conftest.err
13051
 
       }; then
13052
 
  :
13053
 
else
13054
 
  $as_echo "$as_me: failed program was:" >&5
13055
 
sed 's/^/| /' conftest.$ac_ext >&5
13056
 
 
13057
 
  # Broken: fails on valid input.
13058
 
continue
13059
 
fi
13060
 
 
13061
 
rm -f conftest.err conftest.$ac_ext
13062
 
 
13063
 
  # OK, works on sane cases.  Now check whether nonexistent headers
13064
 
  # can be detected and how.
13065
 
  cat >conftest.$ac_ext <<_ACEOF
13066
 
/* confdefs.h.  */
13067
 
_ACEOF
13068
 
cat confdefs.h >>conftest.$ac_ext
13069
 
cat >>conftest.$ac_ext <<_ACEOF
13070
 
/* end confdefs.h.  */
13071
 
#include <ac_nonexistent.h>
13072
 
_ACEOF
13073
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13074
 
case "(($ac_try" in
13075
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13076
 
  *) ac_try_echo=$ac_try;;
13077
 
esac
13078
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13079
 
$as_echo "$ac_try_echo") >&5
13080
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13081
 
  ac_status=$?
13082
 
  grep -v '^ *+' conftest.er1 >conftest.err
13083
 
  rm -f conftest.er1
13084
 
  cat conftest.err >&5
13085
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086
 
  (exit $ac_status); } >/dev/null && {
13087
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13088
 
         test ! -s conftest.err
13089
 
       }; then
13090
 
  # Broken: success on invalid input.
13091
 
continue
13092
 
else
13093
 
  $as_echo "$as_me: failed program was:" >&5
13094
 
sed 's/^/| /' conftest.$ac_ext >&5
13095
 
 
13096
 
  # Passes both tests.
13097
 
ac_preproc_ok=:
13098
 
break
13099
 
fi
13100
 
 
13101
 
rm -f conftest.err conftest.$ac_ext
13102
 
 
13103
 
done
13104
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13105
 
rm -f conftest.err conftest.$ac_ext
13106
 
if $ac_preproc_ok; then
13107
 
  :
13108
 
else
13109
 
  { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13110
 
See \`config.log' for more details." >&5
13111
 
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13112
 
See \`config.log' for more details." >&2;}
13113
 
   { (exit 1); exit 1; }; }
13114
 
fi
13115
 
 
13116
 
ac_ext=cpp
13117
 
ac_cpp='$CXXCPP $CPPFLAGS'
13118
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13119
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13120
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13121
 
 
13122
 
fi
13123
 
 
13124
 
 
13125
 
ac_ext=f
13126
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13127
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13128
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13129
 
if test -n "$ac_tool_prefix"; then
13130
 
  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
13131
 
  do
13132
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13133
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13134
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13135
 
$as_echo_n "checking for $ac_word... " >&6; }
13136
 
if test "${ac_cv_prog_F77+set}" = set; then
13137
 
  $as_echo_n "(cached) " >&6
13138
 
else
13139
 
  if test -n "$F77"; then
13140
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
13141
 
else
13142
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13143
 
for as_dir in $PATH
13144
 
do
13145
 
  IFS=$as_save_IFS
13146
 
  test -z "$as_dir" && as_dir=.
13147
 
  for ac_exec_ext in '' $ac_executable_extensions; do
13148
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13149
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13150
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13151
 
    break 2
13152
 
  fi
13153
 
done
13154
 
done
13155
 
IFS=$as_save_IFS
13156
 
 
13157
 
fi
13158
 
fi
13159
 
F77=$ac_cv_prog_F77
13160
 
if test -n "$F77"; then
13161
 
  { $as_echo "$as_me:$LINENO: result: $F77" >&5
13162
 
$as_echo "$F77" >&6; }
13163
 
else
13164
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
13165
 
$as_echo "no" >&6; }
13166
 
fi
13167
 
 
13168
 
 
13169
 
    test -n "$F77" && break
13170
 
  done
13171
 
fi
13172
 
if test -z "$F77"; then
13173
 
  ac_ct_F77=$F77
13174
 
  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
13175
 
do
13176
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
13177
 
set dummy $ac_prog; ac_word=$2
13178
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13179
 
$as_echo_n "checking for $ac_word... " >&6; }
13180
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13181
 
  $as_echo_n "(cached) " >&6
13182
 
else
13183
 
  if test -n "$ac_ct_F77"; then
13184
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13185
 
else
13186
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13187
 
for as_dir in $PATH
13188
 
do
13189
 
  IFS=$as_save_IFS
13190
 
  test -z "$as_dir" && as_dir=.
13191
 
  for ac_exec_ext in '' $ac_executable_extensions; do
13192
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13193
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
13194
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13195
 
    break 2
13196
 
  fi
13197
 
done
13198
 
done
13199
 
IFS=$as_save_IFS
13200
 
 
13201
 
fi
13202
 
fi
13203
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
13204
 
if test -n "$ac_ct_F77"; then
13205
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13206
 
$as_echo "$ac_ct_F77" >&6; }
13207
 
else
13208
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
13209
 
$as_echo "no" >&6; }
13210
 
fi
13211
 
 
13212
 
 
13213
 
  test -n "$ac_ct_F77" && break
13214
 
done
13215
 
 
13216
 
  if test "x$ac_ct_F77" = x; then
13217
 
    F77=""
13218
 
  else
13219
 
    case $cross_compiling:$ac_tool_warned in
13220
 
yes:)
13221
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13222
 
whose name does not start with the host triplet.  If you think this
13223
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
13224
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13225
 
whose name does not start with the host triplet.  If you think this
13226
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13227
 
ac_tool_warned=yes ;;
13228
 
esac
13229
 
    F77=$ac_ct_F77
13230
 
  fi
13231
 
fi
13232
 
 
13233
 
 
13234
 
# Provide some information about the compiler.
13235
 
$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13236
 
set X $ac_compile
13237
 
ac_compiler=$2
13238
 
{ (ac_try="$ac_compiler --version >&5"
13239
 
case "(($ac_try" in
13240
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13241
 
  *) ac_try_echo=$ac_try;;
13242
 
esac
13243
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13244
 
$as_echo "$ac_try_echo") >&5
13245
 
  (eval "$ac_compiler --version >&5") 2>&5
13246
 
  ac_status=$?
13247
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248
 
  (exit $ac_status); }
13249
 
{ (ac_try="$ac_compiler -v >&5"
13250
 
case "(($ac_try" in
13251
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13252
 
  *) ac_try_echo=$ac_try;;
13253
 
esac
13254
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13255
 
$as_echo "$ac_try_echo") >&5
13256
 
  (eval "$ac_compiler -v >&5") 2>&5
13257
 
  ac_status=$?
13258
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259
 
  (exit $ac_status); }
13260
 
{ (ac_try="$ac_compiler -V >&5"
13261
 
case "(($ac_try" in
13262
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13263
 
  *) ac_try_echo=$ac_try;;
13264
 
esac
13265
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13266
 
$as_echo "$ac_try_echo") >&5
13267
 
  (eval "$ac_compiler -V >&5") 2>&5
13268
 
  ac_status=$?
13269
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270
 
  (exit $ac_status); }
13271
 
rm -f a.out
13272
 
 
13273
 
# If we don't use `.F' as extension, the preprocessor is not run on the
13274
 
# input file.  (Note that this only needs to work for GNU compilers.)
13275
 
ac_save_ext=$ac_ext
13276
 
ac_ext=F
13277
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13278
 
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
13279
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13280
 
  $as_echo_n "(cached) " >&6
13281
 
else
13282
 
  cat >conftest.$ac_ext <<_ACEOF
13283
 
      program main
13284
 
#ifndef __GNUC__
13285
 
       choke me
13286
 
#endif
13287
 
 
13288
 
      end
13289
 
_ACEOF
13290
 
rm -f conftest.$ac_objext
13291
 
if { (ac_try="$ac_compile"
13292
 
case "(($ac_try" in
13293
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13294
 
  *) ac_try_echo=$ac_try;;
13295
 
esac
13296
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13297
 
$as_echo "$ac_try_echo") >&5
13298
 
  (eval "$ac_compile") 2>conftest.er1
13299
 
  ac_status=$?
13300
 
  grep -v '^ *+' conftest.er1 >conftest.err
13301
 
  rm -f conftest.er1
13302
 
  cat conftest.err >&5
13303
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304
 
  (exit $ac_status); } && {
13305
 
         test -z "$ac_f77_werror_flag" ||
13306
 
         test ! -s conftest.err
13307
 
       } && test -s conftest.$ac_objext; then
13308
 
  ac_compiler_gnu=yes
13309
 
else
13310
 
  $as_echo "$as_me: failed program was:" >&5
13311
 
sed 's/^/| /' conftest.$ac_ext >&5
13312
 
 
13313
 
        ac_compiler_gnu=no
13314
 
fi
13315
 
 
13316
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13317
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
13318
 
 
13319
 
fi
13320
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13321
 
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
13322
 
ac_ext=$ac_save_ext
13323
 
ac_test_FFLAGS=${FFLAGS+set}
13324
 
ac_save_FFLAGS=$FFLAGS
13325
 
FFLAGS=
13326
 
{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13327
 
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
13328
 
if test "${ac_cv_prog_f77_g+set}" = set; then
13329
 
  $as_echo_n "(cached) " >&6
13330
 
else
13331
 
  FFLAGS=-g
13332
 
cat >conftest.$ac_ext <<_ACEOF
13333
 
      program main
13334
 
 
13335
 
      end
13336
 
_ACEOF
13337
 
rm -f conftest.$ac_objext
13338
 
if { (ac_try="$ac_compile"
13339
 
case "(($ac_try" in
13340
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13341
 
  *) ac_try_echo=$ac_try;;
13342
 
esac
13343
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13344
 
$as_echo "$ac_try_echo") >&5
13345
 
  (eval "$ac_compile") 2>conftest.er1
13346
 
  ac_status=$?
13347
 
  grep -v '^ *+' conftest.er1 >conftest.err
13348
 
  rm -f conftest.er1
13349
 
  cat conftest.err >&5
13350
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351
 
  (exit $ac_status); } && {
13352
 
         test -z "$ac_f77_werror_flag" ||
13353
 
         test ! -s conftest.err
13354
 
       } && test -s conftest.$ac_objext; then
13355
 
  ac_cv_prog_f77_g=yes
13356
 
else
13357
 
  $as_echo "$as_me: failed program was:" >&5
13358
 
sed 's/^/| /' conftest.$ac_ext >&5
13359
 
 
13360
 
        ac_cv_prog_f77_g=no
13361
 
fi
13362
 
 
13363
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13364
 
 
13365
 
fi
13366
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13367
 
$as_echo "$ac_cv_prog_f77_g" >&6; }
13368
 
if test "$ac_test_FFLAGS" = set; then
13369
 
  FFLAGS=$ac_save_FFLAGS
13370
 
elif test $ac_cv_prog_f77_g = yes; then
13371
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13372
 
    FFLAGS="-g -O2"
13373
 
  else
13374
 
    FFLAGS="-g"
13375
 
  fi
13376
 
else
13377
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13378
 
    FFLAGS="-O2"
13379
 
  else
13380
 
    FFLAGS=
13381
 
  fi
13382
 
fi
13383
 
 
13384
 
if test $ac_compiler_gnu = yes; then
13385
 
  G77=yes
13386
 
else
13387
 
  G77=
13388
 
fi
13389
 
ac_ext=c
13390
 
ac_cpp='$CPP $CPPFLAGS'
13391
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13392
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13393
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13394
 
 
13395
 
 
13396
 
 
13397
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13398
 
# find the maximum length of command line arguments
13399
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13400
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
13401
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13402
 
  $as_echo_n "(cached) " >&6
13403
 
else
13404
 
    i=0
13405
 
  teststring="ABCD"
13406
 
 
13407
 
  case $build_os in
13408
 
  msdosdjgpp*)
13409
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
13410
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
13411
 
    # during glob expansion).  Even if it were fixed, the result of this
13412
 
    # check would be larger than it should be.
13413
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
13414
 
    ;;
13415
 
 
13416
 
  gnu*)
13417
 
    # Under GNU Hurd, this test is not required because there is
13418
 
    # no limit to the length of command line arguments.
13419
 
    # Libtool will interpret -1 as no limit whatsoever
13420
 
    lt_cv_sys_max_cmd_len=-1;
13421
 
    ;;
13422
 
 
13423
 
  cygwin* | mingw*)
13424
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
13425
 
    # about 5 minutes as the teststring grows exponentially.
13426
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
13427
 
    # you end up with a "frozen" computer, even though with patience
13428
 
    # the test eventually succeeds (with a max line length of 256k).
13429
 
    # Instead, let's just punt: use the minimum linelength reported by
13430
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
13431
 
    lt_cv_sys_max_cmd_len=8192;
13432
 
    ;;
13433
 
 
13434
 
  amigaos*)
13435
 
    # On AmigaOS with pdksh, this test takes hours, literally.
13436
 
    # So we just punt and use a minimum line length of 8192.
13437
 
    lt_cv_sys_max_cmd_len=8192;
13438
 
    ;;
13439
 
 
13440
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13441
 
    # This has been around since 386BSD, at least.  Likely further.
13442
 
    if test -x /sbin/sysctl; then
13443
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
13444
 
    elif test -x /usr/sbin/sysctl; then
13445
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
13446
 
    else
13447
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
13448
 
    fi
13449
 
    # And add a safety zone
13450
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
13451
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
13452
 
    ;;
13453
 
 
13454
 
  interix*)
13455
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
13456
 
    lt_cv_sys_max_cmd_len=196608
13457
 
    ;;
13458
 
 
13459
 
  osf*)
13460
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13461
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13462
 
    # nice to cause kernel panics so lets avoid the loop below.
13463
 
    # First set a reasonable default.
13464
 
    lt_cv_sys_max_cmd_len=16384
13465
 
    #
13466
 
    if test -x /sbin/sysconfig; then
13467
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
13468
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
13469
 
      esac
13470
 
    fi
13471
 
    ;;
13472
 
  sco3.2v5*)
13473
 
    lt_cv_sys_max_cmd_len=102400
13474
 
    ;;
13475
 
  sysv5* | sco5v6* | sysv4.2uw2*)
13476
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
13477
 
    if test -n "$kargmax"; then
13478
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
13479
 
    else
13480
 
      lt_cv_sys_max_cmd_len=32768
13481
 
    fi
13482
 
    ;;
13483
 
  *)
13484
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
13485
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
13486
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
13487
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
13488
 
    else
13489
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13490
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
13491
 
               = "XX$teststring") >/dev/null 2>&1 &&
13492
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
13493
 
              lt_cv_sys_max_cmd_len=$new_result &&
13494
 
              test $i != 17 # 1/2 MB should be enough
13495
 
      do
13496
 
        i=`expr $i + 1`
13497
 
        teststring=$teststring$teststring
13498
 
      done
13499
 
      teststring=
13500
 
      # Add a significant safety factor because C++ compilers can tack on massive
13501
 
      # amounts of additional arguments before passing them to the linker.
13502
 
      # It appears as though 1/2 is a usable value.
13503
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
13504
 
    fi
13505
 
    ;;
13506
 
  esac
13507
 
 
13508
 
fi
13509
 
 
13510
 
if test -n $lt_cv_sys_max_cmd_len ; then
13511
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13512
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
13513
 
else
13514
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
13515
 
$as_echo "none" >&6; }
13516
 
fi
13517
 
 
13518
 
 
13519
 
 
13520
 
 
13521
13596
 
13522
13597
# Check for command to grab the raw symbol name followed by C symbol from nm.
13523
13598
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13535
13610
# Regexp to match symbols that can be accessed directly from C.
13536
13611
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13537
13612
 
13538
 
# Transform an extracted symbol line into a proper C declaration
13539
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13540
 
 
13541
 
# Transform an extracted symbol line into symbol name and symbol address
13542
 
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'"
13543
 
 
13544
13613
# Define system-specific variables.
13545
13614
case $host_os in
13546
13615
aix*)
13547
13616
  symcode='[BCDT]'
13548
13617
  ;;
13549
 
cygwin* | mingw* | pw32*)
 
13618
cygwin* | mingw* | pw32* | cegcc*)
13550
13619
  symcode='[ABCDGISTW]'
13551
13620
  ;;
13552
 
hpux*) # Its linker distinguishes data from code symbols
 
13621
hpux*)
13553
13622
  if test "$host_cpu" = ia64; then
13554
13623
    symcode='[ABCDEGRST]'
13555
13624
  fi
13556
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13557
 
  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'"
13558
 
  ;;
13559
 
linux* | k*bsd*-gnu)
13560
 
  if test "$host_cpu" = ia64; then
13561
 
    symcode='[ABCDGIRSTW]'
13562
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13563
 
    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'"
13564
 
  fi
13565
13625
  ;;
13566
13626
irix* | nonstopux*)
13567
13627
  symcode='[BCDEGRST]'
13586
13646
  ;;
13587
13647
esac
13588
13648
 
 
13649
# If we're using GNU nm, then use its standard symbol codes.
 
13650
case `$NM -V 2>&1` in
 
13651
*GNU* | *'with BFD'*)
 
13652
  symcode='[ABCDGIRSTW]' ;;
 
13653
esac
 
13654
 
 
13655
# Transform an extracted symbol line into a proper C declaration.
 
13656
# Some systems (esp. on ia64) link data and code symbols differently,
 
13657
# so use this general approach.
 
13658
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
13659
 
 
13660
# Transform an extracted symbol line into symbol name and symbol address
 
13661
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
13662
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'"
 
13663
 
13589
13664
# Handle CRLF in mingw tool chain
13590
13665
opt_cr=
13591
13666
case $build_os in
13592
13667
mingw*)
13593
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
13668
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
13594
13669
  ;;
13595
13670
esac
13596
13671
 
13597
 
# If we're using GNU nm, then use its standard symbol codes.
13598
 
case `$NM -V 2>&1` in
13599
 
*GNU* | *'with BFD'*)
13600
 
  symcode='[ABCDGIRSTW]' ;;
13601
 
esac
13602
 
 
13603
 
# Try without a prefix undercore, then with it.
 
13672
# Try without a prefix underscore, then with it.
13604
13673
for ac_symprfx in "" "_"; do
13605
13674
 
13606
13675
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13607
13676
  symxfrm="\\1 $ac_symprfx\\2 \\2"
13608
13677
 
13609
13678
  # Write the raw and C identifiers.
13610
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
13679
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
13680
    # Fake it for dumpbin and say T for any non-static function
 
13681
    # and D for any global variable.
 
13682
    # Also find C++ and __fastcall symbols from MSVC++,
 
13683
    # which start with @ or ?.
 
13684
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
13685
"     {last_section=section; section=\$ 3};"\
 
13686
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
13687
"     \$ 0!~/External *\|/{next};"\
 
13688
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
13689
"     {if(hide[section]) next};"\
 
13690
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
13691
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
13692
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
13693
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
13694
"     ' prfx=^$ac_symprfx"
 
13695
  else
 
13696
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
13697
  fi
13611
13698
 
13612
13699
  # Check to see that the pipe works correctly.
13613
13700
  pipe_works=no
13614
13701
 
13615
13702
  rm -f conftest*
13616
 
  cat > conftest.$ac_ext <<EOF
 
13703
  cat > conftest.$ac_ext <<_LT_EOF
13617
13704
#ifdef __cplusplus
13618
13705
extern "C" {
13619
13706
#endif
13620
13707
char nm_test_var;
13621
 
void nm_test_func(){}
 
13708
void nm_test_func(void);
 
13709
void nm_test_func(void){}
13622
13710
#ifdef __cplusplus
13623
13711
}
13624
13712
#endif
13625
13713
int main(){nm_test_var='a';nm_test_func();return(0);}
13626
 
EOF
 
13714
_LT_EOF
13627
13715
 
13628
13716
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13629
13717
  (eval $ac_compile) 2>&5
13645
13733
      fi
13646
13734
 
13647
13735
      # Make sure that we snagged all the symbols we need.
13648
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
13649
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
13650
 
          cat <<EOF > conftest.$ac_ext
 
13736
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
13737
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
13738
          cat <<_LT_EOF > conftest.$ac_ext
13651
13739
#ifdef __cplusplus
13652
13740
extern "C" {
13653
13741
#endif
13654
13742
 
13655
 
EOF
 
13743
_LT_EOF
13656
13744
          # Now generate the symbol file.
13657
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13658
 
 
13659
 
          cat <<EOF >> conftest.$ac_ext
13660
 
#if defined (__STDC__) && __STDC__
13661
 
# define lt_ptr_t void *
13662
 
#else
13663
 
# define lt_ptr_t char *
13664
 
# define const
13665
 
#endif
13666
 
 
13667
 
/* The mapping between symbol names and symbols. */
 
13745
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
13746
 
 
13747
          cat <<_LT_EOF >> conftest.$ac_ext
 
13748
 
 
13749
/* The mapping between symbol names and symbols.  */
13668
13750
const struct {
13669
13751
  const char *name;
13670
 
  lt_ptr_t address;
 
13752
  void       *address;
13671
13753
}
13672
 
lt_preloaded_symbols[] =
 
13754
lt__PROGRAM__LTX_preloaded_symbols[] =
13673
13755
{
13674
 
EOF
13675
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13676
 
          cat <<\EOF >> conftest.$ac_ext
13677
 
  {0, (lt_ptr_t) 0}
 
13756
  { "@PROGRAM@", (void *) 0 },
 
13757
_LT_EOF
 
13758
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
13759
          cat <<\_LT_EOF >> conftest.$ac_ext
 
13760
  {0, (void *) 0}
13678
13761
};
13679
13762
 
 
13763
/* This works around a problem in FreeBSD linker */
 
13764
#ifdef FREEBSD_WORKAROUND
 
13765
static const void *lt_preloaded_setup() {
 
13766
  return lt__PROGRAM__LTX_preloaded_symbols;
 
13767
}
 
13768
#endif
 
13769
 
13680
13770
#ifdef __cplusplus
13681
13771
}
13682
13772
#endif
13683
 
EOF
 
13773
_LT_EOF
13684
13774
          # Now try linking the two files.
13685
13775
          mv conftest.$ac_objext conftstm.$ac_objext
13686
13776
          lt_save_LIBS="$LIBS"
13732
13822
$as_echo "ok" >&6; }
13733
13823
fi
13734
13824
 
13735
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
13736
 
$as_echo_n "checking for objdir... " >&6; }
13737
 
if test "${lt_cv_objdir+set}" = set; then
13738
 
  $as_echo_n "(cached) " >&6
13739
 
else
13740
 
  rm -f .libs 2>/dev/null
13741
 
mkdir .libs 2>/dev/null
13742
 
if test -d .libs; then
13743
 
  lt_cv_objdir=.libs
13744
 
else
13745
 
  # MS-DOS does not allow filenames that begin with a dot.
13746
 
  lt_cv_objdir=_libs
13747
 
fi
13748
 
rmdir .libs 2>/dev/null
13749
 
fi
13750
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13751
 
$as_echo "$lt_cv_objdir" >&6; }
13752
 
objdir=$lt_cv_objdir
13753
 
 
13754
 
 
13755
 
 
13756
 
 
13757
 
 
13758
 
case $host_os in
13759
 
aix3*)
13760
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
13761
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
13762
 
  # vanish in a puff of smoke.
13763
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
13764
 
    COLLECT_NAMES=
13765
 
    export COLLECT_NAMES
13766
 
  fi
13767
 
  ;;
13768
 
esac
13769
 
 
13770
 
# Sed substitution that helps us do robust quoting.  It backslashifies
13771
 
# metacharacters that are still active within double-quoted strings.
13772
 
Xsed='sed -e 1s/^X//'
13773
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
13774
 
 
13775
 
# Same as above, but do not quote variable references.
13776
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
13777
 
 
13778
 
# Sed substitution to delay expansion of an escaped shell variable in a
13779
 
# double_quote_subst'ed string.
13780
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13781
 
 
13782
 
# Sed substitution to avoid accidental globbing in evaled expressions
13783
 
no_glob_subst='s/\*/\\\*/g'
13784
 
 
13785
 
# Constants:
13786
 
rm="rm -f"
13787
 
 
13788
 
# Global variables:
13789
 
default_ofile=libtool
13790
 
can_build_shared=yes
13791
 
 
13792
 
# All known linkers require a `.a' archive for static linking (except MSVC,
13793
 
# which needs '.lib').
13794
 
libext=a
13795
 
ltmain="$ac_aux_dir/ltmain.sh"
13796
 
ofile="$default_ofile"
13797
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
13798
 
 
13799
 
if test -n "$ac_tool_prefix"; then
13800
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13801
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
13802
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13803
 
$as_echo_n "checking for $ac_word... " >&6; }
13804
 
if test "${ac_cv_prog_AR+set}" = set; then
13805
 
  $as_echo_n "(cached) " >&6
13806
 
else
13807
 
  if test -n "$AR"; then
13808
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
13809
 
else
13810
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13811
 
for as_dir in $PATH
13812
 
do
13813
 
  IFS=$as_save_IFS
13814
 
  test -z "$as_dir" && as_dir=.
13815
 
  for ac_exec_ext in '' $ac_executable_extensions; do
13816
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13817
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
13818
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13819
 
    break 2
13820
 
  fi
13821
 
done
13822
 
done
13823
 
IFS=$as_save_IFS
13824
 
 
13825
 
fi
13826
 
fi
13827
 
AR=$ac_cv_prog_AR
13828
 
if test -n "$AR"; then
13829
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
13830
 
$as_echo "$AR" >&6; }
13831
 
else
13832
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
13833
 
$as_echo "no" >&6; }
13834
 
fi
13835
 
 
13836
 
 
13837
 
fi
13838
 
if test -z "$ac_cv_prog_AR"; then
13839
 
  ac_ct_AR=$AR
13840
 
  # Extract the first word of "ar", so it can be a program name with args.
13841
 
set dummy ar; ac_word=$2
13842
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13843
 
$as_echo_n "checking for $ac_word... " >&6; }
13844
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13845
 
  $as_echo_n "(cached) " >&6
13846
 
else
13847
 
  if test -n "$ac_ct_AR"; then
13848
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13849
 
else
13850
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13851
 
for as_dir in $PATH
13852
 
do
13853
 
  IFS=$as_save_IFS
13854
 
  test -z "$as_dir" && as_dir=.
13855
 
  for ac_exec_ext in '' $ac_executable_extensions; do
13856
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13857
 
    ac_cv_prog_ac_ct_AR="ar"
13858
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13859
 
    break 2
13860
 
  fi
13861
 
done
13862
 
done
13863
 
IFS=$as_save_IFS
13864
 
 
13865
 
fi
13866
 
fi
13867
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
13868
 
if test -n "$ac_ct_AR"; then
13869
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
13870
 
$as_echo "$ac_ct_AR" >&6; }
13871
 
else
13872
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
13873
 
$as_echo "no" >&6; }
13874
 
fi
13875
 
 
13876
 
  if test "x$ac_ct_AR" = x; then
13877
 
    AR="false"
13878
 
  else
13879
 
    case $cross_compiling:$ac_tool_warned in
13880
 
yes:)
13881
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13882
 
whose name does not start with the host triplet.  If you think this
13883
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
13884
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13885
 
whose name does not start with the host triplet.  If you think this
13886
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13887
 
ac_tool_warned=yes ;;
13888
 
esac
13889
 
    AR=$ac_ct_AR
13890
 
  fi
13891
 
else
13892
 
  AR="$ac_cv_prog_AR"
13893
 
fi
13894
 
 
13895
 
if test -n "$ac_tool_prefix"; then
13896
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13897
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13898
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13899
 
$as_echo_n "checking for $ac_word... " >&6; }
13900
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
13901
 
  $as_echo_n "(cached) " >&6
13902
 
else
13903
 
  if test -n "$RANLIB"; then
13904
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13905
 
else
13906
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13907
 
for as_dir in $PATH
13908
 
do
13909
 
  IFS=$as_save_IFS
13910
 
  test -z "$as_dir" && as_dir=.
13911
 
  for ac_exec_ext in '' $ac_executable_extensions; do
13912
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13913
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13914
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13915
 
    break 2
13916
 
  fi
13917
 
done
13918
 
done
13919
 
IFS=$as_save_IFS
13920
 
 
13921
 
fi
13922
 
fi
13923
 
RANLIB=$ac_cv_prog_RANLIB
13924
 
if test -n "$RANLIB"; then
13925
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
13926
 
$as_echo "$RANLIB" >&6; }
13927
 
else
13928
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
13929
 
$as_echo "no" >&6; }
13930
 
fi
13931
 
 
13932
 
 
13933
 
fi
13934
 
if test -z "$ac_cv_prog_RANLIB"; then
13935
 
  ac_ct_RANLIB=$RANLIB
13936
 
  # Extract the first word of "ranlib", so it can be a program name with args.
13937
 
set dummy ranlib; ac_word=$2
13938
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13939
 
$as_echo_n "checking for $ac_word... " >&6; }
13940
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13941
 
  $as_echo_n "(cached) " >&6
13942
 
else
13943
 
  if test -n "$ac_ct_RANLIB"; then
13944
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13945
 
else
13946
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13947
 
for as_dir in $PATH
13948
 
do
13949
 
  IFS=$as_save_IFS
13950
 
  test -z "$as_dir" && as_dir=.
13951
 
  for ac_exec_ext in '' $ac_executable_extensions; do
13952
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13953
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
13954
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13955
 
    break 2
13956
 
  fi
13957
 
done
13958
 
done
13959
 
IFS=$as_save_IFS
13960
 
 
13961
 
fi
13962
 
fi
13963
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13964
 
if test -n "$ac_ct_RANLIB"; then
13965
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13966
 
$as_echo "$ac_ct_RANLIB" >&6; }
13967
 
else
13968
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
13969
 
$as_echo "no" >&6; }
13970
 
fi
13971
 
 
13972
 
  if test "x$ac_ct_RANLIB" = x; then
13973
 
    RANLIB=":"
13974
 
  else
13975
 
    case $cross_compiling:$ac_tool_warned in
13976
 
yes:)
13977
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13978
 
whose name does not start with the host triplet.  If you think this
13979
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
13980
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13981
 
whose name does not start with the host triplet.  If you think this
13982
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13983
 
ac_tool_warned=yes ;;
13984
 
esac
13985
 
    RANLIB=$ac_ct_RANLIB
13986
 
  fi
13987
 
else
13988
 
  RANLIB="$ac_cv_prog_RANLIB"
13989
 
fi
13990
 
 
13991
 
if test -n "$ac_tool_prefix"; then
13992
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13993
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
13994
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13995
 
$as_echo_n "checking for $ac_word... " >&6; }
13996
 
if test "${ac_cv_prog_STRIP+set}" = set; then
13997
 
  $as_echo_n "(cached) " >&6
13998
 
else
13999
 
  if test -n "$STRIP"; then
14000
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14001
 
else
14002
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14003
 
for as_dir in $PATH
14004
 
do
14005
 
  IFS=$as_save_IFS
14006
 
  test -z "$as_dir" && as_dir=.
14007
 
  for ac_exec_ext in '' $ac_executable_extensions; do
14008
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14009
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14010
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14011
 
    break 2
14012
 
  fi
14013
 
done
14014
 
done
14015
 
IFS=$as_save_IFS
14016
 
 
14017
 
fi
14018
 
fi
14019
 
STRIP=$ac_cv_prog_STRIP
14020
 
if test -n "$STRIP"; then
14021
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
14022
 
$as_echo "$STRIP" >&6; }
14023
 
else
14024
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
14025
 
$as_echo "no" >&6; }
14026
 
fi
14027
 
 
14028
 
 
14029
 
fi
14030
 
if test -z "$ac_cv_prog_STRIP"; then
14031
 
  ac_ct_STRIP=$STRIP
14032
 
  # Extract the first word of "strip", so it can be a program name with args.
14033
 
set dummy strip; ac_word=$2
14034
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14035
 
$as_echo_n "checking for $ac_word... " >&6; }
14036
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14037
 
  $as_echo_n "(cached) " >&6
14038
 
else
14039
 
  if test -n "$ac_ct_STRIP"; then
14040
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14041
 
else
14042
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14043
 
for as_dir in $PATH
14044
 
do
14045
 
  IFS=$as_save_IFS
14046
 
  test -z "$as_dir" && as_dir=.
14047
 
  for ac_exec_ext in '' $ac_executable_extensions; do
14048
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14049
 
    ac_cv_prog_ac_ct_STRIP="strip"
14050
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14051
 
    break 2
14052
 
  fi
14053
 
done
14054
 
done
14055
 
IFS=$as_save_IFS
14056
 
 
14057
 
fi
14058
 
fi
14059
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14060
 
if test -n "$ac_ct_STRIP"; then
14061
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14062
 
$as_echo "$ac_ct_STRIP" >&6; }
14063
 
else
14064
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
14065
 
$as_echo "no" >&6; }
14066
 
fi
14067
 
 
14068
 
  if test "x$ac_ct_STRIP" = x; then
14069
 
    STRIP=":"
14070
 
  else
14071
 
    case $cross_compiling:$ac_tool_warned in
14072
 
yes:)
14073
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14074
 
whose name does not start with the host triplet.  If you think this
14075
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
14076
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14077
 
whose name does not start with the host triplet.  If you think this
14078
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14079
 
ac_tool_warned=yes ;;
14080
 
esac
14081
 
    STRIP=$ac_ct_STRIP
14082
 
  fi
14083
 
else
14084
 
  STRIP="$ac_cv_prog_STRIP"
14085
 
fi
14086
 
 
14087
 
 
14088
 
old_CC="$CC"
14089
 
old_CFLAGS="$CFLAGS"
14090
 
 
14091
 
# Set sane defaults for various variables
14092
 
test -z "$AR" && AR=ar
14093
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
14094
 
test -z "$AS" && AS=as
14095
 
test -z "$CC" && CC=cc
14096
 
test -z "$LTCC" && LTCC=$CC
14097
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14098
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
14099
 
test -z "$LD" && LD=ld
14100
 
test -z "$LN_S" && LN_S="ln -s"
14101
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
14102
 
test -z "$NM" && NM=nm
14103
 
test -z "$SED" && SED=sed
14104
 
test -z "$OBJDUMP" && OBJDUMP=objdump
14105
 
test -z "$RANLIB" && RANLIB=:
14106
 
test -z "$STRIP" && STRIP=:
14107
 
test -z "$ac_objext" && ac_objext=o
14108
 
 
14109
 
# Determine commands to create old-style static archives.
14110
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
14111
 
old_postinstall_cmds='chmod 644 $oldlib'
14112
 
old_postuninstall_cmds=
14113
 
 
14114
 
if test -n "$RANLIB"; then
14115
 
  case $host_os in
14116
 
  openbsd*)
14117
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
14118
 
    ;;
14119
 
  *)
14120
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
14121
 
    ;;
14122
 
  esac
14123
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
14124
 
fi
14125
 
 
14126
 
for cc_temp in $compiler""; do
14127
 
  case $cc_temp in
14128
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14129
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14130
 
    \-*) ;;
14131
 
    *) break;;
14132
 
  esac
14133
 
done
14134
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14135
 
 
14136
 
 
14137
 
# Only perform the check for file, if the check method requires it
14138
 
case $deplibs_check_method in
14139
 
file_magic*)
14140
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14141
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
14142
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
14143
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14144
 
  $as_echo_n "(cached) " >&6
14145
 
else
14146
 
  case $MAGIC_CMD in
14147
 
[\\/*] |  ?:[\\/]*)
14148
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14149
 
  ;;
14150
 
*)
14151
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
14152
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14153
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14154
 
  for ac_dir in $ac_dummy; do
14155
 
    IFS="$lt_save_ifs"
14156
 
    test -z "$ac_dir" && ac_dir=.
14157
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
14158
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14159
 
      if test -n "$file_magic_test_file"; then
14160
 
        case $deplibs_check_method in
14161
 
        "file_magic "*)
14162
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14163
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14164
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14165
 
            $EGREP "$file_magic_regex" > /dev/null; then
14166
 
            :
14167
 
          else
14168
 
            cat <<EOF 1>&2
14169
 
 
14170
 
*** Warning: the command libtool uses to detect shared libraries,
14171
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
14172
 
*** The result is that libtool may fail to recognize shared libraries
14173
 
*** as such.  This will affect the creation of libtool libraries that
14174
 
*** depend on shared libraries, but programs linked with such libtool
14175
 
*** libraries will work regardless of this problem.  Nevertheless, you
14176
 
*** may want to report the problem to your system manager and/or to
14177
 
*** bug-libtool@gnu.org
14178
 
 
14179
 
EOF
14180
 
          fi ;;
14181
 
        esac
14182
 
      fi
14183
 
      break
14184
 
    fi
14185
 
  done
14186
 
  IFS="$lt_save_ifs"
14187
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
14188
 
  ;;
14189
 
esac
14190
 
fi
14191
 
 
14192
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14193
 
if test -n "$MAGIC_CMD"; then
14194
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14195
 
$as_echo "$MAGIC_CMD" >&6; }
14196
 
else
14197
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
14198
 
$as_echo "no" >&6; }
14199
 
fi
14200
 
 
14201
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
14202
 
  if test -n "$ac_tool_prefix"; then
14203
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
14204
 
$as_echo_n "checking for file... " >&6; }
14205
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14206
 
  $as_echo_n "(cached) " >&6
14207
 
else
14208
 
  case $MAGIC_CMD in
14209
 
[\\/*] |  ?:[\\/]*)
14210
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14211
 
  ;;
14212
 
*)
14213
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
14214
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14215
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14216
 
  for ac_dir in $ac_dummy; do
14217
 
    IFS="$lt_save_ifs"
14218
 
    test -z "$ac_dir" && ac_dir=.
14219
 
    if test -f $ac_dir/file; then
14220
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
14221
 
      if test -n "$file_magic_test_file"; then
14222
 
        case $deplibs_check_method in
14223
 
        "file_magic "*)
14224
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14225
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14226
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14227
 
            $EGREP "$file_magic_regex" > /dev/null; then
14228
 
            :
14229
 
          else
14230
 
            cat <<EOF 1>&2
14231
 
 
14232
 
*** Warning: the command libtool uses to detect shared libraries,
14233
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
14234
 
*** The result is that libtool may fail to recognize shared libraries
14235
 
*** as such.  This will affect the creation of libtool libraries that
14236
 
*** depend on shared libraries, but programs linked with such libtool
14237
 
*** libraries will work regardless of this problem.  Nevertheless, you
14238
 
*** may want to report the problem to your system manager and/or to
14239
 
*** bug-libtool@gnu.org
14240
 
 
14241
 
EOF
14242
 
          fi ;;
14243
 
        esac
14244
 
      fi
14245
 
      break
14246
 
    fi
14247
 
  done
14248
 
  IFS="$lt_save_ifs"
14249
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
14250
 
  ;;
14251
 
esac
14252
 
fi
14253
 
 
14254
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14255
 
if test -n "$MAGIC_CMD"; then
14256
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14257
 
$as_echo "$MAGIC_CMD" >&6; }
14258
 
else
14259
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
14260
 
$as_echo "no" >&6; }
14261
 
fi
14262
 
 
14263
 
  else
14264
 
    MAGIC_CMD=:
14265
 
  fi
14266
 
fi
14267
 
 
14268
 
  fi
14269
 
  ;;
14270
 
esac
 
13825
 
 
13826
 
 
13827
 
 
13828
 
 
13829
 
 
13830
 
 
13831
 
 
13832
 
 
13833
 
 
13834
 
 
13835
 
 
13836
 
 
13837
 
 
13838
 
 
13839
 
 
13840
 
 
13841
 
 
13842
 
 
13843
 
 
13844
 
 
13845
 
 
13846
# Check whether --enable-libtool-lock was given.
 
13847
if test "${enable_libtool_lock+set}" = set; then
 
13848
  enableval=$enable_libtool_lock;
 
13849
fi
 
13850
 
 
13851
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
13852
 
 
13853
# Some flags need to be propagated to the compiler or linker for good
 
13854
# libtool support.
 
13855
case $host in
 
13856
ia64-*-hpux*)
 
13857
  # Find out which ABI we are using.
 
13858
  echo 'int i;' > conftest.$ac_ext
 
13859
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13860
  (eval $ac_compile) 2>&5
 
13861
  ac_status=$?
 
13862
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13863
  (exit $ac_status); }; then
 
13864
    case `/usr/bin/file conftest.$ac_objext` in
 
13865
      *ELF-32*)
 
13866
        HPUX_IA64_MODE="32"
 
13867
        ;;
 
13868
      *ELF-64*)
 
13869
        HPUX_IA64_MODE="64"
 
13870
        ;;
 
13871
    esac
 
13872
  fi
 
13873
  rm -rf conftest*
 
13874
  ;;
 
13875
*-*-irix6*)
 
13876
  # Find out which ABI we are using.
 
13877
  echo '#line 13877 "configure"' > conftest.$ac_ext
 
13878
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13879
  (eval $ac_compile) 2>&5
 
13880
  ac_status=$?
 
13881
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13882
  (exit $ac_status); }; then
 
13883
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
13884
      case `/usr/bin/file conftest.$ac_objext` in
 
13885
        *32-bit*)
 
13886
          LD="${LD-ld} -melf32bsmip"
 
13887
          ;;
 
13888
        *N32*)
 
13889
          LD="${LD-ld} -melf32bmipn32"
 
13890
          ;;
 
13891
        *64-bit*)
 
13892
          LD="${LD-ld} -melf64bmip"
 
13893
        ;;
 
13894
      esac
 
13895
    else
 
13896
      case `/usr/bin/file conftest.$ac_objext` in
 
13897
        *32-bit*)
 
13898
          LD="${LD-ld} -32"
 
13899
          ;;
 
13900
        *N32*)
 
13901
          LD="${LD-ld} -n32"
 
13902
          ;;
 
13903
        *64-bit*)
 
13904
          LD="${LD-ld} -64"
 
13905
          ;;
 
13906
      esac
 
13907
    fi
 
13908
  fi
 
13909
  rm -rf conftest*
 
13910
  ;;
 
13911
 
 
13912
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
13913
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
13914
  # Find out which ABI we are using.
 
13915
  echo 'int i;' > conftest.$ac_ext
 
13916
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13917
  (eval $ac_compile) 2>&5
 
13918
  ac_status=$?
 
13919
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13920
  (exit $ac_status); }; then
 
13921
    case `/usr/bin/file conftest.o` in
 
13922
      *32-bit*)
 
13923
        case $host in
 
13924
          x86_64-*kfreebsd*-gnu)
 
13925
            LD="${LD-ld} -m elf_i386_fbsd"
 
13926
            ;;
 
13927
          x86_64-*linux*)
 
13928
            LD="${LD-ld} -m elf_i386"
 
13929
            ;;
 
13930
          ppc64-*linux*|powerpc64-*linux*)
 
13931
            LD="${LD-ld} -m elf32ppclinux"
 
13932
            ;;
 
13933
          s390x-*linux*)
 
13934
            LD="${LD-ld} -m elf_s390"
 
13935
            ;;
 
13936
          sparc64-*linux*)
 
13937
            LD="${LD-ld} -m elf32_sparc"
 
13938
            ;;
 
13939
        esac
 
13940
        ;;
 
13941
      *64-bit*)
 
13942
        case $host in
 
13943
          x86_64-*kfreebsd*-gnu)
 
13944
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
13945
            ;;
 
13946
          x86_64-*linux*)
 
13947
            LD="${LD-ld} -m elf_x86_64"
 
13948
            ;;
 
13949
          ppc*-*linux*|powerpc*-*linux*)
 
13950
            LD="${LD-ld} -m elf64ppc"
 
13951
            ;;
 
13952
          s390*-*linux*|s390*-*tpf*)
 
13953
            LD="${LD-ld} -m elf64_s390"
 
13954
            ;;
 
13955
          sparc*-*linux*)
 
13956
            LD="${LD-ld} -m elf64_sparc"
 
13957
            ;;
 
13958
        esac
 
13959
        ;;
 
13960
    esac
 
13961
  fi
 
13962
  rm -rf conftest*
 
13963
  ;;
 
13964
 
 
13965
*-*-sco3.2v5*)
 
13966
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
13967
  SAVE_CFLAGS="$CFLAGS"
 
13968
  CFLAGS="$CFLAGS -belf"
 
13969
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
13970
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
13971
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
13972
  $as_echo_n "(cached) " >&6
 
13973
else
 
13974
  ac_ext=c
 
13975
ac_cpp='$CPP $CPPFLAGS'
 
13976
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13977
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13978
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13979
 
 
13980
     cat >conftest.$ac_ext <<_ACEOF
 
13981
/* confdefs.h.  */
 
13982
_ACEOF
 
13983
cat confdefs.h >>conftest.$ac_ext
 
13984
cat >>conftest.$ac_ext <<_ACEOF
 
13985
/* end confdefs.h.  */
 
13986
 
 
13987
int
 
13988
main ()
 
13989
{
 
13990
 
 
13991
  ;
 
13992
  return 0;
 
13993
}
 
13994
_ACEOF
 
13995
rm -f conftest.$ac_objext conftest$ac_exeext
 
13996
if { (ac_try="$ac_link"
 
13997
case "(($ac_try" in
 
13998
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13999
  *) ac_try_echo=$ac_try;;
 
14000
esac
 
14001
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14002
$as_echo "$ac_try_echo") >&5
 
14003
  (eval "$ac_link") 2>conftest.er1
 
14004
  ac_status=$?
 
14005
  grep -v '^ *+' conftest.er1 >conftest.err
 
14006
  rm -f conftest.er1
 
14007
  cat conftest.err >&5
 
14008
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14009
  (exit $ac_status); } && {
 
14010
         test -z "$ac_c_werror_flag" ||
 
14011
         test ! -s conftest.err
 
14012
       } && test -s conftest$ac_exeext && {
 
14013
         test "$cross_compiling" = yes ||
 
14014
         $as_test_x conftest$ac_exeext
 
14015
       }; then
 
14016
  lt_cv_cc_needs_belf=yes
 
14017
else
 
14018
  $as_echo "$as_me: failed program was:" >&5
 
14019
sed 's/^/| /' conftest.$ac_ext >&5
 
14020
 
 
14021
        lt_cv_cc_needs_belf=no
 
14022
fi
 
14023
 
 
14024
rm -rf conftest.dSYM
 
14025
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14026
      conftest$ac_exeext conftest.$ac_ext
 
14027
     ac_ext=c
 
14028
ac_cpp='$CPP $CPPFLAGS'
 
14029
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14030
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14031
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14032
 
 
14033
fi
 
14034
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
14035
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
14036
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
14037
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
14038
    CFLAGS="$SAVE_CFLAGS"
 
14039
  fi
 
14040
  ;;
 
14041
sparc*-*solaris*)
 
14042
  # Find out which ABI we are using.
 
14043
  echo 'int i;' > conftest.$ac_ext
 
14044
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14045
  (eval $ac_compile) 2>&5
 
14046
  ac_status=$?
 
14047
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14048
  (exit $ac_status); }; then
 
14049
    case `/usr/bin/file conftest.o` in
 
14050
    *64-bit*)
 
14051
      case $lt_cv_prog_gnu_ld in
 
14052
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
14053
      *)
 
14054
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
14055
          LD="${LD-ld} -64"
 
14056
        fi
 
14057
        ;;
 
14058
      esac
 
14059
      ;;
 
14060
    esac
 
14061
  fi
 
14062
  rm -rf conftest*
 
14063
  ;;
 
14064
esac
 
14065
 
 
14066
need_locks="$enable_libtool_lock"
14271
14067
 
14272
14068
 
14273
14069
  case $host_os in
14354
14150
  else
14355
14151
    case $cross_compiling:$ac_tool_warned in
14356
14152
yes:)
14357
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14358
 
whose name does not start with the host triplet.  If you think this
14359
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
14360
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14361
 
whose name does not start with the host triplet.  If you think this
14362
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
14153
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
14154
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14363
14155
ac_tool_warned=yes ;;
14364
14156
esac
14365
14157
    DSYMUTIL=$ac_ct_DSYMUTIL
14450
14242
  else
14451
14243
    case $cross_compiling:$ac_tool_warned in
14452
14244
yes:)
14453
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14454
 
whose name does not start with the host triplet.  If you think this
14455
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
14456
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14457
 
whose name does not start with the host triplet.  If you think this
14458
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
14245
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
14246
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14459
14247
ac_tool_warned=yes ;;
14460
14248
esac
14461
14249
    NMEDIT=$ac_ct_NMEDIT
14464
14252
  NMEDIT="$ac_cv_prog_NMEDIT"
14465
14253
fi
14466
14254
 
 
14255
    if test -n "$ac_tool_prefix"; then
 
14256
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
14257
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
14258
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14259
$as_echo_n "checking for $ac_word... " >&6; }
 
14260
if test "${ac_cv_prog_LIPO+set}" = set; then
 
14261
  $as_echo_n "(cached) " >&6
 
14262
else
 
14263
  if test -n "$LIPO"; then
 
14264
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
14265
else
 
14266
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14267
for as_dir in $PATH
 
14268
do
 
14269
  IFS=$as_save_IFS
 
14270
  test -z "$as_dir" && as_dir=.
 
14271
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14272
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14273
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
14274
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14275
    break 2
 
14276
  fi
 
14277
done
 
14278
done
 
14279
IFS=$as_save_IFS
 
14280
 
 
14281
fi
 
14282
fi
 
14283
LIPO=$ac_cv_prog_LIPO
 
14284
if test -n "$LIPO"; then
 
14285
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
14286
$as_echo "$LIPO" >&6; }
 
14287
else
 
14288
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14289
$as_echo "no" >&6; }
 
14290
fi
 
14291
 
 
14292
 
 
14293
fi
 
14294
if test -z "$ac_cv_prog_LIPO"; then
 
14295
  ac_ct_LIPO=$LIPO
 
14296
  # Extract the first word of "lipo", so it can be a program name with args.
 
14297
set dummy lipo; ac_word=$2
 
14298
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14299
$as_echo_n "checking for $ac_word... " >&6; }
 
14300
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
14301
  $as_echo_n "(cached) " >&6
 
14302
else
 
14303
  if test -n "$ac_ct_LIPO"; then
 
14304
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
14305
else
 
14306
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14307
for as_dir in $PATH
 
14308
do
 
14309
  IFS=$as_save_IFS
 
14310
  test -z "$as_dir" && as_dir=.
 
14311
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14312
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14313
    ac_cv_prog_ac_ct_LIPO="lipo"
 
14314
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14315
    break 2
 
14316
  fi
 
14317
done
 
14318
done
 
14319
IFS=$as_save_IFS
 
14320
 
 
14321
fi
 
14322
fi
 
14323
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
14324
if test -n "$ac_ct_LIPO"; then
 
14325
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
14326
$as_echo "$ac_ct_LIPO" >&6; }
 
14327
else
 
14328
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14329
$as_echo "no" >&6; }
 
14330
fi
 
14331
 
 
14332
  if test "x$ac_ct_LIPO" = x; then
 
14333
    LIPO=":"
 
14334
  else
 
14335
    case $cross_compiling:$ac_tool_warned in
 
14336
yes:)
 
14337
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
14338
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
14339
ac_tool_warned=yes ;;
 
14340
esac
 
14341
    LIPO=$ac_ct_LIPO
 
14342
  fi
 
14343
else
 
14344
  LIPO="$ac_cv_prog_LIPO"
 
14345
fi
 
14346
 
 
14347
    if test -n "$ac_tool_prefix"; then
 
14348
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
14349
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
14350
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14351
$as_echo_n "checking for $ac_word... " >&6; }
 
14352
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
14353
  $as_echo_n "(cached) " >&6
 
14354
else
 
14355
  if test -n "$OTOOL"; then
 
14356
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
14357
else
 
14358
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14359
for as_dir in $PATH
 
14360
do
 
14361
  IFS=$as_save_IFS
 
14362
  test -z "$as_dir" && as_dir=.
 
14363
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14364
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14365
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
14366
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14367
    break 2
 
14368
  fi
 
14369
done
 
14370
done
 
14371
IFS=$as_save_IFS
 
14372
 
 
14373
fi
 
14374
fi
 
14375
OTOOL=$ac_cv_prog_OTOOL
 
14376
if test -n "$OTOOL"; then
 
14377
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
14378
$as_echo "$OTOOL" >&6; }
 
14379
else
 
14380
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14381
$as_echo "no" >&6; }
 
14382
fi
 
14383
 
 
14384
 
 
14385
fi
 
14386
if test -z "$ac_cv_prog_OTOOL"; then
 
14387
  ac_ct_OTOOL=$OTOOL
 
14388
  # Extract the first word of "otool", so it can be a program name with args.
 
14389
set dummy otool; ac_word=$2
 
14390
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14391
$as_echo_n "checking for $ac_word... " >&6; }
 
14392
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
14393
  $as_echo_n "(cached) " >&6
 
14394
else
 
14395
  if test -n "$ac_ct_OTOOL"; then
 
14396
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
14397
else
 
14398
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14399
for as_dir in $PATH
 
14400
do
 
14401
  IFS=$as_save_IFS
 
14402
  test -z "$as_dir" && as_dir=.
 
14403
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14404
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14405
    ac_cv_prog_ac_ct_OTOOL="otool"
 
14406
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14407
    break 2
 
14408
  fi
 
14409
done
 
14410
done
 
14411
IFS=$as_save_IFS
 
14412
 
 
14413
fi
 
14414
fi
 
14415
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
14416
if test -n "$ac_ct_OTOOL"; then
 
14417
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
14418
$as_echo "$ac_ct_OTOOL" >&6; }
 
14419
else
 
14420
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14421
$as_echo "no" >&6; }
 
14422
fi
 
14423
 
 
14424
  if test "x$ac_ct_OTOOL" = x; then
 
14425
    OTOOL=":"
 
14426
  else
 
14427
    case $cross_compiling:$ac_tool_warned in
 
14428
yes:)
 
14429
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
14430
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
14431
ac_tool_warned=yes ;;
 
14432
esac
 
14433
    OTOOL=$ac_ct_OTOOL
 
14434
  fi
 
14435
else
 
14436
  OTOOL="$ac_cv_prog_OTOOL"
 
14437
fi
 
14438
 
 
14439
    if test -n "$ac_tool_prefix"; then
 
14440
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
14441
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
14442
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14443
$as_echo_n "checking for $ac_word... " >&6; }
 
14444
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
14445
  $as_echo_n "(cached) " >&6
 
14446
else
 
14447
  if test -n "$OTOOL64"; then
 
14448
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
14449
else
 
14450
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14451
for as_dir in $PATH
 
14452
do
 
14453
  IFS=$as_save_IFS
 
14454
  test -z "$as_dir" && as_dir=.
 
14455
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14456
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14457
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
14458
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14459
    break 2
 
14460
  fi
 
14461
done
 
14462
done
 
14463
IFS=$as_save_IFS
 
14464
 
 
14465
fi
 
14466
fi
 
14467
OTOOL64=$ac_cv_prog_OTOOL64
 
14468
if test -n "$OTOOL64"; then
 
14469
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
14470
$as_echo "$OTOOL64" >&6; }
 
14471
else
 
14472
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14473
$as_echo "no" >&6; }
 
14474
fi
 
14475
 
 
14476
 
 
14477
fi
 
14478
if test -z "$ac_cv_prog_OTOOL64"; then
 
14479
  ac_ct_OTOOL64=$OTOOL64
 
14480
  # Extract the first word of "otool64", so it can be a program name with args.
 
14481
set dummy otool64; ac_word=$2
 
14482
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14483
$as_echo_n "checking for $ac_word... " >&6; }
 
14484
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
14485
  $as_echo_n "(cached) " >&6
 
14486
else
 
14487
  if test -n "$ac_ct_OTOOL64"; then
 
14488
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
14489
else
 
14490
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14491
for as_dir in $PATH
 
14492
do
 
14493
  IFS=$as_save_IFS
 
14494
  test -z "$as_dir" && as_dir=.
 
14495
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14496
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14497
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
14498
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14499
    break 2
 
14500
  fi
 
14501
done
 
14502
done
 
14503
IFS=$as_save_IFS
 
14504
 
 
14505
fi
 
14506
fi
 
14507
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
14508
if test -n "$ac_ct_OTOOL64"; then
 
14509
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
14510
$as_echo "$ac_ct_OTOOL64" >&6; }
 
14511
else
 
14512
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14513
$as_echo "no" >&6; }
 
14514
fi
 
14515
 
 
14516
  if test "x$ac_ct_OTOOL64" = x; then
 
14517
    OTOOL64=":"
 
14518
  else
 
14519
    case $cross_compiling:$ac_tool_warned in
 
14520
yes:)
 
14521
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
14522
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
14523
ac_tool_warned=yes ;;
 
14524
esac
 
14525
    OTOOL64=$ac_ct_OTOOL64
 
14526
  fi
 
14527
else
 
14528
  OTOOL64="$ac_cv_prog_OTOOL64"
 
14529
fi
 
14530
 
 
14531
 
 
14532
 
 
14533
 
 
14534
 
 
14535
 
 
14536
 
 
14537
 
 
14538
 
 
14539
 
 
14540
 
 
14541
 
 
14542
 
 
14543
 
 
14544
 
 
14545
 
 
14546
 
 
14547
 
 
14548
 
 
14549
 
 
14550
 
 
14551
 
 
14552
 
 
14553
 
 
14554
 
 
14555
 
14467
14556
 
14468
14557
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
14469
14558
$as_echo_n "checking for -single_module linker flag... " >&6; }
14472
14561
else
14473
14562
  lt_cv_apple_cc_single_mod=no
14474
14563
      if test -z "${LT_MULTI_MODULE}"; then
14475
 
   # By default we will add the -single_module flag. You can override
14476
 
   # by either setting the environment variable LT_MULTI_MODULE
14477
 
   # non-empty at configure time, or by adding -multi_module to the
14478
 
   # link flags.
14479
 
   echo "int foo(void){return 1;}" > conftest.c
14480
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
14481
 
     -dynamiclib ${wl}-single_module conftest.c
14482
 
   if test -f libconftest.dylib; then
14483
 
     lt_cv_apple_cc_single_mod=yes
14484
 
     rm -rf libconftest.dylib*
14485
 
   fi
14486
 
   rm conftest.c
 
14564
        # By default we will add the -single_module flag. You can override
 
14565
        # by either setting the environment variable LT_MULTI_MODULE
 
14566
        # non-empty at configure time, or by adding -multi_module to the
 
14567
        # link flags.
 
14568
        rm -rf libconftest.dylib*
 
14569
        echo "int foo(void){return 1;}" > conftest.c
 
14570
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
14571
-dynamiclib -Wl,-single_module conftest.c" >&5
 
14572
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
14573
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
14574
        _lt_result=$?
 
14575
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
14576
          lt_cv_apple_cc_single_mod=yes
 
14577
        else
 
14578
          cat conftest.err >&5
 
14579
        fi
 
14580
        rm -rf libconftest.dylib*
 
14581
        rm -f conftest.*
14487
14582
      fi
14488
14583
fi
14489
14584
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
14544
14639
rm -rf conftest.dSYM
14545
14640
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14546
14641
      conftest$ac_exeext conftest.$ac_ext
14547
 
   LDFLAGS="$save_LDFLAGS"
 
14642
        LDFLAGS="$save_LDFLAGS"
14548
14643
 
14549
14644
fi
14550
14645
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
14551
14646
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
14552
14647
    case $host_os in
14553
 
    rhapsody* | darwin1.[0123])
 
14648
    rhapsody* | darwin1.[012])
14554
14649
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
14555
14650
    darwin1.*)
14556
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
14557
 
    darwin*)
 
14651
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
14652
    darwin*) # darwin 5.x on
14558
14653
      # if running on 10.5 or later, the deployment target defaults
14559
14654
      # to the OS version, if on x86, and 10.4, the deployment
14560
14655
      # target defaults to 10.4. Don't you love it?
14561
14656
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
14562
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
14563
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
14564
 
   10.[012]*)
14565
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
14566
 
   10.*)
14567
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
14657
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
14658
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
14659
        10.[012]*)
 
14660
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
14661
        10.*)
 
14662
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
14568
14663
      esac
14569
14664
    ;;
14570
14665
  esac
14574
14669
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
14575
14670
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
14576
14671
    else
14577
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
14672
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
14578
14673
    fi
14579
14674
    if test "$DSYMUTIL" != ":"; then
14580
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
14675
      _lt_dsymutil='~$DSYMUTIL $lib || :'
14581
14676
    else
14582
14677
      _lt_dsymutil=
14583
14678
    fi
14585
14680
  esac
14586
14681
 
14587
14682
 
14588
 
enable_dlopen=no
14589
 
enable_win32_dll=no
14590
 
 
14591
 
# Check whether --enable-libtool-lock was given.
14592
 
if test "${enable_libtool_lock+set}" = set; then
14593
 
  enableval=$enable_libtool_lock;
14594
 
fi
14595
 
 
14596
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
14683
for ac_header in dlfcn.h
 
14684
do
 
14685
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
14686
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
14687
$as_echo_n "checking for $ac_header... " >&6; }
 
14688
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14689
  $as_echo_n "(cached) " >&6
 
14690
else
 
14691
  cat >conftest.$ac_ext <<_ACEOF
 
14692
/* confdefs.h.  */
 
14693
_ACEOF
 
14694
cat confdefs.h >>conftest.$ac_ext
 
14695
cat >>conftest.$ac_ext <<_ACEOF
 
14696
/* end confdefs.h.  */
 
14697
$ac_includes_default
 
14698
 
 
14699
#include <$ac_header>
 
14700
_ACEOF
 
14701
rm -f conftest.$ac_objext
 
14702
if { (ac_try="$ac_compile"
 
14703
case "(($ac_try" in
 
14704
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14705
  *) ac_try_echo=$ac_try;;
 
14706
esac
 
14707
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14708
$as_echo "$ac_try_echo") >&5
 
14709
  (eval "$ac_compile") 2>conftest.er1
 
14710
  ac_status=$?
 
14711
  grep -v '^ *+' conftest.er1 >conftest.err
 
14712
  rm -f conftest.er1
 
14713
  cat conftest.err >&5
 
14714
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14715
  (exit $ac_status); } && {
 
14716
         test -z "$ac_c_werror_flag" ||
 
14717
         test ! -s conftest.err
 
14718
       } && test -s conftest.$ac_objext; then
 
14719
  eval "$as_ac_Header=yes"
 
14720
else
 
14721
  $as_echo "$as_me: failed program was:" >&5
 
14722
sed 's/^/| /' conftest.$ac_ext >&5
 
14723
 
 
14724
        eval "$as_ac_Header=no"
 
14725
fi
 
14726
 
 
14727
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14728
fi
 
14729
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
14730
                 $as_echo "$as_val"'`
 
14731
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
14732
$as_echo "$ac_res" >&6; }
 
14733
as_val=`eval 'as_val=${'$as_ac_Header'}
 
14734
                 $as_echo "$as_val"'`
 
14735
   if test "x$as_val" = x""yes; then
 
14736
  cat >>confdefs.h <<_ACEOF
 
14737
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
14738
_ACEOF
 
14739
 
 
14740
fi
 
14741
 
 
14742
done
 
14743
 
 
14744
 
 
14745
 
 
14746
# Set options
 
14747
 
 
14748
 
 
14749
 
 
14750
        enable_dlopen=no
 
14751
 
 
14752
 
 
14753
  enable_win32_dll=no
 
14754
 
 
14755
 
 
14756
            # Check whether --enable-shared was given.
 
14757
if test "${enable_shared+set}" = set; then
 
14758
  enableval=$enable_shared; p=${PACKAGE-default}
 
14759
    case $enableval in
 
14760
    yes) enable_shared=yes ;;
 
14761
    no) enable_shared=no ;;
 
14762
    *)
 
14763
      enable_shared=no
 
14764
      # Look at the argument we got.  We use all the common list separators.
 
14765
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
14766
      for pkg in $enableval; do
 
14767
        IFS="$lt_save_ifs"
 
14768
        if test "X$pkg" = "X$p"; then
 
14769
          enable_shared=yes
 
14770
        fi
 
14771
      done
 
14772
      IFS="$lt_save_ifs"
 
14773
      ;;
 
14774
    esac
 
14775
else
 
14776
  enable_shared=yes
 
14777
fi
 
14778
 
 
14779
 
 
14780
 
 
14781
 
 
14782
 
 
14783
 
 
14784
 
 
14785
 
 
14786
 
 
14787
  # Check whether --enable-static was given.
 
14788
if test "${enable_static+set}" = set; then
 
14789
  enableval=$enable_static; p=${PACKAGE-default}
 
14790
    case $enableval in
 
14791
    yes) enable_static=yes ;;
 
14792
    no) enable_static=no ;;
 
14793
    *)
 
14794
     enable_static=no
 
14795
      # Look at the argument we got.  We use all the common list separators.
 
14796
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
14797
      for pkg in $enableval; do
 
14798
        IFS="$lt_save_ifs"
 
14799
        if test "X$pkg" = "X$p"; then
 
14800
          enable_static=yes
 
14801
        fi
 
14802
      done
 
14803
      IFS="$lt_save_ifs"
 
14804
      ;;
 
14805
    esac
 
14806
else
 
14807
  enable_static=yes
 
14808
fi
 
14809
 
 
14810
 
 
14811
 
 
14812
 
 
14813
 
 
14814
 
 
14815
 
 
14816
 
14597
14817
 
14598
14818
 
14599
14819
# Check whether --with-pic was given.
14603
14823
  pic_mode=default
14604
14824
fi
14605
14825
 
 
14826
 
14606
14827
test -z "$pic_mode" && pic_mode=default
14607
14828
 
 
14829
 
 
14830
 
 
14831
 
 
14832
 
 
14833
 
 
14834
 
 
14835
  # Check whether --enable-fast-install was given.
 
14836
if test "${enable_fast_install+set}" = set; then
 
14837
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
14838
    case $enableval in
 
14839
    yes) enable_fast_install=yes ;;
 
14840
    no) enable_fast_install=no ;;
 
14841
    *)
 
14842
      enable_fast_install=no
 
14843
      # Look at the argument we got.  We use all the common list separators.
 
14844
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
14845
      for pkg in $enableval; do
 
14846
        IFS="$lt_save_ifs"
 
14847
        if test "X$pkg" = "X$p"; then
 
14848
          enable_fast_install=yes
 
14849
        fi
 
14850
      done
 
14851
      IFS="$lt_save_ifs"
 
14852
      ;;
 
14853
    esac
 
14854
else
 
14855
  enable_fast_install=yes
 
14856
fi
 
14857
 
 
14858
 
 
14859
 
 
14860
 
 
14861
 
 
14862
 
 
14863
 
 
14864
 
 
14865
 
 
14866
 
 
14867
 
 
14868
# This can be used to rebuild libtool when needed
 
14869
LIBTOOL_DEPS="$ltmain"
 
14870
 
 
14871
# Always use our own libtool.
 
14872
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
14873
 
 
14874
 
 
14875
 
 
14876
 
 
14877
 
 
14878
 
 
14879
 
 
14880
 
 
14881
 
 
14882
 
 
14883
 
 
14884
 
 
14885
 
 
14886
 
 
14887
 
 
14888
 
 
14889
 
 
14890
 
 
14891
 
 
14892
 
 
14893
 
 
14894
 
 
14895
 
 
14896
 
 
14897
 
 
14898
test -z "$LN_S" && LN_S="ln -s"
 
14899
 
 
14900
 
 
14901
 
 
14902
 
 
14903
 
 
14904
 
 
14905
 
 
14906
 
 
14907
 
 
14908
 
 
14909
 
 
14910
 
 
14911
 
 
14912
 
 
14913
if test -n "${ZSH_VERSION+set}" ; then
 
14914
   setopt NO_GLOB_SUBST
 
14915
fi
 
14916
 
 
14917
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
14918
$as_echo_n "checking for objdir... " >&6; }
 
14919
if test "${lt_cv_objdir+set}" = set; then
 
14920
  $as_echo_n "(cached) " >&6
 
14921
else
 
14922
  rm -f .libs 2>/dev/null
 
14923
mkdir .libs 2>/dev/null
 
14924
if test -d .libs; then
 
14925
  lt_cv_objdir=.libs
 
14926
else
 
14927
  # MS-DOS does not allow filenames that begin with a dot.
 
14928
  lt_cv_objdir=_libs
 
14929
fi
 
14930
rmdir .libs 2>/dev/null
 
14931
fi
 
14932
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
14933
$as_echo "$lt_cv_objdir" >&6; }
 
14934
objdir=$lt_cv_objdir
 
14935
 
 
14936
 
 
14937
 
 
14938
 
 
14939
 
 
14940
cat >>confdefs.h <<_ACEOF
 
14941
#define LT_OBJDIR "$lt_cv_objdir/"
 
14942
_ACEOF
 
14943
 
 
14944
 
 
14945
 
 
14946
 
 
14947
 
 
14948
 
 
14949
 
 
14950
 
 
14951
 
 
14952
 
 
14953
 
 
14954
 
 
14955
 
 
14956
 
 
14957
 
 
14958
 
 
14959
 
 
14960
case $host_os in
 
14961
aix3*)
 
14962
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
14963
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
14964
  # vanish in a puff of smoke.
 
14965
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
14966
    COLLECT_NAMES=
 
14967
    export COLLECT_NAMES
 
14968
  fi
 
14969
  ;;
 
14970
esac
 
14971
 
 
14972
# Sed substitution that helps us do robust quoting.  It backslashifies
 
14973
# metacharacters that are still active within double-quoted strings.
 
14974
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
14975
 
 
14976
# Same as above, but do not quote variable references.
 
14977
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
14978
 
 
14979
# Sed substitution to delay expansion of an escaped shell variable in a
 
14980
# double_quote_subst'ed string.
 
14981
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
14982
 
 
14983
# Sed substitution to delay expansion of an escaped single quote.
 
14984
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
14985
 
 
14986
# Sed substitution to avoid accidental globbing in evaled expressions
 
14987
no_glob_subst='s/\*/\\\*/g'
 
14988
 
 
14989
# Global variables:
 
14990
ofile=libtool
 
14991
can_build_shared=yes
 
14992
 
 
14993
# All known linkers require a `.a' archive for static linking (except MSVC,
 
14994
# which needs '.lib').
 
14995
libext=a
 
14996
 
 
14997
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
14998
 
 
14999
old_CC="$CC"
 
15000
old_CFLAGS="$CFLAGS"
 
15001
 
 
15002
# Set sane defaults for various variables
 
15003
test -z "$CC" && CC=cc
 
15004
test -z "$LTCC" && LTCC=$CC
 
15005
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
15006
test -z "$LD" && LD=ld
 
15007
test -z "$ac_objext" && ac_objext=o
 
15008
 
 
15009
for cc_temp in $compiler""; do
 
15010
  case $cc_temp in
 
15011
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
15012
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
15013
    \-*) ;;
 
15014
    *) break;;
 
15015
  esac
 
15016
done
 
15017
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
15018
 
 
15019
 
 
15020
# Only perform the check for file, if the check method requires it
 
15021
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
15022
case $deplibs_check_method in
 
15023
file_magic*)
 
15024
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
15025
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
15026
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
15027
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
15028
  $as_echo_n "(cached) " >&6
 
15029
else
 
15030
  case $MAGIC_CMD in
 
15031
[\\/*] |  ?:[\\/]*)
 
15032
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
15033
  ;;
 
15034
*)
 
15035
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
15036
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
15037
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
15038
  for ac_dir in $ac_dummy; do
 
15039
    IFS="$lt_save_ifs"
 
15040
    test -z "$ac_dir" && ac_dir=.
 
15041
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
15042
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
15043
      if test -n "$file_magic_test_file"; then
 
15044
        case $deplibs_check_method in
 
15045
        "file_magic "*)
 
15046
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
15047
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
15048
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
15049
            $EGREP "$file_magic_regex" > /dev/null; then
 
15050
            :
 
15051
          else
 
15052
            cat <<_LT_EOF 1>&2
 
15053
 
 
15054
*** Warning: the command libtool uses to detect shared libraries,
 
15055
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
15056
*** The result is that libtool may fail to recognize shared libraries
 
15057
*** as such.  This will affect the creation of libtool libraries that
 
15058
*** depend on shared libraries, but programs linked with such libtool
 
15059
*** libraries will work regardless of this problem.  Nevertheless, you
 
15060
*** may want to report the problem to your system manager and/or to
 
15061
*** bug-libtool@gnu.org
 
15062
 
 
15063
_LT_EOF
 
15064
          fi ;;
 
15065
        esac
 
15066
      fi
 
15067
      break
 
15068
    fi
 
15069
  done
 
15070
  IFS="$lt_save_ifs"
 
15071
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
15072
  ;;
 
15073
esac
 
15074
fi
 
15075
 
 
15076
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
15077
if test -n "$MAGIC_CMD"; then
 
15078
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
15079
$as_echo "$MAGIC_CMD" >&6; }
 
15080
else
 
15081
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15082
$as_echo "no" >&6; }
 
15083
fi
 
15084
 
 
15085
 
 
15086
 
 
15087
 
 
15088
 
 
15089
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
15090
  if test -n "$ac_tool_prefix"; then
 
15091
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
15092
$as_echo_n "checking for file... " >&6; }
 
15093
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
15094
  $as_echo_n "(cached) " >&6
 
15095
else
 
15096
  case $MAGIC_CMD in
 
15097
[\\/*] |  ?:[\\/]*)
 
15098
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
15099
  ;;
 
15100
*)
 
15101
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
15102
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
15103
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
15104
  for ac_dir in $ac_dummy; do
 
15105
    IFS="$lt_save_ifs"
 
15106
    test -z "$ac_dir" && ac_dir=.
 
15107
    if test -f $ac_dir/file; then
 
15108
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
15109
      if test -n "$file_magic_test_file"; then
 
15110
        case $deplibs_check_method in
 
15111
        "file_magic "*)
 
15112
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
15113
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
15114
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
15115
            $EGREP "$file_magic_regex" > /dev/null; then
 
15116
            :
 
15117
          else
 
15118
            cat <<_LT_EOF 1>&2
 
15119
 
 
15120
*** Warning: the command libtool uses to detect shared libraries,
 
15121
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
15122
*** The result is that libtool may fail to recognize shared libraries
 
15123
*** as such.  This will affect the creation of libtool libraries that
 
15124
*** depend on shared libraries, but programs linked with such libtool
 
15125
*** libraries will work regardless of this problem.  Nevertheless, you
 
15126
*** may want to report the problem to your system manager and/or to
 
15127
*** bug-libtool@gnu.org
 
15128
 
 
15129
_LT_EOF
 
15130
          fi ;;
 
15131
        esac
 
15132
      fi
 
15133
      break
 
15134
    fi
 
15135
  done
 
15136
  IFS="$lt_save_ifs"
 
15137
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
15138
  ;;
 
15139
esac
 
15140
fi
 
15141
 
 
15142
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
15143
if test -n "$MAGIC_CMD"; then
 
15144
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
15145
$as_echo "$MAGIC_CMD" >&6; }
 
15146
else
 
15147
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15148
$as_echo "no" >&6; }
 
15149
fi
 
15150
 
 
15151
 
 
15152
  else
 
15153
    MAGIC_CMD=:
 
15154
  fi
 
15155
fi
 
15156
 
 
15157
  fi
 
15158
  ;;
 
15159
esac
 
15160
 
14608
15161
# Use C for the default configuration in the libtool script
14609
 
tagname=
 
15162
 
14610
15163
lt_save_CC="$CC"
14611
15164
ac_ext=c
14612
15165
ac_cpp='$CPP $CPPFLAGS'
14629
15182
lt_simple_link_test_code='int main(){return(0);}'
14630
15183
 
14631
15184
 
 
15185
 
 
15186
 
 
15187
 
 
15188
 
 
15189
 
14632
15190
# If no C compiler was specified, use CC.
14633
15191
LTCC=${LTCC-"$CC"}
14634
15192
 
14638
15196
# Allow CC to be a program name with arguments.
14639
15197
compiler=$CC
14640
15198
 
 
15199
# Save the default compiler, since it gets overwritten when the other
 
15200
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
15201
compiler_DEFAULT=$CC
14641
15202
 
14642
15203
# save warnings/boilerplate of simple test code
14643
15204
ac_outfile=conftest.$ac_objext
14644
15205
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14645
15206
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14646
15207
_lt_compiler_boilerplate=`cat conftest.err`
14647
 
$rm conftest*
 
15208
$RM conftest*
14648
15209
 
14649
15210
ac_outfile=conftest.$ac_objext
14650
15211
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14651
15212
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14652
15213
_lt_linker_boilerplate=`cat conftest.err`
14653
 
$rm -r conftest*
14654
 
 
14655
 
 
 
15214
$RM -r conftest*
 
15215
 
 
15216
 
 
15217
## CAVEAT EMPTOR:
 
15218
## There is no encapsulation within the following macros, do not change
 
15219
## the running order or otherwise move them around unless you know exactly
 
15220
## what you are doing...
 
15221
if test -n "$compiler"; then
14656
15222
 
14657
15223
lt_prog_compiler_no_builtin_flag=
14658
15224
 
14659
15225
if test "$GCC" = yes; then
14660
15226
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14661
15227
 
14662
 
 
14663
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
15228
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14664
15229
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
14665
15230
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14666
15231
  $as_echo_n "(cached) " >&6
14667
15232
else
14668
15233
  lt_cv_prog_compiler_rtti_exceptions=no
14669
 
  ac_outfile=conftest.$ac_objext
 
15234
   ac_outfile=conftest.$ac_objext
14670
15235
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14671
15236
   lt_compiler_flag="-fno-rtti -fno-exceptions"
14672
15237
   # Insert the option either (1) after the last *FLAGS variable, or
14678
15243
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14679
15244
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14680
15245
   -e 's:$: $lt_compiler_flag:'`
14681
 
   (eval echo "\"\$as_me:14681: $lt_compile\"" >&5)
 
15246
   (eval echo "\"\$as_me:15246: $lt_compile\"" >&5)
14682
15247
   (eval "$lt_compile" 2>conftest.err)
14683
15248
   ac_status=$?
14684
15249
   cat conftest.err >&5
14685
 
   echo "$as_me:14685: \$? = $ac_status" >&5
 
15250
   echo "$as_me:15250: \$? = $ac_status" >&5
14686
15251
   if (exit $ac_status) && test -s "$ac_outfile"; then
14687
15252
     # The compiler can only warn and ignore the option if not recognized
14688
15253
     # So say no if there are warnings other than the usual output.
14689
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
15254
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14690
15255
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14691
15256
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14692
15257
       lt_cv_prog_compiler_rtti_exceptions=yes
14693
15258
     fi
14694
15259
   fi
14695
 
   $rm conftest*
 
15260
   $RM conftest*
14696
15261
 
14697
15262
fi
14698
15263
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
14706
15271
 
14707
15272
fi
14708
15273
 
14709
 
lt_prog_compiler_wl=
 
15274
 
 
15275
 
 
15276
 
 
15277
 
 
15278
 
 
15279
  lt_prog_compiler_wl=
14710
15280
lt_prog_compiler_pic=
14711
15281
lt_prog_compiler_static=
14712
15282
 
14727
15297
      ;;
14728
15298
 
14729
15299
    amigaos*)
14730
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14731
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14732
 
      # like `-m68040'.
14733
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
15300
      case $host_cpu in
 
15301
      powerpc)
 
15302
            # see comment about AmigaOS4 .so support
 
15303
            lt_prog_compiler_pic='-fPIC'
 
15304
        ;;
 
15305
      m68k)
 
15306
            # FIXME: we need at least 68020 code to build shared libraries, but
 
15307
            # adding the `-m68020' flag to GCC prevents building anything better,
 
15308
            # like `-m68040'.
 
15309
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
15310
        ;;
 
15311
      esac
14734
15312
      ;;
14735
15313
 
14736
15314
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14737
15315
      # PIC is the default for these OSes.
14738
15316
      ;;
14739
15317
 
14740
 
    mingw* | cygwin* | pw32* | os2*)
 
15318
    mingw* | cygwin* | pw32* | os2* | cegcc*)
14741
15319
      # This hack is so that the source file can tell whether it is being
14742
15320
      # built for inclusion in a dll (and should export symbols for example).
14743
15321
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14751
15329
      lt_prog_compiler_pic='-fno-common'
14752
15330
      ;;
14753
15331
 
 
15332
    hpux*)
 
15333
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
15334
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
15335
      # sets the default TLS model and affects inlining.
 
15336
      case $host_cpu in
 
15337
      hppa*64*)
 
15338
        # +Z the default
 
15339
        ;;
 
15340
      *)
 
15341
        lt_prog_compiler_pic='-fPIC'
 
15342
        ;;
 
15343
      esac
 
15344
      ;;
 
15345
 
14754
15346
    interix[3-9]*)
14755
15347
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14756
15348
      # Instead, we relocate shared libraries at runtime.
14763
15355
      enable_shared=no
14764
15356
      ;;
14765
15357
 
 
15358
    *nto* | *qnx*)
 
15359
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
15360
      # it will coredump.
 
15361
      lt_prog_compiler_pic='-fPIC -shared'
 
15362
      ;;
 
15363
 
14766
15364
    sysv4*MP*)
14767
15365
      if test -d /usr/nec; then
14768
15366
        lt_prog_compiler_pic=-Kconform_pic
14769
15367
      fi
14770
15368
      ;;
14771
15369
 
14772
 
    hpux*)
14773
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14774
 
      # not for PA HP-UX.
14775
 
      case $host_cpu in
14776
 
      hppa*64*|ia64*)
14777
 
        # +Z the default
14778
 
        ;;
14779
 
      *)
14780
 
        lt_prog_compiler_pic='-fPIC'
14781
 
        ;;
14782
 
      esac
14783
 
      ;;
14784
 
 
14785
15370
    *)
14786
15371
      lt_prog_compiler_pic='-fPIC'
14787
15372
      ;;
14798
15383
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14799
15384
      fi
14800
15385
      ;;
14801
 
      darwin*)
14802
 
        # PIC is the default on this platform
14803
 
        # Common symbols not allowed in MH_DYLIB files
14804
 
       case $cc_basename in
14805
 
         xlc*)
14806
 
         lt_prog_compiler_pic='-qnocommon'
14807
 
         lt_prog_compiler_wl='-Wl,'
14808
 
         ;;
14809
 
       esac
14810
 
       ;;
14811
15386
 
14812
 
    mingw* | cygwin* | pw32* | os2*)
 
15387
    mingw* | cygwin* | pw32* | os2* | cegcc*)
14813
15388
      # This hack is so that the source file can tell whether it is being
14814
15389
      # built for inclusion in a dll (and should export symbols for example).
14815
15390
      lt_prog_compiler_pic='-DDLL_EXPORT'
14837
15412
      lt_prog_compiler_static='-non_shared'
14838
15413
      ;;
14839
15414
 
14840
 
    newsos6)
14841
 
      lt_prog_compiler_pic='-KPIC'
14842
 
      lt_prog_compiler_static='-Bstatic'
14843
 
      ;;
14844
 
 
14845
15415
    linux* | k*bsd*-gnu)
14846
15416
      case $cc_basename in
14847
 
      icc* | ecc*)
 
15417
      # old Intel for x86_64 which still supported -KPIC.
 
15418
      ecc*)
14848
15419
        lt_prog_compiler_wl='-Wl,'
14849
15420
        lt_prog_compiler_pic='-KPIC'
14850
15421
        lt_prog_compiler_static='-static'
14851
15422
        ;;
 
15423
      # icc used to be incompatible with GCC.
 
15424
      # ICC 10 doesn't accept -KPIC any more.
 
15425
      icc* | ifort*)
 
15426
        lt_prog_compiler_wl='-Wl,'
 
15427
        lt_prog_compiler_pic='-fPIC'
 
15428
        lt_prog_compiler_static='-static'
 
15429
        ;;
 
15430
      # Lahey Fortran 8.1.
 
15431
      lf95*)
 
15432
        lt_prog_compiler_wl='-Wl,'
 
15433
        lt_prog_compiler_pic='--shared'
 
15434
        lt_prog_compiler_static='--static'
 
15435
        ;;
14852
15436
      pgcc* | pgf77* | pgf90* | pgf95*)
14853
15437
        # Portland Group compilers (*not* the Pentium gcc compiler,
14854
15438
        # which looks to be a dead project)
14861
15445
        # All Alpha code is PIC.
14862
15446
        lt_prog_compiler_static='-non_shared'
14863
15447
        ;;
 
15448
      xl*)
 
15449
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
15450
        lt_prog_compiler_wl='-Wl,'
 
15451
        lt_prog_compiler_pic='-qpic'
 
15452
        lt_prog_compiler_static='-qstaticlink'
 
15453
        ;;
14864
15454
      *)
14865
 
        case `$CC -V 2>&1 | sed 5q` in
 
15455
        case `$CC -V 2>&1 | sed 5q` in
14866
15456
        *Sun\ C*)
14867
15457
          # Sun C 5.9
14868
15458
          lt_prog_compiler_pic='-KPIC'
14880
15470
      esac
14881
15471
      ;;
14882
15472
 
 
15473
    newsos6)
 
15474
      lt_prog_compiler_pic='-KPIC'
 
15475
      lt_prog_compiler_static='-Bstatic'
 
15476
      ;;
 
15477
 
 
15478
    *nto* | *qnx*)
 
15479
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
15480
      # it will coredump.
 
15481
      lt_prog_compiler_pic='-fPIC -shared'
 
15482
      ;;
 
15483
 
14883
15484
    osf3* | osf4* | osf5*)
14884
15485
      lt_prog_compiler_wl='-Wl,'
14885
15486
      # All OSF/1 code is PIC.
14942
15543
    esac
14943
15544
  fi
14944
15545
 
 
15546
case $host_os in
 
15547
  # For platforms which do not support PIC, -DPIC is meaningless:
 
15548
  *djgpp*)
 
15549
    lt_prog_compiler_pic=
 
15550
    ;;
 
15551
  *)
 
15552
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
15553
    ;;
 
15554
esac
14945
15555
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
14946
15556
$as_echo "$lt_prog_compiler_pic" >&6; }
14947
15557
 
 
15558
 
 
15559
 
 
15560
 
 
15561
 
 
15562
 
14948
15563
#
14949
15564
# Check to make sure the PIC flag actually works.
14950
15565
#
14951
15566
if test -n "$lt_prog_compiler_pic"; then
14952
 
 
14953
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
15567
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
14954
15568
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
14955
15569
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
14956
15570
  $as_echo_n "(cached) " >&6
14957
15571
else
14958
15572
  lt_cv_prog_compiler_pic_works=no
14959
 
  ac_outfile=conftest.$ac_objext
 
15573
   ac_outfile=conftest.$ac_objext
14960
15574
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14961
15575
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14962
15576
   # Insert the option either (1) after the last *FLAGS variable, or
14968
15582
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14969
15583
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14970
15584
   -e 's:$: $lt_compiler_flag:'`
14971
 
   (eval echo "\"\$as_me:14971: $lt_compile\"" >&5)
 
15585
   (eval echo "\"\$as_me:15585: $lt_compile\"" >&5)
14972
15586
   (eval "$lt_compile" 2>conftest.err)
14973
15587
   ac_status=$?
14974
15588
   cat conftest.err >&5
14975
 
   echo "$as_me:14975: \$? = $ac_status" >&5
 
15589
   echo "$as_me:15589: \$? = $ac_status" >&5
14976
15590
   if (exit $ac_status) && test -s "$ac_outfile"; then
14977
15591
     # The compiler can only warn and ignore the option if not recognized
14978
15592
     # So say no if there are warnings other than the usual output.
14979
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
15593
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14980
15594
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14981
15595
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14982
15596
       lt_cv_prog_compiler_pic_works=yes
14983
15597
     fi
14984
15598
   fi
14985
 
   $rm conftest*
 
15599
   $RM conftest*
14986
15600
 
14987
15601
fi
14988
15602
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
14999
15613
fi
15000
15614
 
15001
15615
fi
15002
 
case $host_os in
15003
 
  # For platforms which do not support PIC, -DPIC is meaningless:
15004
 
  *djgpp*)
15005
 
    lt_prog_compiler_pic=
15006
 
    ;;
15007
 
  *)
15008
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15009
 
    ;;
15010
 
esac
 
15616
 
 
15617
 
 
15618
 
 
15619
 
 
15620
 
15011
15621
 
15012
15622
#
15013
15623
# Check to make sure the static flag actually works.
15028
15638
     if test -s conftest.err; then
15029
15639
       # Append any errors to the config.log.
15030
15640
       cat conftest.err 1>&5
15031
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
15641
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15032
15642
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15033
15643
       if diff conftest.exp conftest.er2 >/dev/null; then
15034
15644
         lt_cv_prog_compiler_static_works=yes
15037
15647
       lt_cv_prog_compiler_static_works=yes
15038
15648
     fi
15039
15649
   fi
15040
 
   $rm -r conftest*
 
15650
   $RM -r conftest*
15041
15651
   LDFLAGS="$save_LDFLAGS"
15042
15652
 
15043
15653
fi
15051
15661
fi
15052
15662
 
15053
15663
 
15054
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15055
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15056
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
15057
 
  $as_echo_n "(cached) " >&6
15058
 
else
15059
 
  lt_cv_prog_compiler_c_o=no
15060
 
   $rm -r conftest 2>/dev/null
15061
 
   mkdir conftest
15062
 
   cd conftest
15063
 
   mkdir out
15064
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15065
 
 
15066
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15067
 
   # Insert the option either (1) after the last *FLAGS variable, or
15068
 
   # (2) before a word containing "conftest.", or (3) at the end.
15069
 
   # Note that $ac_compile itself does not contain backslashes and begins
15070
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15071
 
   lt_compile=`echo "$ac_compile" | $SED \
15072
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15073
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15074
 
   -e 's:$: $lt_compiler_flag:'`
15075
 
   (eval echo "\"\$as_me:15075: $lt_compile\"" >&5)
15076
 
   (eval "$lt_compile" 2>out/conftest.err)
15077
 
   ac_status=$?
15078
 
   cat out/conftest.err >&5
15079
 
   echo "$as_me:15079: \$? = $ac_status" >&5
15080
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15081
 
   then
15082
 
     # The compiler can only warn and ignore the option if not recognized
15083
 
     # So say no if there are warnings
15084
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15085
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15086
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15087
 
       lt_cv_prog_compiler_c_o=yes
15088
 
     fi
15089
 
   fi
15090
 
   chmod u+w . 2>&5
15091
 
   $rm conftest*
15092
 
   # SGI C++ compiler will create directory out/ii_files/ for
15093
 
   # template instantiation
15094
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15095
 
   $rm out/* && rmdir out
15096
 
   cd ..
15097
 
   rmdir conftest
15098
 
   $rm conftest*
15099
 
 
15100
 
fi
15101
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
15102
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
15664
 
 
15665
 
 
15666
 
 
15667
 
 
15668
 
 
15669
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
15670
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
15671
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
15672
  $as_echo_n "(cached) " >&6
 
15673
else
 
15674
  lt_cv_prog_compiler_c_o=no
 
15675
   $RM -r conftest 2>/dev/null
 
15676
   mkdir conftest
 
15677
   cd conftest
 
15678
   mkdir out
 
15679
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15680
 
 
15681
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
15682
   # Insert the option either (1) after the last *FLAGS variable, or
 
15683
   # (2) before a word containing "conftest.", or (3) at the end.
 
15684
   # Note that $ac_compile itself does not contain backslashes and begins
 
15685
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
15686
   lt_compile=`echo "$ac_compile" | $SED \
 
15687
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
15688
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
15689
   -e 's:$: $lt_compiler_flag:'`
 
15690
   (eval echo "\"\$as_me:15690: $lt_compile\"" >&5)
 
15691
   (eval "$lt_compile" 2>out/conftest.err)
 
15692
   ac_status=$?
 
15693
   cat out/conftest.err >&5
 
15694
   echo "$as_me:15694: \$? = $ac_status" >&5
 
15695
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
15696
   then
 
15697
     # The compiler can only warn and ignore the option if not recognized
 
15698
     # So say no if there are warnings
 
15699
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
15700
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
15701
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
15702
       lt_cv_prog_compiler_c_o=yes
 
15703
     fi
 
15704
   fi
 
15705
   chmod u+w . 2>&5
 
15706
   $RM conftest*
 
15707
   # SGI C++ compiler will create directory out/ii_files/ for
 
15708
   # template instantiation
 
15709
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
15710
   $RM out/* && rmdir out
 
15711
   cd ..
 
15712
   $RM -r conftest
 
15713
   $RM conftest*
 
15714
 
 
15715
fi
 
15716
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
15717
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
15718
 
 
15719
 
 
15720
 
 
15721
 
 
15722
 
 
15723
 
 
15724
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
15725
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
15726
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
15727
  $as_echo_n "(cached) " >&6
 
15728
else
 
15729
  lt_cv_prog_compiler_c_o=no
 
15730
   $RM -r conftest 2>/dev/null
 
15731
   mkdir conftest
 
15732
   cd conftest
 
15733
   mkdir out
 
15734
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15735
 
 
15736
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
15737
   # Insert the option either (1) after the last *FLAGS variable, or
 
15738
   # (2) before a word containing "conftest.", or (3) at the end.
 
15739
   # Note that $ac_compile itself does not contain backslashes and begins
 
15740
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
15741
   lt_compile=`echo "$ac_compile" | $SED \
 
15742
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
15743
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
15744
   -e 's:$: $lt_compiler_flag:'`
 
15745
   (eval echo "\"\$as_me:15745: $lt_compile\"" >&5)
 
15746
   (eval "$lt_compile" 2>out/conftest.err)
 
15747
   ac_status=$?
 
15748
   cat out/conftest.err >&5
 
15749
   echo "$as_me:15749: \$? = $ac_status" >&5
 
15750
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
15751
   then
 
15752
     # The compiler can only warn and ignore the option if not recognized
 
15753
     # So say no if there are warnings
 
15754
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
15755
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
15756
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
15757
       lt_cv_prog_compiler_c_o=yes
 
15758
     fi
 
15759
   fi
 
15760
   chmod u+w . 2>&5
 
15761
   $RM conftest*
 
15762
   # SGI C++ compiler will create directory out/ii_files/ for
 
15763
   # template instantiation
 
15764
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
15765
   $RM out/* && rmdir out
 
15766
   cd ..
 
15767
   $RM -r conftest
 
15768
   $RM conftest*
 
15769
 
 
15770
fi
 
15771
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
15772
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
15773
 
 
15774
 
15103
15775
 
15104
15776
 
15105
15777
hard_links="nottested"
15108
15780
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15109
15781
$as_echo_n "checking if we can lock with hard links... " >&6; }
15110
15782
  hard_links=yes
15111
 
  $rm conftest*
 
15783
  $RM conftest*
15112
15784
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15113
15785
  touch conftest.a
15114
15786
  ln conftest.a conftest.b 2>&5 || hard_links=no
15124
15796
  need_locks=no
15125
15797
fi
15126
15798
 
15127
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
15799
 
 
15800
 
 
15801
 
 
15802
 
 
15803
 
 
15804
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15128
15805
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15129
15806
 
15130
15807
  runpath_var=
15131
15808
  allow_undefined_flag=
15132
 
  enable_shared_with_static_runtimes=no
 
15809
  always_export_symbols=no
15133
15810
  archive_cmds=
15134
15811
  archive_expsym_cmds=
15135
 
  old_archive_From_new_cmds=
15136
 
  old_archive_from_expsyms_cmds=
 
15812
  compiler_needs_object=no
 
15813
  enable_shared_with_static_runtimes=no
15137
15814
  export_dynamic_flag_spec=
15138
 
  whole_archive_flag_spec=
15139
 
  thread_safe_flag_spec=
 
15815
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
15816
  hardcode_automatic=no
 
15817
  hardcode_direct=no
 
15818
  hardcode_direct_absolute=no
15140
15819
  hardcode_libdir_flag_spec=
15141
15820
  hardcode_libdir_flag_spec_ld=
15142
15821
  hardcode_libdir_separator=
15143
 
  hardcode_direct=no
15144
15822
  hardcode_minus_L=no
15145
15823
  hardcode_shlibpath_var=unsupported
 
15824
  inherit_rpath=no
15146
15825
  link_all_deplibs=unknown
15147
 
  hardcode_automatic=no
15148
15826
  module_cmds=
15149
15827
  module_expsym_cmds=
15150
 
  always_export_symbols=no
15151
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
15828
  old_archive_from_new_cmds=
 
15829
  old_archive_from_expsyms_cmds=
 
15830
  thread_safe_flag_spec=
 
15831
  whole_archive_flag_spec=
15152
15832
  # include_expsyms should be a list of space-separated symbols to be *always*
15153
15833
  # included in the symbol list
15154
15834
  include_expsyms=
15164
15844
  # preloaded symbol tables.
15165
15845
  # Exclude shared library initialization/finalization symbols.
15166
15846
  extract_expsyms_cmds=
15167
 
  # Just being paranoid about ensuring that cc_basename is set.
15168
 
  for cc_temp in $compiler""; do
15169
 
  case $cc_temp in
15170
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15171
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15172
 
    \-*) ;;
15173
 
    *) break;;
15174
 
  esac
15175
 
done
15176
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15177
15847
 
15178
15848
  case $host_os in
15179
 
  cygwin* | mingw* | pw32*)
 
15849
  cygwin* | mingw* | pw32* | cegcc*)
15180
15850
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15181
15851
    # When not using gcc, we currently assume that we are using
15182
15852
    # Microsoft Visual C++.
15202
15872
    # are reset later if shared libraries are not supported. Putting them
15203
15873
    # here allows them to be overridden if necessary.
15204
15874
    runpath_var=LD_RUN_PATH
15205
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
15875
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15206
15876
    export_dynamic_flag_spec='${wl}--export-dynamic'
15207
15877
    # ancient GNU ld didn't support --whole-archive et. al.
15208
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15209
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15210
 
      else
15211
 
        whole_archive_flag_spec=
 
15878
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
15879
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
15880
    else
 
15881
      whole_archive_flag_spec=
15212
15882
    fi
15213
15883
    supports_anon_versioning=no
15214
 
    case `$LD -v 2>/dev/null` in
 
15884
    case `$LD -v 2>&1` in
15215
15885
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15216
15886
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15217
15887
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15225
15895
      # On AIX/PPC, the GNU linker is very broken
15226
15896
      if test "$host_cpu" != ia64; then
15227
15897
        ld_shlibs=no
15228
 
        cat <<EOF 1>&2
 
15898
        cat <<_LT_EOF 1>&2
15229
15899
 
15230
15900
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15231
15901
*** to be unable to reliably create shared libraries on AIX.
15233
15903
*** really care for shared libraries, you may want to modify your PATH
15234
15904
*** so that a non-GNU linker is found, and then restart.
15235
15905
 
15236
 
EOF
 
15906
_LT_EOF
15237
15907
      fi
15238
15908
      ;;
15239
15909
 
15240
15910
    amigaos*)
15241
 
      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)'
15242
 
      hardcode_libdir_flag_spec='-L$libdir'
15243
 
      hardcode_minus_L=yes
15244
 
 
15245
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15246
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
15247
 
      # to version 4, is to share data among multiple programs linked
15248
 
      # with the same dynamic library.  Since this doesn't match the
15249
 
      # behavior of shared libraries on other platforms, we can't use
15250
 
      # them.
15251
 
      ld_shlibs=no
 
15911
      case $host_cpu in
 
15912
      powerpc)
 
15913
            # see comment about AmigaOS4 .so support
 
15914
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15915
            archive_expsym_cmds=''
 
15916
        ;;
 
15917
      m68k)
 
15918
            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)'
 
15919
            hardcode_libdir_flag_spec='-L$libdir'
 
15920
            hardcode_minus_L=yes
 
15921
        ;;
 
15922
      esac
15252
15923
      ;;
15253
15924
 
15254
15925
    beos*)
15255
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15926
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15256
15927
        allow_undefined_flag=unsupported
15257
15928
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15258
15929
        # support --undefined.  This deserves some investigation.  FIXME
15262
15933
      fi
15263
15934
      ;;
15264
15935
 
15265
 
    cygwin* | mingw* | pw32*)
15266
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
15936
    cygwin* | mingw* | pw32* | cegcc*)
 
15937
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
15267
15938
      # as there is no search path for DLLs.
15268
15939
      hardcode_libdir_flag_spec='-L$libdir'
15269
15940
      allow_undefined_flag=unsupported
15270
15941
      always_export_symbols=no
15271
15942
      enable_shared_with_static_runtimes=yes
15272
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
15943
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15273
15944
 
15274
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
15945
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15275
15946
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15276
15947
        # If the export-symbols file already is a .def file (1st line
15277
15948
        # is EXPORTS), use it as is; otherwise, prepend...
15302
15973
      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'
15303
15974
      ;;
15304
15975
 
15305
 
    gnu* | linux* | k*bsd*-gnu)
15306
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15976
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
15977
      tmp_diet=no
 
15978
      if test "$host_os" = linux-dietlibc; then
 
15979
        case $cc_basename in
 
15980
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
15981
        esac
 
15982
      fi
 
15983
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
15984
         && test "$tmp_diet" = no
 
15985
      then
15307
15986
        tmp_addflag=
 
15987
        tmp_sharedflag='-shared'
15308
15988
        case $cc_basename,$host_cpu in
15309
 
        pgcc*)                          # Portland Group C compiler
15310
 
          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'
 
15989
        pgcc*)                          # Portland Group C compiler
 
15990
          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'
15311
15991
          tmp_addflag=' $pic_flag'
15312
15992
          ;;
15313
15993
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
15314
 
          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'
 
15994
          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'
15315
15995
          tmp_addflag=' $pic_flag -Mnomain' ;;
15316
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
15996
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
15317
15997
          tmp_addflag=' -i_dynamic' ;;
15318
15998
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
15319
15999
          tmp_addflag=' -i_dynamic -nofor_main' ;;
15320
16000
        ifc* | ifort*)                  # Intel Fortran compiler
15321
16001
          tmp_addflag=' -nofor_main' ;;
 
16002
        lf95*)                          # Lahey Fortran 8.1
 
16003
          whole_archive_flag_spec=
 
16004
          tmp_sharedflag='--shared' ;;
 
16005
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
16006
          tmp_sharedflag='-qmkshrobj'
 
16007
          tmp_addflag= ;;
15322
16008
        esac
15323
16009
        case `$CC -V 2>&1 | sed 5q` in
15324
16010
        *Sun\ C*)                       # Sun C 5.9
15325
 
          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'
 
16011
          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'
 
16012
          compiler_needs_object=yes
15326
16013
          tmp_sharedflag='-G' ;;
15327
16014
        *Sun\ F*)                       # Sun Fortran 8.3
15328
16015
          tmp_sharedflag='-G' ;;
15329
 
        *)
15330
 
          tmp_sharedflag='-shared' ;;
15331
16016
        esac
15332
16017
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15333
16018
 
15334
 
        if test $supports_anon_versioning = yes; then
15335
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
15336
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15337
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15338
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15339
 
        fi
15340
 
        link_all_deplibs=no
 
16019
        if test "x$supports_anon_versioning" = xyes; then
 
16020
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
16021
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
16022
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
16023
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
16024
        fi
 
16025
 
 
16026
        case $cc_basename in
 
16027
        xlf*)
 
16028
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
16029
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
16030
          hardcode_libdir_flag_spec=
 
16031
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
16032
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
16033
          if test "x$supports_anon_versioning" = xyes; then
 
16034
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
16035
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
16036
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
16037
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
16038
          fi
 
16039
          ;;
 
16040
        esac
15341
16041
      else
15342
 
        ld_shlibs=no
 
16042
        ld_shlibs=no
15343
16043
      fi
15344
16044
      ;;
15345
16045
 
15346
16046
    netbsd* | netbsdelf*-gnu)
15347
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
16047
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15348
16048
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15349
16049
        wlarc=
15350
16050
      else
15354
16054
      ;;
15355
16055
 
15356
16056
    solaris*)
15357
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
16057
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
15358
16058
        ld_shlibs=no
15359
 
        cat <<EOF 1>&2
 
16059
        cat <<_LT_EOF 1>&2
15360
16060
 
15361
16061
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15362
16062
*** create shared libraries on Solaris systems.  Therefore, libtool
15365
16065
*** your PATH or compiler configuration so that the native linker is
15366
16066
*** used, and then restart.
15367
16067
 
15368
 
EOF
15369
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
16068
_LT_EOF
 
16069
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15370
16070
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15371
16071
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15372
16072
      else
15390
16090
_LT_EOF
15391
16091
        ;;
15392
16092
        *)
15393
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15394
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15395
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15396
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
16093
          # For security reasons, it is highly recommended that you always
 
16094
          # use absolute paths for naming shared libraries, and exclude the
 
16095
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
16096
          # requires that you compile everything twice, which is a pain.
 
16097
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
16098
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
16099
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16100
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15397
16101
          else
15398
16102
            ld_shlibs=no
15399
16103
          fi
15409
16113
      ;;
15410
16114
 
15411
16115
    *)
15412
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
16116
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15413
16117
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15414
16118
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15415
16119
      else
15451
16155
      else
15452
16156
        # If we're using GNU nm, then we don't want the "-C" option.
15453
16157
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
15454
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15455
 
          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'
 
16158
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
16159
          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'
15456
16160
        else
15457
 
          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'
 
16161
          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'
15458
16162
        fi
15459
16163
        aix_use_runtimelinking=no
15460
16164
 
15463
16167
        # need to do runtime linking.
15464
16168
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15465
16169
          for ld_flag in $LDFLAGS; do
15466
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15467
 
            aix_use_runtimelinking=yes
15468
 
            break
15469
 
          fi
 
16170
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
16171
            aix_use_runtimelinking=yes
 
16172
            break
 
16173
          fi
15470
16174
          done
15471
16175
          ;;
15472
16176
        esac
15483
16187
 
15484
16188
      archive_cmds=''
15485
16189
      hardcode_direct=yes
 
16190
      hardcode_direct_absolute=yes
15486
16191
      hardcode_libdir_separator=':'
15487
16192
      link_all_deplibs=yes
 
16193
      file_list_spec='${wl}-f,'
15488
16194
 
15489
16195
      if test "$GCC" = yes; then
15490
16196
        case $host_os in aix4.[012]|aix4.[012].*)
15491
16197
        # We only want to do this on AIX 4.2 and lower, the check
15492
16198
        # below for broken collect2 doesn't work under 4.3+
15493
16199
          collect2name=`${CC} -print-prog-name=collect2`
15494
 
          if test -f "$collect2name" && \
15495
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
16200
          if test -f "$collect2name" &&
 
16201
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15496
16202
          then
15497
 
          # We have reworked collect2
15498
 
          :
 
16203
          # We have reworked collect2
 
16204
          :
15499
16205
          else
15500
 
          # We have old collect2
15501
 
          hardcode_direct=unsupported
15502
 
          # It fails to find uninstalled libraries when the uninstalled
15503
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
15504
 
          # to unsupported forces relinking
15505
 
          hardcode_minus_L=yes
15506
 
          hardcode_libdir_flag_spec='-L$libdir'
15507
 
          hardcode_libdir_separator=
 
16206
          # We have old collect2
 
16207
          hardcode_direct=unsupported
 
16208
          # It fails to find uninstalled libraries when the uninstalled
 
16209
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
16210
          # to unsupported forces relinking
 
16211
          hardcode_minus_L=yes
 
16212
          hardcode_libdir_flag_spec='-L$libdir'
 
16213
          hardcode_libdir_separator=
15508
16214
          fi
15509
16215
          ;;
15510
16216
        esac
15512
16218
        if test "$aix_use_runtimelinking" = yes; then
15513
16219
          shared_flag="$shared_flag "'${wl}-G'
15514
16220
        fi
 
16221
        link_all_deplibs=no
15515
16222
      else
15516
16223
        # not using gcc
15517
16224
        if test "$host_cpu" = ia64; then
15518
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15519
 
        # chokes on -Wl,-G. The following line is correct:
 
16225
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
16226
        # chokes on -Wl,-G. The following line is correct:
15520
16227
          shared_flag='-G'
15521
16228
        else
15522
16229
          if test "$aix_use_runtimelinking" = yes; then
15527
16234
        fi
15528
16235
      fi
15529
16236
 
 
16237
      export_dynamic_flag_spec='${wl}-bexpall'
15530
16238
      # It seems that -bexpall does not export symbols beginning with
15531
16239
      # underscore (_), so it is better to generate a list of symbols to export.
15532
16240
      always_export_symbols=yes
15534
16242
        # Warning - without using the other runtime loading flags (-brtl),
15535
16243
        # -berok will link without error, but may produce a broken library.
15536
16244
        allow_undefined_flag='-berok'
15537
 
       # Determine the default libpath from the value encoded in an empty executable.
15538
 
       cat >conftest.$ac_ext <<_ACEOF
 
16245
        # Determine the default libpath from the value encoded in an
 
16246
        # empty executable.
 
16247
        cat >conftest.$ac_ext <<_ACEOF
15539
16248
/* confdefs.h.  */
15540
16249
_ACEOF
15541
16250
cat confdefs.h >>conftest.$ac_ext
15596
16305
      conftest$ac_exeext conftest.$ac_ext
15597
16306
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15598
16307
 
15599
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15600
 
        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"
15601
 
       else
 
16308
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
16309
        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"
 
16310
      else
15602
16311
        if test "$host_cpu" = ia64; then
15603
16312
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15604
16313
          allow_undefined_flag="-z nodefs"
15605
16314
          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"
15606
16315
        else
15607
 
         # Determine the default libpath from the value encoded in an empty executable.
 
16316
         # Determine the default libpath from the value encoded in an
 
16317
         # empty executable.
15608
16318
         cat >conftest.$ac_ext <<_ACEOF
15609
16319
/* confdefs.h.  */
15610
16320
_ACEOF
15681
16391
      ;;
15682
16392
 
15683
16393
    amigaos*)
15684
 
      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)'
15685
 
      hardcode_libdir_flag_spec='-L$libdir'
15686
 
      hardcode_minus_L=yes
15687
 
      # see comment about different semantics on the GNU ld section
15688
 
      ld_shlibs=no
 
16394
      case $host_cpu in
 
16395
      powerpc)
 
16396
            # see comment about AmigaOS4 .so support
 
16397
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16398
            archive_expsym_cmds=''
 
16399
        ;;
 
16400
      m68k)
 
16401
            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)'
 
16402
            hardcode_libdir_flag_spec='-L$libdir'
 
16403
            hardcode_minus_L=yes
 
16404
        ;;
 
16405
      esac
15689
16406
      ;;
15690
16407
 
15691
16408
    bsdi[45]*)
15692
16409
      export_dynamic_flag_spec=-rdynamic
15693
16410
      ;;
15694
16411
 
15695
 
    cygwin* | mingw* | pw32*)
 
16412
    cygwin* | mingw* | pw32* | cegcc*)
15696
16413
      # When not using gcc, we currently assume that we are using
15697
16414
      # Microsoft Visual C++.
15698
16415
      # hardcode_libdir_flag_spec is actually meaningless, as there is
15704
16421
      # Tell ltmain to make .dll files, not .so files.
15705
16422
      shrext_cmds=".dll"
15706
16423
      # FIXME: Setting linknames here is a bad hack.
15707
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
16424
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
15708
16425
      # The linker will automatically build a .lib file if we build a DLL.
15709
 
      old_archive_From_new_cmds='true'
 
16426
      old_archive_from_new_cmds='true'
15710
16427
      # FIXME: Should let the user specify the lib program.
15711
16428
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
15712
16429
      fix_srcfile_path='`cygpath -w "$srcfile"`'
15714
16431
      ;;
15715
16432
 
15716
16433
    darwin* | rhapsody*)
15717
 
      case $host_os in
15718
 
        rhapsody* | darwin1.[012])
15719
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
15720
 
         ;;
15721
 
       *) # Darwin 1.3 on
15722
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15723
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15724
 
         else
15725
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15726
 
             10.[012])
15727
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15728
 
               ;;
15729
 
             10.*)
15730
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
15731
 
               ;;
15732
 
           esac
15733
 
         fi
15734
 
         ;;
15735
 
      esac
15736
 
      archive_cmds_need_lc=no
15737
 
      hardcode_direct=no
15738
 
      hardcode_automatic=yes
15739
 
      hardcode_shlibpath_var=unsupported
15740
 
      whole_archive_flag_spec=''
15741
 
      link_all_deplibs=yes
15742
 
    if test "$GCC" = yes ; then
15743
 
        output_verbose_link_cmd='echo'
15744
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15745
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15746
 
        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}"
15747
 
        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}"
15748
 
    else
15749
 
      case $cc_basename in
15750
 
        xlc*)
15751
 
         output_verbose_link_cmd='echo'
15752
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15753
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15754
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15755
 
         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}'
15756
 
          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}'
15757
 
          ;;
15758
 
       *)
15759
 
         ld_shlibs=no
15760
 
          ;;
15761
 
      esac
15762
 
    fi
 
16434
 
 
16435
 
 
16436
  archive_cmds_need_lc=no
 
16437
  hardcode_direct=no
 
16438
  hardcode_automatic=yes
 
16439
  hardcode_shlibpath_var=unsupported
 
16440
  whole_archive_flag_spec=''
 
16441
  link_all_deplibs=yes
 
16442
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
16443
  case $cc_basename in
 
16444
     ifort*) _lt_dar_can_shared=yes ;;
 
16445
     *) _lt_dar_can_shared=$GCC ;;
 
16446
  esac
 
16447
  if test "$_lt_dar_can_shared" = "yes"; then
 
16448
    output_verbose_link_cmd=echo
 
16449
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
16450
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
16451
    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}"
 
16452
    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}"
 
16453
 
 
16454
  else
 
16455
  ld_shlibs=no
 
16456
  fi
 
16457
 
15763
16458
      ;;
15764
16459
 
15765
16460
    dgux*)
15801
16496
 
15802
16497
    hpux9*)
15803
16498
      if test "$GCC" = yes; then
15804
 
        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'
 
16499
        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'
15805
16500
      else
15806
 
        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'
 
16501
        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'
15807
16502
      fi
15808
16503
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15809
16504
      hardcode_libdir_separator=:
15823
16518
      fi
15824
16519
      if test "$with_gnu_ld" = no; then
15825
16520
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
16521
        hardcode_libdir_flag_spec_ld='+b $libdir'
15826
16522
        hardcode_libdir_separator=:
15827
 
 
15828
16523
        hardcode_direct=yes
 
16524
        hardcode_direct_absolute=yes
15829
16525
        export_dynamic_flag_spec='${wl}-E'
15830
 
 
15831
16526
        # hardcode_minus_L: Not really in the search PATH,
15832
16527
        # but as the default location of the library.
15833
16528
        hardcode_minus_L=yes
15841
16536
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15842
16537
          ;;
15843
16538
        ia64*)
15844
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
16539
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15845
16540
          ;;
15846
16541
        *)
15847
16542
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15866
16561
 
15867
16562
        case $host_cpu in
15868
16563
        hppa*64*|ia64*)
15869
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
15870
16564
          hardcode_direct=no
15871
16565
          hardcode_shlibpath_var=no
15872
16566
          ;;
15873
16567
        *)
15874
16568
          hardcode_direct=yes
 
16569
          hardcode_direct_absolute=yes
15875
16570
          export_dynamic_flag_spec='${wl}-E'
15876
16571
 
15877
16572
          # hardcode_minus_L: Not really in the search PATH,
15884
16579
 
15885
16580
    irix5* | irix6* | nonstopux*)
15886
16581
      if test "$GCC" = yes; then
15887
 
        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'
 
16582
        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'
 
16583
        # Try to use the -exported_symbol ld option, if it does not
 
16584
        # work, assume that -exports_file does not work either and
 
16585
        # implicitly export all symbols.
 
16586
        save_LDFLAGS="$LDFLAGS"
 
16587
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
16588
        cat >conftest.$ac_ext <<_ACEOF
 
16589
int foo(void) {}
 
16590
_ACEOF
 
16591
rm -f conftest.$ac_objext conftest$ac_exeext
 
16592
if { (ac_try="$ac_link"
 
16593
case "(($ac_try" in
 
16594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16595
  *) ac_try_echo=$ac_try;;
 
16596
esac
 
16597
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16598
$as_echo "$ac_try_echo") >&5
 
16599
  (eval "$ac_link") 2>conftest.er1
 
16600
  ac_status=$?
 
16601
  grep -v '^ *+' conftest.er1 >conftest.err
 
16602
  rm -f conftest.er1
 
16603
  cat conftest.err >&5
 
16604
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16605
  (exit $ac_status); } && {
 
16606
         test -z "$ac_c_werror_flag" ||
 
16607
         test ! -s conftest.err
 
16608
       } && test -s conftest$ac_exeext && {
 
16609
         test "$cross_compiling" = yes ||
 
16610
         $as_test_x conftest$ac_exeext
 
16611
       }; then
 
16612
  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'
 
16613
 
 
16614
else
 
16615
  $as_echo "$as_me: failed program was:" >&5
 
16616
sed 's/^/| /' conftest.$ac_ext >&5
 
16617
 
 
16618
 
 
16619
fi
 
16620
 
 
16621
rm -rf conftest.dSYM
 
16622
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16623
      conftest$ac_exeext conftest.$ac_ext
 
16624
        LDFLAGS="$save_LDFLAGS"
15888
16625
      else
15889
 
        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'
15890
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
16626
        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'
 
16627
        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'
15891
16628
      fi
 
16629
      archive_cmds_need_lc='no'
15892
16630
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15893
16631
      hardcode_libdir_separator=:
 
16632
      inherit_rpath=yes
15894
16633
      link_all_deplibs=yes
15895
16634
      ;;
15896
16635
 
15897
16636
    netbsd* | netbsdelf*-gnu)
15898
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
16637
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15899
16638
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15900
16639
      else
15901
16640
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15913
16652
      hardcode_shlibpath_var=no
15914
16653
      ;;
15915
16654
 
 
16655
    *nto* | *qnx*)
 
16656
      ;;
 
16657
 
15916
16658
    openbsd*)
15917
16659
      if test -f /usr/libexec/ld.so; then
15918
16660
        hardcode_direct=yes
15919
16661
        hardcode_shlibpath_var=no
15920
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
16662
        hardcode_direct_absolute=yes
 
16663
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15921
16664
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15922
16665
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15923
16666
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15933
16676
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15934
16677
             ;;
15935
16678
          esac
15936
 
        fi
 
16679
        fi
15937
16680
      else
15938
16681
        ld_shlibs=no
15939
16682
      fi
15943
16686
      hardcode_libdir_flag_spec='-L$libdir'
15944
16687
      hardcode_minus_L=yes
15945
16688
      allow_undefined_flag=unsupported
15946
 
      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'
15947
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
16689
      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'
 
16690
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15948
16691
      ;;
15949
16692
 
15950
16693
    osf3*)
15951
16694
      if test "$GCC" = yes; then
15952
16695
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15953
 
        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'
 
16696
        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'
15954
16697
      else
15955
16698
        allow_undefined_flag=' -expect_unresolved \*'
15956
 
        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'
 
16699
        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'
15957
16700
      fi
 
16701
      archive_cmds_need_lc='no'
15958
16702
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15959
16703
      hardcode_libdir_separator=:
15960
16704
      ;;
15962
16706
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15963
16707
      if test "$GCC" = yes; then
15964
16708
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15965
 
        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'
 
16709
        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'
15966
16710
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15967
16711
      else
15968
16712
        allow_undefined_flag=' -expect_unresolved \*'
15969
 
        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'
15970
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15971
 
        $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'
 
16713
        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'
 
16714
        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~
 
16715
        $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'
15972
16716
 
15973
16717
        # Both c and cxx compiler support -rpath directly
15974
16718
        hardcode_libdir_flag_spec='-rpath $libdir'
15975
16719
      fi
 
16720
      archive_cmds_need_lc='no'
15976
16721
      hardcode_libdir_separator=:
15977
16722
      ;;
15978
16723
 
15979
16724
    solaris*)
15980
 
      no_undefined_flag=' -z text'
 
16725
      no_undefined_flag=' -z defs'
15981
16726
      if test "$GCC" = yes; then
15982
16727
        wlarc='${wl}'
15983
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15984
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15985
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
16728
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16729
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
16730
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15986
16731
      else
15987
 
        wlarc=''
15988
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15989
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15990
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
16732
        case `$CC -V 2>&1` in
 
16733
        *"Compilers 5.0"*)
 
16734
          wlarc=''
 
16735
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
16736
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
16737
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
16738
          ;;
 
16739
        *)
 
16740
          wlarc='${wl}'
 
16741
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
16742
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
16743
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
16744
          ;;
 
16745
        esac
15991
16746
      fi
15992
16747
      hardcode_libdir_flag_spec='-R$libdir'
15993
16748
      hardcode_shlibpath_var=no
15997
16752
        # The compiler driver will combine and reorder linker options,
15998
16753
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
15999
16754
        # but is careful enough not to reorder.
16000
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
16755
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16001
16756
        if test "$GCC" = yes; then
16002
16757
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16003
16758
        else
16086
16841
      allow_undefined_flag='${wl}-z,nodefs'
16087
16842
      archive_cmds_need_lc=no
16088
16843
      hardcode_shlibpath_var=no
16089
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
16844
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
16090
16845
      hardcode_libdir_separator=':'
16091
16846
      link_all_deplibs=yes
16092
16847
      export_dynamic_flag_spec='${wl}-Bexport'
16093
16848
      runpath_var='LD_RUN_PATH'
16094
16849
 
16095
16850
      if test "$GCC" = yes; then
16096
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16097
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16851
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16852
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16098
16853
      else
16099
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16100
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16854
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16855
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16101
16856
      fi
16102
16857
      ;;
16103
16858
 
16111
16866
      ld_shlibs=no
16112
16867
      ;;
16113
16868
    esac
 
16869
 
 
16870
    if test x$host_vendor = xsni; then
 
16871
      case $host in
 
16872
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16873
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
16874
        ;;
 
16875
      esac
 
16876
    fi
16114
16877
  fi
16115
16878
 
16116
16879
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
16117
16880
$as_echo "$ld_shlibs" >&6; }
16118
16881
test "$ld_shlibs" = no && can_build_shared=no
16119
16882
 
 
16883
with_gnu_ld=$with_gnu_ld
 
16884
 
 
16885
 
 
16886
 
 
16887
 
 
16888
 
 
16889
 
 
16890
 
 
16891
 
 
16892
 
 
16893
 
 
16894
 
 
16895
 
 
16896
 
 
16897
 
 
16898
 
16120
16899
#
16121
16900
# Do we need to explicitly link libc?
16122
16901
#
16136
16915
      # to ld, don't add -lc before -lgcc.
16137
16916
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16138
16917
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16139
 
      $rm conftest*
 
16918
      $RM conftest*
16140
16919
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16141
16920
 
16142
16921
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16157
16936
        libname=conftest
16158
16937
        lt_save_allow_undefined_flag=$allow_undefined_flag
16159
16938
        allow_undefined_flag=
16160
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16161
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
16939
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
16940
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16162
16941
  ac_status=$?
16163
16942
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164
16943
  (exit $ac_status); }
16171
16950
      else
16172
16951
        cat conftest.err 1>&5
16173
16952
      fi
16174
 
      $rm conftest*
 
16953
      $RM conftest*
16175
16954
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
16176
16955
$as_echo "$archive_cmds_need_lc" >&6; }
16177
16956
      ;;
16180
16959
  ;;
16181
16960
esac
16182
16961
 
16183
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
16962
 
 
16963
 
 
16964
 
 
16965
 
 
16966
 
 
16967
 
 
16968
 
 
16969
 
 
16970
 
 
16971
 
 
16972
 
 
16973
 
 
16974
 
 
16975
 
 
16976
 
 
16977
 
 
16978
 
 
16979
 
 
16980
 
 
16981
 
 
16982
 
 
16983
 
 
16984
 
 
16985
 
 
16986
 
 
16987
 
 
16988
 
 
16989
 
 
16990
 
 
16991
 
 
16992
 
 
16993
 
 
16994
 
 
16995
 
 
16996
 
 
16997
 
 
16998
 
 
16999
 
 
17000
 
 
17001
 
 
17002
 
 
17003
 
 
17004
 
 
17005
 
 
17006
 
 
17007
 
 
17008
 
 
17009
 
 
17010
 
 
17011
 
 
17012
 
 
17013
 
 
17014
 
 
17015
 
 
17016
 
 
17017
 
 
17018
 
 
17019
 
 
17020
 
 
17021
 
 
17022
 
 
17023
 
 
17024
 
 
17025
 
 
17026
 
 
17027
 
 
17028
 
 
17029
 
 
17030
 
 
17031
 
 
17032
 
 
17033
 
 
17034
 
 
17035
 
 
17036
 
 
17037
 
 
17038
 
 
17039
 
 
17040
 
 
17041
 
 
17042
 
 
17043
 
 
17044
 
 
17045
 
 
17046
 
 
17047
 
 
17048
 
 
17049
 
 
17050
 
 
17051
 
 
17052
 
 
17053
 
 
17054
 
 
17055
 
 
17056
 
 
17057
 
 
17058
 
 
17059
 
 
17060
 
 
17061
 
 
17062
 
 
17063
 
 
17064
 
 
17065
 
 
17066
 
 
17067
 
 
17068
 
 
17069
 
 
17070
 
 
17071
 
 
17072
 
 
17073
 
 
17074
 
 
17075
 
 
17076
 
 
17077
 
 
17078
 
 
17079
 
 
17080
 
 
17081
 
 
17082
 
 
17083
 
 
17084
 
 
17085
 
 
17086
 
 
17087
 
 
17088
 
 
17089
 
 
17090
 
 
17091
 
 
17092
 
 
17093
 
 
17094
 
 
17095
 
 
17096
 
 
17097
 
 
17098
 
 
17099
 
 
17100
 
 
17101
 
 
17102
 
 
17103
 
 
17104
 
 
17105
 
 
17106
 
 
17107
 
 
17108
 
 
17109
 
 
17110
 
 
17111
 
 
17112
 
 
17113
 
 
17114
 
 
17115
 
 
17116
 
 
17117
 
 
17118
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16184
17119
$as_echo_n "checking dynamic linker characteristics... " >&6; }
16185
 
library_names_spec=
16186
 
libname_spec='lib$name'
16187
 
soname_spec=
16188
 
shrext_cmds=".so"
16189
 
postinstall_cmds=
16190
 
postuninstall_cmds=
16191
 
finish_cmds=
16192
 
finish_eval=
16193
 
shlibpath_var=
16194
 
shlibpath_overrides_runpath=unknown
16195
 
version_type=none
16196
 
dynamic_linker="$host_os ld.so"
16197
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16198
17120
 
16199
17121
if test "$GCC" = yes; then
16200
17122
  case $host_os in
16202
17124
    *) lt_awk_arg="/^libraries:/" ;;
16203
17125
  esac
16204
17126
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16205
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
17127
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
16206
17128
    # if the path contains ";" then we assume it to be the separator
16207
17129
    # otherwise default to the standard path separator (i.e. ":") - it is
16208
17130
    # assumed that no part of a normal pathname contains ";" but that should
16209
17131
    # okay in the real world where ";" in dirpaths is itself problematic.
16210
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
17132
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
16211
17133
  else
16212
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
17134
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16213
17135
  fi
16214
17136
  # Ok, now we have the path, separated by spaces, we can step through it
16215
17137
  # and add multilib dir if necessary.
16223
17145
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
16224
17146
    fi
16225
17147
  done
16226
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
17148
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
16227
17149
BEGIN {RS=" "; FS="/|\n";} {
16228
17150
  lt_foo="";
16229
17151
  lt_count=0;
16243
17165
  if (lt_foo != "") { lt_freq[lt_foo]++; }
16244
17166
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
16245
17167
}'`
16246
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
17168
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
16247
17169
else
16248
17170
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16249
17171
fi
 
17172
library_names_spec=
 
17173
libname_spec='lib$name'
 
17174
soname_spec=
 
17175
shrext_cmds=".so"
 
17176
postinstall_cmds=
 
17177
postuninstall_cmds=
 
17178
finish_cmds=
 
17179
finish_eval=
 
17180
shlibpath_var=
 
17181
shlibpath_overrides_runpath=unknown
 
17182
version_type=none
 
17183
dynamic_linker="$host_os ld.so"
 
17184
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16250
17185
need_lib_prefix=unknown
16251
17186
hardcode_into_libs=no
16252
17187
 
16283
17218
      aix4 | aix4.[01] | aix4.[01].*)
16284
17219
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16285
17220
           echo ' yes '
16286
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
17221
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16287
17222
        :
16288
17223
      else
16289
17224
        can_build_shared=no
16309
17244
  ;;
16310
17245
 
16311
17246
amigaos*)
16312
 
  library_names_spec='$libname.ixlibrary $libname.a'
16313
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16314
 
  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'
 
17247
  case $host_cpu in
 
17248
  powerpc)
 
17249
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
17250
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
17251
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17252
    ;;
 
17253
  m68k)
 
17254
    library_names_spec='$libname.ixlibrary $libname.a'
 
17255
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
17256
    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'
 
17257
    ;;
 
17258
  esac
16315
17259
  ;;
16316
17260
 
16317
17261
beos*)
16334
17278
  # libtool to hard-code these into programs
16335
17279
  ;;
16336
17280
 
16337
 
cygwin* | mingw* | pw32*)
 
17281
cygwin* | mingw* | pw32* | cegcc*)
16338
17282
  version_type=windows
16339
17283
  shrext_cmds=".dll"
16340
17284
  need_version=no
16341
17285
  need_lib_prefix=no
16342
17286
 
16343
17287
  case $GCC,$host_os in
16344
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
17288
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16345
17289
    library_names_spec='$libname.dll.a'
16346
17290
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16347
17291
    postinstall_cmds='base_file=`basename \${file}`~
16348
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
17292
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16349
17293
      dldir=$destdir/`dirname \$dlpath`~
16350
17294
      test -d \$dldir || mkdir -p \$dldir~
16351
17295
      $install_prog $dir/$dlname \$dldir/$dlname~
16352
 
      chmod a+x \$dldir/$dlname'
 
17296
      chmod a+x \$dldir/$dlname~
 
17297
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
17298
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
17299
      fi'
16353
17300
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16354
17301
      dlpath=$dir/\$dldll~
16355
 
       $rm \$dlpath'
 
17302
       $RM \$dlpath'
16356
17303
    shlibpath_overrides_runpath=yes
16357
17304
 
16358
17305
    case $host_os in
16361
17308
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16362
17309
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16363
17310
      ;;
16364
 
    mingw*)
 
17311
    mingw* | cegcc*)
16365
17312
      # MinGW DLLs use traditional 'lib' prefix
16366
17313
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16367
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16368
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
17314
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
17315
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16369
17316
        # It is most probably a Windows format PATH printed by
16370
17317
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16371
17318
        # path with ; separators, and with drive letters. We can handle the
16372
17319
        # drive letters (cygwin fileutils understands them), so leave them,
16373
17320
        # especially as we might pass files found there to a mingw objdump,
16374
17321
        # which wouldn't understand a cygwinified path. Ahh.
16375
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
17322
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16376
17323
      else
16377
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
17324
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16378
17325
      fi
16379
17326
      ;;
16380
17327
    pw32*)
16398
17345
  version_type=darwin
16399
17346
  need_lib_prefix=no
16400
17347
  need_version=no
16401
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
17348
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16402
17349
  soname_spec='${libname}${release}${major}$shared_ext'
16403
17350
  shlibpath_overrides_runpath=yes
16404
17351
  shlibpath_var=DYLD_LIBRARY_PATH
16497
17444
    fi
16498
17445
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16499
17446
    ;;
16500
 
   hppa*64*)
16501
 
     shrext_cmds='.sl'
16502
 
     hardcode_into_libs=yes
16503
 
     dynamic_linker="$host_os dld.sl"
16504
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16505
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16506
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16507
 
     soname_spec='${libname}${release}${shared_ext}$major'
16508
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16509
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16510
 
     ;;
16511
 
   *)
 
17447
  hppa*64*)
 
17448
    shrext_cmds='.sl'
 
17449
    hardcode_into_libs=yes
 
17450
    dynamic_linker="$host_os dld.sl"
 
17451
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
17452
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
17453
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17454
    soname_spec='${libname}${release}${shared_ext}$major'
 
17455
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
17456
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
17457
    ;;
 
17458
  *)
16512
17459
    shrext_cmds='.sl'
16513
17460
    dynamic_linker="$host_os dld.sl"
16514
17461
    shlibpath_var=SHLIB_PATH
16585
17532
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16586
17533
  shlibpath_var=LD_LIBRARY_PATH
16587
17534
  shlibpath_overrides_runpath=no
 
17535
  # Some binutils ld are patched to set DT_RUNPATH
 
17536
  save_LDFLAGS=$LDFLAGS
 
17537
  save_libdir=$libdir
 
17538
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
17539
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
17540
  cat >conftest.$ac_ext <<_ACEOF
 
17541
/* confdefs.h.  */
 
17542
_ACEOF
 
17543
cat confdefs.h >>conftest.$ac_ext
 
17544
cat >>conftest.$ac_ext <<_ACEOF
 
17545
/* end confdefs.h.  */
 
17546
 
 
17547
int
 
17548
main ()
 
17549
{
 
17550
 
 
17551
  ;
 
17552
  return 0;
 
17553
}
 
17554
_ACEOF
 
17555
rm -f conftest.$ac_objext conftest$ac_exeext
 
17556
if { (ac_try="$ac_link"
 
17557
case "(($ac_try" in
 
17558
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17559
  *) ac_try_echo=$ac_try;;
 
17560
esac
 
17561
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17562
$as_echo "$ac_try_echo") >&5
 
17563
  (eval "$ac_link") 2>conftest.er1
 
17564
  ac_status=$?
 
17565
  grep -v '^ *+' conftest.er1 >conftest.err
 
17566
  rm -f conftest.er1
 
17567
  cat conftest.err >&5
 
17568
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17569
  (exit $ac_status); } && {
 
17570
         test -z "$ac_c_werror_flag" ||
 
17571
         test ! -s conftest.err
 
17572
       } && test -s conftest$ac_exeext && {
 
17573
         test "$cross_compiling" = yes ||
 
17574
         $as_test_x conftest$ac_exeext
 
17575
       }; then
 
17576
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
17577
  shlibpath_overrides_runpath=yes
 
17578
fi
 
17579
 
 
17580
else
 
17581
  $as_echo "$as_me: failed program was:" >&5
 
17582
sed 's/^/| /' conftest.$ac_ext >&5
 
17583
 
 
17584
 
 
17585
fi
 
17586
 
 
17587
rm -rf conftest.dSYM
 
17588
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
17589
      conftest$ac_exeext conftest.$ac_ext
 
17590
  LDFLAGS=$save_LDFLAGS
 
17591
  libdir=$save_libdir
 
17592
 
16588
17593
  # This implies no fast_install, which is unacceptable.
16589
17594
  # Some rework will be needed to allow for fast_install
16590
17595
  # before this can be enabled.
16592
17597
 
16593
17598
  # Append ld.so.conf contents to the search path
16594
17599
  if test -f /etc/ld.so.conf; then
16595
 
    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' ' '`
 
17600
    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' ' '`
16596
17601
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16597
17602
  fi
16598
17603
 
16621
17626
  version_type=sunos
16622
17627
  need_lib_prefix=no
16623
17628
  need_version=no
16624
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
17629
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16625
17630
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16626
17631
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16627
17632
    dynamic_linker='NetBSD (a.out) ld.so'
16642
17647
  shlibpath_overrides_runpath=yes
16643
17648
  ;;
16644
17649
 
16645
 
nto-qnx*)
16646
 
  version_type=linux
 
17650
*nto* | *qnx*)
 
17651
  version_type=qnx
16647
17652
  need_lib_prefix=no
16648
17653
  need_version=no
16649
17654
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16650
17655
  soname_spec='${libname}${release}${shared_ext}$major'
16651
17656
  shlibpath_var=LD_LIBRARY_PATH
16652
 
  shlibpath_overrides_runpath=yes
 
17657
  shlibpath_overrides_runpath=no
 
17658
  hardcode_into_libs=yes
 
17659
  dynamic_linker='ldqnx.so'
16653
17660
  ;;
16654
17661
 
16655
17662
openbsd*)
16658
17665
  need_lib_prefix=no
16659
17666
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16660
17667
  case $host_os in
16661
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16662
 
    *)                         need_version=no  ;;
 
17668
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
17669
    *)                          need_version=no  ;;
16663
17670
  esac
16664
17671
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16665
17672
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16666
17673
  shlibpath_var=LD_LIBRARY_PATH
16667
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17674
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16668
17675
    case $host_os in
16669
17676
      openbsd2.[89] | openbsd2.[89].*)
16670
17677
        shlibpath_overrides_runpath=no
16736
17743
    sni)
16737
17744
      shlibpath_overrides_runpath=no
16738
17745
      need_lib_prefix=no
16739
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16740
17746
      runpath_var=LD_RUN_PATH
16741
17747
      ;;
16742
17748
    siemens)
16767
17773
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16768
17774
  soname_spec='${libname}${release}${shared_ext}$major'
16769
17775
  shlibpath_var=LD_LIBRARY_PATH
 
17776
  shlibpath_overrides_runpath=yes
16770
17777
  hardcode_into_libs=yes
16771
17778
  if test "$with_gnu_ld" = yes; then
16772
17779
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16773
 
    shlibpath_overrides_runpath=no
16774
17780
  else
16775
17781
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16776
 
    shlibpath_overrides_runpath=yes
16777
17782
    case $host_os in
16778
17783
      sco3.2v5*)
16779
17784
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16783
17788
  sys_lib_dlsearch_path_spec='/usr/lib'
16784
17789
  ;;
16785
17790
 
 
17791
tpf*)
 
17792
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
17793
  version_type=linux
 
17794
  need_lib_prefix=no
 
17795
  need_version=no
 
17796
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17797
  shlibpath_var=LD_LIBRARY_PATH
 
17798
  shlibpath_overrides_runpath=no
 
17799
  hardcode_into_libs=yes
 
17800
  ;;
 
17801
 
16786
17802
uts4*)
16787
17803
  version_type=linux
16788
17804
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16798
17814
$as_echo "$dynamic_linker" >&6; }
16799
17815
test "$dynamic_linker" = no && can_build_shared=no
16800
17816
 
16801
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16802
 
  $as_echo_n "(cached) " >&6
16803
 
else
16804
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
16805
 
fi
16806
 
 
16807
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16808
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16809
 
  $as_echo_n "(cached) " >&6
16810
 
else
16811
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
16812
 
fi
16813
 
 
16814
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16815
 
 
16816
17817
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16817
17818
if test "$GCC" = yes; then
16818
17819
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16819
17820
fi
16820
17821
 
16821
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
17822
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
17823
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
17824
fi
 
17825
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
17826
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
17827
fi
 
17828
 
 
17829
 
 
17830
 
 
17831
 
 
17832
 
 
17833
 
 
17834
 
 
17835
 
 
17836
 
 
17837
 
 
17838
 
 
17839
 
 
17840
 
 
17841
 
 
17842
 
 
17843
 
 
17844
 
 
17845
 
 
17846
 
 
17847
 
 
17848
 
 
17849
 
 
17850
 
 
17851
 
 
17852
 
 
17853
 
 
17854
 
 
17855
 
 
17856
 
 
17857
 
 
17858
 
 
17859
 
 
17860
 
 
17861
 
 
17862
 
 
17863
 
 
17864
 
 
17865
 
 
17866
 
 
17867
 
 
17868
 
 
17869
 
 
17870
 
 
17871
 
 
17872
 
 
17873
 
 
17874
 
 
17875
 
 
17876
 
 
17877
 
 
17878
 
 
17879
 
 
17880
 
 
17881
 
 
17882
 
 
17883
 
 
17884
 
 
17885
 
 
17886
 
 
17887
 
 
17888
 
 
17889
 
 
17890
 
 
17891
 
 
17892
 
 
17893
 
 
17894
 
 
17895
 
 
17896
 
 
17897
 
 
17898
 
 
17899
 
 
17900
 
 
17901
 
 
17902
 
 
17903
 
 
17904
 
 
17905
 
 
17906
 
 
17907
 
 
17908
 
 
17909
 
 
17910
 
 
17911
 
 
17912
 
 
17913
 
 
17914
 
 
17915
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16822
17916
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16823
17917
hardcode_action=
16824
 
if test -n "$hardcode_libdir_flag_spec" || \
16825
 
   test -n "$runpath_var" || \
 
17918
if test -n "$hardcode_libdir_flag_spec" ||
 
17919
   test -n "$runpath_var" ||
16826
17920
   test "X$hardcode_automatic" = "Xyes" ; then
16827
17921
 
16828
 
  # We can hardcode non-existant directories.
 
17922
  # We can hardcode non-existent directories.
16829
17923
  if test "$hardcode_direct" != no &&
16830
17924
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16831
17925
     # have to relink, otherwise we might link with an installed library
16832
17926
     # when we should be linking with a yet-to-be-installed one
16833
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
17927
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
16834
17928
     test "$hardcode_minus_L" != no; then
16835
17929
    # Linking always hardcodes the temporary library directory.
16836
17930
    hardcode_action=relink
16846
17940
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
16847
17941
$as_echo "$hardcode_action" >&6; }
16848
17942
 
16849
 
if test "$hardcode_action" = relink; then
 
17943
if test "$hardcode_action" = relink ||
 
17944
   test "$inherit_rpath" = yes; then
16850
17945
  # Fast installation is not supported
16851
17946
  enable_fast_install=no
16852
17947
elif test "$shlibpath_overrides_runpath" = yes ||
16855
17950
  enable_fast_install=needless
16856
17951
fi
16857
17952
 
16858
 
striplib=
16859
 
old_striplib=
16860
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16861
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
16862
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16863
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16864
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16865
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
16866
 
$as_echo "yes" >&6; }
16867
 
else
16868
 
# FIXME - insert some real tests, host_os isn't really good enough
16869
 
  case $host_os in
16870
 
   darwin*)
16871
 
       if test -n "$STRIP" ; then
16872
 
         striplib="$STRIP -x"
16873
 
         old_striplib="$STRIP -S"
16874
 
         { $as_echo "$as_me:$LINENO: result: yes" >&5
16875
 
$as_echo "yes" >&6; }
16876
 
       else
16877
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
16878
 
$as_echo "no" >&6; }
16879
 
fi
16880
 
       ;;
16881
 
   *)
16882
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
16883
 
$as_echo "no" >&6; }
16884
 
    ;;
16885
 
  esac
16886
 
fi
16887
 
 
16888
 
if test "x$enable_dlopen" != xyes; then
 
17953
 
 
17954
 
 
17955
 
 
17956
 
 
17957
 
 
17958
  if test "x$enable_dlopen" != xyes; then
16889
17959
  enable_dlopen=unknown
16890
17960
  enable_dlopen_self=unknown
16891
17961
  enable_dlopen_self_static=unknown
16900
17970
    lt_cv_dlopen_self=yes
16901
17971
    ;;
16902
17972
 
16903
 
  mingw* | pw32*)
 
17973
  mingw* | pw32* | cegcc*)
16904
17974
    lt_cv_dlopen="LoadLibrary"
16905
17975
    lt_cv_dlopen_libs=
16906
 
   ;;
 
17976
    ;;
16907
17977
 
16908
17978
  cygwin*)
16909
17979
    lt_cv_dlopen="dlopen"
16910
17980
    lt_cv_dlopen_libs=
16911
 
   ;;
 
17981
    ;;
16912
17982
 
16913
17983
  darwin*)
16914
17984
  # if libdl is installed we need to link against it
16977
18047
fi
16978
18048
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16979
18049
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16980
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
18050
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
16981
18051
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16982
18052
else
16983
18053
 
16987
18057
 
16988
18058
fi
16989
18059
 
16990
 
   ;;
 
18060
    ;;
16991
18061
 
16992
18062
  *)
16993
18063
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
17075
18145
fi
17076
18146
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17077
18147
$as_echo "$ac_cv_func_shl_load" >&6; }
17078
 
if test $ac_cv_func_shl_load = yes; then
 
18148
if test "x$ac_cv_func_shl_load" = x""yes; then
17079
18149
  lt_cv_dlopen="shl_load"
17080
18150
else
17081
18151
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17143
18213
fi
17144
18214
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17145
18215
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
17146
 
if test $ac_cv_lib_dld_shl_load = yes; then
 
18216
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
17147
18217
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
17148
18218
else
17149
18219
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
17231
18301
fi
17232
18302
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17233
18303
$as_echo "$ac_cv_func_dlopen" >&6; }
17234
 
if test $ac_cv_func_dlopen = yes; then
 
18304
if test "x$ac_cv_func_dlopen" = x""yes; then
17235
18305
  lt_cv_dlopen="dlopen"
17236
18306
else
17237
18307
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17299
18369
fi
17300
18370
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17301
18371
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17302
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
18372
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
17303
18373
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17304
18374
else
17305
18375
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17367
18437
fi
17368
18438
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17369
18439
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
17370
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
18440
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
17371
18441
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17372
18442
else
17373
18443
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17435
18505
fi
17436
18506
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17437
18507
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
17438
 
if test $ac_cv_lib_dld_dld_link = yes; then
 
18508
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
17439
18509
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
17440
18510
fi
17441
18511
 
17484
18554
else
17485
18555
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17486
18556
  lt_status=$lt_dlunknown
17487
 
  cat > conftest.$ac_ext <<EOF
17488
 
#line 17488 "configure"
 
18557
  cat > conftest.$ac_ext <<_LT_EOF
 
18558
#line 18558 "configure"
17489
18559
#include "confdefs.h"
17490
18560
 
17491
18561
#if HAVE_DLFCN_H
17526
18596
#  endif
17527
18597
#endif
17528
18598
 
17529
 
#ifdef __cplusplus
17530
 
extern "C" void exit (int);
17531
 
#endif
17532
 
 
17533
18599
void fnord() { int i=42;}
17534
18600
int main ()
17535
18601
{
17545
18611
  else
17546
18612
    puts (dlerror ());
17547
18613
 
17548
 
    exit (status);
 
18614
  return status;
17549
18615
}
17550
 
EOF
 
18616
_LT_EOF
17551
18617
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17552
18618
  (eval $ac_link) 2>&5
17553
18619
  ac_status=$?
17584
18650
else
17585
18651
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17586
18652
  lt_status=$lt_dlunknown
17587
 
  cat > conftest.$ac_ext <<EOF
17588
 
#line 17588 "configure"
 
18653
  cat > conftest.$ac_ext <<_LT_EOF
 
18654
#line 18654 "configure"
17589
18655
#include "confdefs.h"
17590
18656
 
17591
18657
#if HAVE_DLFCN_H
17626
18692
#  endif
17627
18693
#endif
17628
18694
 
17629
 
#ifdef __cplusplus
17630
 
extern "C" void exit (int);
17631
 
#endif
17632
 
 
17633
18695
void fnord() { int i=42;}
17634
18696
int main ()
17635
18697
{
17645
18707
  else
17646
18708
    puts (dlerror ());
17647
18709
 
17648
 
    exit (status);
 
18710
  return status;
17649
18711
}
17650
 
EOF
 
18712
_LT_EOF
17651
18713
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17652
18714
  (eval $ac_link) 2>&5
17653
18715
  ac_status=$?
17691
18753
fi
17692
18754
 
17693
18755
 
17694
 
# Report which library types will actually be built
17695
 
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17696
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
17697
 
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
17698
 
$as_echo "$can_build_shared" >&6; }
17699
 
 
17700
 
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17701
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
17702
 
test "$can_build_shared" = "no" && enable_shared=no
17703
 
 
17704
 
# On AIX, shared libraries and static libraries use the same namespace, and
17705
 
# are all built from PIC.
17706
 
case $host_os in
17707
 
aix3*)
17708
 
  test "$enable_shared" = yes && enable_static=no
17709
 
  if test -n "$RANLIB"; then
17710
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
17711
 
    postinstall_cmds='$RANLIB $lib'
17712
 
  fi
17713
 
  ;;
17714
 
 
17715
 
aix[4-9]*)
17716
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17717
 
    test "$enable_shared" = yes && enable_static=no
17718
 
  fi
17719
 
    ;;
17720
 
esac
17721
 
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
17722
 
$as_echo "$enable_shared" >&6; }
17723
 
 
17724
 
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17725
 
$as_echo_n "checking whether to build static libraries... " >&6; }
17726
 
# Make sure either enable_shared or enable_static is yes.
17727
 
test "$enable_shared" = yes || enable_static=yes
17728
 
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
17729
 
$as_echo "$enable_static" >&6; }
17730
 
 
17731
 
# The else clause should only fire when bootstrapping the
17732
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
17733
 
# with your package, and you will get complaints that there are
17734
 
# no rules to generate ltmain.sh.
17735
 
if test -f "$ltmain"; then
17736
 
  # See if we are running on zsh, and set the options which allow our commands through
17737
 
  # without removal of \ escapes.
17738
 
  if test -n "${ZSH_VERSION+set}" ; then
17739
 
    setopt NO_GLOB_SUBST
17740
 
  fi
17741
 
  # Now quote all the things that may contain metacharacters while being
17742
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17743
 
  # variables and quote the copies for generation of the libtool script.
17744
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17745
 
    SED SHELL STRIP \
17746
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17747
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17748
 
    deplibs_check_method reload_flag reload_cmds need_locks \
17749
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17750
 
    lt_cv_sys_global_symbol_to_c_name_address \
17751
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17752
 
    old_postinstall_cmds old_postuninstall_cmds \
17753
 
    compiler \
17754
 
    CC \
17755
 
    LD \
17756
 
    lt_prog_compiler_wl \
17757
 
    lt_prog_compiler_pic \
17758
 
    lt_prog_compiler_static \
17759
 
    lt_prog_compiler_no_builtin_flag \
17760
 
    export_dynamic_flag_spec \
17761
 
    thread_safe_flag_spec \
17762
 
    whole_archive_flag_spec \
17763
 
    enable_shared_with_static_runtimes \
17764
 
    old_archive_cmds \
17765
 
    old_archive_from_new_cmds \
17766
 
    predep_objects \
17767
 
    postdep_objects \
17768
 
    predeps \
17769
 
    postdeps \
17770
 
    compiler_lib_search_path \
17771
 
    compiler_lib_search_dirs \
17772
 
    archive_cmds \
17773
 
    archive_expsym_cmds \
17774
 
    postinstall_cmds \
17775
 
    postuninstall_cmds \
17776
 
    old_archive_from_expsyms_cmds \
17777
 
    allow_undefined_flag \
17778
 
    no_undefined_flag \
17779
 
    export_symbols_cmds \
17780
 
    hardcode_libdir_flag_spec \
17781
 
    hardcode_libdir_flag_spec_ld \
17782
 
    hardcode_libdir_separator \
17783
 
    hardcode_automatic \
17784
 
    module_cmds \
17785
 
    module_expsym_cmds \
17786
 
    lt_cv_prog_compiler_c_o \
17787
 
    fix_srcfile_path \
17788
 
    exclude_expsyms \
17789
 
    include_expsyms; do
17790
 
 
17791
 
    case $var in
17792
 
    old_archive_cmds | \
17793
 
    old_archive_from_new_cmds | \
17794
 
    archive_cmds | \
17795
 
    archive_expsym_cmds | \
17796
 
    module_cmds | \
17797
 
    module_expsym_cmds | \
17798
 
    old_archive_from_expsyms_cmds | \
17799
 
    export_symbols_cmds | \
17800
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
17801
 
    postinstall_cmds | postuninstall_cmds | \
17802
 
    old_postinstall_cmds | old_postuninstall_cmds | \
17803
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17804
 
      # Double-quote double-evaled strings.
17805
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17806
 
      ;;
17807
 
    *)
17808
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17809
 
      ;;
17810
 
    esac
17811
 
  done
17812
 
 
17813
 
  case $lt_echo in
17814
 
  *'\$0 --fallback-echo"')
17815
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17816
 
    ;;
17817
 
  esac
17818
 
 
17819
 
cfgfile="${ofile}T"
17820
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17821
 
  $rm -f "$cfgfile"
17822
 
  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
17823
 
$as_echo "$as_me: creating $ofile" >&6;}
17824
 
 
17825
 
  cat <<__EOF__ >> "$cfgfile"
17826
 
#! $SHELL
17827
 
 
17828
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17829
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17830
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17831
 
#
17832
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
17833
 
# Free Software Foundation, Inc.
17834
 
#
17835
 
# This file is part of GNU Libtool:
17836
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17837
 
#
17838
 
# This program is free software; you can redistribute it and/or modify
17839
 
# it under the terms of the GNU General Public License as published by
17840
 
# the Free Software Foundation; either version 2 of the License, or
17841
 
# (at your option) any later version.
17842
 
#
17843
 
# This program is distributed in the hope that it will be useful, but
17844
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
17845
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17846
 
# General Public License for more details.
17847
 
#
17848
 
# You should have received a copy of the GNU General Public License
17849
 
# along with this program; if not, write to the Free Software
17850
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17851
 
#
17852
 
# As a special exception to the GNU General Public License, if you
17853
 
# distribute this file as part of a program that contains a
17854
 
# configuration script generated by Autoconf, you may include it under
17855
 
# the same distribution terms that you use for the rest of that program.
17856
 
 
17857
 
# A sed program that does not truncate output.
17858
 
SED=$lt_SED
17859
 
 
17860
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17861
 
Xsed="$SED -e 1s/^X//"
17862
 
 
17863
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
17864
 
# if CDPATH is set.
17865
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17866
 
 
17867
 
# The names of the tagged configurations supported by this script.
17868
 
available_tags=
17869
 
 
17870
 
# ### BEGIN LIBTOOL CONFIG
17871
 
 
17872
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17873
 
 
17874
 
# Shell to use when invoking shell scripts.
17875
 
SHELL=$lt_SHELL
17876
 
 
17877
 
# Whether or not to build shared libraries.
17878
 
build_libtool_libs=$enable_shared
17879
 
 
17880
 
# Whether or not to build static libraries.
17881
 
build_old_libs=$enable_static
17882
 
 
17883
 
# Whether or not to add -lc for building shared libraries.
17884
 
build_libtool_need_lc=$archive_cmds_need_lc
17885
 
 
17886
 
# Whether or not to disallow shared libs when runtime libs are static
17887
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17888
 
 
17889
 
# Whether or not to optimize for fast installation.
17890
 
fast_install=$enable_fast_install
17891
 
 
17892
 
# The host system.
17893
 
host_alias=$host_alias
17894
 
host=$host
17895
 
host_os=$host_os
17896
 
 
17897
 
# The build system.
17898
 
build_alias=$build_alias
17899
 
build=$build
17900
 
build_os=$build_os
17901
 
 
17902
 
# An echo program that does not interpret backslashes.
17903
 
echo=$lt_echo
17904
 
 
17905
 
# The archiver.
17906
 
AR=$lt_AR
17907
 
AR_FLAGS=$lt_AR_FLAGS
17908
 
 
17909
 
# A C compiler.
17910
 
LTCC=$lt_LTCC
17911
 
 
17912
 
# LTCC compiler flags.
17913
 
LTCFLAGS=$lt_LTCFLAGS
17914
 
 
17915
 
# A language-specific compiler.
17916
 
CC=$lt_compiler
17917
 
 
17918
 
# Is the compiler the GNU C compiler?
17919
 
with_gcc=$GCC
17920
 
 
17921
 
# An ERE matcher.
17922
 
EGREP=$lt_EGREP
17923
 
 
17924
 
# The linker used to build libraries.
17925
 
LD=$lt_LD
17926
 
 
17927
 
# Whether we need hard or soft links.
17928
 
LN_S=$lt_LN_S
17929
 
 
17930
 
# A BSD-compatible nm program.
17931
 
NM=$lt_NM
17932
 
 
17933
 
# A symbol stripping program
17934
 
STRIP=$lt_STRIP
17935
 
 
17936
 
# Used to examine libraries when file_magic_cmd begins "file"
17937
 
MAGIC_CMD=$MAGIC_CMD
17938
 
 
17939
 
# Used on cygwin: DLL creation program.
17940
 
DLLTOOL="$DLLTOOL"
17941
 
 
17942
 
# Used on cygwin: object dumper.
17943
 
OBJDUMP="$OBJDUMP"
17944
 
 
17945
 
# Used on cygwin: assembler.
17946
 
AS="$AS"
17947
 
 
17948
 
# The name of the directory that contains temporary libtool files.
17949
 
objdir=$objdir
17950
 
 
17951
 
# How to create reloadable object files.
17952
 
reload_flag=$lt_reload_flag
17953
 
reload_cmds=$lt_reload_cmds
17954
 
 
17955
 
# How to pass a linker flag through the compiler.
17956
 
wl=$lt_lt_prog_compiler_wl
17957
 
 
17958
 
# Object file suffix (normally "o").
17959
 
objext="$ac_objext"
17960
 
 
17961
 
# Old archive suffix (normally "a").
17962
 
libext="$libext"
17963
 
 
17964
 
# Shared library suffix (normally ".so").
17965
 
shrext_cmds='$shrext_cmds'
17966
 
 
17967
 
# Executable file suffix (normally "").
17968
 
exeext="$exeext"
17969
 
 
17970
 
# Additional compiler flags for building library objects.
17971
 
pic_flag=$lt_lt_prog_compiler_pic
17972
 
pic_mode=$pic_mode
17973
 
 
17974
 
# What is the maximum length of a command?
17975
 
max_cmd_len=$lt_cv_sys_max_cmd_len
17976
 
 
17977
 
# Does compiler simultaneously support -c and -o options?
17978
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17979
 
 
17980
 
# Must we lock files when doing compilation?
17981
 
need_locks=$lt_need_locks
17982
 
 
17983
 
# Do we need the lib prefix for modules?
17984
 
need_lib_prefix=$need_lib_prefix
17985
 
 
17986
 
# Do we need a version for libraries?
17987
 
need_version=$need_version
17988
 
 
17989
 
# Whether dlopen is supported.
17990
 
dlopen_support=$enable_dlopen
17991
 
 
17992
 
# Whether dlopen of programs is supported.
17993
 
dlopen_self=$enable_dlopen_self
17994
 
 
17995
 
# Whether dlopen of statically linked programs is supported.
17996
 
dlopen_self_static=$enable_dlopen_self_static
17997
 
 
17998
 
# Compiler flag to prevent dynamic linking.
17999
 
link_static_flag=$lt_lt_prog_compiler_static
18000
 
 
18001
 
# Compiler flag to turn off builtin functions.
18002
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18003
 
 
18004
 
# Compiler flag to allow reflexive dlopens.
18005
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18006
 
 
18007
 
# Compiler flag to generate shared objects directly from archives.
18008
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
18009
 
 
18010
 
# Compiler flag to generate thread-safe objects.
18011
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
18012
 
 
18013
 
# Library versioning type.
18014
 
version_type=$version_type
18015
 
 
18016
 
# Format of library name prefix.
18017
 
libname_spec=$lt_libname_spec
18018
 
 
18019
 
# List of archive names.  First name is the real one, the rest are links.
18020
 
# The last name is the one that the linker finds with -lNAME.
18021
 
library_names_spec=$lt_library_names_spec
18022
 
 
18023
 
# The coded name of the library, if different from the real name.
18024
 
soname_spec=$lt_soname_spec
18025
 
 
18026
 
# Commands used to build and install an old-style archive.
18027
 
RANLIB=$lt_RANLIB
18028
 
old_archive_cmds=$lt_old_archive_cmds
18029
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18030
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18031
 
 
18032
 
# Create an old-style archive from a shared archive.
18033
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18034
 
 
18035
 
# Create a temporary old-style archive to link instead of a shared archive.
18036
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18037
 
 
18038
 
# Commands used to build and install a shared archive.
18039
 
archive_cmds=$lt_archive_cmds
18040
 
archive_expsym_cmds=$lt_archive_expsym_cmds
18041
 
postinstall_cmds=$lt_postinstall_cmds
18042
 
postuninstall_cmds=$lt_postuninstall_cmds
18043
 
 
18044
 
# Commands used to build a loadable module (assumed same as above if empty)
18045
 
module_cmds=$lt_module_cmds
18046
 
module_expsym_cmds=$lt_module_expsym_cmds
18047
 
 
18048
 
# Commands to strip libraries.
18049
 
old_striplib=$lt_old_striplib
18050
 
striplib=$lt_striplib
18051
 
 
18052
 
# Dependencies to place before the objects being linked to create a
18053
 
# shared library.
18054
 
predep_objects=$lt_predep_objects
18055
 
 
18056
 
# Dependencies to place after the objects being linked to create a
18057
 
# shared library.
18058
 
postdep_objects=$lt_postdep_objects
18059
 
 
18060
 
# Dependencies to place before the objects being linked to create a
18061
 
# shared library.
18062
 
predeps=$lt_predeps
18063
 
 
18064
 
# Dependencies to place after the objects being linked to create a
18065
 
# shared library.
18066
 
postdeps=$lt_postdeps
18067
 
 
18068
 
# The directories searched by this compiler when creating a shared
18069
 
# library
18070
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18071
 
 
18072
 
# The library search path used internally by the compiler when linking
18073
 
# a shared library.
18074
 
compiler_lib_search_path=$lt_compiler_lib_search_path
18075
 
 
18076
 
# Method to check whether dependent libraries are shared objects.
18077
 
deplibs_check_method=$lt_deplibs_check_method
18078
 
 
18079
 
# Command to use when deplibs_check_method == file_magic.
18080
 
file_magic_cmd=$lt_file_magic_cmd
18081
 
 
18082
 
# Flag that allows shared libraries with undefined symbols to be built.
18083
 
allow_undefined_flag=$lt_allow_undefined_flag
18084
 
 
18085
 
# Flag that forces no undefined symbols.
18086
 
no_undefined_flag=$lt_no_undefined_flag
18087
 
 
18088
 
# Commands used to finish a libtool library installation in a directory.
18089
 
finish_cmds=$lt_finish_cmds
18090
 
 
18091
 
# Same as above, but a single script fragment to be evaled but not shown.
18092
 
finish_eval=$lt_finish_eval
18093
 
 
18094
 
# Take the output of nm and produce a listing of raw symbols and C names.
18095
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18096
 
 
18097
 
# Transform the output of nm in a proper C declaration
18098
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18099
 
 
18100
 
# Transform the output of nm in a C name address pair
18101
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18102
 
 
18103
 
# This is the shared library runtime path variable.
18104
 
runpath_var=$runpath_var
18105
 
 
18106
 
# This is the shared library path variable.
18107
 
shlibpath_var=$shlibpath_var
18108
 
 
18109
 
# Is shlibpath searched before the hard-coded library search path?
18110
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18111
 
 
18112
 
# How to hardcode a shared library path into an executable.
18113
 
hardcode_action=$hardcode_action
18114
 
 
18115
 
# Whether we should hardcode library paths into libraries.
18116
 
hardcode_into_libs=$hardcode_into_libs
18117
 
 
18118
 
# Flag to hardcode \$libdir into a binary during linking.
18119
 
# This must work even if \$libdir does not exist.
18120
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18121
 
 
18122
 
# If ld is used when linking, flag to hardcode \$libdir into
18123
 
# a binary during linking. This must work even if \$libdir does
18124
 
# not exist.
18125
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18126
 
 
18127
 
# Whether we need a single -rpath flag with a separated argument.
18128
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18129
 
 
18130
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18131
 
# resulting binary.
18132
 
hardcode_direct=$hardcode_direct
18133
 
 
18134
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18135
 
# resulting binary.
18136
 
hardcode_minus_L=$hardcode_minus_L
18137
 
 
18138
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18139
 
# the resulting binary.
18140
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
18141
 
 
18142
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18143
 
# and all subsequent libraries and executables linked against it.
18144
 
hardcode_automatic=$hardcode_automatic
18145
 
 
18146
 
# Variables whose values should be saved in libtool wrapper scripts and
18147
 
# restored at relink time.
18148
 
variables_saved_for_relink="$variables_saved_for_relink"
18149
 
 
18150
 
# Whether libtool must link a program against all its dependency libraries.
18151
 
link_all_deplibs=$link_all_deplibs
18152
 
 
18153
 
# Compile-time system search path for libraries
18154
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18155
 
 
18156
 
# Run-time system search path for libraries
18157
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18158
 
 
18159
 
# Fix the shell variable \$srcfile for the compiler.
18160
 
fix_srcfile_path=$lt_fix_srcfile_path
18161
 
 
18162
 
# Set to yes if exported symbols are required.
18163
 
always_export_symbols=$always_export_symbols
18164
 
 
18165
 
# The commands to list exported symbols.
18166
 
export_symbols_cmds=$lt_export_symbols_cmds
18167
 
 
18168
 
# The commands to extract the exported symbol list from a shared archive.
18169
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18170
 
 
18171
 
# Symbols that should not be listed in the preloaded symbols.
18172
 
exclude_expsyms=$lt_exclude_expsyms
18173
 
 
18174
 
# Symbols that must always be exported.
18175
 
include_expsyms=$lt_include_expsyms
18176
 
 
18177
 
# ### END LIBTOOL CONFIG
18178
 
 
18179
 
__EOF__
18180
 
 
18181
 
 
18182
 
  case $host_os in
18183
 
  aix3*)
18184
 
    cat <<\EOF >> "$cfgfile"
18185
 
 
18186
 
# AIX sometimes has problems with the GCC collect2 program.  For some
18187
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
18188
 
# vanish in a puff of smoke.
18189
 
if test "X${COLLECT_NAMES+set}" != Xset; then
18190
 
  COLLECT_NAMES=
18191
 
  export COLLECT_NAMES
18192
 
fi
18193
 
EOF
18194
 
    ;;
18195
 
  esac
18196
 
 
18197
 
  # We use sed instead of cat because bash on DJGPP gets confused if
18198
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18199
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
18200
 
  # is reportedly fixed, but why not run on old versions too?
18201
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
18202
 
 
18203
 
  mv -f "$cfgfile" "$ofile" || \
18204
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18205
 
  chmod +x "$ofile"
18206
 
 
18207
 
else
18208
 
  # If there is no Makefile yet, we rely on a make rule to execute
18209
 
  # `config.status --recheck' to rerun these tests and create the
18210
 
  # libtool script then.
18211
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18212
 
  if test -f "$ltmain_in"; then
18213
 
    test -f Makefile && make "$ltmain"
18214
 
  fi
18215
 
fi
18216
 
 
18217
 
 
18218
 
ac_ext=c
18219
 
ac_cpp='$CPP $CPPFLAGS'
18220
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18221
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18222
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18223
 
 
18224
 
CC="$lt_save_CC"
18225
 
 
18226
 
 
18227
 
# Check whether --with-tags was given.
18228
 
if test "${with_tags+set}" = set; then
18229
 
  withval=$with_tags; tagnames="$withval"
18230
 
fi
18231
 
 
18232
 
 
18233
 
if test -f "$ltmain" && test -n "$tagnames"; then
18234
 
  if test ! -f "${ofile}"; then
18235
 
    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
18236
 
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
18237
 
  fi
18238
 
 
18239
 
  if test -z "$LTCC"; then
18240
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
18241
 
    if test -z "$LTCC"; then
18242
 
      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
18243
 
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
18244
 
    else
18245
 
      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
18246
 
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
18247
 
    fi
18248
 
  fi
18249
 
  if test -z "$LTCFLAGS"; then
18250
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
18251
 
  fi
18252
 
 
18253
 
  # Extract list of available tagged configurations in $ofile.
18254
 
  # Note that this assumes the entire list is on one line.
18255
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
18256
 
 
18257
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18258
 
  for tagname in $tagnames; do
18259
 
    IFS="$lt_save_ifs"
18260
 
    # Check whether tagname contains only valid characters
18261
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18262
 
    "") ;;
18263
 
    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18264
 
$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
18265
 
   { (exit 1); exit 1; }; }
18266
 
        ;;
18267
 
    esac
18268
 
 
18269
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18270
 
    then
18271
 
      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18272
 
$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18273
 
   { (exit 1); exit 1; }; }
18274
 
    fi
18275
 
 
18276
 
    # Update the list of available tags.
18277
 
    if test -n "$tagname"; then
18278
 
      echo appending configuration tag \"$tagname\" to $ofile
18279
 
 
18280
 
      case $tagname in
18281
 
      CXX)
18282
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18283
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
18284
 
            (test "X$CXX" != "Xg++"))) ; then
18285
 
          ac_ext=cpp
18286
 
ac_cpp='$CXXCPP $CPPFLAGS'
18287
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18288
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18289
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18290
 
 
18291
 
 
18292
 
 
18293
 
 
18294
 
archive_cmds_need_lc_CXX=no
18295
 
allow_undefined_flag_CXX=
18296
 
always_export_symbols_CXX=no
18297
 
archive_expsym_cmds_CXX=
18298
 
export_dynamic_flag_spec_CXX=
18299
 
hardcode_direct_CXX=no
18300
 
hardcode_libdir_flag_spec_CXX=
18301
 
hardcode_libdir_flag_spec_ld_CXX=
18302
 
hardcode_libdir_separator_CXX=
18303
 
hardcode_minus_L_CXX=no
18304
 
hardcode_shlibpath_var_CXX=unsupported
18305
 
hardcode_automatic_CXX=no
18306
 
module_cmds_CXX=
18307
 
module_expsym_cmds_CXX=
18308
 
link_all_deplibs_CXX=unknown
18309
 
old_archive_cmds_CXX=$old_archive_cmds
18310
 
no_undefined_flag_CXX=
18311
 
whole_archive_flag_spec_CXX=
18312
 
enable_shared_with_static_runtimes_CXX=no
18313
 
 
18314
 
# Dependencies to place before and after the object being linked:
18315
 
predep_objects_CXX=
18316
 
postdep_objects_CXX=
18317
 
predeps_CXX=
18318
 
postdeps_CXX=
18319
 
compiler_lib_search_path_CXX=
18320
 
compiler_lib_search_dirs_CXX=
18321
 
 
18322
 
# Source file extension for C++ test sources.
18323
 
ac_ext=cpp
18324
 
 
18325
 
# Object file extension for compiled C++ test sources.
18326
 
objext=o
18327
 
objext_CXX=$objext
18328
 
 
18329
 
# Code to be used in simple compile tests
18330
 
lt_simple_compile_test_code="int some_variable = 0;"
18331
 
 
18332
 
# Code to be used in simple link tests
18333
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
18334
 
 
18335
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18336
 
 
18337
 
# If no C compiler was specified, use CC.
18338
 
LTCC=${LTCC-"$CC"}
18339
 
 
18340
 
# If no C compiler flags were specified, use CFLAGS.
18341
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18342
 
 
18343
 
# Allow CC to be a program name with arguments.
18344
 
compiler=$CC
18345
 
 
18346
 
 
18347
 
# save warnings/boilerplate of simple test code
18348
 
ac_outfile=conftest.$ac_objext
18349
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18350
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18351
 
_lt_compiler_boilerplate=`cat conftest.err`
18352
 
$rm conftest*
18353
 
 
18354
 
ac_outfile=conftest.$ac_objext
18355
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18356
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18357
 
_lt_linker_boilerplate=`cat conftest.err`
18358
 
$rm -r conftest*
18359
 
 
18360
 
 
18361
 
# Allow CC to be a program name with arguments.
18362
 
lt_save_CC=$CC
18363
 
lt_save_LD=$LD
18364
 
lt_save_GCC=$GCC
18365
 
GCC=$GXX
18366
 
lt_save_with_gnu_ld=$with_gnu_ld
18367
 
lt_save_path_LD=$lt_cv_path_LD
18368
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18369
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18370
 
else
18371
 
  $as_unset lt_cv_prog_gnu_ld
18372
 
fi
18373
 
if test -n "${lt_cv_path_LDCXX+set}"; then
18374
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
18375
 
else
18376
 
  $as_unset lt_cv_path_LD
18377
 
fi
18378
 
test -z "${LDCXX+set}" || LD=$LDCXX
18379
 
CC=${CXX-"c++"}
18380
 
compiler=$CC
18381
 
compiler_CXX=$CC
18382
 
for cc_temp in $compiler""; do
18383
 
  case $cc_temp in
18384
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18385
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18386
 
    \-*) ;;
18387
 
    *) break;;
18388
 
  esac
18389
 
done
18390
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18391
 
 
18392
 
 
18393
 
# We don't want -fno-exception wen compiling C++ code, so set the
18394
 
# no_builtin_flag separately
18395
 
if test "$GXX" = yes; then
18396
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18397
 
else
18398
 
  lt_prog_compiler_no_builtin_flag_CXX=
18399
 
fi
18400
 
 
18401
 
if test "$GXX" = yes; then
18402
 
  # Set up default GNU C++ configuration
18403
 
 
18404
 
 
18405
 
# Check whether --with-gnu-ld was given.
18406
 
if test "${with_gnu_ld+set}" = set; then
18407
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18408
 
else
18409
 
  with_gnu_ld=no
18410
 
fi
18411
 
 
18412
 
ac_prog=ld
18413
 
if test "$GCC" = yes; then
18414
 
  # Check if gcc -print-prog-name=ld gives a path.
18415
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18416
 
$as_echo_n "checking for ld used by $CC... " >&6; }
18417
 
  case $host in
18418
 
  *-*-mingw*)
18419
 
    # gcc leaves a trailing carriage return which upsets mingw
18420
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18421
 
  *)
18422
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18423
 
  esac
18424
 
  case $ac_prog in
18425
 
    # Accept absolute paths.
18426
 
    [\\/]* | ?:[\\/]*)
18427
 
      re_direlt='/[^/][^/]*/\.\./'
18428
 
      # Canonicalize the pathname of ld
18429
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
18430
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18431
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
18432
 
      done
18433
 
      test -z "$LD" && LD="$ac_prog"
18434
 
      ;;
18435
 
  "")
18436
 
    # If it fails, then pretend we aren't using GCC.
18437
 
    ac_prog=ld
18438
 
    ;;
18439
 
  *)
18440
 
    # If it is relative, then search for the first ld in PATH.
18441
 
    with_gnu_ld=unknown
18442
 
    ;;
18443
 
  esac
18444
 
elif test "$with_gnu_ld" = yes; then
18445
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
18446
 
$as_echo_n "checking for GNU ld... " >&6; }
18447
 
else
18448
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18449
 
$as_echo_n "checking for non-GNU ld... " >&6; }
18450
 
fi
18451
 
if test "${lt_cv_path_LD+set}" = set; then
18452
 
  $as_echo_n "(cached) " >&6
18453
 
else
18454
 
  if test -z "$LD"; then
18455
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18456
 
  for ac_dir in $PATH; do
18457
 
    IFS="$lt_save_ifs"
18458
 
    test -z "$ac_dir" && ac_dir=.
18459
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18460
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
18461
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
18462
 
      # but apparently some variants of GNU ld only accept -v.
18463
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
18464
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18465
 
      *GNU* | *'with BFD'*)
18466
 
        test "$with_gnu_ld" != no && break
18467
 
        ;;
18468
 
      *)
18469
 
        test "$with_gnu_ld" != yes && break
18470
 
        ;;
18471
 
      esac
18472
 
    fi
18473
 
  done
18474
 
  IFS="$lt_save_ifs"
18475
 
else
18476
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
18477
 
fi
18478
 
fi
18479
 
 
18480
 
LD="$lt_cv_path_LD"
18481
 
if test -n "$LD"; then
18482
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
18483
 
$as_echo "$LD" >&6; }
18484
 
else
18485
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
18486
 
$as_echo "no" >&6; }
18487
 
fi
18488
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18489
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18490
 
   { (exit 1); exit 1; }; }
18491
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18492
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18493
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
18494
 
  $as_echo_n "(cached) " >&6
18495
 
else
18496
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
18497
 
case `$LD -v 2>&1 </dev/null` in
18498
 
*GNU* | *'with BFD'*)
18499
 
  lt_cv_prog_gnu_ld=yes
18500
 
  ;;
18501
 
*)
18502
 
  lt_cv_prog_gnu_ld=no
18503
 
  ;;
18504
 
esac
18505
 
fi
18506
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18507
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
18508
 
with_gnu_ld=$lt_cv_prog_gnu_ld
18509
 
 
18510
 
 
18511
 
 
18512
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
18513
 
  # archiving commands below assume that GNU ld is being used.
18514
 
  if test "$with_gnu_ld" = yes; then
18515
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18516
 
    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'
18517
 
 
18518
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18519
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18520
 
 
18521
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
18522
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18523
 
    #     investigate it a little bit more. (MM)
18524
 
    wlarc='${wl}'
18525
 
 
18526
 
    # ancient GNU ld didn't support --whole-archive et. al.
18527
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
18528
 
        grep 'no-whole-archive' > /dev/null; then
18529
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18530
 
    else
18531
 
      whole_archive_flag_spec_CXX=
18532
 
    fi
18533
 
  else
18534
 
    with_gnu_ld=no
18535
 
    wlarc=
18536
 
 
18537
 
    # A generic and very simple default shared library creation
18538
 
    # command for GNU C++ for the case where it uses the native
18539
 
    # linker, instead of GNU ld.  If possible, this setting should
18540
 
    # overridden to take advantage of the native linker features on
18541
 
    # the platform it is being used on.
18542
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18543
 
  fi
18544
 
 
18545
 
  # Commands to make compiler produce verbose output that lists
18546
 
  # what "hidden" libraries, object files and flags are used when
18547
 
  # linking a shared library.
18548
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18549
 
 
18550
 
else
18551
 
  GXX=no
18552
 
  with_gnu_ld=no
18553
 
  wlarc=
18554
 
fi
18555
 
 
18556
 
# PORTME: fill in a description of your system's C++ link characteristics
18557
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18558
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18559
 
ld_shlibs_CXX=yes
18560
 
case $host_os in
18561
 
  aix3*)
18562
 
    # FIXME: insert proper C++ library support
18563
 
    ld_shlibs_CXX=no
18564
 
    ;;
18565
 
  aix[4-9]*)
18566
 
    if test "$host_cpu" = ia64; then
18567
 
      # On IA64, the linker does run time linking by default, so we don't
18568
 
      # have to do anything special.
18569
 
      aix_use_runtimelinking=no
18570
 
      exp_sym_flag='-Bexport'
18571
 
      no_entry_flag=""
18572
 
    else
18573
 
      aix_use_runtimelinking=no
18574
 
 
18575
 
      # Test if we are trying to use run time linking or normal
18576
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18577
 
      # need to do runtime linking.
18578
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18579
 
        for ld_flag in $LDFLAGS; do
18580
 
          case $ld_flag in
18581
 
          *-brtl*)
18582
 
            aix_use_runtimelinking=yes
18583
 
            break
18584
 
            ;;
18585
 
          esac
18586
 
        done
18587
 
        ;;
18588
 
      esac
18589
 
 
18590
 
      exp_sym_flag='-bexport'
18591
 
      no_entry_flag='-bnoentry'
18592
 
    fi
18593
 
 
18594
 
    # When large executables or shared objects are built, AIX ld can
18595
 
    # have problems creating the table of contents.  If linking a library
18596
 
    # or program results in "error TOC overflow" add -mminimal-toc to
18597
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18598
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18599
 
 
18600
 
    archive_cmds_CXX=''
18601
 
    hardcode_direct_CXX=yes
18602
 
    hardcode_libdir_separator_CXX=':'
18603
 
    link_all_deplibs_CXX=yes
18604
 
 
18605
 
    if test "$GXX" = yes; then
18606
 
      case $host_os in aix4.[012]|aix4.[012].*)
18607
 
      # We only want to do this on AIX 4.2 and lower, the check
18608
 
      # below for broken collect2 doesn't work under 4.3+
18609
 
        collect2name=`${CC} -print-prog-name=collect2`
18610
 
        if test -f "$collect2name" && \
18611
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18612
 
        then
18613
 
          # We have reworked collect2
18614
 
          :
18615
 
        else
18616
 
          # We have old collect2
18617
 
          hardcode_direct_CXX=unsupported
18618
 
          # It fails to find uninstalled libraries when the uninstalled
18619
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
18620
 
          # to unsupported forces relinking
18621
 
          hardcode_minus_L_CXX=yes
18622
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
18623
 
          hardcode_libdir_separator_CXX=
18624
 
        fi
18625
 
        ;;
18626
 
      esac
18627
 
      shared_flag='-shared'
18628
 
      if test "$aix_use_runtimelinking" = yes; then
18629
 
        shared_flag="$shared_flag "'${wl}-G'
18630
 
      fi
18631
 
    else
18632
 
      # not using gcc
18633
 
      if test "$host_cpu" = ia64; then
18634
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18635
 
        # chokes on -Wl,-G. The following line is correct:
18636
 
        shared_flag='-G'
18637
 
      else
18638
 
        if test "$aix_use_runtimelinking" = yes; then
18639
 
          shared_flag='${wl}-G'
18640
 
        else
18641
 
          shared_flag='${wl}-bM:SRE'
18642
 
        fi
18643
 
      fi
18644
 
    fi
18645
 
 
18646
 
    # It seems that -bexpall does not export symbols beginning with
18647
 
    # underscore (_), so it is better to generate a list of symbols to export.
18648
 
    always_export_symbols_CXX=yes
18649
 
    if test "$aix_use_runtimelinking" = yes; then
18650
 
      # Warning - without using the other runtime loading flags (-brtl),
18651
 
      # -berok will link without error, but may produce a broken library.
18652
 
      allow_undefined_flag_CXX='-berok'
18653
 
      # Determine the default libpath from the value encoded in an empty executable.
18654
 
      cat >conftest.$ac_ext <<_ACEOF
18655
 
/* confdefs.h.  */
18656
 
_ACEOF
18657
 
cat confdefs.h >>conftest.$ac_ext
18658
 
cat >>conftest.$ac_ext <<_ACEOF
18659
 
/* end confdefs.h.  */
18660
 
 
18661
 
int
18662
 
main ()
18663
 
{
18664
 
 
18665
 
  ;
18666
 
  return 0;
18667
 
}
18668
 
_ACEOF
18669
 
rm -f conftest.$ac_objext conftest$ac_exeext
18670
 
if { (ac_try="$ac_link"
18671
 
case "(($ac_try" in
18672
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18673
 
  *) ac_try_echo=$ac_try;;
18674
 
esac
18675
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18676
 
$as_echo "$ac_try_echo") >&5
18677
 
  (eval "$ac_link") 2>conftest.er1
18678
 
  ac_status=$?
18679
 
  grep -v '^ *+' conftest.er1 >conftest.err
18680
 
  rm -f conftest.er1
18681
 
  cat conftest.err >&5
18682
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683
 
  (exit $ac_status); } && {
18684
 
         test -z "$ac_cxx_werror_flag" ||
18685
 
         test ! -s conftest.err
18686
 
       } && test -s conftest$ac_exeext && {
18687
 
         test "$cross_compiling" = yes ||
18688
 
         $as_test_x conftest$ac_exeext
18689
 
       }; then
18690
 
 
18691
 
lt_aix_libpath_sed='
18692
 
    /Import File Strings/,/^$/ {
18693
 
        /^0/ {
18694
 
            s/^0  *\(.*\)$/\1/
18695
 
            p
18696
 
        }
18697
 
    }'
18698
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18699
 
# Check for a 64-bit object if we didn't find anything.
18700
 
if test -z "$aix_libpath"; then
18701
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18702
 
fi
18703
 
else
18704
 
  $as_echo "$as_me: failed program was:" >&5
18705
 
sed 's/^/| /' conftest.$ac_ext >&5
18706
 
 
18707
 
 
18708
 
fi
18709
 
 
18710
 
rm -rf conftest.dSYM
18711
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18712
 
      conftest$ac_exeext conftest.$ac_ext
18713
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18714
 
 
18715
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18716
 
 
18717
 
      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"
18718
 
     else
18719
 
      if test "$host_cpu" = ia64; then
18720
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
18721
 
        allow_undefined_flag_CXX="-z nodefs"
18722
 
        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"
18723
 
      else
18724
 
        # Determine the default libpath from the value encoded in an empty executable.
18725
 
        cat >conftest.$ac_ext <<_ACEOF
18726
 
/* confdefs.h.  */
18727
 
_ACEOF
18728
 
cat confdefs.h >>conftest.$ac_ext
18729
 
cat >>conftest.$ac_ext <<_ACEOF
18730
 
/* end confdefs.h.  */
18731
 
 
18732
 
int
18733
 
main ()
18734
 
{
18735
 
 
18736
 
  ;
18737
 
  return 0;
18738
 
}
18739
 
_ACEOF
18740
 
rm -f conftest.$ac_objext conftest$ac_exeext
18741
 
if { (ac_try="$ac_link"
18742
 
case "(($ac_try" in
18743
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18744
 
  *) ac_try_echo=$ac_try;;
18745
 
esac
18746
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18747
 
$as_echo "$ac_try_echo") >&5
18748
 
  (eval "$ac_link") 2>conftest.er1
18749
 
  ac_status=$?
18750
 
  grep -v '^ *+' conftest.er1 >conftest.err
18751
 
  rm -f conftest.er1
18752
 
  cat conftest.err >&5
18753
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754
 
  (exit $ac_status); } && {
18755
 
         test -z "$ac_cxx_werror_flag" ||
18756
 
         test ! -s conftest.err
18757
 
       } && test -s conftest$ac_exeext && {
18758
 
         test "$cross_compiling" = yes ||
18759
 
         $as_test_x conftest$ac_exeext
18760
 
       }; then
18761
 
 
18762
 
lt_aix_libpath_sed='
18763
 
    /Import File Strings/,/^$/ {
18764
 
        /^0/ {
18765
 
            s/^0  *\(.*\)$/\1/
18766
 
            p
18767
 
        }
18768
 
    }'
18769
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18770
 
# Check for a 64-bit object if we didn't find anything.
18771
 
if test -z "$aix_libpath"; then
18772
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18773
 
fi
18774
 
else
18775
 
  $as_echo "$as_me: failed program was:" >&5
18776
 
sed 's/^/| /' conftest.$ac_ext >&5
18777
 
 
18778
 
 
18779
 
fi
18780
 
 
18781
 
rm -rf conftest.dSYM
18782
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18783
 
      conftest$ac_exeext conftest.$ac_ext
18784
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18785
 
 
18786
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18787
 
        # Warning - without using the other run time loading flags,
18788
 
        # -berok will link without error, but may produce a broken library.
18789
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
18790
 
        allow_undefined_flag_CXX=' ${wl}-berok'
18791
 
        # Exported symbols can be pulled into shared objects from archives
18792
 
        whole_archive_flag_spec_CXX='$convenience'
18793
 
        archive_cmds_need_lc_CXX=yes
18794
 
        # This is similar to how AIX traditionally builds its shared libraries.
18795
 
        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'
18796
 
      fi
18797
 
    fi
18798
 
    ;;
18799
 
 
18800
 
  beos*)
18801
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18802
 
      allow_undefined_flag_CXX=unsupported
18803
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18804
 
      # support --undefined.  This deserves some investigation.  FIXME
18805
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18806
 
    else
18807
 
      ld_shlibs_CXX=no
18808
 
    fi
18809
 
    ;;
18810
 
 
18811
 
  chorus*)
18812
 
    case $cc_basename in
18813
 
      *)
18814
 
        # FIXME: insert proper C++ library support
18815
 
        ld_shlibs_CXX=no
18816
 
        ;;
18817
 
    esac
18818
 
    ;;
18819
 
 
18820
 
  cygwin* | mingw* | pw32*)
18821
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18822
 
    # as there is no search path for DLLs.
18823
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
18824
 
    allow_undefined_flag_CXX=unsupported
18825
 
    always_export_symbols_CXX=no
18826
 
    enable_shared_with_static_runtimes_CXX=yes
18827
 
 
18828
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18829
 
      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'
18830
 
      # If the export-symbols file already is a .def file (1st line
18831
 
      # is EXPORTS), use it as is; otherwise, prepend...
18832
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18833
 
        cp $export_symbols $output_objdir/$soname.def;
18834
 
      else
18835
 
        echo EXPORTS > $output_objdir/$soname.def;
18836
 
        cat $export_symbols >> $output_objdir/$soname.def;
18837
 
      fi~
18838
 
      $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'
18839
 
    else
18840
 
      ld_shlibs_CXX=no
18841
 
    fi
18842
 
  ;;
18843
 
      darwin* | rhapsody*)
18844
 
      archive_cmds_need_lc_CXX=no
18845
 
      hardcode_direct_CXX=no
18846
 
      hardcode_automatic_CXX=yes
18847
 
      hardcode_shlibpath_var_CXX=unsupported
18848
 
      whole_archive_flag_spec_CXX=''
18849
 
      link_all_deplibs_CXX=yes
18850
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
18851
 
      if test "$GXX" = yes ; then
18852
 
      output_verbose_link_cmd='echo'
18853
 
      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}"
18854
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18855
 
      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}"
18856
 
      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}"
18857
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
18858
 
        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}"
18859
 
        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}"
18860
 
      fi
18861
 
      else
18862
 
      case $cc_basename in
18863
 
        xlc*)
18864
 
         output_verbose_link_cmd='echo'
18865
 
          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'
18866
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18867
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18868
 
          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}'
18869
 
          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}'
18870
 
          ;;
18871
 
       *)
18872
 
         ld_shlibs_CXX=no
18873
 
          ;;
18874
 
      esac
18875
 
      fi
18876
 
        ;;
18877
 
 
18878
 
  dgux*)
18879
 
    case $cc_basename in
18880
 
      ec++*)
18881
 
        # FIXME: insert proper C++ library support
18882
 
        ld_shlibs_CXX=no
18883
 
        ;;
18884
 
      ghcx*)
18885
 
        # Green Hills C++ Compiler
18886
 
        # FIXME: insert proper C++ library support
18887
 
        ld_shlibs_CXX=no
18888
 
        ;;
18889
 
      *)
18890
 
        # FIXME: insert proper C++ library support
18891
 
        ld_shlibs_CXX=no
18892
 
        ;;
18893
 
    esac
18894
 
    ;;
18895
 
  freebsd[12]*)
18896
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
18897
 
    ld_shlibs_CXX=no
18898
 
    ;;
18899
 
  freebsd-elf*)
18900
 
    archive_cmds_need_lc_CXX=no
18901
 
    ;;
18902
 
  freebsd* | dragonfly*)
18903
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18904
 
    # conventions
18905
 
    ld_shlibs_CXX=yes
18906
 
    ;;
18907
 
  gnu*)
18908
 
    ;;
18909
 
  hpux9*)
18910
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18911
 
    hardcode_libdir_separator_CXX=:
18912
 
    export_dynamic_flag_spec_CXX='${wl}-E'
18913
 
    hardcode_direct_CXX=yes
18914
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
18915
 
                                # but as the default
18916
 
                                # location of the library.
18917
 
 
18918
 
    case $cc_basename in
18919
 
    CC*)
18920
 
      # FIXME: insert proper C++ library support
18921
 
      ld_shlibs_CXX=no
18922
 
      ;;
18923
 
    aCC*)
18924
 
      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'
18925
 
      # Commands to make compiler produce verbose output that lists
18926
 
      # what "hidden" libraries, object files and flags are used when
18927
 
      # linking a shared library.
18928
 
      #
18929
 
      # There doesn't appear to be a way to prevent this compiler from
18930
 
      # explicitly linking system object files so we need to strip them
18931
 
      # from the output so that they don't get included in the library
18932
 
      # dependencies.
18933
 
      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'
18934
 
      ;;
18935
 
    *)
18936
 
      if test "$GXX" = yes; then
18937
 
        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'
18938
 
      else
18939
 
        # FIXME: insert proper C++ library support
18940
 
        ld_shlibs_CXX=no
18941
 
      fi
18942
 
      ;;
18943
 
    esac
18944
 
    ;;
18945
 
  hpux10*|hpux11*)
18946
 
    if test $with_gnu_ld = no; then
18947
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18948
 
      hardcode_libdir_separator_CXX=:
18949
 
 
18950
 
      case $host_cpu in
18951
 
      hppa*64*|ia64*) ;;
18952
 
      *)
18953
 
        export_dynamic_flag_spec_CXX='${wl}-E'
18954
 
        ;;
18955
 
      esac
18956
 
    fi
18957
 
    case $host_cpu in
18958
 
    hppa*64*|ia64*)
18959
 
      hardcode_direct_CXX=no
18960
 
      hardcode_shlibpath_var_CXX=no
18961
 
      ;;
18962
 
    *)
18963
 
      hardcode_direct_CXX=yes
18964
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
18965
 
                                              # but as the default
18966
 
                                              # location of the library.
18967
 
      ;;
18968
 
    esac
18969
 
 
18970
 
    case $cc_basename in
18971
 
      CC*)
18972
 
        # FIXME: insert proper C++ library support
18973
 
        ld_shlibs_CXX=no
18974
 
        ;;
18975
 
      aCC*)
18976
 
        case $host_cpu in
18977
 
        hppa*64*)
18978
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18979
 
          ;;
18980
 
        ia64*)
18981
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18982
 
          ;;
18983
 
        *)
18984
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18985
 
          ;;
18986
 
        esac
18987
 
        # Commands to make compiler produce verbose output that lists
18988
 
        # what "hidden" libraries, object files and flags are used when
18989
 
        # linking a shared library.
18990
 
        #
18991
 
        # There doesn't appear to be a way to prevent this compiler from
18992
 
        # explicitly linking system object files so we need to strip them
18993
 
        # from the output so that they don't get included in the library
18994
 
        # dependencies.
18995
 
        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'
18996
 
        ;;
18997
 
      *)
18998
 
        if test "$GXX" = yes; then
18999
 
          if test $with_gnu_ld = no; then
19000
 
            case $host_cpu in
19001
 
            hppa*64*)
19002
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19003
 
              ;;
19004
 
            ia64*)
19005
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19006
 
              ;;
19007
 
            *)
19008
 
              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'
19009
 
              ;;
19010
 
            esac
19011
 
          fi
19012
 
        else
19013
 
          # FIXME: insert proper C++ library support
19014
 
          ld_shlibs_CXX=no
19015
 
        fi
19016
 
        ;;
19017
 
    esac
19018
 
    ;;
19019
 
  interix[3-9]*)
19020
 
    hardcode_direct_CXX=no
19021
 
    hardcode_shlibpath_var_CXX=no
19022
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19023
 
    export_dynamic_flag_spec_CXX='${wl}-E'
19024
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19025
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
19026
 
    # default) and relocated if they conflict, which is a slow very memory
19027
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
19028
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19029
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
19030
 
    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'
19031
 
    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'
19032
 
    ;;
19033
 
  irix5* | irix6*)
19034
 
    case $cc_basename in
19035
 
      CC*)
19036
 
        # SGI C++
19037
 
        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'
19038
 
 
19039
 
        # Archives containing C++ object files must be created using
19040
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
19041
 
        # necessary to make sure instantiated templates are included
19042
 
        # in the archive.
19043
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
19044
 
        ;;
19045
 
      *)
19046
 
        if test "$GXX" = yes; then
19047
 
          if test "$with_gnu_ld" = no; then
19048
 
            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'
19049
 
          else
19050
 
            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'
19051
 
          fi
19052
 
        fi
19053
 
        link_all_deplibs_CXX=yes
19054
 
        ;;
19055
 
    esac
19056
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19057
 
    hardcode_libdir_separator_CXX=:
19058
 
    ;;
19059
 
  linux* | k*bsd*-gnu)
19060
 
    case $cc_basename in
19061
 
      KCC*)
19062
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
19063
 
 
19064
 
        # KCC will only create a shared library if the output file
19065
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
19066
 
        # to its proper name (with version) after linking.
19067
 
        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'
19068
 
        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'
19069
 
        # Commands to make compiler produce verbose output that lists
19070
 
        # what "hidden" libraries, object files and flags are used when
19071
 
        # linking a shared library.
19072
 
        #
19073
 
        # There doesn't appear to be a way to prevent this compiler from
19074
 
        # explicitly linking system object files so we need to strip them
19075
 
        # from the output so that they don't get included in the library
19076
 
        # dependencies.
19077
 
        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'
19078
 
 
19079
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
19080
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19081
 
 
19082
 
        # Archives containing C++ object files must be created using
19083
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19084
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19085
 
        ;;
19086
 
      icpc*)
19087
 
        # Intel C++
19088
 
        with_gnu_ld=yes
19089
 
        # version 8.0 and above of icpc choke on multiply defined symbols
19090
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
19091
 
        # earlier do not add the objects themselves.
19092
 
        case `$CC -V 2>&1` in
19093
 
        *"Version 7."*)
19094
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19095
 
          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'
19096
 
          ;;
19097
 
        *)  # Version 8.0 or newer
19098
 
          tmp_idyn=
19099
 
          case $host_cpu in
19100
 
            ia64*) tmp_idyn=' -i_dynamic';;
19101
 
          esac
19102
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19103
 
          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'
19104
 
          ;;
19105
 
        esac
19106
 
        archive_cmds_need_lc_CXX=no
19107
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19108
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19109
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
19110
 
        ;;
19111
 
      pgCC* | pgcpp*)
19112
 
        # Portland Group C++ compiler
19113
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19114
 
        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'
19115
 
 
19116
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
19117
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19118
 
        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'
19119
 
        ;;
19120
 
      cxx*)
19121
 
        # Compaq C++
19122
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19123
 
        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'
19124
 
 
19125
 
        runpath_var=LD_RUN_PATH
19126
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19127
 
        hardcode_libdir_separator_CXX=:
19128
 
 
19129
 
        # Commands to make compiler produce verbose output that lists
19130
 
        # what "hidden" libraries, object files and flags are used when
19131
 
        # linking a shared library.
19132
 
        #
19133
 
        # There doesn't appear to be a way to prevent this compiler from
19134
 
        # explicitly linking system object files so we need to strip them
19135
 
        # from the output so that they don't get included in the library
19136
 
        # dependencies.
19137
 
        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'
19138
 
        ;;
19139
 
      *)
19140
 
        case `$CC -V 2>&1 | sed 5q` in
19141
 
        *Sun\ C*)
19142
 
          # Sun C++ 5.9
19143
 
          no_undefined_flag_CXX=' -zdefs'
19144
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19145
 
          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'
19146
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
19147
 
          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'
19148
 
 
19149
 
          # Not sure whether something based on
19150
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
19151
 
          # would be better.
19152
 
          output_verbose_link_cmd='echo'
19153
 
 
19154
 
          # Archives containing C++ object files must be created using
19155
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
19156
 
          # necessary to make sure instantiated templates are included
19157
 
          # in the archive.
19158
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19159
 
          ;;
19160
 
        esac
19161
 
        ;;
19162
 
    esac
19163
 
    ;;
19164
 
  lynxos*)
19165
 
    # FIXME: insert proper C++ library support
19166
 
    ld_shlibs_CXX=no
19167
 
    ;;
19168
 
  m88k*)
19169
 
    # FIXME: insert proper C++ library support
19170
 
    ld_shlibs_CXX=no
19171
 
    ;;
19172
 
  mvs*)
19173
 
    case $cc_basename in
19174
 
      cxx*)
19175
 
        # FIXME: insert proper C++ library support
19176
 
        ld_shlibs_CXX=no
19177
 
        ;;
19178
 
      *)
19179
 
        # FIXME: insert proper C++ library support
19180
 
        ld_shlibs_CXX=no
19181
 
        ;;
19182
 
    esac
19183
 
    ;;
19184
 
  netbsd* | netbsdelf*-gnu)
19185
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19186
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19187
 
      wlarc=
19188
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
19189
 
      hardcode_direct_CXX=yes
19190
 
      hardcode_shlibpath_var_CXX=no
19191
 
    fi
19192
 
    # Workaround some broken pre-1.5 toolchains
19193
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
19194
 
    ;;
19195
 
  openbsd2*)
19196
 
    # C++ shared libraries are fairly broken
19197
 
    ld_shlibs_CXX=no
19198
 
    ;;
19199
 
  openbsd*)
19200
 
    if test -f /usr/libexec/ld.so; then
19201
 
      hardcode_direct_CXX=yes
19202
 
      hardcode_shlibpath_var_CXX=no
19203
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19204
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19205
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19206
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
19207
 
        export_dynamic_flag_spec_CXX='${wl}-E'
19208
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19209
 
      fi
19210
 
      output_verbose_link_cmd='echo'
19211
 
    else
19212
 
      ld_shlibs_CXX=no
19213
 
    fi
19214
 
    ;;
19215
 
  osf3*)
19216
 
    case $cc_basename in
19217
 
      KCC*)
19218
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
19219
 
 
19220
 
        # KCC will only create a shared library if the output file
19221
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
19222
 
        # to its proper name (with version) after linking.
19223
 
        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'
19224
 
 
19225
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19226
 
        hardcode_libdir_separator_CXX=:
19227
 
 
19228
 
        # Archives containing C++ object files must be created using
19229
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19230
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19231
 
 
19232
 
        ;;
19233
 
      RCC*)
19234
 
        # Rational C++ 2.4.1
19235
 
        # FIXME: insert proper C++ library support
19236
 
        ld_shlibs_CXX=no
19237
 
        ;;
19238
 
      cxx*)
19239
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19240
 
        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'
19241
 
 
19242
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19243
 
        hardcode_libdir_separator_CXX=:
19244
 
 
19245
 
        # Commands to make compiler produce verbose output that lists
19246
 
        # what "hidden" libraries, object files and flags are used when
19247
 
        # linking a shared library.
19248
 
        #
19249
 
        # There doesn't appear to be a way to prevent this compiler from
19250
 
        # explicitly linking system object files so we need to strip them
19251
 
        # from the output so that they don't get included in the library
19252
 
        # dependencies.
19253
 
        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'
19254
 
        ;;
19255
 
      *)
19256
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19257
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19258
 
          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'
19259
 
 
19260
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19261
 
          hardcode_libdir_separator_CXX=:
19262
 
 
19263
 
          # Commands to make compiler produce verbose output that lists
19264
 
          # what "hidden" libraries, object files and flags are used when
19265
 
          # linking a shared library.
19266
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19267
 
 
19268
 
        else
19269
 
          # FIXME: insert proper C++ library support
19270
 
          ld_shlibs_CXX=no
19271
 
        fi
19272
 
        ;;
19273
 
    esac
19274
 
    ;;
19275
 
  osf4* | osf5*)
19276
 
    case $cc_basename in
19277
 
      KCC*)
19278
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
19279
 
 
19280
 
        # KCC will only create a shared library if the output file
19281
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
19282
 
        # to its proper name (with version) after linking.
19283
 
        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'
19284
 
 
19285
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19286
 
        hardcode_libdir_separator_CXX=:
19287
 
 
19288
 
        # Archives containing C++ object files must be created using
19289
 
        # the KAI C++ compiler.
19290
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
19291
 
        ;;
19292
 
      RCC*)
19293
 
        # Rational C++ 2.4.1
19294
 
        # FIXME: insert proper C++ library support
19295
 
        ld_shlibs_CXX=no
19296
 
        ;;
19297
 
      cxx*)
19298
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
19299
 
        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'
19300
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19301
 
          echo "-hidden">> $lib.exp~
19302
 
          $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~
19303
 
          $rm $lib.exp'
19304
 
 
19305
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19306
 
        hardcode_libdir_separator_CXX=:
19307
 
 
19308
 
        # Commands to make compiler produce verbose output that lists
19309
 
        # what "hidden" libraries, object files and flags are used when
19310
 
        # linking a shared library.
19311
 
        #
19312
 
        # There doesn't appear to be a way to prevent this compiler from
19313
 
        # explicitly linking system object files so we need to strip them
19314
 
        # from the output so that they don't get included in the library
19315
 
        # dependencies.
19316
 
        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'
19317
 
        ;;
19318
 
      *)
19319
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19320
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19321
 
         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'
19322
 
 
19323
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19324
 
          hardcode_libdir_separator_CXX=:
19325
 
 
19326
 
          # Commands to make compiler produce verbose output that lists
19327
 
          # what "hidden" libraries, object files and flags are used when
19328
 
          # linking a shared library.
19329
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19330
 
 
19331
 
        else
19332
 
          # FIXME: insert proper C++ library support
19333
 
          ld_shlibs_CXX=no
19334
 
        fi
19335
 
        ;;
19336
 
    esac
19337
 
    ;;
19338
 
  psos*)
19339
 
    # FIXME: insert proper C++ library support
19340
 
    ld_shlibs_CXX=no
19341
 
    ;;
19342
 
  sunos4*)
19343
 
    case $cc_basename in
19344
 
      CC*)
19345
 
        # Sun C++ 4.x
19346
 
        # FIXME: insert proper C++ library support
19347
 
        ld_shlibs_CXX=no
19348
 
        ;;
19349
 
      lcc*)
19350
 
        # Lucid
19351
 
        # FIXME: insert proper C++ library support
19352
 
        ld_shlibs_CXX=no
19353
 
        ;;
19354
 
      *)
19355
 
        # FIXME: insert proper C++ library support
19356
 
        ld_shlibs_CXX=no
19357
 
        ;;
19358
 
    esac
19359
 
    ;;
19360
 
  solaris*)
19361
 
    case $cc_basename in
19362
 
      CC*)
19363
 
        # Sun C++ 4.2, 5.x and Centerline C++
19364
 
        archive_cmds_need_lc_CXX=yes
19365
 
        no_undefined_flag_CXX=' -zdefs'
19366
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19367
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19368
 
        $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'
19369
 
 
19370
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
19371
 
        hardcode_shlibpath_var_CXX=no
19372
 
        case $host_os in
19373
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
19374
 
          *)
19375
 
            # The compiler driver will combine and reorder linker options,
19376
 
            # but understands `-z linker_flag'.
19377
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
19378
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
19379
 
            ;;
19380
 
        esac
19381
 
        link_all_deplibs_CXX=yes
19382
 
 
19383
 
        output_verbose_link_cmd='echo'
19384
 
 
19385
 
        # Archives containing C++ object files must be created using
19386
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
19387
 
        # necessary to make sure instantiated templates are included
19388
 
        # in the archive.
19389
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19390
 
        ;;
19391
 
      gcx*)
19392
 
        # Green Hills C++ Compiler
19393
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19394
 
 
19395
 
        # The C++ compiler must be used to create the archive.
19396
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19397
 
        ;;
19398
 
      *)
19399
 
        # GNU C++ compiler with Solaris linker
19400
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19401
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19402
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
19403
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19404
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19405
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19406
 
 
19407
 
            # Commands to make compiler produce verbose output that lists
19408
 
            # what "hidden" libraries, object files and flags are used when
19409
 
            # linking a shared library.
19410
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19411
 
          else
19412
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
19413
 
            # platform.
19414
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19415
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19416
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19417
 
 
19418
 
            # Commands to make compiler produce verbose output that lists
19419
 
            # what "hidden" libraries, object files and flags are used when
19420
 
            # linking a shared library.
19421
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19422
 
          fi
19423
 
 
19424
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19425
 
          case $host_os in
19426
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
19427
 
          *)
19428
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19429
 
            ;;
19430
 
          esac
19431
 
        fi
19432
 
        ;;
19433
 
    esac
19434
 
    ;;
19435
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19436
 
    no_undefined_flag_CXX='${wl}-z,text'
19437
 
    archive_cmds_need_lc_CXX=no
19438
 
    hardcode_shlibpath_var_CXX=no
19439
 
    runpath_var='LD_RUN_PATH'
19440
 
 
19441
 
    case $cc_basename in
19442
 
      CC*)
19443
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19444
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19445
 
        ;;
19446
 
      *)
19447
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19448
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19449
 
        ;;
19450
 
    esac
19451
 
    ;;
19452
 
  sysv5* | sco3.2v5* | sco5v6*)
19453
 
    # Note: We can NOT use -z defs as we might desire, because we do not
19454
 
    # link with -lc, and that would cause any symbols used from libc to
19455
 
    # always be unresolved, which means just about no library would
19456
 
    # ever link correctly.  If we're not using GNU ld we use -z text
19457
 
    # though, which does catch some bad symbols but isn't as heavy-handed
19458
 
    # as -z defs.
19459
 
    # For security reasons, it is highly recommended that you always
19460
 
    # use absolute paths for naming shared libraries, and exclude the
19461
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
19462
 
    # requires that you compile everything twice, which is a pain.
19463
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
19464
 
    # non-empty value in the environment.  Most likely only useful for
19465
 
    # creating official distributions of packages.
19466
 
    # This is a hack until libtool officially supports absolute path
19467
 
    # names for shared libraries.
19468
 
    no_undefined_flag_CXX='${wl}-z,text'
19469
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
19470
 
    archive_cmds_need_lc_CXX=no
19471
 
    hardcode_shlibpath_var_CXX=no
19472
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19473
 
    hardcode_libdir_separator_CXX=':'
19474
 
    link_all_deplibs_CXX=yes
19475
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
19476
 
    runpath_var='LD_RUN_PATH'
19477
 
 
19478
 
    case $cc_basename in
19479
 
      CC*)
19480
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19481
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19482
 
        ;;
19483
 
      *)
19484
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19485
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19486
 
        ;;
19487
 
    esac
19488
 
    ;;
19489
 
  tandem*)
19490
 
    case $cc_basename in
19491
 
      NCC*)
19492
 
        # NonStop-UX NCC 3.20
19493
 
        # FIXME: insert proper C++ library support
19494
 
        ld_shlibs_CXX=no
19495
 
        ;;
19496
 
      *)
19497
 
        # FIXME: insert proper C++ library support
19498
 
        ld_shlibs_CXX=no
19499
 
        ;;
19500
 
    esac
19501
 
    ;;
19502
 
  vxworks*)
19503
 
    # FIXME: insert proper C++ library support
19504
 
    ld_shlibs_CXX=no
19505
 
    ;;
19506
 
  *)
19507
 
    # FIXME: insert proper C++ library support
19508
 
    ld_shlibs_CXX=no
19509
 
    ;;
19510
 
esac
19511
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19512
 
$as_echo "$ld_shlibs_CXX" >&6; }
19513
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
19514
 
 
19515
 
GCC_CXX="$GXX"
19516
 
LD_CXX="$LD"
19517
 
 
19518
 
cat > conftest.$ac_ext <<EOF
19519
 
class Foo
19520
 
{
19521
 
public:
19522
 
  Foo (void) { a = 0; }
19523
 
private:
19524
 
  int a;
19525
 
};
19526
 
EOF
19527
 
 
19528
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19529
 
  (eval $ac_compile) 2>&5
19530
 
  ac_status=$?
19531
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532
 
  (exit $ac_status); }; then
19533
 
  # Parse the compiler output and extract the necessary
19534
 
  # objects, libraries and library flags.
19535
 
 
19536
 
  # Sentinel used to keep track of whether or not we are before
19537
 
  # the conftest object file.
19538
 
  pre_test_object_deps_done=no
19539
 
 
19540
 
  # The `*' in the case matches for architectures that use `case' in
19541
 
  # $output_verbose_cmd can trigger glob expansion during the loop
19542
 
  # eval without this substitution.
19543
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19544
 
 
19545
 
  for p in `eval $output_verbose_link_cmd`; do
19546
 
    case $p in
19547
 
 
19548
 
    -L* | -R* | -l*)
19549
 
       # Some compilers place space between "-{L,R}" and the path.
19550
 
       # Remove the space.
19551
 
       if test $p = "-L" \
19552
 
          || test $p = "-R"; then
19553
 
         prev=$p
19554
 
         continue
19555
 
       else
19556
 
         prev=
19557
 
       fi
19558
 
 
19559
 
       if test "$pre_test_object_deps_done" = no; then
19560
 
         case $p in
19561
 
         -L* | -R*)
19562
 
           # Internal compiler library paths should come after those
19563
 
           # provided the user.  The postdeps already come after the
19564
 
           # user supplied libs so there is no need to process them.
19565
 
           if test -z "$compiler_lib_search_path_CXX"; then
19566
 
             compiler_lib_search_path_CXX="${prev}${p}"
19567
 
           else
19568
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19569
 
           fi
19570
 
           ;;
19571
 
         # The "-l" case would never come before the object being
19572
 
         # linked, so don't bother handling this case.
19573
 
         esac
19574
 
       else
19575
 
         if test -z "$postdeps_CXX"; then
19576
 
           postdeps_CXX="${prev}${p}"
19577
 
         else
19578
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
19579
 
         fi
19580
 
       fi
19581
 
       ;;
19582
 
 
19583
 
    *.$objext)
19584
 
       # This assumes that the test object file only shows up
19585
 
       # once in the compiler output.
19586
 
       if test "$p" = "conftest.$objext"; then
19587
 
         pre_test_object_deps_done=yes
19588
 
         continue
19589
 
       fi
19590
 
 
19591
 
       if test "$pre_test_object_deps_done" = no; then
19592
 
         if test -z "$predep_objects_CXX"; then
19593
 
           predep_objects_CXX="$p"
19594
 
         else
19595
 
           predep_objects_CXX="$predep_objects_CXX $p"
19596
 
         fi
19597
 
       else
19598
 
         if test -z "$postdep_objects_CXX"; then
19599
 
           postdep_objects_CXX="$p"
19600
 
         else
19601
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
19602
 
         fi
19603
 
       fi
19604
 
       ;;
19605
 
 
19606
 
    *) ;; # Ignore the rest.
19607
 
 
19608
 
    esac
19609
 
  done
19610
 
 
19611
 
  # Clean up.
19612
 
  rm -f a.out a.exe
19613
 
else
19614
 
  echo "libtool.m4: error: problem compiling CXX test program"
19615
 
fi
19616
 
 
19617
 
$rm -f confest.$objext
19618
 
 
19619
 
compiler_lib_search_dirs_CXX=
19620
 
if test -n "$compiler_lib_search_path_CXX"; then
19621
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
19622
 
fi
19623
 
 
19624
 
# PORTME: override above test on systems where it is broken
19625
 
case $host_os in
19626
 
interix[3-9]*)
19627
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
19628
 
  # hack all around it, let's just trust "g++" to DTRT.
19629
 
  predep_objects_CXX=
19630
 
  postdep_objects_CXX=
19631
 
  postdeps_CXX=
19632
 
  ;;
19633
 
 
19634
 
linux*)
19635
 
  case `$CC -V 2>&1 | sed 5q` in
19636
 
  *Sun\ C*)
19637
 
    # Sun C++ 5.9
19638
 
    #
19639
 
    # The more standards-conforming stlport4 library is
19640
 
    # incompatible with the Cstd library. Avoid specifying
19641
 
    # it if it's in CXXFLAGS. Ignore libCrun as
19642
 
    # -library=stlport4 depends on it.
19643
 
    case " $CXX $CXXFLAGS " in
19644
 
    *" -library=stlport4 "*)
19645
 
      solaris_use_stlport4=yes
19646
 
      ;;
19647
 
    esac
19648
 
    if test "$solaris_use_stlport4" != yes; then
19649
 
      postdeps_CXX='-library=Cstd -library=Crun'
19650
 
    fi
19651
 
    ;;
19652
 
  esac
19653
 
  ;;
19654
 
 
19655
 
solaris*)
19656
 
  case $cc_basename in
19657
 
  CC*)
19658
 
    # The more standards-conforming stlport4 library is
19659
 
    # incompatible with the Cstd library. Avoid specifying
19660
 
    # it if it's in CXXFLAGS. Ignore libCrun as
19661
 
    # -library=stlport4 depends on it.
19662
 
    case " $CXX $CXXFLAGS " in
19663
 
    *" -library=stlport4 "*)
19664
 
      solaris_use_stlport4=yes
19665
 
      ;;
19666
 
    esac
19667
 
 
19668
 
    # Adding this requires a known-good setup of shared libraries for
19669
 
    # Sun compiler versions before 5.6, else PIC objects from an old
19670
 
    # archive will be linked into the output, leading to subtle bugs.
19671
 
    if test "$solaris_use_stlport4" != yes; then
19672
 
      postdeps_CXX='-library=Cstd -library=Crun'
19673
 
    fi
19674
 
    ;;
19675
 
  esac
19676
 
  ;;
19677
 
esac
19678
 
 
19679
 
case " $postdeps_CXX " in
19680
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
19681
 
esac
19682
 
 
19683
 
lt_prog_compiler_wl_CXX=
19684
 
lt_prog_compiler_pic_CXX=
19685
 
lt_prog_compiler_static_CXX=
19686
 
 
19687
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19688
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
19689
 
 
19690
 
  # C++ specific cases for pic, static, wl, etc.
19691
 
  if test "$GXX" = yes; then
19692
 
    lt_prog_compiler_wl_CXX='-Wl,'
19693
 
    lt_prog_compiler_static_CXX='-static'
19694
 
 
19695
 
    case $host_os in
19696
 
    aix*)
19697
 
      # All AIX code is PIC.
19698
 
      if test "$host_cpu" = ia64; then
19699
 
        # AIX 5 now supports IA64 processor
19700
 
        lt_prog_compiler_static_CXX='-Bstatic'
19701
 
      fi
19702
 
      ;;
19703
 
    amigaos*)
19704
 
      # FIXME: we need at least 68020 code to build shared libraries, but
19705
 
      # adding the `-m68020' flag to GCC prevents building anything better,
19706
 
      # like `-m68040'.
19707
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19708
 
      ;;
19709
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19710
 
      # PIC is the default for these OSes.
19711
 
      ;;
19712
 
    mingw* | cygwin* | os2* | pw32*)
19713
 
      # This hack is so that the source file can tell whether it is being
19714
 
      # built for inclusion in a dll (and should export symbols for example).
19715
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
19716
 
      # (--disable-auto-import) libraries
19717
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19718
 
      ;;
19719
 
    darwin* | rhapsody*)
19720
 
      # PIC is the default on this platform
19721
 
      # Common symbols not allowed in MH_DYLIB files
19722
 
      lt_prog_compiler_pic_CXX='-fno-common'
19723
 
      ;;
19724
 
    *djgpp*)
19725
 
      # DJGPP does not support shared libraries at all
19726
 
      lt_prog_compiler_pic_CXX=
19727
 
      ;;
19728
 
    interix[3-9]*)
19729
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19730
 
      # Instead, we relocate shared libraries at runtime.
19731
 
      ;;
19732
 
    sysv4*MP*)
19733
 
      if test -d /usr/nec; then
19734
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
19735
 
      fi
19736
 
      ;;
19737
 
    hpux*)
19738
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19739
 
      # not for PA HP-UX.
19740
 
      case $host_cpu in
19741
 
      hppa*64*|ia64*)
19742
 
        ;;
19743
 
      *)
19744
 
        lt_prog_compiler_pic_CXX='-fPIC'
19745
 
        ;;
19746
 
      esac
19747
 
      ;;
19748
 
    *)
19749
 
      lt_prog_compiler_pic_CXX='-fPIC'
19750
 
      ;;
19751
 
    esac
19752
 
  else
19753
 
    case $host_os in
19754
 
      aix[4-9]*)
19755
 
        # All AIX code is PIC.
19756
 
        if test "$host_cpu" = ia64; then
19757
 
          # AIX 5 now supports IA64 processor
19758
 
          lt_prog_compiler_static_CXX='-Bstatic'
19759
 
        else
19760
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19761
 
        fi
19762
 
        ;;
19763
 
      chorus*)
19764
 
        case $cc_basename in
19765
 
        cxch68*)
19766
 
          # Green Hills C++ Compiler
19767
 
          # _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"
19768
 
          ;;
19769
 
        esac
19770
 
        ;;
19771
 
       darwin*)
19772
 
         # PIC is the default on this platform
19773
 
         # Common symbols not allowed in MH_DYLIB files
19774
 
         case $cc_basename in
19775
 
           xlc*)
19776
 
           lt_prog_compiler_pic_CXX='-qnocommon'
19777
 
           lt_prog_compiler_wl_CXX='-Wl,'
19778
 
           ;;
19779
 
         esac
19780
 
       ;;
19781
 
      dgux*)
19782
 
        case $cc_basename in
19783
 
          ec++*)
19784
 
            lt_prog_compiler_pic_CXX='-KPIC'
19785
 
            ;;
19786
 
          ghcx*)
19787
 
            # Green Hills C++ Compiler
19788
 
            lt_prog_compiler_pic_CXX='-pic'
19789
 
            ;;
19790
 
          *)
19791
 
            ;;
19792
 
        esac
19793
 
        ;;
19794
 
      freebsd* | dragonfly*)
19795
 
        # FreeBSD uses GNU C++
19796
 
        ;;
19797
 
      hpux9* | hpux10* | hpux11*)
19798
 
        case $cc_basename in
19799
 
          CC*)
19800
 
            lt_prog_compiler_wl_CXX='-Wl,'
19801
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19802
 
            if test "$host_cpu" != ia64; then
19803
 
              lt_prog_compiler_pic_CXX='+Z'
19804
 
            fi
19805
 
            ;;
19806
 
          aCC*)
19807
 
            lt_prog_compiler_wl_CXX='-Wl,'
19808
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19809
 
            case $host_cpu in
19810
 
            hppa*64*|ia64*)
19811
 
              # +Z the default
19812
 
              ;;
19813
 
            *)
19814
 
              lt_prog_compiler_pic_CXX='+Z'
19815
 
              ;;
19816
 
            esac
19817
 
            ;;
19818
 
          *)
19819
 
            ;;
19820
 
        esac
19821
 
        ;;
19822
 
      interix*)
19823
 
        # This is c89, which is MS Visual C++ (no shared libs)
19824
 
        # Anyone wants to do a port?
19825
 
        ;;
19826
 
      irix5* | irix6* | nonstopux*)
19827
 
        case $cc_basename in
19828
 
          CC*)
19829
 
            lt_prog_compiler_wl_CXX='-Wl,'
19830
 
            lt_prog_compiler_static_CXX='-non_shared'
19831
 
            # CC pic flag -KPIC is the default.
19832
 
            ;;
19833
 
          *)
19834
 
            ;;
19835
 
        esac
19836
 
        ;;
19837
 
      linux* | k*bsd*-gnu)
19838
 
        case $cc_basename in
19839
 
          KCC*)
19840
 
            # KAI C++ Compiler
19841
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
19842
 
            lt_prog_compiler_pic_CXX='-fPIC'
19843
 
            ;;
19844
 
          icpc* | ecpc*)
19845
 
            # Intel C++
19846
 
            lt_prog_compiler_wl_CXX='-Wl,'
19847
 
            lt_prog_compiler_pic_CXX='-KPIC'
19848
 
            lt_prog_compiler_static_CXX='-static'
19849
 
            ;;
19850
 
          pgCC* | pgcpp*)
19851
 
            # Portland Group C++ compiler.
19852
 
            lt_prog_compiler_wl_CXX='-Wl,'
19853
 
            lt_prog_compiler_pic_CXX='-fpic'
19854
 
            lt_prog_compiler_static_CXX='-Bstatic'
19855
 
            ;;
19856
 
          cxx*)
19857
 
            # Compaq C++
19858
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
19859
 
            # Linux and Compaq Tru64 Unix objects are PIC.
19860
 
            lt_prog_compiler_pic_CXX=
19861
 
            lt_prog_compiler_static_CXX='-non_shared'
19862
 
            ;;
19863
 
          *)
19864
 
            case `$CC -V 2>&1 | sed 5q` in
19865
 
            *Sun\ C*)
19866
 
              # Sun C++ 5.9
19867
 
              lt_prog_compiler_pic_CXX='-KPIC'
19868
 
              lt_prog_compiler_static_CXX='-Bstatic'
19869
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
19870
 
              ;;
19871
 
            esac
19872
 
            ;;
19873
 
        esac
19874
 
        ;;
19875
 
      lynxos*)
19876
 
        ;;
19877
 
      m88k*)
19878
 
        ;;
19879
 
      mvs*)
19880
 
        case $cc_basename in
19881
 
          cxx*)
19882
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
19883
 
            ;;
19884
 
          *)
19885
 
            ;;
19886
 
        esac
19887
 
        ;;
19888
 
      netbsd* | netbsdelf*-gnu)
19889
 
        ;;
19890
 
      osf3* | osf4* | osf5*)
19891
 
        case $cc_basename in
19892
 
          KCC*)
19893
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
19894
 
            ;;
19895
 
          RCC*)
19896
 
            # Rational C++ 2.4.1
19897
 
            lt_prog_compiler_pic_CXX='-pic'
19898
 
            ;;
19899
 
          cxx*)
19900
 
            # Digital/Compaq C++
19901
 
            lt_prog_compiler_wl_CXX='-Wl,'
19902
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
19903
 
            # Linux and Compaq Tru64 Unix objects are PIC.
19904
 
            lt_prog_compiler_pic_CXX=
19905
 
            lt_prog_compiler_static_CXX='-non_shared'
19906
 
            ;;
19907
 
          *)
19908
 
            ;;
19909
 
        esac
19910
 
        ;;
19911
 
      psos*)
19912
 
        ;;
19913
 
      solaris*)
19914
 
        case $cc_basename in
19915
 
          CC*)
19916
 
            # Sun C++ 4.2, 5.x and Centerline C++
19917
 
            lt_prog_compiler_pic_CXX='-KPIC'
19918
 
            lt_prog_compiler_static_CXX='-Bstatic'
19919
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
19920
 
            ;;
19921
 
          gcx*)
19922
 
            # Green Hills C++ Compiler
19923
 
            lt_prog_compiler_pic_CXX='-PIC'
19924
 
            ;;
19925
 
          *)
19926
 
            ;;
19927
 
        esac
19928
 
        ;;
19929
 
      sunos4*)
19930
 
        case $cc_basename in
19931
 
          CC*)
19932
 
            # Sun C++ 4.x
19933
 
            lt_prog_compiler_pic_CXX='-pic'
19934
 
            lt_prog_compiler_static_CXX='-Bstatic'
19935
 
            ;;
19936
 
          lcc*)
19937
 
            # Lucid
19938
 
            lt_prog_compiler_pic_CXX='-pic'
19939
 
            ;;
19940
 
          *)
19941
 
            ;;
19942
 
        esac
19943
 
        ;;
19944
 
      tandem*)
19945
 
        case $cc_basename in
19946
 
          NCC*)
19947
 
            # NonStop-UX NCC 3.20
19948
 
            lt_prog_compiler_pic_CXX='-KPIC'
19949
 
            ;;
19950
 
          *)
19951
 
            ;;
19952
 
        esac
19953
 
        ;;
19954
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19955
 
        case $cc_basename in
19956
 
          CC*)
19957
 
            lt_prog_compiler_wl_CXX='-Wl,'
19958
 
            lt_prog_compiler_pic_CXX='-KPIC'
19959
 
            lt_prog_compiler_static_CXX='-Bstatic'
19960
 
            ;;
19961
 
        esac
19962
 
        ;;
19963
 
      vxworks*)
19964
 
        ;;
19965
 
      *)
19966
 
        lt_prog_compiler_can_build_shared_CXX=no
19967
 
        ;;
19968
 
    esac
19969
 
  fi
19970
 
 
19971
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19972
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
19973
 
 
19974
 
#
19975
 
# Check to make sure the PIC flag actually works.
19976
 
#
19977
 
if test -n "$lt_prog_compiler_pic_CXX"; then
19978
 
 
19979
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19980
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19981
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
19982
 
  $as_echo_n "(cached) " >&6
19983
 
else
19984
 
  lt_cv_prog_compiler_pic_works_CXX=no
19985
 
  ac_outfile=conftest.$ac_objext
19986
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19987
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19988
 
   # Insert the option either (1) after the last *FLAGS variable, or
19989
 
   # (2) before a word containing "conftest.", or (3) at the end.
19990
 
   # Note that $ac_compile itself does not contain backslashes and begins
19991
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19992
 
   # The option is referenced via a variable to avoid confusing sed.
19993
 
   lt_compile=`echo "$ac_compile" | $SED \
19994
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19995
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19996
 
   -e 's:$: $lt_compiler_flag:'`
19997
 
   (eval echo "\"\$as_me:19997: $lt_compile\"" >&5)
19998
 
   (eval "$lt_compile" 2>conftest.err)
19999
 
   ac_status=$?
20000
 
   cat conftest.err >&5
20001
 
   echo "$as_me:20001: \$? = $ac_status" >&5
20002
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
20003
 
     # The compiler can only warn and ignore the option if not recognized
20004
 
     # So say no if there are warnings other than the usual output.
20005
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
20006
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20007
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20008
 
       lt_cv_prog_compiler_pic_works_CXX=yes
20009
 
     fi
20010
 
   fi
20011
 
   $rm conftest*
20012
 
 
20013
 
fi
20014
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
20015
 
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
20016
 
 
20017
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
20018
 
    case $lt_prog_compiler_pic_CXX in
20019
 
     "" | " "*) ;;
20020
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
20021
 
     esac
20022
 
else
20023
 
    lt_prog_compiler_pic_CXX=
20024
 
     lt_prog_compiler_can_build_shared_CXX=no
20025
 
fi
20026
 
 
20027
 
fi
20028
 
case $host_os in
20029
 
  # For platforms which do not support PIC, -DPIC is meaningless:
20030
 
  *djgpp*)
20031
 
    lt_prog_compiler_pic_CXX=
20032
 
    ;;
20033
 
  *)
20034
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
20035
 
    ;;
20036
 
esac
20037
 
 
20038
 
#
20039
 
# Check to make sure the static flag actually works.
20040
 
#
20041
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
20042
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20043
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
20044
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
20045
 
  $as_echo_n "(cached) " >&6
20046
 
else
20047
 
  lt_cv_prog_compiler_static_works_CXX=no
20048
 
   save_LDFLAGS="$LDFLAGS"
20049
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20050
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
20051
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20052
 
     # The linker can only warn and ignore the option if not recognized
20053
 
     # So say no if there are warnings
20054
 
     if test -s conftest.err; then
20055
 
       # Append any errors to the config.log.
20056
 
       cat conftest.err 1>&5
20057
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
20058
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20059
 
       if diff conftest.exp conftest.er2 >/dev/null; then
20060
 
         lt_cv_prog_compiler_static_works_CXX=yes
20061
 
       fi
20062
 
     else
20063
 
       lt_cv_prog_compiler_static_works_CXX=yes
20064
 
     fi
20065
 
   fi
20066
 
   $rm -r conftest*
20067
 
   LDFLAGS="$save_LDFLAGS"
20068
 
 
20069
 
fi
20070
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
20071
 
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
20072
 
 
20073
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
20074
 
    :
20075
 
else
20076
 
    lt_prog_compiler_static_CXX=
20077
 
fi
20078
 
 
20079
 
 
20080
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20081
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20082
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
20083
 
  $as_echo_n "(cached) " >&6
20084
 
else
20085
 
  lt_cv_prog_compiler_c_o_CXX=no
20086
 
   $rm -r conftest 2>/dev/null
20087
 
   mkdir conftest
20088
 
   cd conftest
20089
 
   mkdir out
20090
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20091
 
 
20092
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
20093
 
   # Insert the option either (1) after the last *FLAGS variable, or
20094
 
   # (2) before a word containing "conftest.", or (3) at the end.
20095
 
   # Note that $ac_compile itself does not contain backslashes and begins
20096
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
20097
 
   lt_compile=`echo "$ac_compile" | $SED \
20098
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20099
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20100
 
   -e 's:$: $lt_compiler_flag:'`
20101
 
   (eval echo "\"\$as_me:20101: $lt_compile\"" >&5)
20102
 
   (eval "$lt_compile" 2>out/conftest.err)
20103
 
   ac_status=$?
20104
 
   cat out/conftest.err >&5
20105
 
   echo "$as_me:20105: \$? = $ac_status" >&5
20106
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
20107
 
   then
20108
 
     # The compiler can only warn and ignore the option if not recognized
20109
 
     # So say no if there are warnings
20110
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
20111
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20112
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20113
 
       lt_cv_prog_compiler_c_o_CXX=yes
20114
 
     fi
20115
 
   fi
20116
 
   chmod u+w . 2>&5
20117
 
   $rm conftest*
20118
 
   # SGI C++ compiler will create directory out/ii_files/ for
20119
 
   # template instantiation
20120
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
20121
 
   $rm out/* && rmdir out
20122
 
   cd ..
20123
 
   rmdir conftest
20124
 
   $rm conftest*
20125
 
 
20126
 
fi
20127
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20128
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
20129
 
 
20130
 
 
20131
 
hard_links="nottested"
20132
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
20133
 
  # do not overwrite the value of need_locks provided by the user
20134
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20135
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
20136
 
  hard_links=yes
20137
 
  $rm conftest*
20138
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
20139
 
  touch conftest.a
20140
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
20141
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
20142
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
20143
 
$as_echo "$hard_links" >&6; }
20144
 
  if test "$hard_links" = no; then
20145
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20146
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20147
 
    need_locks=warn
20148
 
  fi
20149
 
else
20150
 
  need_locks=no
20151
 
fi
20152
 
 
20153
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20154
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20155
 
 
20156
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20157
 
  case $host_os in
20158
 
  aix[4-9]*)
20159
 
    # If we're using GNU nm, then we don't want the "-C" option.
20160
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
20161
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20162
 
      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'
20163
 
    else
20164
 
      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'
20165
 
    fi
20166
 
    ;;
20167
 
  pw32*)
20168
 
    export_symbols_cmds_CXX="$ltdll_cmds"
20169
 
  ;;
20170
 
  cygwin* | mingw*)
20171
 
    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'
20172
 
  ;;
20173
 
  linux* | k*bsd*-gnu)
20174
 
    link_all_deplibs_CXX=no
20175
 
  ;;
20176
 
  *)
20177
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20178
 
  ;;
20179
 
  esac
20180
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
20181
 
 
20182
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
20183
 
$as_echo "$ld_shlibs_CXX" >&6; }
20184
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
20185
 
 
20186
 
#
20187
 
# Do we need to explicitly link libc?
20188
 
#
20189
 
case "x$archive_cmds_need_lc_CXX" in
20190
 
x|xyes)
20191
 
  # Assume -lc should be added
20192
 
  archive_cmds_need_lc_CXX=yes
20193
 
 
20194
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
20195
 
    case $archive_cmds_CXX in
20196
 
    *'~'*)
20197
 
      # FIXME: we may have to deal with multi-command sequences.
20198
 
      ;;
20199
 
    '$CC '*)
20200
 
      # Test whether the compiler implicitly links with -lc since on some
20201
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
20202
 
      # to ld, don't add -lc before -lgcc.
20203
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20204
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20205
 
      $rm conftest*
20206
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20207
 
 
20208
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20209
 
  (eval $ac_compile) 2>&5
20210
 
  ac_status=$?
20211
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212
 
  (exit $ac_status); } 2>conftest.err; then
20213
 
        soname=conftest
20214
 
        lib=conftest
20215
 
        libobjs=conftest.$ac_objext
20216
 
        deplibs=
20217
 
        wl=$lt_prog_compiler_wl_CXX
20218
 
        pic_flag=$lt_prog_compiler_pic_CXX
20219
 
        compiler_flags=-v
20220
 
        linker_flags=-v
20221
 
        verstring=
20222
 
        output_objdir=.
20223
 
        libname=conftest
20224
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20225
 
        allow_undefined_flag_CXX=
20226
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20227
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20228
 
  ac_status=$?
20229
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230
 
  (exit $ac_status); }
20231
 
        then
20232
 
          archive_cmds_need_lc_CXX=no
20233
 
        else
20234
 
          archive_cmds_need_lc_CXX=yes
20235
 
        fi
20236
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20237
 
      else
20238
 
        cat conftest.err 1>&5
20239
 
      fi
20240
 
      $rm conftest*
20241
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
20242
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
20243
 
      ;;
20244
 
    esac
20245
 
  fi
20246
 
  ;;
20247
 
esac
20248
 
 
20249
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20250
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
20251
 
library_names_spec=
20252
 
libname_spec='lib$name'
20253
 
soname_spec=
20254
 
shrext_cmds=".so"
20255
 
postinstall_cmds=
20256
 
postuninstall_cmds=
20257
 
finish_cmds=
20258
 
finish_eval=
20259
 
shlibpath_var=
20260
 
shlibpath_overrides_runpath=unknown
20261
 
version_type=none
20262
 
dynamic_linker="$host_os ld.so"
20263
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
20264
 
 
20265
 
need_lib_prefix=unknown
20266
 
hardcode_into_libs=no
20267
 
 
20268
 
# when you set need_version to no, make sure it does not cause -set_version
20269
 
# flags to be left without arguments
20270
 
need_version=unknown
20271
 
 
20272
 
case $host_os in
20273
 
aix3*)
20274
 
  version_type=linux
20275
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20276
 
  shlibpath_var=LIBPATH
20277
 
 
20278
 
  # AIX 3 has no versioning support, so we append a major version to the name.
20279
 
  soname_spec='${libname}${release}${shared_ext}$major'
20280
 
  ;;
20281
 
 
20282
 
aix[4-9]*)
20283
 
  version_type=linux
20284
 
  need_lib_prefix=no
20285
 
  need_version=no
20286
 
  hardcode_into_libs=yes
20287
 
  if test "$host_cpu" = ia64; then
20288
 
    # AIX 5 supports IA64
20289
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20290
 
    shlibpath_var=LD_LIBRARY_PATH
20291
 
  else
20292
 
    # With GCC up to 2.95.x, collect2 would create an import file
20293
 
    # for dependence libraries.  The import file would start with
20294
 
    # the line `#! .'.  This would cause the generated library to
20295
 
    # depend on `.', always an invalid library.  This was fixed in
20296
 
    # development snapshots of GCC prior to 3.0.
20297
 
    case $host_os in
20298
 
      aix4 | aix4.[01] | aix4.[01].*)
20299
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20300
 
           echo ' yes '
20301
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20302
 
        :
20303
 
      else
20304
 
        can_build_shared=no
20305
 
      fi
20306
 
      ;;
20307
 
    esac
20308
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20309
 
    # soname into executable. Probably we can add versioning support to
20310
 
    # collect2, so additional links can be useful in future.
20311
 
    if test "$aix_use_runtimelinking" = yes; then
20312
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20313
 
      # instead of lib<name>.a to let people know that these are not
20314
 
      # typical AIX shared libraries.
20315
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20316
 
    else
20317
 
      # We preserve .a as extension for shared libraries through AIX4.2
20318
 
      # and later when we are not doing run time linking.
20319
 
      library_names_spec='${libname}${release}.a $libname.a'
20320
 
      soname_spec='${libname}${release}${shared_ext}$major'
20321
 
    fi
20322
 
    shlibpath_var=LIBPATH
20323
 
  fi
20324
 
  ;;
20325
 
 
20326
 
amigaos*)
20327
 
  library_names_spec='$libname.ixlibrary $libname.a'
20328
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
20329
 
  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'
20330
 
  ;;
20331
 
 
20332
 
beos*)
20333
 
  library_names_spec='${libname}${shared_ext}'
20334
 
  dynamic_linker="$host_os ld.so"
20335
 
  shlibpath_var=LIBRARY_PATH
20336
 
  ;;
20337
 
 
20338
 
bsdi[45]*)
20339
 
  version_type=linux
20340
 
  need_version=no
20341
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20342
 
  soname_spec='${libname}${release}${shared_ext}$major'
20343
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20344
 
  shlibpath_var=LD_LIBRARY_PATH
20345
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20346
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20347
 
  # the default ld.so.conf also contains /usr/contrib/lib and
20348
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20349
 
  # libtool to hard-code these into programs
20350
 
  ;;
20351
 
 
20352
 
cygwin* | mingw* | pw32*)
20353
 
  version_type=windows
20354
 
  shrext_cmds=".dll"
20355
 
  need_version=no
20356
 
  need_lib_prefix=no
20357
 
 
20358
 
  case $GCC,$host_os in
20359
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
20360
 
    library_names_spec='$libname.dll.a'
20361
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
20362
 
    postinstall_cmds='base_file=`basename \${file}`~
20363
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20364
 
      dldir=$destdir/`dirname \$dlpath`~
20365
 
      test -d \$dldir || mkdir -p \$dldir~
20366
 
      $install_prog $dir/$dlname \$dldir/$dlname~
20367
 
      chmod a+x \$dldir/$dlname'
20368
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20369
 
      dlpath=$dir/\$dldll~
20370
 
       $rm \$dlpath'
20371
 
    shlibpath_overrides_runpath=yes
20372
 
 
20373
 
    case $host_os in
20374
 
    cygwin*)
20375
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20376
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20377
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20378
 
      ;;
20379
 
    mingw*)
20380
 
      # MinGW DLLs use traditional 'lib' prefix
20381
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20382
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20383
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20384
 
        # It is most probably a Windows format PATH printed by
20385
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
20386
 
        # path with ; separators, and with drive letters. We can handle the
20387
 
        # drive letters (cygwin fileutils understands them), so leave them,
20388
 
        # especially as we might pass files found there to a mingw objdump,
20389
 
        # which wouldn't understand a cygwinified path. Ahh.
20390
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20391
 
      else
20392
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
20393
 
      fi
20394
 
      ;;
20395
 
    pw32*)
20396
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
20397
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20398
 
      ;;
20399
 
    esac
20400
 
    ;;
20401
 
 
20402
 
  *)
20403
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20404
 
    ;;
20405
 
  esac
20406
 
  dynamic_linker='Win32 ld.exe'
20407
 
  # FIXME: first we should search . and the directory the executable is in
20408
 
  shlibpath_var=PATH
20409
 
  ;;
20410
 
 
20411
 
darwin* | rhapsody*)
20412
 
  dynamic_linker="$host_os dyld"
20413
 
  version_type=darwin
20414
 
  need_lib_prefix=no
20415
 
  need_version=no
20416
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20417
 
  soname_spec='${libname}${release}${major}$shared_ext'
20418
 
  shlibpath_overrides_runpath=yes
20419
 
  shlibpath_var=DYLD_LIBRARY_PATH
20420
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20421
 
 
20422
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20423
 
  ;;
20424
 
 
20425
 
dgux*)
20426
 
  version_type=linux
20427
 
  need_lib_prefix=no
20428
 
  need_version=no
20429
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20430
 
  soname_spec='${libname}${release}${shared_ext}$major'
20431
 
  shlibpath_var=LD_LIBRARY_PATH
20432
 
  ;;
20433
 
 
20434
 
freebsd1*)
20435
 
  dynamic_linker=no
20436
 
  ;;
20437
 
 
20438
 
freebsd* | dragonfly*)
20439
 
  # DragonFly does not have aout.  When/if they implement a new
20440
 
  # versioning mechanism, adjust this.
20441
 
  if test -x /usr/bin/objformat; then
20442
 
    objformat=`/usr/bin/objformat`
20443
 
  else
20444
 
    case $host_os in
20445
 
    freebsd[123]*) objformat=aout ;;
20446
 
    *) objformat=elf ;;
20447
 
    esac
20448
 
  fi
20449
 
  version_type=freebsd-$objformat
20450
 
  case $version_type in
20451
 
    freebsd-elf*)
20452
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20453
 
      need_version=no
20454
 
      need_lib_prefix=no
20455
 
      ;;
20456
 
    freebsd-*)
20457
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20458
 
      need_version=yes
20459
 
      ;;
20460
 
  esac
20461
 
  shlibpath_var=LD_LIBRARY_PATH
20462
 
  case $host_os in
20463
 
  freebsd2*)
20464
 
    shlibpath_overrides_runpath=yes
20465
 
    ;;
20466
 
  freebsd3.[01]* | freebsdelf3.[01]*)
20467
 
    shlibpath_overrides_runpath=yes
20468
 
    hardcode_into_libs=yes
20469
 
    ;;
20470
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20471
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20472
 
    shlibpath_overrides_runpath=no
20473
 
    hardcode_into_libs=yes
20474
 
    ;;
20475
 
  *) # from 4.6 on, and DragonFly
20476
 
    shlibpath_overrides_runpath=yes
20477
 
    hardcode_into_libs=yes
20478
 
    ;;
20479
 
  esac
20480
 
  ;;
20481
 
 
20482
 
gnu*)
20483
 
  version_type=linux
20484
 
  need_lib_prefix=no
20485
 
  need_version=no
20486
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20487
 
  soname_spec='${libname}${release}${shared_ext}$major'
20488
 
  shlibpath_var=LD_LIBRARY_PATH
20489
 
  hardcode_into_libs=yes
20490
 
  ;;
20491
 
 
20492
 
hpux9* | hpux10* | hpux11*)
20493
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
20494
 
  # link against other versions.
20495
 
  version_type=sunos
20496
 
  need_lib_prefix=no
20497
 
  need_version=no
20498
 
  case $host_cpu in
20499
 
  ia64*)
20500
 
    shrext_cmds='.so'
20501
 
    hardcode_into_libs=yes
20502
 
    dynamic_linker="$host_os dld.so"
20503
 
    shlibpath_var=LD_LIBRARY_PATH
20504
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20505
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20506
 
    soname_spec='${libname}${release}${shared_ext}$major'
20507
 
    if test "X$HPUX_IA64_MODE" = X32; then
20508
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20509
 
    else
20510
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20511
 
    fi
20512
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20513
 
    ;;
20514
 
   hppa*64*)
20515
 
     shrext_cmds='.sl'
20516
 
     hardcode_into_libs=yes
20517
 
     dynamic_linker="$host_os dld.sl"
20518
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20519
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20520
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20521
 
     soname_spec='${libname}${release}${shared_ext}$major'
20522
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20523
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20524
 
     ;;
20525
 
   *)
20526
 
    shrext_cmds='.sl'
20527
 
    dynamic_linker="$host_os dld.sl"
20528
 
    shlibpath_var=SHLIB_PATH
20529
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20530
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20531
 
    soname_spec='${libname}${release}${shared_ext}$major'
20532
 
    ;;
20533
 
  esac
20534
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
20535
 
  postinstall_cmds='chmod 555 $lib'
20536
 
  ;;
20537
 
 
20538
 
interix[3-9]*)
20539
 
  version_type=linux
20540
 
  need_lib_prefix=no
20541
 
  need_version=no
20542
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20543
 
  soname_spec='${libname}${release}${shared_ext}$major'
20544
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20545
 
  shlibpath_var=LD_LIBRARY_PATH
20546
 
  shlibpath_overrides_runpath=no
20547
 
  hardcode_into_libs=yes
20548
 
  ;;
20549
 
 
20550
 
irix5* | irix6* | nonstopux*)
20551
 
  case $host_os in
20552
 
    nonstopux*) version_type=nonstopux ;;
20553
 
    *)
20554
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
20555
 
                version_type=linux
20556
 
        else
20557
 
                version_type=irix
20558
 
        fi ;;
20559
 
  esac
20560
 
  need_lib_prefix=no
20561
 
  need_version=no
20562
 
  soname_spec='${libname}${release}${shared_ext}$major'
20563
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20564
 
  case $host_os in
20565
 
  irix5* | nonstopux*)
20566
 
    libsuff= shlibsuff=
20567
 
    ;;
20568
 
  *)
20569
 
    case $LD in # libtool.m4 will add one of these switches to LD
20570
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20571
 
      libsuff= shlibsuff= libmagic=32-bit;;
20572
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20573
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
20574
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20575
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
20576
 
    *) libsuff= shlibsuff= libmagic=never-match;;
20577
 
    esac
20578
 
    ;;
20579
 
  esac
20580
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20581
 
  shlibpath_overrides_runpath=no
20582
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20583
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20584
 
  hardcode_into_libs=yes
20585
 
  ;;
20586
 
 
20587
 
# No shared lib support for Linux oldld, aout, or coff.
20588
 
linux*oldld* | linux*aout* | linux*coff*)
20589
 
  dynamic_linker=no
20590
 
  ;;
20591
 
 
20592
 
# This must be Linux ELF.
20593
 
linux* | k*bsd*-gnu)
20594
 
  version_type=linux
20595
 
  need_lib_prefix=no
20596
 
  need_version=no
20597
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20598
 
  soname_spec='${libname}${release}${shared_ext}$major'
20599
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20600
 
  shlibpath_var=LD_LIBRARY_PATH
20601
 
  shlibpath_overrides_runpath=no
20602
 
  # This implies no fast_install, which is unacceptable.
20603
 
  # Some rework will be needed to allow for fast_install
20604
 
  # before this can be enabled.
20605
 
  hardcode_into_libs=yes
20606
 
 
20607
 
  # Append ld.so.conf contents to the search path
20608
 
  if test -f /etc/ld.so.conf; then
20609
 
    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' ' '`
20610
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20611
 
  fi
20612
 
 
20613
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
20614
 
  # powerpc, because MkLinux only supported shared libraries with the
20615
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
20616
 
  # most powerpc-linux boxes support dynamic linking these days and
20617
 
  # people can always --disable-shared, the test was removed, and we
20618
 
  # assume the GNU/Linux dynamic linker is in use.
20619
 
  dynamic_linker='GNU/Linux ld.so'
20620
 
  ;;
20621
 
 
20622
 
netbsdelf*-gnu)
20623
 
  version_type=linux
20624
 
  need_lib_prefix=no
20625
 
  need_version=no
20626
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20627
 
  soname_spec='${libname}${release}${shared_ext}$major'
20628
 
  shlibpath_var=LD_LIBRARY_PATH
20629
 
  shlibpath_overrides_runpath=no
20630
 
  hardcode_into_libs=yes
20631
 
  dynamic_linker='NetBSD ld.elf_so'
20632
 
  ;;
20633
 
 
20634
 
netbsd*)
20635
 
  version_type=sunos
20636
 
  need_lib_prefix=no
20637
 
  need_version=no
20638
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20639
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20640
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20641
 
    dynamic_linker='NetBSD (a.out) ld.so'
20642
 
  else
20643
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20644
 
    soname_spec='${libname}${release}${shared_ext}$major'
20645
 
    dynamic_linker='NetBSD ld.elf_so'
20646
 
  fi
20647
 
  shlibpath_var=LD_LIBRARY_PATH
20648
 
  shlibpath_overrides_runpath=yes
20649
 
  hardcode_into_libs=yes
20650
 
  ;;
20651
 
 
20652
 
newsos6)
20653
 
  version_type=linux
20654
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20655
 
  shlibpath_var=LD_LIBRARY_PATH
20656
 
  shlibpath_overrides_runpath=yes
20657
 
  ;;
20658
 
 
20659
 
nto-qnx*)
20660
 
  version_type=linux
20661
 
  need_lib_prefix=no
20662
 
  need_version=no
20663
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20664
 
  soname_spec='${libname}${release}${shared_ext}$major'
20665
 
  shlibpath_var=LD_LIBRARY_PATH
20666
 
  shlibpath_overrides_runpath=yes
20667
 
  ;;
20668
 
 
20669
 
openbsd*)
20670
 
  version_type=sunos
20671
 
  sys_lib_dlsearch_path_spec="/usr/lib"
20672
 
  need_lib_prefix=no
20673
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20674
 
  case $host_os in
20675
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20676
 
    *)                         need_version=no  ;;
20677
 
  esac
20678
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20679
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20680
 
  shlibpath_var=LD_LIBRARY_PATH
20681
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20682
 
    case $host_os in
20683
 
      openbsd2.[89] | openbsd2.[89].*)
20684
 
        shlibpath_overrides_runpath=no
20685
 
        ;;
20686
 
      *)
20687
 
        shlibpath_overrides_runpath=yes
20688
 
        ;;
20689
 
      esac
20690
 
  else
20691
 
    shlibpath_overrides_runpath=yes
20692
 
  fi
20693
 
  ;;
20694
 
 
20695
 
os2*)
20696
 
  libname_spec='$name'
20697
 
  shrext_cmds=".dll"
20698
 
  need_lib_prefix=no
20699
 
  library_names_spec='$libname${shared_ext} $libname.a'
20700
 
  dynamic_linker='OS/2 ld.exe'
20701
 
  shlibpath_var=LIBPATH
20702
 
  ;;
20703
 
 
20704
 
osf3* | osf4* | osf5*)
20705
 
  version_type=osf
20706
 
  need_lib_prefix=no
20707
 
  need_version=no
20708
 
  soname_spec='${libname}${release}${shared_ext}$major'
20709
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20710
 
  shlibpath_var=LD_LIBRARY_PATH
20711
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20712
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20713
 
  ;;
20714
 
 
20715
 
rdos*)
20716
 
  dynamic_linker=no
20717
 
  ;;
20718
 
 
20719
 
solaris*)
20720
 
  version_type=linux
20721
 
  need_lib_prefix=no
20722
 
  need_version=no
20723
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20724
 
  soname_spec='${libname}${release}${shared_ext}$major'
20725
 
  shlibpath_var=LD_LIBRARY_PATH
20726
 
  shlibpath_overrides_runpath=yes
20727
 
  hardcode_into_libs=yes
20728
 
  # ldd complains unless libraries are executable
20729
 
  postinstall_cmds='chmod +x $lib'
20730
 
  ;;
20731
 
 
20732
 
sunos4*)
20733
 
  version_type=sunos
20734
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20735
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20736
 
  shlibpath_var=LD_LIBRARY_PATH
20737
 
  shlibpath_overrides_runpath=yes
20738
 
  if test "$with_gnu_ld" = yes; then
20739
 
    need_lib_prefix=no
20740
 
  fi
20741
 
  need_version=yes
20742
 
  ;;
20743
 
 
20744
 
sysv4 | sysv4.3*)
20745
 
  version_type=linux
20746
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20747
 
  soname_spec='${libname}${release}${shared_ext}$major'
20748
 
  shlibpath_var=LD_LIBRARY_PATH
20749
 
  case $host_vendor in
20750
 
    sni)
20751
 
      shlibpath_overrides_runpath=no
20752
 
      need_lib_prefix=no
20753
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
20754
 
      runpath_var=LD_RUN_PATH
20755
 
      ;;
20756
 
    siemens)
20757
 
      need_lib_prefix=no
20758
 
      ;;
20759
 
    motorola)
20760
 
      need_lib_prefix=no
20761
 
      need_version=no
20762
 
      shlibpath_overrides_runpath=no
20763
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20764
 
      ;;
20765
 
  esac
20766
 
  ;;
20767
 
 
20768
 
sysv4*MP*)
20769
 
  if test -d /usr/nec ;then
20770
 
    version_type=linux
20771
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20772
 
    soname_spec='$libname${shared_ext}.$major'
20773
 
    shlibpath_var=LD_LIBRARY_PATH
20774
 
  fi
20775
 
  ;;
20776
 
 
20777
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20778
 
  version_type=freebsd-elf
20779
 
  need_lib_prefix=no
20780
 
  need_version=no
20781
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20782
 
  soname_spec='${libname}${release}${shared_ext}$major'
20783
 
  shlibpath_var=LD_LIBRARY_PATH
20784
 
  hardcode_into_libs=yes
20785
 
  if test "$with_gnu_ld" = yes; then
20786
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20787
 
    shlibpath_overrides_runpath=no
20788
 
  else
20789
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20790
 
    shlibpath_overrides_runpath=yes
20791
 
    case $host_os in
20792
 
      sco3.2v5*)
20793
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20794
 
        ;;
20795
 
    esac
20796
 
  fi
20797
 
  sys_lib_dlsearch_path_spec='/usr/lib'
20798
 
  ;;
20799
 
 
20800
 
uts4*)
20801
 
  version_type=linux
20802
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20803
 
  soname_spec='${libname}${release}${shared_ext}$major'
20804
 
  shlibpath_var=LD_LIBRARY_PATH
20805
 
  ;;
20806
 
 
20807
 
*)
20808
 
  dynamic_linker=no
20809
 
  ;;
20810
 
esac
20811
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20812
 
$as_echo "$dynamic_linker" >&6; }
20813
 
test "$dynamic_linker" = no && can_build_shared=no
20814
 
 
20815
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20816
 
  $as_echo_n "(cached) " >&6
20817
 
else
20818
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
20819
 
fi
20820
 
 
20821
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20822
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20823
 
  $as_echo_n "(cached) " >&6
20824
 
else
20825
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
20826
 
fi
20827
 
 
20828
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20829
 
 
20830
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20831
 
if test "$GCC" = yes; then
20832
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20833
 
fi
20834
 
 
20835
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20836
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20837
 
hardcode_action_CXX=
20838
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
20839
 
   test -n "$runpath_var_CXX" || \
20840
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
20841
 
 
20842
 
  # We can hardcode non-existant directories.
20843
 
  if test "$hardcode_direct_CXX" != no &&
20844
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
20845
 
     # have to relink, otherwise we might link with an installed library
20846
 
     # when we should be linking with a yet-to-be-installed one
20847
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20848
 
     test "$hardcode_minus_L_CXX" != no; then
20849
 
    # Linking always hardcodes the temporary library directory.
20850
 
    hardcode_action_CXX=relink
20851
 
  else
20852
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
20853
 
    hardcode_action_CXX=immediate
20854
 
  fi
20855
 
else
20856
 
  # We cannot hardcode anything, or else we can only hardcode existing
20857
 
  # directories.
20858
 
  hardcode_action_CXX=unsupported
20859
 
fi
20860
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20861
 
$as_echo "$hardcode_action_CXX" >&6; }
20862
 
 
20863
 
if test "$hardcode_action_CXX" = relink; then
20864
 
  # Fast installation is not supported
20865
 
  enable_fast_install=no
20866
 
elif test "$shlibpath_overrides_runpath" = yes ||
20867
 
     test "$enable_shared" = no; then
20868
 
  # Fast installation is not necessary
20869
 
  enable_fast_install=needless
20870
 
fi
20871
 
 
20872
 
 
20873
 
# The else clause should only fire when bootstrapping the
20874
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
20875
 
# with your package, and you will get complaints that there are
20876
 
# no rules to generate ltmain.sh.
20877
 
if test -f "$ltmain"; then
20878
 
  # See if we are running on zsh, and set the options which allow our commands through
20879
 
  # without removal of \ escapes.
20880
 
  if test -n "${ZSH_VERSION+set}" ; then
20881
 
    setopt NO_GLOB_SUBST
20882
 
  fi
20883
 
  # Now quote all the things that may contain metacharacters while being
20884
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20885
 
  # variables and quote the copies for generation of the libtool script.
20886
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20887
 
    SED SHELL STRIP \
20888
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20889
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20890
 
    deplibs_check_method reload_flag reload_cmds need_locks \
20891
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20892
 
    lt_cv_sys_global_symbol_to_c_name_address \
20893
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20894
 
    old_postinstall_cmds old_postuninstall_cmds \
20895
 
    compiler_CXX \
20896
 
    CC_CXX \
20897
 
    LD_CXX \
20898
 
    lt_prog_compiler_wl_CXX \
20899
 
    lt_prog_compiler_pic_CXX \
20900
 
    lt_prog_compiler_static_CXX \
20901
 
    lt_prog_compiler_no_builtin_flag_CXX \
20902
 
    export_dynamic_flag_spec_CXX \
20903
 
    thread_safe_flag_spec_CXX \
20904
 
    whole_archive_flag_spec_CXX \
20905
 
    enable_shared_with_static_runtimes_CXX \
20906
 
    old_archive_cmds_CXX \
20907
 
    old_archive_from_new_cmds_CXX \
20908
 
    predep_objects_CXX \
20909
 
    postdep_objects_CXX \
20910
 
    predeps_CXX \
20911
 
    postdeps_CXX \
20912
 
    compiler_lib_search_path_CXX \
20913
 
    compiler_lib_search_dirs_CXX \
20914
 
    archive_cmds_CXX \
20915
 
    archive_expsym_cmds_CXX \
20916
 
    postinstall_cmds_CXX \
20917
 
    postuninstall_cmds_CXX \
20918
 
    old_archive_from_expsyms_cmds_CXX \
20919
 
    allow_undefined_flag_CXX \
20920
 
    no_undefined_flag_CXX \
20921
 
    export_symbols_cmds_CXX \
20922
 
    hardcode_libdir_flag_spec_CXX \
20923
 
    hardcode_libdir_flag_spec_ld_CXX \
20924
 
    hardcode_libdir_separator_CXX \
20925
 
    hardcode_automatic_CXX \
20926
 
    module_cmds_CXX \
20927
 
    module_expsym_cmds_CXX \
20928
 
    lt_cv_prog_compiler_c_o_CXX \
20929
 
    fix_srcfile_path_CXX \
20930
 
    exclude_expsyms_CXX \
20931
 
    include_expsyms_CXX; do
20932
 
 
20933
 
    case $var in
20934
 
    old_archive_cmds_CXX | \
20935
 
    old_archive_from_new_cmds_CXX | \
20936
 
    archive_cmds_CXX | \
20937
 
    archive_expsym_cmds_CXX | \
20938
 
    module_cmds_CXX | \
20939
 
    module_expsym_cmds_CXX | \
20940
 
    old_archive_from_expsyms_cmds_CXX | \
20941
 
    export_symbols_cmds_CXX | \
20942
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20943
 
    postinstall_cmds | postuninstall_cmds | \
20944
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20945
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20946
 
      # Double-quote double-evaled strings.
20947
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20948
 
      ;;
20949
 
    *)
20950
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20951
 
      ;;
20952
 
    esac
20953
 
  done
20954
 
 
20955
 
  case $lt_echo in
20956
 
  *'\$0 --fallback-echo"')
20957
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20958
 
    ;;
20959
 
  esac
20960
 
 
20961
 
cfgfile="$ofile"
20962
 
 
20963
 
  cat <<__EOF__ >> "$cfgfile"
20964
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20965
 
 
20966
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20967
 
 
20968
 
# Shell to use when invoking shell scripts.
20969
 
SHELL=$lt_SHELL
20970
 
 
20971
 
# Whether or not to build shared libraries.
20972
 
build_libtool_libs=$enable_shared
20973
 
 
20974
 
# Whether or not to build static libraries.
20975
 
build_old_libs=$enable_static
20976
 
 
20977
 
# Whether or not to add -lc for building shared libraries.
20978
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
20979
 
 
20980
 
# Whether or not to disallow shared libs when runtime libs are static
20981
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20982
 
 
20983
 
# Whether or not to optimize for fast installation.
20984
 
fast_install=$enable_fast_install
20985
 
 
20986
 
# The host system.
20987
 
host_alias=$host_alias
20988
 
host=$host
20989
 
host_os=$host_os
20990
 
 
20991
 
# The build system.
20992
 
build_alias=$build_alias
20993
 
build=$build
20994
 
build_os=$build_os
20995
 
 
20996
 
# An echo program that does not interpret backslashes.
20997
 
echo=$lt_echo
20998
 
 
20999
 
# The archiver.
21000
 
AR=$lt_AR
21001
 
AR_FLAGS=$lt_AR_FLAGS
21002
 
 
21003
 
# A C compiler.
21004
 
LTCC=$lt_LTCC
21005
 
 
21006
 
# LTCC compiler flags.
21007
 
LTCFLAGS=$lt_LTCFLAGS
21008
 
 
21009
 
# A language-specific compiler.
21010
 
CC=$lt_compiler_CXX
21011
 
 
21012
 
# Is the compiler the GNU C compiler?
21013
 
with_gcc=$GCC_CXX
21014
 
 
21015
 
# An ERE matcher.
21016
 
EGREP=$lt_EGREP
21017
 
 
21018
 
# The linker used to build libraries.
21019
 
LD=$lt_LD_CXX
21020
 
 
21021
 
# Whether we need hard or soft links.
21022
 
LN_S=$lt_LN_S
21023
 
 
21024
 
# A BSD-compatible nm program.
21025
 
NM=$lt_NM
21026
 
 
21027
 
# A symbol stripping program
21028
 
STRIP=$lt_STRIP
21029
 
 
21030
 
# Used to examine libraries when file_magic_cmd begins "file"
21031
 
MAGIC_CMD=$MAGIC_CMD
21032
 
 
21033
 
# Used on cygwin: DLL creation program.
21034
 
DLLTOOL="$DLLTOOL"
21035
 
 
21036
 
# Used on cygwin: object dumper.
21037
 
OBJDUMP="$OBJDUMP"
21038
 
 
21039
 
# Used on cygwin: assembler.
21040
 
AS="$AS"
21041
 
 
21042
 
# The name of the directory that contains temporary libtool files.
21043
 
objdir=$objdir
21044
 
 
21045
 
# How to create reloadable object files.
21046
 
reload_flag=$lt_reload_flag
21047
 
reload_cmds=$lt_reload_cmds
21048
 
 
21049
 
# How to pass a linker flag through the compiler.
21050
 
wl=$lt_lt_prog_compiler_wl_CXX
21051
 
 
21052
 
# Object file suffix (normally "o").
21053
 
objext="$ac_objext"
21054
 
 
21055
 
# Old archive suffix (normally "a").
21056
 
libext="$libext"
21057
 
 
21058
 
# Shared library suffix (normally ".so").
21059
 
shrext_cmds='$shrext_cmds'
21060
 
 
21061
 
# Executable file suffix (normally "").
21062
 
exeext="$exeext"
21063
 
 
21064
 
# Additional compiler flags for building library objects.
21065
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
21066
 
pic_mode=$pic_mode
21067
 
 
21068
 
# What is the maximum length of a command?
21069
 
max_cmd_len=$lt_cv_sys_max_cmd_len
21070
 
 
21071
 
# Does compiler simultaneously support -c and -o options?
21072
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21073
 
 
21074
 
# Must we lock files when doing compilation?
21075
 
need_locks=$lt_need_locks
21076
 
 
21077
 
# Do we need the lib prefix for modules?
21078
 
need_lib_prefix=$need_lib_prefix
21079
 
 
21080
 
# Do we need a version for libraries?
21081
 
need_version=$need_version
21082
 
 
21083
 
# Whether dlopen is supported.
21084
 
dlopen_support=$enable_dlopen
21085
 
 
21086
 
# Whether dlopen of programs is supported.
21087
 
dlopen_self=$enable_dlopen_self
21088
 
 
21089
 
# Whether dlopen of statically linked programs is supported.
21090
 
dlopen_self_static=$enable_dlopen_self_static
21091
 
 
21092
 
# Compiler flag to prevent dynamic linking.
21093
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
21094
 
 
21095
 
# Compiler flag to turn off builtin functions.
21096
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21097
 
 
21098
 
# Compiler flag to allow reflexive dlopens.
21099
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21100
 
 
21101
 
# Compiler flag to generate shared objects directly from archives.
21102
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21103
 
 
21104
 
# Compiler flag to generate thread-safe objects.
21105
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
21106
 
 
21107
 
# Library versioning type.
21108
 
version_type=$version_type
21109
 
 
21110
 
# Format of library name prefix.
21111
 
libname_spec=$lt_libname_spec
21112
 
 
21113
 
# List of archive names.  First name is the real one, the rest are links.
21114
 
# The last name is the one that the linker finds with -lNAME.
21115
 
library_names_spec=$lt_library_names_spec
21116
 
 
21117
 
# The coded name of the library, if different from the real name.
21118
 
soname_spec=$lt_soname_spec
21119
 
 
21120
 
# Commands used to build and install an old-style archive.
21121
 
RANLIB=$lt_RANLIB
21122
 
old_archive_cmds=$lt_old_archive_cmds_CXX
21123
 
old_postinstall_cmds=$lt_old_postinstall_cmds
21124
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21125
 
 
21126
 
# Create an old-style archive from a shared archive.
21127
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21128
 
 
21129
 
# Create a temporary old-style archive to link instead of a shared archive.
21130
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21131
 
 
21132
 
# Commands used to build and install a shared archive.
21133
 
archive_cmds=$lt_archive_cmds_CXX
21134
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21135
 
postinstall_cmds=$lt_postinstall_cmds
21136
 
postuninstall_cmds=$lt_postuninstall_cmds
21137
 
 
21138
 
# Commands used to build a loadable module (assumed same as above if empty)
21139
 
module_cmds=$lt_module_cmds_CXX
21140
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
21141
 
 
21142
 
# Commands to strip libraries.
21143
 
old_striplib=$lt_old_striplib
21144
 
striplib=$lt_striplib
21145
 
 
21146
 
# Dependencies to place before the objects being linked to create a
21147
 
# shared library.
21148
 
predep_objects=$lt_predep_objects_CXX
21149
 
 
21150
 
# Dependencies to place after the objects being linked to create a
21151
 
# shared library.
21152
 
postdep_objects=$lt_postdep_objects_CXX
21153
 
 
21154
 
# Dependencies to place before the objects being linked to create a
21155
 
# shared library.
21156
 
predeps=$lt_predeps_CXX
21157
 
 
21158
 
# Dependencies to place after the objects being linked to create a
21159
 
# shared library.
21160
 
postdeps=$lt_postdeps_CXX
21161
 
 
21162
 
# The directories searched by this compiler when creating a shared
21163
 
# library
21164
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21165
 
 
21166
 
# The library search path used internally by the compiler when linking
21167
 
# a shared library.
21168
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21169
 
 
21170
 
# Method to check whether dependent libraries are shared objects.
21171
 
deplibs_check_method=$lt_deplibs_check_method
21172
 
 
21173
 
# Command to use when deplibs_check_method == file_magic.
21174
 
file_magic_cmd=$lt_file_magic_cmd
21175
 
 
21176
 
# Flag that allows shared libraries with undefined symbols to be built.
21177
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
21178
 
 
21179
 
# Flag that forces no undefined symbols.
21180
 
no_undefined_flag=$lt_no_undefined_flag_CXX
21181
 
 
21182
 
# Commands used to finish a libtool library installation in a directory.
21183
 
finish_cmds=$lt_finish_cmds
21184
 
 
21185
 
# Same as above, but a single script fragment to be evaled but not shown.
21186
 
finish_eval=$lt_finish_eval
21187
 
 
21188
 
# Take the output of nm and produce a listing of raw symbols and C names.
21189
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21190
 
 
21191
 
# Transform the output of nm in a proper C declaration
21192
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21193
 
 
21194
 
# Transform the output of nm in a C name address pair
21195
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21196
 
 
21197
 
# This is the shared library runtime path variable.
21198
 
runpath_var=$runpath_var
21199
 
 
21200
 
# This is the shared library path variable.
21201
 
shlibpath_var=$shlibpath_var
21202
 
 
21203
 
# Is shlibpath searched before the hard-coded library search path?
21204
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21205
 
 
21206
 
# How to hardcode a shared library path into an executable.
21207
 
hardcode_action=$hardcode_action_CXX
21208
 
 
21209
 
# Whether we should hardcode library paths into libraries.
21210
 
hardcode_into_libs=$hardcode_into_libs
21211
 
 
21212
 
# Flag to hardcode \$libdir into a binary during linking.
21213
 
# This must work even if \$libdir does not exist.
21214
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21215
 
 
21216
 
# If ld is used when linking, flag to hardcode \$libdir into
21217
 
# a binary during linking. This must work even if \$libdir does
21218
 
# not exist.
21219
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21220
 
 
21221
 
# Whether we need a single -rpath flag with a separated argument.
21222
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21223
 
 
21224
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21225
 
# resulting binary.
21226
 
hardcode_direct=$hardcode_direct_CXX
21227
 
 
21228
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21229
 
# resulting binary.
21230
 
hardcode_minus_L=$hardcode_minus_L_CXX
21231
 
 
21232
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21233
 
# the resulting binary.
21234
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21235
 
 
21236
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
21237
 
# and all subsequent libraries and executables linked against it.
21238
 
hardcode_automatic=$hardcode_automatic_CXX
21239
 
 
21240
 
# Variables whose values should be saved in libtool wrapper scripts and
21241
 
# restored at relink time.
21242
 
variables_saved_for_relink="$variables_saved_for_relink"
21243
 
 
21244
 
# Whether libtool must link a program against all its dependency libraries.
21245
 
link_all_deplibs=$link_all_deplibs_CXX
21246
 
 
21247
 
# Compile-time system search path for libraries
21248
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21249
 
 
21250
 
# Run-time system search path for libraries
21251
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21252
 
 
21253
 
# Fix the shell variable \$srcfile for the compiler.
21254
 
fix_srcfile_path=$lt_fix_srcfile_path
21255
 
 
21256
 
# Set to yes if exported symbols are required.
21257
 
always_export_symbols=$always_export_symbols_CXX
21258
 
 
21259
 
# The commands to list exported symbols.
21260
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
21261
 
 
21262
 
# The commands to extract the exported symbol list from a shared archive.
21263
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21264
 
 
21265
 
# Symbols that should not be listed in the preloaded symbols.
21266
 
exclude_expsyms=$lt_exclude_expsyms_CXX
21267
 
 
21268
 
# Symbols that must always be exported.
21269
 
include_expsyms=$lt_include_expsyms_CXX
21270
 
 
21271
 
# ### END LIBTOOL TAG CONFIG: $tagname
21272
 
 
21273
 
__EOF__
21274
 
 
21275
 
 
21276
 
else
21277
 
  # If there is no Makefile yet, we rely on a make rule to execute
21278
 
  # `config.status --recheck' to rerun these tests and create the
21279
 
  # libtool script then.
21280
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21281
 
  if test -f "$ltmain_in"; then
21282
 
    test -f Makefile && make "$ltmain"
21283
 
  fi
21284
 
fi
21285
 
 
21286
 
 
21287
 
ac_ext=c
21288
 
ac_cpp='$CPP $CPPFLAGS'
21289
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21290
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21291
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21292
 
 
21293
 
CC=$lt_save_CC
21294
 
LDCXX=$LD
21295
 
LD=$lt_save_LD
21296
 
GCC=$lt_save_GCC
21297
 
with_gnu_ldcxx=$with_gnu_ld
21298
 
with_gnu_ld=$lt_save_with_gnu_ld
21299
 
lt_cv_path_LDCXX=$lt_cv_path_LD
21300
 
lt_cv_path_LD=$lt_save_path_LD
21301
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
21302
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
21303
 
 
21304
 
        else
21305
 
          tagname=""
21306
 
        fi
21307
 
        ;;
21308
 
 
21309
 
      F77)
21310
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
21311
 
 
21312
 
ac_ext=f
21313
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21314
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21315
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
21316
 
 
21317
 
 
21318
 
archive_cmds_need_lc_F77=no
21319
 
allow_undefined_flag_F77=
21320
 
always_export_symbols_F77=no
21321
 
archive_expsym_cmds_F77=
21322
 
export_dynamic_flag_spec_F77=
21323
 
hardcode_direct_F77=no
21324
 
hardcode_libdir_flag_spec_F77=
21325
 
hardcode_libdir_flag_spec_ld_F77=
21326
 
hardcode_libdir_separator_F77=
21327
 
hardcode_minus_L_F77=no
21328
 
hardcode_automatic_F77=no
21329
 
module_cmds_F77=
21330
 
module_expsym_cmds_F77=
21331
 
link_all_deplibs_F77=unknown
21332
 
old_archive_cmds_F77=$old_archive_cmds
21333
 
no_undefined_flag_F77=
21334
 
whole_archive_flag_spec_F77=
21335
 
enable_shared_with_static_runtimes_F77=no
21336
 
 
21337
 
# Source file extension for f77 test sources.
21338
 
ac_ext=f
21339
 
 
21340
 
# Object file extension for compiled f77 test sources.
21341
 
objext=o
21342
 
objext_F77=$objext
21343
 
 
21344
 
# Code to be used in simple compile tests
21345
 
lt_simple_compile_test_code="\
21346
 
      subroutine t
21347
 
      return
21348
 
      end
21349
 
"
21350
 
 
21351
 
# Code to be used in simple link tests
21352
 
lt_simple_link_test_code="\
21353
 
      program t
21354
 
      end
21355
 
"
21356
 
 
21357
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
21358
 
 
21359
 
# If no C compiler was specified, use CC.
21360
 
LTCC=${LTCC-"$CC"}
21361
 
 
21362
 
# If no C compiler flags were specified, use CFLAGS.
21363
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21364
 
 
21365
 
# Allow CC to be a program name with arguments.
21366
 
compiler=$CC
21367
 
 
21368
 
 
21369
 
# save warnings/boilerplate of simple test code
21370
 
ac_outfile=conftest.$ac_objext
21371
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
21372
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21373
 
_lt_compiler_boilerplate=`cat conftest.err`
21374
 
$rm conftest*
21375
 
 
21376
 
ac_outfile=conftest.$ac_objext
21377
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
21378
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21379
 
_lt_linker_boilerplate=`cat conftest.err`
21380
 
$rm -r conftest*
21381
 
 
21382
 
 
21383
 
# Allow CC to be a program name with arguments.
21384
 
lt_save_CC="$CC"
21385
 
CC=${F77-"f77"}
21386
 
compiler=$CC
21387
 
compiler_F77=$CC
21388
 
for cc_temp in $compiler""; do
21389
 
  case $cc_temp in
21390
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21391
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21392
 
    \-*) ;;
21393
 
    *) break;;
21394
 
  esac
21395
 
done
21396
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21397
 
 
21398
 
 
21399
 
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21400
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
21401
 
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
21402
 
$as_echo "$can_build_shared" >&6; }
21403
 
 
21404
 
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21405
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
21406
 
test "$can_build_shared" = "no" && enable_shared=no
21407
 
 
21408
 
# On AIX, shared libraries and static libraries use the same namespace, and
21409
 
# are all built from PIC.
21410
 
case $host_os in
21411
 
aix3*)
21412
 
  test "$enable_shared" = yes && enable_static=no
21413
 
  if test -n "$RANLIB"; then
21414
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
21415
 
    postinstall_cmds='$RANLIB $lib'
21416
 
  fi
21417
 
  ;;
21418
 
aix[4-9]*)
21419
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
21420
 
    test "$enable_shared" = yes && enable_static=no
21421
 
  fi
21422
 
  ;;
21423
 
esac
21424
 
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
21425
 
$as_echo "$enable_shared" >&6; }
21426
 
 
21427
 
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21428
 
$as_echo_n "checking whether to build static libraries... " >&6; }
21429
 
# Make sure either enable_shared or enable_static is yes.
21430
 
test "$enable_shared" = yes || enable_static=yes
21431
 
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
21432
 
$as_echo "$enable_static" >&6; }
21433
 
 
21434
 
GCC_F77="$G77"
21435
 
LD_F77="$LD"
21436
 
 
21437
 
lt_prog_compiler_wl_F77=
21438
 
lt_prog_compiler_pic_F77=
21439
 
lt_prog_compiler_static_F77=
21440
 
 
21441
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21442
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
21443
 
 
21444
 
  if test "$GCC" = yes; then
21445
 
    lt_prog_compiler_wl_F77='-Wl,'
21446
 
    lt_prog_compiler_static_F77='-static'
21447
 
 
21448
 
    case $host_os in
21449
 
      aix*)
21450
 
      # All AIX code is PIC.
21451
 
      if test "$host_cpu" = ia64; then
21452
 
        # AIX 5 now supports IA64 processor
21453
 
        lt_prog_compiler_static_F77='-Bstatic'
21454
 
      fi
21455
 
      ;;
21456
 
 
21457
 
    amigaos*)
21458
 
      # FIXME: we need at least 68020 code to build shared libraries, but
21459
 
      # adding the `-m68020' flag to GCC prevents building anything better,
21460
 
      # like `-m68040'.
21461
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
21462
 
      ;;
21463
 
 
21464
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21465
 
      # PIC is the default for these OSes.
21466
 
      ;;
21467
 
 
21468
 
    mingw* | cygwin* | pw32* | os2*)
21469
 
      # This hack is so that the source file can tell whether it is being
21470
 
      # built for inclusion in a dll (and should export symbols for example).
21471
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
21472
 
      # (--disable-auto-import) libraries
21473
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21474
 
      ;;
21475
 
 
21476
 
    darwin* | rhapsody*)
21477
 
      # PIC is the default on this platform
21478
 
      # Common symbols not allowed in MH_DYLIB files
21479
 
      lt_prog_compiler_pic_F77='-fno-common'
21480
 
      ;;
21481
 
 
21482
 
    interix[3-9]*)
21483
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21484
 
      # Instead, we relocate shared libraries at runtime.
21485
 
      ;;
21486
 
 
21487
 
    msdosdjgpp*)
21488
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
21489
 
      # on systems that don't support them.
21490
 
      lt_prog_compiler_can_build_shared_F77=no
21491
 
      enable_shared=no
21492
 
      ;;
21493
 
 
21494
 
    sysv4*MP*)
21495
 
      if test -d /usr/nec; then
21496
 
        lt_prog_compiler_pic_F77=-Kconform_pic
21497
 
      fi
21498
 
      ;;
21499
 
 
21500
 
    hpux*)
21501
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21502
 
      # not for PA HP-UX.
21503
 
      case $host_cpu in
21504
 
      hppa*64*|ia64*)
21505
 
        # +Z the default
21506
 
        ;;
21507
 
      *)
21508
 
        lt_prog_compiler_pic_F77='-fPIC'
21509
 
        ;;
21510
 
      esac
21511
 
      ;;
21512
 
 
21513
 
    *)
21514
 
      lt_prog_compiler_pic_F77='-fPIC'
21515
 
      ;;
21516
 
    esac
21517
 
  else
21518
 
    # PORTME Check for flag to pass linker flags through the system compiler.
21519
 
    case $host_os in
21520
 
    aix*)
21521
 
      lt_prog_compiler_wl_F77='-Wl,'
21522
 
      if test "$host_cpu" = ia64; then
21523
 
        # AIX 5 now supports IA64 processor
21524
 
        lt_prog_compiler_static_F77='-Bstatic'
21525
 
      else
21526
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
21527
 
      fi
21528
 
      ;;
21529
 
      darwin*)
21530
 
        # PIC is the default on this platform
21531
 
        # Common symbols not allowed in MH_DYLIB files
21532
 
       case $cc_basename in
21533
 
         xlc*)
21534
 
         lt_prog_compiler_pic_F77='-qnocommon'
21535
 
         lt_prog_compiler_wl_F77='-Wl,'
21536
 
         ;;
21537
 
       esac
21538
 
       ;;
21539
 
 
21540
 
    mingw* | cygwin* | pw32* | os2*)
21541
 
      # This hack is so that the source file can tell whether it is being
21542
 
      # built for inclusion in a dll (and should export symbols for example).
21543
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21544
 
      ;;
21545
 
 
21546
 
    hpux9* | hpux10* | hpux11*)
21547
 
      lt_prog_compiler_wl_F77='-Wl,'
21548
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21549
 
      # not for PA HP-UX.
21550
 
      case $host_cpu in
21551
 
      hppa*64*|ia64*)
21552
 
        # +Z the default
21553
 
        ;;
21554
 
      *)
21555
 
        lt_prog_compiler_pic_F77='+Z'
21556
 
        ;;
21557
 
      esac
21558
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
21559
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
21560
 
      ;;
21561
 
 
21562
 
    irix5* | irix6* | nonstopux*)
21563
 
      lt_prog_compiler_wl_F77='-Wl,'
21564
 
      # PIC (with -KPIC) is the default.
21565
 
      lt_prog_compiler_static_F77='-non_shared'
21566
 
      ;;
21567
 
 
21568
 
    newsos6)
21569
 
      lt_prog_compiler_pic_F77='-KPIC'
21570
 
      lt_prog_compiler_static_F77='-Bstatic'
21571
 
      ;;
21572
 
 
21573
 
    linux* | k*bsd*-gnu)
21574
 
      case $cc_basename in
21575
 
      icc* | ecc*)
21576
 
        lt_prog_compiler_wl_F77='-Wl,'
21577
 
        lt_prog_compiler_pic_F77='-KPIC'
21578
 
        lt_prog_compiler_static_F77='-static'
21579
 
        ;;
21580
 
      pgcc* | pgf77* | pgf90* | pgf95*)
21581
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
21582
 
        # which looks to be a dead project)
21583
 
        lt_prog_compiler_wl_F77='-Wl,'
21584
 
        lt_prog_compiler_pic_F77='-fpic'
21585
 
        lt_prog_compiler_static_F77='-Bstatic'
21586
 
        ;;
21587
 
      ccc*)
21588
 
        lt_prog_compiler_wl_F77='-Wl,'
21589
 
        # All Alpha code is PIC.
21590
 
        lt_prog_compiler_static_F77='-non_shared'
21591
 
        ;;
21592
 
      *)
21593
 
        case `$CC -V 2>&1 | sed 5q` in
21594
 
        *Sun\ C*)
21595
 
          # Sun C 5.9
21596
 
          lt_prog_compiler_pic_F77='-KPIC'
21597
 
          lt_prog_compiler_static_F77='-Bstatic'
21598
 
          lt_prog_compiler_wl_F77='-Wl,'
21599
 
          ;;
21600
 
        *Sun\ F*)
21601
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
21602
 
          lt_prog_compiler_pic_F77='-KPIC'
21603
 
          lt_prog_compiler_static_F77='-Bstatic'
21604
 
          lt_prog_compiler_wl_F77=''
21605
 
          ;;
21606
 
        esac
21607
 
        ;;
21608
 
      esac
21609
 
      ;;
21610
 
 
21611
 
    osf3* | osf4* | osf5*)
21612
 
      lt_prog_compiler_wl_F77='-Wl,'
21613
 
      # All OSF/1 code is PIC.
21614
 
      lt_prog_compiler_static_F77='-non_shared'
21615
 
      ;;
21616
 
 
21617
 
    rdos*)
21618
 
      lt_prog_compiler_static_F77='-non_shared'
21619
 
      ;;
21620
 
 
21621
 
    solaris*)
21622
 
      lt_prog_compiler_pic_F77='-KPIC'
21623
 
      lt_prog_compiler_static_F77='-Bstatic'
21624
 
      case $cc_basename in
21625
 
      f77* | f90* | f95*)
21626
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
21627
 
      *)
21628
 
        lt_prog_compiler_wl_F77='-Wl,';;
21629
 
      esac
21630
 
      ;;
21631
 
 
21632
 
    sunos4*)
21633
 
      lt_prog_compiler_wl_F77='-Qoption ld '
21634
 
      lt_prog_compiler_pic_F77='-PIC'
21635
 
      lt_prog_compiler_static_F77='-Bstatic'
21636
 
      ;;
21637
 
 
21638
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
21639
 
      lt_prog_compiler_wl_F77='-Wl,'
21640
 
      lt_prog_compiler_pic_F77='-KPIC'
21641
 
      lt_prog_compiler_static_F77='-Bstatic'
21642
 
      ;;
21643
 
 
21644
 
    sysv4*MP*)
21645
 
      if test -d /usr/nec ;then
21646
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
21647
 
        lt_prog_compiler_static_F77='-Bstatic'
21648
 
      fi
21649
 
      ;;
21650
 
 
21651
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21652
 
      lt_prog_compiler_wl_F77='-Wl,'
21653
 
      lt_prog_compiler_pic_F77='-KPIC'
21654
 
      lt_prog_compiler_static_F77='-Bstatic'
21655
 
      ;;
21656
 
 
21657
 
    unicos*)
21658
 
      lt_prog_compiler_wl_F77='-Wl,'
21659
 
      lt_prog_compiler_can_build_shared_F77=no
21660
 
      ;;
21661
 
 
21662
 
    uts4*)
21663
 
      lt_prog_compiler_pic_F77='-pic'
21664
 
      lt_prog_compiler_static_F77='-Bstatic'
21665
 
      ;;
21666
 
 
21667
 
    *)
21668
 
      lt_prog_compiler_can_build_shared_F77=no
21669
 
      ;;
21670
 
    esac
21671
 
  fi
21672
 
 
21673
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21674
 
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
21675
 
 
21676
 
#
21677
 
# Check to make sure the PIC flag actually works.
21678
 
#
21679
 
if test -n "$lt_prog_compiler_pic_F77"; then
21680
 
 
21681
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21682
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
21683
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
21684
 
  $as_echo_n "(cached) " >&6
21685
 
else
21686
 
  lt_cv_prog_compiler_pic_works_F77=no
21687
 
  ac_outfile=conftest.$ac_objext
21688
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21689
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
21690
 
   # Insert the option either (1) after the last *FLAGS variable, or
21691
 
   # (2) before a word containing "conftest.", or (3) at the end.
21692
 
   # Note that $ac_compile itself does not contain backslashes and begins
21693
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
21694
 
   # The option is referenced via a variable to avoid confusing sed.
21695
 
   lt_compile=`echo "$ac_compile" | $SED \
21696
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21697
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21698
 
   -e 's:$: $lt_compiler_flag:'`
21699
 
   (eval echo "\"\$as_me:21699: $lt_compile\"" >&5)
21700
 
   (eval "$lt_compile" 2>conftest.err)
21701
 
   ac_status=$?
21702
 
   cat conftest.err >&5
21703
 
   echo "$as_me:21703: \$? = $ac_status" >&5
21704
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
21705
 
     # The compiler can only warn and ignore the option if not recognized
21706
 
     # So say no if there are warnings other than the usual output.
21707
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
21708
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21709
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21710
 
       lt_cv_prog_compiler_pic_works_F77=yes
21711
 
     fi
21712
 
   fi
21713
 
   $rm conftest*
21714
 
 
21715
 
fi
21716
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
21717
 
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
21718
 
 
21719
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
21720
 
    case $lt_prog_compiler_pic_F77 in
21721
 
     "" | " "*) ;;
21722
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
21723
 
     esac
21724
 
else
21725
 
    lt_prog_compiler_pic_F77=
21726
 
     lt_prog_compiler_can_build_shared_F77=no
21727
 
fi
21728
 
 
21729
 
fi
21730
 
case $host_os in
21731
 
  # For platforms which do not support PIC, -DPIC is meaningless:
21732
 
  *djgpp*)
21733
 
    lt_prog_compiler_pic_F77=
21734
 
    ;;
21735
 
  *)
21736
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
21737
 
    ;;
21738
 
esac
21739
 
 
21740
 
#
21741
 
# Check to make sure the static flag actually works.
21742
 
#
21743
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
21744
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21745
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
21746
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
21747
 
  $as_echo_n "(cached) " >&6
21748
 
else
21749
 
  lt_cv_prog_compiler_static_works_F77=no
21750
 
   save_LDFLAGS="$LDFLAGS"
21751
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21752
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
21753
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21754
 
     # The linker can only warn and ignore the option if not recognized
21755
 
     # So say no if there are warnings
21756
 
     if test -s conftest.err; then
21757
 
       # Append any errors to the config.log.
21758
 
       cat conftest.err 1>&5
21759
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
21760
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21761
 
       if diff conftest.exp conftest.er2 >/dev/null; then
21762
 
         lt_cv_prog_compiler_static_works_F77=yes
21763
 
       fi
21764
 
     else
21765
 
       lt_cv_prog_compiler_static_works_F77=yes
21766
 
     fi
21767
 
   fi
21768
 
   $rm -r conftest*
21769
 
   LDFLAGS="$save_LDFLAGS"
21770
 
 
21771
 
fi
21772
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
21773
 
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
21774
 
 
21775
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
21776
 
    :
21777
 
else
21778
 
    lt_prog_compiler_static_F77=
21779
 
fi
21780
 
 
21781
 
 
21782
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21783
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
21784
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21785
 
  $as_echo_n "(cached) " >&6
21786
 
else
21787
 
  lt_cv_prog_compiler_c_o_F77=no
21788
 
   $rm -r conftest 2>/dev/null
21789
 
   mkdir conftest
21790
 
   cd conftest
21791
 
   mkdir out
21792
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21793
 
 
21794
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
21795
 
   # Insert the option either (1) after the last *FLAGS variable, or
21796
 
   # (2) before a word containing "conftest.", or (3) at the end.
21797
 
   # Note that $ac_compile itself does not contain backslashes and begins
21798
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
21799
 
   lt_compile=`echo "$ac_compile" | $SED \
21800
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21801
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21802
 
   -e 's:$: $lt_compiler_flag:'`
21803
 
   (eval echo "\"\$as_me:21803: $lt_compile\"" >&5)
21804
 
   (eval "$lt_compile" 2>out/conftest.err)
21805
 
   ac_status=$?
21806
 
   cat out/conftest.err >&5
21807
 
   echo "$as_me:21807: \$? = $ac_status" >&5
21808
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
21809
 
   then
21810
 
     # The compiler can only warn and ignore the option if not recognized
21811
 
     # So say no if there are warnings
21812
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
21813
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21814
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21815
 
       lt_cv_prog_compiler_c_o_F77=yes
21816
 
     fi
21817
 
   fi
21818
 
   chmod u+w . 2>&5
21819
 
   $rm conftest*
21820
 
   # SGI C++ compiler will create directory out/ii_files/ for
21821
 
   # template instantiation
21822
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
21823
 
   $rm out/* && rmdir out
21824
 
   cd ..
21825
 
   rmdir conftest
21826
 
   $rm conftest*
21827
 
 
21828
 
fi
21829
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21830
 
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
21831
 
 
21832
 
 
21833
 
hard_links="nottested"
21834
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
21835
 
  # do not overwrite the value of need_locks provided by the user
21836
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21837
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
21838
 
  hard_links=yes
21839
 
  $rm conftest*
21840
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
21841
 
  touch conftest.a
21842
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
21843
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
21844
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
21845
 
$as_echo "$hard_links" >&6; }
21846
 
  if test "$hard_links" = no; then
21847
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21848
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21849
 
    need_locks=warn
21850
 
  fi
21851
 
else
21852
 
  need_locks=no
21853
 
fi
21854
 
 
21855
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21856
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
21857
 
 
21858
 
  runpath_var=
21859
 
  allow_undefined_flag_F77=
21860
 
  enable_shared_with_static_runtimes_F77=no
21861
 
  archive_cmds_F77=
21862
 
  archive_expsym_cmds_F77=
21863
 
  old_archive_From_new_cmds_F77=
21864
 
  old_archive_from_expsyms_cmds_F77=
21865
 
  export_dynamic_flag_spec_F77=
21866
 
  whole_archive_flag_spec_F77=
21867
 
  thread_safe_flag_spec_F77=
21868
 
  hardcode_libdir_flag_spec_F77=
21869
 
  hardcode_libdir_flag_spec_ld_F77=
21870
 
  hardcode_libdir_separator_F77=
21871
 
  hardcode_direct_F77=no
21872
 
  hardcode_minus_L_F77=no
21873
 
  hardcode_shlibpath_var_F77=unsupported
21874
 
  link_all_deplibs_F77=unknown
21875
 
  hardcode_automatic_F77=no
21876
 
  module_cmds_F77=
21877
 
  module_expsym_cmds_F77=
21878
 
  always_export_symbols_F77=no
21879
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21880
 
  # include_expsyms should be a list of space-separated symbols to be *always*
21881
 
  # included in the symbol list
21882
 
  include_expsyms_F77=
21883
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
21884
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
21885
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21886
 
  # as well as any symbol that contains `d'.
21887
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
21888
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21889
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
21890
 
  # the symbol is explicitly referenced.  Since portable code cannot
21891
 
  # rely on this symbol name, it's probably fine to never include it in
21892
 
  # preloaded symbol tables.
21893
 
  # Exclude shared library initialization/finalization symbols.
21894
 
  extract_expsyms_cmds=
21895
 
  # Just being paranoid about ensuring that cc_basename is set.
21896
 
  for cc_temp in $compiler""; do
21897
 
  case $cc_temp in
21898
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21899
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21900
 
    \-*) ;;
21901
 
    *) break;;
21902
 
  esac
21903
 
done
21904
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21905
 
 
21906
 
  case $host_os in
21907
 
  cygwin* | mingw* | pw32*)
21908
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
21909
 
    # When not using gcc, we currently assume that we are using
21910
 
    # Microsoft Visual C++.
21911
 
    if test "$GCC" != yes; then
21912
 
      with_gnu_ld=no
21913
 
    fi
21914
 
    ;;
21915
 
  interix*)
21916
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
21917
 
    with_gnu_ld=yes
21918
 
    ;;
21919
 
  openbsd*)
21920
 
    with_gnu_ld=no
21921
 
    ;;
21922
 
  esac
21923
 
 
21924
 
  ld_shlibs_F77=yes
21925
 
  if test "$with_gnu_ld" = yes; then
21926
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
21927
 
    wlarc='${wl}'
21928
 
 
21929
 
    # Set some defaults for GNU ld with shared library support. These
21930
 
    # are reset later if shared libraries are not supported. Putting them
21931
 
    # here allows them to be overridden if necessary.
21932
 
    runpath_var=LD_RUN_PATH
21933
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
21934
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
21935
 
    # ancient GNU ld didn't support --whole-archive et. al.
21936
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
21937
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21938
 
      else
21939
 
        whole_archive_flag_spec_F77=
21940
 
    fi
21941
 
    supports_anon_versioning=no
21942
 
    case `$LD -v 2>/dev/null` in
21943
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
21944
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
21945
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
21946
 
      *\ 2.11.*) ;; # other 2.11 versions
21947
 
      *) supports_anon_versioning=yes ;;
21948
 
    esac
21949
 
 
21950
 
    # See if GNU ld supports shared libraries.
21951
 
    case $host_os in
21952
 
    aix[3-9]*)
21953
 
      # On AIX/PPC, the GNU linker is very broken
21954
 
      if test "$host_cpu" != ia64; then
21955
 
        ld_shlibs_F77=no
21956
 
        cat <<EOF 1>&2
21957
 
 
21958
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
21959
 
*** to be unable to reliably create shared libraries on AIX.
21960
 
*** Therefore, libtool is disabling shared libraries support.  If you
21961
 
*** really care for shared libraries, you may want to modify your PATH
21962
 
*** so that a non-GNU linker is found, and then restart.
21963
 
 
21964
 
EOF
21965
 
      fi
21966
 
      ;;
21967
 
 
21968
 
    amigaos*)
21969
 
      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)'
21970
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
21971
 
      hardcode_minus_L_F77=yes
21972
 
 
21973
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21974
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
21975
 
      # to version 4, is to share data among multiple programs linked
21976
 
      # with the same dynamic library.  Since this doesn't match the
21977
 
      # behavior of shared libraries on other platforms, we can't use
21978
 
      # them.
21979
 
      ld_shlibs_F77=no
21980
 
      ;;
21981
 
 
21982
 
    beos*)
21983
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21984
 
        allow_undefined_flag_F77=unsupported
21985
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21986
 
        # support --undefined.  This deserves some investigation.  FIXME
21987
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21988
 
      else
21989
 
        ld_shlibs_F77=no
21990
 
      fi
21991
 
      ;;
21992
 
 
21993
 
    cygwin* | mingw* | pw32*)
21994
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21995
 
      # as there is no search path for DLLs.
21996
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
21997
 
      allow_undefined_flag_F77=unsupported
21998
 
      always_export_symbols_F77=no
21999
 
      enable_shared_with_static_runtimes_F77=yes
22000
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
22001
 
 
22002
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
22003
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22004
 
        # If the export-symbols file already is a .def file (1st line
22005
 
        # is EXPORTS), use it as is; otherwise, prepend...
22006
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22007
 
          cp $export_symbols $output_objdir/$soname.def;
22008
 
        else
22009
 
          echo EXPORTS > $output_objdir/$soname.def;
22010
 
          cat $export_symbols >> $output_objdir/$soname.def;
22011
 
        fi~
22012
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22013
 
      else
22014
 
        ld_shlibs_F77=no
22015
 
      fi
22016
 
      ;;
22017
 
 
22018
 
    interix[3-9]*)
22019
 
      hardcode_direct_F77=no
22020
 
      hardcode_shlibpath_var_F77=no
22021
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22022
 
      export_dynamic_flag_spec_F77='${wl}-E'
22023
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
22024
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
22025
 
      # default) and relocated if they conflict, which is a slow very memory
22026
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
22027
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
22028
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
22029
 
      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'
22030
 
      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'
22031
 
      ;;
22032
 
 
22033
 
    gnu* | linux* | k*bsd*-gnu)
22034
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22035
 
        tmp_addflag=
22036
 
        case $cc_basename,$host_cpu in
22037
 
        pgcc*)                          # Portland Group C compiler
22038
 
          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'
22039
 
          tmp_addflag=' $pic_flag'
22040
 
          ;;
22041
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
22042
 
          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'
22043
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
22044
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
22045
 
          tmp_addflag=' -i_dynamic' ;;
22046
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
22047
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
22048
 
        ifc* | ifort*)                  # Intel Fortran compiler
22049
 
          tmp_addflag=' -nofor_main' ;;
22050
 
        esac
22051
 
        case `$CC -V 2>&1 | sed 5q` in
22052
 
        *Sun\ C*)                       # Sun C 5.9
22053
 
          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'
22054
 
          tmp_sharedflag='-G' ;;
22055
 
        *Sun\ F*)                       # Sun Fortran 8.3
22056
 
          tmp_sharedflag='-G' ;;
22057
 
        *)
22058
 
          tmp_sharedflag='-shared' ;;
22059
 
        esac
22060
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22061
 
 
22062
 
        if test $supports_anon_versioning = yes; then
22063
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
22064
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22065
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
22066
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22067
 
        fi
22068
 
        link_all_deplibs_F77=no
22069
 
      else
22070
 
        ld_shlibs_F77=no
22071
 
      fi
22072
 
      ;;
22073
 
 
22074
 
    netbsd* | netbsdelf*-gnu)
22075
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22076
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22077
 
        wlarc=
22078
 
      else
22079
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22080
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22081
 
      fi
22082
 
      ;;
22083
 
 
22084
 
    solaris*)
22085
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
22086
 
        ld_shlibs_F77=no
22087
 
        cat <<EOF 1>&2
22088
 
 
22089
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
22090
 
*** create shared libraries on Solaris systems.  Therefore, libtool
22091
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
22092
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
22093
 
*** your PATH or compiler configuration so that the native linker is
22094
 
*** used, and then restart.
22095
 
 
22096
 
EOF
22097
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22098
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22099
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22100
 
      else
22101
 
        ld_shlibs_F77=no
22102
 
      fi
22103
 
      ;;
22104
 
 
22105
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
22106
 
      case `$LD -v 2>&1` in
22107
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
22108
 
        ld_shlibs_F77=no
22109
 
        cat <<_LT_EOF 1>&2
22110
 
 
22111
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
22112
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
22113
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
22114
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
22115
 
*** your PATH or compiler configuration so that the native linker is
22116
 
*** used, and then restart.
22117
 
 
22118
 
_LT_EOF
22119
 
        ;;
22120
 
        *)
22121
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22122
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
22123
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
22124
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
22125
 
          else
22126
 
            ld_shlibs_F77=no
22127
 
          fi
22128
 
        ;;
22129
 
      esac
22130
 
      ;;
22131
 
 
22132
 
    sunos4*)
22133
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22134
 
      wlarc=
22135
 
      hardcode_direct_F77=yes
22136
 
      hardcode_shlibpath_var_F77=no
22137
 
      ;;
22138
 
 
22139
 
    *)
22140
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22141
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22142
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22143
 
      else
22144
 
        ld_shlibs_F77=no
22145
 
      fi
22146
 
      ;;
22147
 
    esac
22148
 
 
22149
 
    if test "$ld_shlibs_F77" = no; then
22150
 
      runpath_var=
22151
 
      hardcode_libdir_flag_spec_F77=
22152
 
      export_dynamic_flag_spec_F77=
22153
 
      whole_archive_flag_spec_F77=
22154
 
    fi
22155
 
  else
22156
 
    # PORTME fill in a description of your system's linker (not GNU ld)
22157
 
    case $host_os in
22158
 
    aix3*)
22159
 
      allow_undefined_flag_F77=unsupported
22160
 
      always_export_symbols_F77=yes
22161
 
      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'
22162
 
      # Note: this linker hardcodes the directories in LIBPATH if there
22163
 
      # are no directories specified by -L.
22164
 
      hardcode_minus_L_F77=yes
22165
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
22166
 
        # Neither direct hardcoding nor static linking is supported with a
22167
 
        # broken collect2.
22168
 
        hardcode_direct_F77=unsupported
22169
 
      fi
22170
 
      ;;
22171
 
 
22172
 
    aix[4-9]*)
22173
 
      if test "$host_cpu" = ia64; then
22174
 
        # On IA64, the linker does run time linking by default, so we don't
22175
 
        # have to do anything special.
22176
 
        aix_use_runtimelinking=no
22177
 
        exp_sym_flag='-Bexport'
22178
 
        no_entry_flag=""
22179
 
      else
22180
 
        # If we're using GNU nm, then we don't want the "-C" option.
22181
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
22182
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
22183
 
          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'
22184
 
        else
22185
 
          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'
22186
 
        fi
22187
 
        aix_use_runtimelinking=no
22188
 
 
22189
 
        # Test if we are trying to use run time linking or normal
22190
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22191
 
        # need to do runtime linking.
22192
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
22193
 
          for ld_flag in $LDFLAGS; do
22194
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
22195
 
            aix_use_runtimelinking=yes
22196
 
            break
22197
 
          fi
22198
 
          done
22199
 
          ;;
22200
 
        esac
22201
 
 
22202
 
        exp_sym_flag='-bexport'
22203
 
        no_entry_flag='-bnoentry'
22204
 
      fi
22205
 
 
22206
 
      # When large executables or shared objects are built, AIX ld can
22207
 
      # have problems creating the table of contents.  If linking a library
22208
 
      # or program results in "error TOC overflow" add -mminimal-toc to
22209
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
22210
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22211
 
 
22212
 
      archive_cmds_F77=''
22213
 
      hardcode_direct_F77=yes
22214
 
      hardcode_libdir_separator_F77=':'
22215
 
      link_all_deplibs_F77=yes
22216
 
 
22217
 
      if test "$GCC" = yes; then
22218
 
        case $host_os in aix4.[012]|aix4.[012].*)
22219
 
        # We only want to do this on AIX 4.2 and lower, the check
22220
 
        # below for broken collect2 doesn't work under 4.3+
22221
 
          collect2name=`${CC} -print-prog-name=collect2`
22222
 
          if test -f "$collect2name" && \
22223
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
22224
 
          then
22225
 
          # We have reworked collect2
22226
 
          :
22227
 
          else
22228
 
          # We have old collect2
22229
 
          hardcode_direct_F77=unsupported
22230
 
          # It fails to find uninstalled libraries when the uninstalled
22231
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
22232
 
          # to unsupported forces relinking
22233
 
          hardcode_minus_L_F77=yes
22234
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
22235
 
          hardcode_libdir_separator_F77=
22236
 
          fi
22237
 
          ;;
22238
 
        esac
22239
 
        shared_flag='-shared'
22240
 
        if test "$aix_use_runtimelinking" = yes; then
22241
 
          shared_flag="$shared_flag "'${wl}-G'
22242
 
        fi
22243
 
      else
22244
 
        # not using gcc
22245
 
        if test "$host_cpu" = ia64; then
22246
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22247
 
        # chokes on -Wl,-G. The following line is correct:
22248
 
          shared_flag='-G'
22249
 
        else
22250
 
          if test "$aix_use_runtimelinking" = yes; then
22251
 
            shared_flag='${wl}-G'
22252
 
          else
22253
 
            shared_flag='${wl}-bM:SRE'
22254
 
          fi
22255
 
        fi
22256
 
      fi
22257
 
 
22258
 
      # It seems that -bexpall does not export symbols beginning with
22259
 
      # underscore (_), so it is better to generate a list of symbols to export.
22260
 
      always_export_symbols_F77=yes
22261
 
      if test "$aix_use_runtimelinking" = yes; then
22262
 
        # Warning - without using the other runtime loading flags (-brtl),
22263
 
        # -berok will link without error, but may produce a broken library.
22264
 
        allow_undefined_flag_F77='-berok'
22265
 
       # Determine the default libpath from the value encoded in an empty executable.
22266
 
       cat >conftest.$ac_ext <<_ACEOF
22267
 
      program main
22268
 
 
22269
 
      end
22270
 
_ACEOF
22271
 
rm -f conftest.$ac_objext conftest$ac_exeext
22272
 
if { (ac_try="$ac_link"
22273
 
case "(($ac_try" in
22274
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22275
 
  *) ac_try_echo=$ac_try;;
22276
 
esac
22277
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22278
 
$as_echo "$ac_try_echo") >&5
22279
 
  (eval "$ac_link") 2>conftest.er1
22280
 
  ac_status=$?
22281
 
  grep -v '^ *+' conftest.er1 >conftest.err
22282
 
  rm -f conftest.er1
22283
 
  cat conftest.err >&5
22284
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285
 
  (exit $ac_status); } && {
22286
 
         test -z "$ac_f77_werror_flag" ||
22287
 
         test ! -s conftest.err
22288
 
       } && test -s conftest$ac_exeext && {
22289
 
         test "$cross_compiling" = yes ||
22290
 
         $as_test_x conftest$ac_exeext
22291
 
       }; then
22292
 
 
22293
 
lt_aix_libpath_sed='
22294
 
    /Import File Strings/,/^$/ {
22295
 
        /^0/ {
22296
 
            s/^0  *\(.*\)$/\1/
22297
 
            p
22298
 
        }
22299
 
    }'
22300
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22301
 
# Check for a 64-bit object if we didn't find anything.
22302
 
if test -z "$aix_libpath"; then
22303
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22304
 
fi
22305
 
else
22306
 
  $as_echo "$as_me: failed program was:" >&5
22307
 
sed 's/^/| /' conftest.$ac_ext >&5
22308
 
 
22309
 
 
22310
 
fi
22311
 
 
22312
 
rm -rf conftest.dSYM
22313
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22314
 
      conftest$ac_exeext conftest.$ac_ext
22315
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22316
 
 
22317
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22318
 
        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"
22319
 
       else
22320
 
        if test "$host_cpu" = ia64; then
22321
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
22322
 
          allow_undefined_flag_F77="-z nodefs"
22323
 
          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"
22324
 
        else
22325
 
         # Determine the default libpath from the value encoded in an empty executable.
22326
 
         cat >conftest.$ac_ext <<_ACEOF
22327
 
      program main
22328
 
 
22329
 
      end
22330
 
_ACEOF
22331
 
rm -f conftest.$ac_objext conftest$ac_exeext
22332
 
if { (ac_try="$ac_link"
22333
 
case "(($ac_try" in
22334
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22335
 
  *) ac_try_echo=$ac_try;;
22336
 
esac
22337
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22338
 
$as_echo "$ac_try_echo") >&5
22339
 
  (eval "$ac_link") 2>conftest.er1
22340
 
  ac_status=$?
22341
 
  grep -v '^ *+' conftest.er1 >conftest.err
22342
 
  rm -f conftest.er1
22343
 
  cat conftest.err >&5
22344
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345
 
  (exit $ac_status); } && {
22346
 
         test -z "$ac_f77_werror_flag" ||
22347
 
         test ! -s conftest.err
22348
 
       } && test -s conftest$ac_exeext && {
22349
 
         test "$cross_compiling" = yes ||
22350
 
         $as_test_x conftest$ac_exeext
22351
 
       }; then
22352
 
 
22353
 
lt_aix_libpath_sed='
22354
 
    /Import File Strings/,/^$/ {
22355
 
        /^0/ {
22356
 
            s/^0  *\(.*\)$/\1/
22357
 
            p
22358
 
        }
22359
 
    }'
22360
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22361
 
# Check for a 64-bit object if we didn't find anything.
22362
 
if test -z "$aix_libpath"; then
22363
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22364
 
fi
22365
 
else
22366
 
  $as_echo "$as_me: failed program was:" >&5
22367
 
sed 's/^/| /' conftest.$ac_ext >&5
22368
 
 
22369
 
 
22370
 
fi
22371
 
 
22372
 
rm -rf conftest.dSYM
22373
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22374
 
      conftest$ac_exeext conftest.$ac_ext
22375
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22376
 
 
22377
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22378
 
          # Warning - without using the other run time loading flags,
22379
 
          # -berok will link without error, but may produce a broken library.
22380
 
          no_undefined_flag_F77=' ${wl}-bernotok'
22381
 
          allow_undefined_flag_F77=' ${wl}-berok'
22382
 
          # Exported symbols can be pulled into shared objects from archives
22383
 
          whole_archive_flag_spec_F77='$convenience'
22384
 
          archive_cmds_need_lc_F77=yes
22385
 
          # This is similar to how AIX traditionally builds its shared libraries.
22386
 
          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'
22387
 
        fi
22388
 
      fi
22389
 
      ;;
22390
 
 
22391
 
    amigaos*)
22392
 
      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)'
22393
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
22394
 
      hardcode_minus_L_F77=yes
22395
 
      # see comment about different semantics on the GNU ld section
22396
 
      ld_shlibs_F77=no
22397
 
      ;;
22398
 
 
22399
 
    bsdi[45]*)
22400
 
      export_dynamic_flag_spec_F77=-rdynamic
22401
 
      ;;
22402
 
 
22403
 
    cygwin* | mingw* | pw32*)
22404
 
      # When not using gcc, we currently assume that we are using
22405
 
      # Microsoft Visual C++.
22406
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
22407
 
      # no search path for DLLs.
22408
 
      hardcode_libdir_flag_spec_F77=' '
22409
 
      allow_undefined_flag_F77=unsupported
22410
 
      # Tell ltmain to make .lib files, not .a files.
22411
 
      libext=lib
22412
 
      # Tell ltmain to make .dll files, not .so files.
22413
 
      shrext_cmds=".dll"
22414
 
      # FIXME: Setting linknames here is a bad hack.
22415
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22416
 
      # The linker will automatically build a .lib file if we build a DLL.
22417
 
      old_archive_From_new_cmds_F77='true'
22418
 
      # FIXME: Should let the user specify the lib program.
22419
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
22420
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
22421
 
      enable_shared_with_static_runtimes_F77=yes
22422
 
      ;;
22423
 
 
22424
 
    darwin* | rhapsody*)
22425
 
      case $host_os in
22426
 
        rhapsody* | darwin1.[012])
22427
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
22428
 
         ;;
22429
 
       *) # Darwin 1.3 on
22430
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22431
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22432
 
         else
22433
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
22434
 
             10.[012])
22435
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22436
 
               ;;
22437
 
             10.*)
22438
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
22439
 
               ;;
22440
 
           esac
22441
 
         fi
22442
 
         ;;
22443
 
      esac
22444
 
      archive_cmds_need_lc_F77=no
22445
 
      hardcode_direct_F77=no
22446
 
      hardcode_automatic_F77=yes
22447
 
      hardcode_shlibpath_var_F77=unsupported
22448
 
      whole_archive_flag_spec_F77=''
22449
 
      link_all_deplibs_F77=yes
22450
 
    if test "$GCC" = yes ; then
22451
 
        output_verbose_link_cmd='echo'
22452
 
        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}"
22453
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
22454
 
        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}"
22455
 
        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}"
22456
 
    else
22457
 
      case $cc_basename in
22458
 
        xlc*)
22459
 
         output_verbose_link_cmd='echo'
22460
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
22461
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22462
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22463
 
         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}'
22464
 
          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}'
22465
 
          ;;
22466
 
       *)
22467
 
         ld_shlibs_F77=no
22468
 
          ;;
22469
 
      esac
22470
 
    fi
22471
 
      ;;
22472
 
 
22473
 
    dgux*)
22474
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22475
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
22476
 
      hardcode_shlibpath_var_F77=no
22477
 
      ;;
22478
 
 
22479
 
    freebsd1*)
22480
 
      ld_shlibs_F77=no
22481
 
      ;;
22482
 
 
22483
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22484
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
22485
 
    # does not break anything, and helps significantly (at the cost of a little
22486
 
    # extra space).
22487
 
    freebsd2.2*)
22488
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22489
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
22490
 
      hardcode_direct_F77=yes
22491
 
      hardcode_shlibpath_var_F77=no
22492
 
      ;;
22493
 
 
22494
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22495
 
    freebsd2*)
22496
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22497
 
      hardcode_direct_F77=yes
22498
 
      hardcode_minus_L_F77=yes
22499
 
      hardcode_shlibpath_var_F77=no
22500
 
      ;;
22501
 
 
22502
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22503
 
    freebsd* | dragonfly*)
22504
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22505
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
22506
 
      hardcode_direct_F77=yes
22507
 
      hardcode_shlibpath_var_F77=no
22508
 
      ;;
22509
 
 
22510
 
    hpux9*)
22511
 
      if test "$GCC" = yes; then
22512
 
        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'
22513
 
      else
22514
 
        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'
22515
 
      fi
22516
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22517
 
      hardcode_libdir_separator_F77=:
22518
 
      hardcode_direct_F77=yes
22519
 
 
22520
 
      # hardcode_minus_L: Not really in the search PATH,
22521
 
      # but as the default location of the library.
22522
 
      hardcode_minus_L_F77=yes
22523
 
      export_dynamic_flag_spec_F77='${wl}-E'
22524
 
      ;;
22525
 
 
22526
 
    hpux10*)
22527
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22528
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22529
 
      else
22530
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22531
 
      fi
22532
 
      if test "$with_gnu_ld" = no; then
22533
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22534
 
        hardcode_libdir_separator_F77=:
22535
 
 
22536
 
        hardcode_direct_F77=yes
22537
 
        export_dynamic_flag_spec_F77='${wl}-E'
22538
 
 
22539
 
        # hardcode_minus_L: Not really in the search PATH,
22540
 
        # but as the default location of the library.
22541
 
        hardcode_minus_L_F77=yes
22542
 
      fi
22543
 
      ;;
22544
 
 
22545
 
    hpux11*)
22546
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22547
 
        case $host_cpu in
22548
 
        hppa*64*)
22549
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22550
 
          ;;
22551
 
        ia64*)
22552
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22553
 
          ;;
22554
 
        *)
22555
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22556
 
          ;;
22557
 
        esac
22558
 
      else
22559
 
        case $host_cpu in
22560
 
        hppa*64*)
22561
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22562
 
          ;;
22563
 
        ia64*)
22564
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22565
 
          ;;
22566
 
        *)
22567
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22568
 
          ;;
22569
 
        esac
22570
 
      fi
22571
 
      if test "$with_gnu_ld" = no; then
22572
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22573
 
        hardcode_libdir_separator_F77=:
22574
 
 
22575
 
        case $host_cpu in
22576
 
        hppa*64*|ia64*)
22577
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
22578
 
          hardcode_direct_F77=no
22579
 
          hardcode_shlibpath_var_F77=no
22580
 
          ;;
22581
 
        *)
22582
 
          hardcode_direct_F77=yes
22583
 
          export_dynamic_flag_spec_F77='${wl}-E'
22584
 
 
22585
 
          # hardcode_minus_L: Not really in the search PATH,
22586
 
          # but as the default location of the library.
22587
 
          hardcode_minus_L_F77=yes
22588
 
          ;;
22589
 
        esac
22590
 
      fi
22591
 
      ;;
22592
 
 
22593
 
    irix5* | irix6* | nonstopux*)
22594
 
      if test "$GCC" = yes; then
22595
 
        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'
22596
 
      else
22597
 
        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'
22598
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
22599
 
      fi
22600
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22601
 
      hardcode_libdir_separator_F77=:
22602
 
      link_all_deplibs_F77=yes
22603
 
      ;;
22604
 
 
22605
 
    netbsd* | netbsdelf*-gnu)
22606
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22607
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
22608
 
      else
22609
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
22610
 
      fi
22611
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
22612
 
      hardcode_direct_F77=yes
22613
 
      hardcode_shlibpath_var_F77=no
22614
 
      ;;
22615
 
 
22616
 
    newsos6)
22617
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22618
 
      hardcode_direct_F77=yes
22619
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22620
 
      hardcode_libdir_separator_F77=:
22621
 
      hardcode_shlibpath_var_F77=no
22622
 
      ;;
22623
 
 
22624
 
    openbsd*)
22625
 
      if test -f /usr/libexec/ld.so; then
22626
 
        hardcode_direct_F77=yes
22627
 
        hardcode_shlibpath_var_F77=no
22628
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22629
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22630
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22631
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22632
 
          export_dynamic_flag_spec_F77='${wl}-E'
22633
 
        else
22634
 
          case $host_os in
22635
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
22636
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22637
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
22638
 
             ;;
22639
 
           *)
22640
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22641
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22642
 
             ;;
22643
 
          esac
22644
 
        fi
22645
 
      else
22646
 
        ld_shlibs_F77=no
22647
 
      fi
22648
 
      ;;
22649
 
 
22650
 
    os2*)
22651
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
22652
 
      hardcode_minus_L_F77=yes
22653
 
      allow_undefined_flag_F77=unsupported
22654
 
      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'
22655
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22656
 
      ;;
22657
 
 
22658
 
    osf3*)
22659
 
      if test "$GCC" = yes; then
22660
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22661
 
        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'
22662
 
      else
22663
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
22664
 
        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'
22665
 
      fi
22666
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22667
 
      hardcode_libdir_separator_F77=:
22668
 
      ;;
22669
 
 
22670
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
22671
 
      if test "$GCC" = yes; then
22672
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22673
 
        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'
22674
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22675
 
      else
22676
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
22677
 
        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'
22678
 
        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~
22679
 
        $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'
22680
 
 
22681
 
        # Both c and cxx compiler support -rpath directly
22682
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
22683
 
      fi
22684
 
      hardcode_libdir_separator_F77=:
22685
 
      ;;
22686
 
 
22687
 
    solaris*)
22688
 
      no_undefined_flag_F77=' -z text'
22689
 
      if test "$GCC" = yes; then
22690
 
        wlarc='${wl}'
22691
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22692
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22693
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22694
 
      else
22695
 
        wlarc=''
22696
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22697
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22698
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22699
 
      fi
22700
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
22701
 
      hardcode_shlibpath_var_F77=no
22702
 
      case $host_os in
22703
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
22704
 
      *)
22705
 
        # The compiler driver will combine and reorder linker options,
22706
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
22707
 
        # but is careful enough not to reorder.
22708
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
22709
 
        if test "$GCC" = yes; then
22710
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
22711
 
        else
22712
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
22713
 
        fi
22714
 
        ;;
22715
 
      esac
22716
 
      link_all_deplibs_F77=yes
22717
 
      ;;
22718
 
 
22719
 
    sunos4*)
22720
 
      if test "x$host_vendor" = xsequent; then
22721
 
        # Use $CC to link under sequent, because it throws in some extra .o
22722
 
        # files that make .init and .fini sections work.
22723
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22724
 
      else
22725
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22726
 
      fi
22727
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
22728
 
      hardcode_direct_F77=yes
22729
 
      hardcode_minus_L_F77=yes
22730
 
      hardcode_shlibpath_var_F77=no
22731
 
      ;;
22732
 
 
22733
 
    sysv4)
22734
 
      case $host_vendor in
22735
 
        sni)
22736
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22737
 
          hardcode_direct_F77=yes # is this really true???
22738
 
        ;;
22739
 
        siemens)
22740
 
          ## LD is ld it makes a PLAMLIB
22741
 
          ## CC just makes a GrossModule.
22742
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22743
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
22744
 
          hardcode_direct_F77=no
22745
 
        ;;
22746
 
        motorola)
22747
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22748
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
22749
 
        ;;
22750
 
      esac
22751
 
      runpath_var='LD_RUN_PATH'
22752
 
      hardcode_shlibpath_var_F77=no
22753
 
      ;;
22754
 
 
22755
 
    sysv4.3*)
22756
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22757
 
      hardcode_shlibpath_var_F77=no
22758
 
      export_dynamic_flag_spec_F77='-Bexport'
22759
 
      ;;
22760
 
 
22761
 
    sysv4*MP*)
22762
 
      if test -d /usr/nec; then
22763
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22764
 
        hardcode_shlibpath_var_F77=no
22765
 
        runpath_var=LD_RUN_PATH
22766
 
        hardcode_runpath_var=yes
22767
 
        ld_shlibs_F77=yes
22768
 
      fi
22769
 
      ;;
22770
 
 
22771
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
22772
 
      no_undefined_flag_F77='${wl}-z,text'
22773
 
      archive_cmds_need_lc_F77=no
22774
 
      hardcode_shlibpath_var_F77=no
22775
 
      runpath_var='LD_RUN_PATH'
22776
 
 
22777
 
      if test "$GCC" = yes; then
22778
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22779
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22780
 
      else
22781
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22782
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22783
 
      fi
22784
 
      ;;
22785
 
 
22786
 
    sysv5* | sco3.2v5* | sco5v6*)
22787
 
      # Note: We can NOT use -z defs as we might desire, because we do not
22788
 
      # link with -lc, and that would cause any symbols used from libc to
22789
 
      # always be unresolved, which means just about no library would
22790
 
      # ever link correctly.  If we're not using GNU ld we use -z text
22791
 
      # though, which does catch some bad symbols but isn't as heavy-handed
22792
 
      # as -z defs.
22793
 
      no_undefined_flag_F77='${wl}-z,text'
22794
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
22795
 
      archive_cmds_need_lc_F77=no
22796
 
      hardcode_shlibpath_var_F77=no
22797
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22798
 
      hardcode_libdir_separator_F77=':'
22799
 
      link_all_deplibs_F77=yes
22800
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
22801
 
      runpath_var='LD_RUN_PATH'
22802
 
 
22803
 
      if test "$GCC" = yes; then
22804
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22805
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22806
 
      else
22807
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22808
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22809
 
      fi
22810
 
      ;;
22811
 
 
22812
 
    uts4*)
22813
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22814
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
22815
 
      hardcode_shlibpath_var_F77=no
22816
 
      ;;
22817
 
 
22818
 
    *)
22819
 
      ld_shlibs_F77=no
22820
 
      ;;
22821
 
    esac
22822
 
  fi
22823
 
 
22824
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22825
 
$as_echo "$ld_shlibs_F77" >&6; }
22826
 
test "$ld_shlibs_F77" = no && can_build_shared=no
22827
 
 
22828
 
#
22829
 
# Do we need to explicitly link libc?
22830
 
#
22831
 
case "x$archive_cmds_need_lc_F77" in
22832
 
x|xyes)
22833
 
  # Assume -lc should be added
22834
 
  archive_cmds_need_lc_F77=yes
22835
 
 
22836
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
22837
 
    case $archive_cmds_F77 in
22838
 
    *'~'*)
22839
 
      # FIXME: we may have to deal with multi-command sequences.
22840
 
      ;;
22841
 
    '$CC '*)
22842
 
      # Test whether the compiler implicitly links with -lc since on some
22843
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
22844
 
      # to ld, don't add -lc before -lgcc.
22845
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22846
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
22847
 
      $rm conftest*
22848
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22849
 
 
22850
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22851
 
  (eval $ac_compile) 2>&5
22852
 
  ac_status=$?
22853
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854
 
  (exit $ac_status); } 2>conftest.err; then
22855
 
        soname=conftest
22856
 
        lib=conftest
22857
 
        libobjs=conftest.$ac_objext
22858
 
        deplibs=
22859
 
        wl=$lt_prog_compiler_wl_F77
22860
 
        pic_flag=$lt_prog_compiler_pic_F77
22861
 
        compiler_flags=-v
22862
 
        linker_flags=-v
22863
 
        verstring=
22864
 
        output_objdir=.
22865
 
        libname=conftest
22866
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
22867
 
        allow_undefined_flag_F77=
22868
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22869
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
22870
 
  ac_status=$?
22871
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872
 
  (exit $ac_status); }
22873
 
        then
22874
 
          archive_cmds_need_lc_F77=no
22875
 
        else
22876
 
          archive_cmds_need_lc_F77=yes
22877
 
        fi
22878
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
22879
 
      else
22880
 
        cat conftest.err 1>&5
22881
 
      fi
22882
 
      $rm conftest*
22883
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22884
 
$as_echo "$archive_cmds_need_lc_F77" >&6; }
22885
 
      ;;
22886
 
    esac
22887
 
  fi
22888
 
  ;;
22889
 
esac
22890
 
 
22891
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22892
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
22893
 
library_names_spec=
22894
 
libname_spec='lib$name'
22895
 
soname_spec=
22896
 
shrext_cmds=".so"
22897
 
postinstall_cmds=
22898
 
postuninstall_cmds=
22899
 
finish_cmds=
22900
 
finish_eval=
22901
 
shlibpath_var=
22902
 
shlibpath_overrides_runpath=unknown
22903
 
version_type=none
22904
 
dynamic_linker="$host_os ld.so"
22905
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
22906
 
 
22907
 
need_lib_prefix=unknown
22908
 
hardcode_into_libs=no
22909
 
 
22910
 
# when you set need_version to no, make sure it does not cause -set_version
22911
 
# flags to be left without arguments
22912
 
need_version=unknown
22913
 
 
22914
 
case $host_os in
22915
 
aix3*)
22916
 
  version_type=linux
22917
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
22918
 
  shlibpath_var=LIBPATH
22919
 
 
22920
 
  # AIX 3 has no versioning support, so we append a major version to the name.
22921
 
  soname_spec='${libname}${release}${shared_ext}$major'
22922
 
  ;;
22923
 
 
22924
 
aix[4-9]*)
22925
 
  version_type=linux
22926
 
  need_lib_prefix=no
22927
 
  need_version=no
22928
 
  hardcode_into_libs=yes
22929
 
  if test "$host_cpu" = ia64; then
22930
 
    # AIX 5 supports IA64
22931
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22932
 
    shlibpath_var=LD_LIBRARY_PATH
22933
 
  else
22934
 
    # With GCC up to 2.95.x, collect2 would create an import file
22935
 
    # for dependence libraries.  The import file would start with
22936
 
    # the line `#! .'.  This would cause the generated library to
22937
 
    # depend on `.', always an invalid library.  This was fixed in
22938
 
    # development snapshots of GCC prior to 3.0.
22939
 
    case $host_os in
22940
 
      aix4 | aix4.[01] | aix4.[01].*)
22941
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22942
 
           echo ' yes '
22943
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
22944
 
        :
22945
 
      else
22946
 
        can_build_shared=no
22947
 
      fi
22948
 
      ;;
22949
 
    esac
22950
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22951
 
    # soname into executable. Probably we can add versioning support to
22952
 
    # collect2, so additional links can be useful in future.
22953
 
    if test "$aix_use_runtimelinking" = yes; then
22954
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22955
 
      # instead of lib<name>.a to let people know that these are not
22956
 
      # typical AIX shared libraries.
22957
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22958
 
    else
22959
 
      # We preserve .a as extension for shared libraries through AIX4.2
22960
 
      # and later when we are not doing run time linking.
22961
 
      library_names_spec='${libname}${release}.a $libname.a'
22962
 
      soname_spec='${libname}${release}${shared_ext}$major'
22963
 
    fi
22964
 
    shlibpath_var=LIBPATH
22965
 
  fi
22966
 
  ;;
22967
 
 
22968
 
amigaos*)
22969
 
  library_names_spec='$libname.ixlibrary $libname.a'
22970
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
22971
 
  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'
22972
 
  ;;
22973
 
 
22974
 
beos*)
22975
 
  library_names_spec='${libname}${shared_ext}'
22976
 
  dynamic_linker="$host_os ld.so"
22977
 
  shlibpath_var=LIBRARY_PATH
22978
 
  ;;
22979
 
 
22980
 
bsdi[45]*)
22981
 
  version_type=linux
22982
 
  need_version=no
22983
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22984
 
  soname_spec='${libname}${release}${shared_ext}$major'
22985
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22986
 
  shlibpath_var=LD_LIBRARY_PATH
22987
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22988
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22989
 
  # the default ld.so.conf also contains /usr/contrib/lib and
22990
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22991
 
  # libtool to hard-code these into programs
22992
 
  ;;
22993
 
 
22994
 
cygwin* | mingw* | pw32*)
22995
 
  version_type=windows
22996
 
  shrext_cmds=".dll"
22997
 
  need_version=no
22998
 
  need_lib_prefix=no
22999
 
 
23000
 
  case $GCC,$host_os in
23001
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
23002
 
    library_names_spec='$libname.dll.a'
23003
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
23004
 
    postinstall_cmds='base_file=`basename \${file}`~
23005
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
23006
 
      dldir=$destdir/`dirname \$dlpath`~
23007
 
      test -d \$dldir || mkdir -p \$dldir~
23008
 
      $install_prog $dir/$dlname \$dldir/$dlname~
23009
 
      chmod a+x \$dldir/$dlname'
23010
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23011
 
      dlpath=$dir/\$dldll~
23012
 
       $rm \$dlpath'
23013
 
    shlibpath_overrides_runpath=yes
23014
 
 
23015
 
    case $host_os in
23016
 
    cygwin*)
23017
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23018
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23019
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
23020
 
      ;;
23021
 
    mingw*)
23022
 
      # MinGW DLLs use traditional 'lib' prefix
23023
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23024
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23025
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
23026
 
        # It is most probably a Windows format PATH printed by
23027
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
23028
 
        # path with ; separators, and with drive letters. We can handle the
23029
 
        # drive letters (cygwin fileutils understands them), so leave them,
23030
 
        # especially as we might pass files found there to a mingw objdump,
23031
 
        # which wouldn't understand a cygwinified path. Ahh.
23032
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23033
 
      else
23034
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
23035
 
      fi
23036
 
      ;;
23037
 
    pw32*)
23038
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
23039
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23040
 
      ;;
23041
 
    esac
23042
 
    ;;
23043
 
 
23044
 
  *)
23045
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
23046
 
    ;;
23047
 
  esac
23048
 
  dynamic_linker='Win32 ld.exe'
23049
 
  # FIXME: first we should search . and the directory the executable is in
23050
 
  shlibpath_var=PATH
23051
 
  ;;
23052
 
 
23053
 
darwin* | rhapsody*)
23054
 
  dynamic_linker="$host_os dyld"
23055
 
  version_type=darwin
23056
 
  need_lib_prefix=no
23057
 
  need_version=no
23058
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
23059
 
  soname_spec='${libname}${release}${major}$shared_ext'
23060
 
  shlibpath_overrides_runpath=yes
23061
 
  shlibpath_var=DYLD_LIBRARY_PATH
23062
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
23063
 
 
23064
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
23065
 
  ;;
23066
 
 
23067
 
dgux*)
23068
 
  version_type=linux
23069
 
  need_lib_prefix=no
23070
 
  need_version=no
23071
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23072
 
  soname_spec='${libname}${release}${shared_ext}$major'
23073
 
  shlibpath_var=LD_LIBRARY_PATH
23074
 
  ;;
23075
 
 
23076
 
freebsd1*)
23077
 
  dynamic_linker=no
23078
 
  ;;
23079
 
 
23080
 
freebsd* | dragonfly*)
23081
 
  # DragonFly does not have aout.  When/if they implement a new
23082
 
  # versioning mechanism, adjust this.
23083
 
  if test -x /usr/bin/objformat; then
23084
 
    objformat=`/usr/bin/objformat`
23085
 
  else
23086
 
    case $host_os in
23087
 
    freebsd[123]*) objformat=aout ;;
23088
 
    *) objformat=elf ;;
23089
 
    esac
23090
 
  fi
23091
 
  version_type=freebsd-$objformat
23092
 
  case $version_type in
23093
 
    freebsd-elf*)
23094
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23095
 
      need_version=no
23096
 
      need_lib_prefix=no
23097
 
      ;;
23098
 
    freebsd-*)
23099
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23100
 
      need_version=yes
23101
 
      ;;
23102
 
  esac
23103
 
  shlibpath_var=LD_LIBRARY_PATH
23104
 
  case $host_os in
23105
 
  freebsd2*)
23106
 
    shlibpath_overrides_runpath=yes
23107
 
    ;;
23108
 
  freebsd3.[01]* | freebsdelf3.[01]*)
23109
 
    shlibpath_overrides_runpath=yes
23110
 
    hardcode_into_libs=yes
23111
 
    ;;
23112
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
23113
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
23114
 
    shlibpath_overrides_runpath=no
23115
 
    hardcode_into_libs=yes
23116
 
    ;;
23117
 
  *) # from 4.6 on, and DragonFly
23118
 
    shlibpath_overrides_runpath=yes
23119
 
    hardcode_into_libs=yes
23120
 
    ;;
23121
 
  esac
23122
 
  ;;
23123
 
 
23124
 
gnu*)
23125
 
  version_type=linux
23126
 
  need_lib_prefix=no
23127
 
  need_version=no
23128
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
23129
 
  soname_spec='${libname}${release}${shared_ext}$major'
23130
 
  shlibpath_var=LD_LIBRARY_PATH
23131
 
  hardcode_into_libs=yes
23132
 
  ;;
23133
 
 
23134
 
hpux9* | hpux10* | hpux11*)
23135
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
23136
 
  # link against other versions.
23137
 
  version_type=sunos
23138
 
  need_lib_prefix=no
23139
 
  need_version=no
23140
 
  case $host_cpu in
23141
 
  ia64*)
23142
 
    shrext_cmds='.so'
23143
 
    hardcode_into_libs=yes
23144
 
    dynamic_linker="$host_os dld.so"
23145
 
    shlibpath_var=LD_LIBRARY_PATH
23146
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23147
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23148
 
    soname_spec='${libname}${release}${shared_ext}$major'
23149
 
    if test "X$HPUX_IA64_MODE" = X32; then
23150
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23151
 
    else
23152
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
23153
 
    fi
23154
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23155
 
    ;;
23156
 
   hppa*64*)
23157
 
     shrext_cmds='.sl'
23158
 
     hardcode_into_libs=yes
23159
 
     dynamic_linker="$host_os dld.sl"
23160
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
23161
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23162
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23163
 
     soname_spec='${libname}${release}${shared_ext}$major'
23164
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23165
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23166
 
     ;;
23167
 
   *)
23168
 
    shrext_cmds='.sl'
23169
 
    dynamic_linker="$host_os dld.sl"
23170
 
    shlibpath_var=SHLIB_PATH
23171
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
23172
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23173
 
    soname_spec='${libname}${release}${shared_ext}$major'
23174
 
    ;;
23175
 
  esac
23176
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
23177
 
  postinstall_cmds='chmod 555 $lib'
23178
 
  ;;
23179
 
 
23180
 
interix[3-9]*)
23181
 
  version_type=linux
23182
 
  need_lib_prefix=no
23183
 
  need_version=no
23184
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23185
 
  soname_spec='${libname}${release}${shared_ext}$major'
23186
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
23187
 
  shlibpath_var=LD_LIBRARY_PATH
23188
 
  shlibpath_overrides_runpath=no
23189
 
  hardcode_into_libs=yes
23190
 
  ;;
23191
 
 
23192
 
irix5* | irix6* | nonstopux*)
23193
 
  case $host_os in
23194
 
    nonstopux*) version_type=nonstopux ;;
23195
 
    *)
23196
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
23197
 
                version_type=linux
23198
 
        else
23199
 
                version_type=irix
23200
 
        fi ;;
23201
 
  esac
23202
 
  need_lib_prefix=no
23203
 
  need_version=no
23204
 
  soname_spec='${libname}${release}${shared_ext}$major'
23205
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
23206
 
  case $host_os in
23207
 
  irix5* | nonstopux*)
23208
 
    libsuff= shlibsuff=
23209
 
    ;;
23210
 
  *)
23211
 
    case $LD in # libtool.m4 will add one of these switches to LD
23212
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
23213
 
      libsuff= shlibsuff= libmagic=32-bit;;
23214
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
23215
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
23216
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
23217
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
23218
 
    *) libsuff= shlibsuff= libmagic=never-match;;
23219
 
    esac
23220
 
    ;;
23221
 
  esac
23222
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
23223
 
  shlibpath_overrides_runpath=no
23224
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
23225
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
23226
 
  hardcode_into_libs=yes
23227
 
  ;;
23228
 
 
23229
 
# No shared lib support for Linux oldld, aout, or coff.
23230
 
linux*oldld* | linux*aout* | linux*coff*)
23231
 
  dynamic_linker=no
23232
 
  ;;
23233
 
 
23234
 
# This must be Linux ELF.
23235
 
linux* | k*bsd*-gnu)
23236
 
  version_type=linux
23237
 
  need_lib_prefix=no
23238
 
  need_version=no
23239
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23240
 
  soname_spec='${libname}${release}${shared_ext}$major'
23241
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23242
 
  shlibpath_var=LD_LIBRARY_PATH
23243
 
  shlibpath_overrides_runpath=no
23244
 
  # This implies no fast_install, which is unacceptable.
23245
 
  # Some rework will be needed to allow for fast_install
23246
 
  # before this can be enabled.
23247
 
  hardcode_into_libs=yes
23248
 
 
23249
 
  # Append ld.so.conf contents to the search path
23250
 
  if test -f /etc/ld.so.conf; then
23251
 
    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' ' '`
23252
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
23253
 
  fi
23254
 
 
23255
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
23256
 
  # powerpc, because MkLinux only supported shared libraries with the
23257
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
23258
 
  # most powerpc-linux boxes support dynamic linking these days and
23259
 
  # people can always --disable-shared, the test was removed, and we
23260
 
  # assume the GNU/Linux dynamic linker is in use.
23261
 
  dynamic_linker='GNU/Linux ld.so'
23262
 
  ;;
23263
 
 
23264
 
netbsdelf*-gnu)
23265
 
  version_type=linux
23266
 
  need_lib_prefix=no
23267
 
  need_version=no
23268
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23269
 
  soname_spec='${libname}${release}${shared_ext}$major'
23270
 
  shlibpath_var=LD_LIBRARY_PATH
23271
 
  shlibpath_overrides_runpath=no
23272
 
  hardcode_into_libs=yes
23273
 
  dynamic_linker='NetBSD ld.elf_so'
23274
 
  ;;
23275
 
 
23276
 
netbsd*)
23277
 
  version_type=sunos
23278
 
  need_lib_prefix=no
23279
 
  need_version=no
23280
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23281
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23282
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23283
 
    dynamic_linker='NetBSD (a.out) ld.so'
23284
 
  else
23285
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23286
 
    soname_spec='${libname}${release}${shared_ext}$major'
23287
 
    dynamic_linker='NetBSD ld.elf_so'
23288
 
  fi
23289
 
  shlibpath_var=LD_LIBRARY_PATH
23290
 
  shlibpath_overrides_runpath=yes
23291
 
  hardcode_into_libs=yes
23292
 
  ;;
23293
 
 
23294
 
newsos6)
23295
 
  version_type=linux
23296
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23297
 
  shlibpath_var=LD_LIBRARY_PATH
23298
 
  shlibpath_overrides_runpath=yes
23299
 
  ;;
23300
 
 
23301
 
nto-qnx*)
23302
 
  version_type=linux
23303
 
  need_lib_prefix=no
23304
 
  need_version=no
23305
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23306
 
  soname_spec='${libname}${release}${shared_ext}$major'
23307
 
  shlibpath_var=LD_LIBRARY_PATH
23308
 
  shlibpath_overrides_runpath=yes
23309
 
  ;;
23310
 
 
23311
 
openbsd*)
23312
 
  version_type=sunos
23313
 
  sys_lib_dlsearch_path_spec="/usr/lib"
23314
 
  need_lib_prefix=no
23315
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23316
 
  case $host_os in
23317
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
23318
 
    *)                         need_version=no  ;;
23319
 
  esac
23320
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23321
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23322
 
  shlibpath_var=LD_LIBRARY_PATH
23323
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23324
 
    case $host_os in
23325
 
      openbsd2.[89] | openbsd2.[89].*)
23326
 
        shlibpath_overrides_runpath=no
23327
 
        ;;
23328
 
      *)
23329
 
        shlibpath_overrides_runpath=yes
23330
 
        ;;
23331
 
      esac
23332
 
  else
23333
 
    shlibpath_overrides_runpath=yes
23334
 
  fi
23335
 
  ;;
23336
 
 
23337
 
os2*)
23338
 
  libname_spec='$name'
23339
 
  shrext_cmds=".dll"
23340
 
  need_lib_prefix=no
23341
 
  library_names_spec='$libname${shared_ext} $libname.a'
23342
 
  dynamic_linker='OS/2 ld.exe'
23343
 
  shlibpath_var=LIBPATH
23344
 
  ;;
23345
 
 
23346
 
osf3* | osf4* | osf5*)
23347
 
  version_type=osf
23348
 
  need_lib_prefix=no
23349
 
  need_version=no
23350
 
  soname_spec='${libname}${release}${shared_ext}$major'
23351
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23352
 
  shlibpath_var=LD_LIBRARY_PATH
23353
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23354
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
23355
 
  ;;
23356
 
 
23357
 
rdos*)
23358
 
  dynamic_linker=no
23359
 
  ;;
23360
 
 
23361
 
solaris*)
23362
 
  version_type=linux
23363
 
  need_lib_prefix=no
23364
 
  need_version=no
23365
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23366
 
  soname_spec='${libname}${release}${shared_ext}$major'
23367
 
  shlibpath_var=LD_LIBRARY_PATH
23368
 
  shlibpath_overrides_runpath=yes
23369
 
  hardcode_into_libs=yes
23370
 
  # ldd complains unless libraries are executable
23371
 
  postinstall_cmds='chmod +x $lib'
23372
 
  ;;
23373
 
 
23374
 
sunos4*)
23375
 
  version_type=sunos
23376
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23377
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23378
 
  shlibpath_var=LD_LIBRARY_PATH
23379
 
  shlibpath_overrides_runpath=yes
23380
 
  if test "$with_gnu_ld" = yes; then
23381
 
    need_lib_prefix=no
23382
 
  fi
23383
 
  need_version=yes
23384
 
  ;;
23385
 
 
23386
 
sysv4 | sysv4.3*)
23387
 
  version_type=linux
23388
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23389
 
  soname_spec='${libname}${release}${shared_ext}$major'
23390
 
  shlibpath_var=LD_LIBRARY_PATH
23391
 
  case $host_vendor in
23392
 
    sni)
23393
 
      shlibpath_overrides_runpath=no
23394
 
      need_lib_prefix=no
23395
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
23396
 
      runpath_var=LD_RUN_PATH
23397
 
      ;;
23398
 
    siemens)
23399
 
      need_lib_prefix=no
23400
 
      ;;
23401
 
    motorola)
23402
 
      need_lib_prefix=no
23403
 
      need_version=no
23404
 
      shlibpath_overrides_runpath=no
23405
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
23406
 
      ;;
23407
 
  esac
23408
 
  ;;
23409
 
 
23410
 
sysv4*MP*)
23411
 
  if test -d /usr/nec ;then
23412
 
    version_type=linux
23413
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23414
 
    soname_spec='$libname${shared_ext}.$major'
23415
 
    shlibpath_var=LD_LIBRARY_PATH
23416
 
  fi
23417
 
  ;;
23418
 
 
23419
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
23420
 
  version_type=freebsd-elf
23421
 
  need_lib_prefix=no
23422
 
  need_version=no
23423
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23424
 
  soname_spec='${libname}${release}${shared_ext}$major'
23425
 
  shlibpath_var=LD_LIBRARY_PATH
23426
 
  hardcode_into_libs=yes
23427
 
  if test "$with_gnu_ld" = yes; then
23428
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23429
 
    shlibpath_overrides_runpath=no
23430
 
  else
23431
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
23432
 
    shlibpath_overrides_runpath=yes
23433
 
    case $host_os in
23434
 
      sco3.2v5*)
23435
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
23436
 
        ;;
23437
 
    esac
23438
 
  fi
23439
 
  sys_lib_dlsearch_path_spec='/usr/lib'
23440
 
  ;;
23441
 
 
23442
 
uts4*)
23443
 
  version_type=linux
23444
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23445
 
  soname_spec='${libname}${release}${shared_ext}$major'
23446
 
  shlibpath_var=LD_LIBRARY_PATH
23447
 
  ;;
23448
 
 
23449
 
*)
23450
 
  dynamic_linker=no
23451
 
  ;;
23452
 
esac
23453
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23454
 
$as_echo "$dynamic_linker" >&6; }
23455
 
test "$dynamic_linker" = no && can_build_shared=no
23456
 
 
23457
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
23458
 
  $as_echo_n "(cached) " >&6
23459
 
else
23460
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
23461
 
fi
23462
 
 
23463
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
23464
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
23465
 
  $as_echo_n "(cached) " >&6
23466
 
else
23467
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
23468
 
fi
23469
 
 
23470
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
23471
 
 
23472
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23473
 
if test "$GCC" = yes; then
23474
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23475
 
fi
23476
 
 
23477
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23478
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
23479
 
hardcode_action_F77=
23480
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
23481
 
   test -n "$runpath_var_F77" || \
23482
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
23483
 
 
23484
 
  # We can hardcode non-existant directories.
23485
 
  if test "$hardcode_direct_F77" != no &&
23486
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
23487
 
     # have to relink, otherwise we might link with an installed library
23488
 
     # when we should be linking with a yet-to-be-installed one
23489
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23490
 
     test "$hardcode_minus_L_F77" != no; then
23491
 
    # Linking always hardcodes the temporary library directory.
23492
 
    hardcode_action_F77=relink
23493
 
  else
23494
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
23495
 
    hardcode_action_F77=immediate
23496
 
  fi
23497
 
else
23498
 
  # We cannot hardcode anything, or else we can only hardcode existing
23499
 
  # directories.
23500
 
  hardcode_action_F77=unsupported
23501
 
fi
23502
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23503
 
$as_echo "$hardcode_action_F77" >&6; }
23504
 
 
23505
 
if test "$hardcode_action_F77" = relink; then
23506
 
  # Fast installation is not supported
23507
 
  enable_fast_install=no
23508
 
elif test "$shlibpath_overrides_runpath" = yes ||
23509
 
     test "$enable_shared" = no; then
23510
 
  # Fast installation is not necessary
23511
 
  enable_fast_install=needless
23512
 
fi
23513
 
 
23514
 
 
23515
 
# The else clause should only fire when bootstrapping the
23516
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
23517
 
# with your package, and you will get complaints that there are
23518
 
# no rules to generate ltmain.sh.
23519
 
if test -f "$ltmain"; then
23520
 
  # See if we are running on zsh, and set the options which allow our commands through
23521
 
  # without removal of \ escapes.
23522
 
  if test -n "${ZSH_VERSION+set}" ; then
23523
 
    setopt NO_GLOB_SUBST
23524
 
  fi
23525
 
  # Now quote all the things that may contain metacharacters while being
23526
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
23527
 
  # variables and quote the copies for generation of the libtool script.
23528
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23529
 
    SED SHELL STRIP \
23530
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23531
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23532
 
    deplibs_check_method reload_flag reload_cmds need_locks \
23533
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23534
 
    lt_cv_sys_global_symbol_to_c_name_address \
23535
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23536
 
    old_postinstall_cmds old_postuninstall_cmds \
23537
 
    compiler_F77 \
23538
 
    CC_F77 \
23539
 
    LD_F77 \
23540
 
    lt_prog_compiler_wl_F77 \
23541
 
    lt_prog_compiler_pic_F77 \
23542
 
    lt_prog_compiler_static_F77 \
23543
 
    lt_prog_compiler_no_builtin_flag_F77 \
23544
 
    export_dynamic_flag_spec_F77 \
23545
 
    thread_safe_flag_spec_F77 \
23546
 
    whole_archive_flag_spec_F77 \
23547
 
    enable_shared_with_static_runtimes_F77 \
23548
 
    old_archive_cmds_F77 \
23549
 
    old_archive_from_new_cmds_F77 \
23550
 
    predep_objects_F77 \
23551
 
    postdep_objects_F77 \
23552
 
    predeps_F77 \
23553
 
    postdeps_F77 \
23554
 
    compiler_lib_search_path_F77 \
23555
 
    compiler_lib_search_dirs_F77 \
23556
 
    archive_cmds_F77 \
23557
 
    archive_expsym_cmds_F77 \
23558
 
    postinstall_cmds_F77 \
23559
 
    postuninstall_cmds_F77 \
23560
 
    old_archive_from_expsyms_cmds_F77 \
23561
 
    allow_undefined_flag_F77 \
23562
 
    no_undefined_flag_F77 \
23563
 
    export_symbols_cmds_F77 \
23564
 
    hardcode_libdir_flag_spec_F77 \
23565
 
    hardcode_libdir_flag_spec_ld_F77 \
23566
 
    hardcode_libdir_separator_F77 \
23567
 
    hardcode_automatic_F77 \
23568
 
    module_cmds_F77 \
23569
 
    module_expsym_cmds_F77 \
23570
 
    lt_cv_prog_compiler_c_o_F77 \
23571
 
    fix_srcfile_path_F77 \
23572
 
    exclude_expsyms_F77 \
23573
 
    include_expsyms_F77; do
23574
 
 
23575
 
    case $var in
23576
 
    old_archive_cmds_F77 | \
23577
 
    old_archive_from_new_cmds_F77 | \
23578
 
    archive_cmds_F77 | \
23579
 
    archive_expsym_cmds_F77 | \
23580
 
    module_cmds_F77 | \
23581
 
    module_expsym_cmds_F77 | \
23582
 
    old_archive_from_expsyms_cmds_F77 | \
23583
 
    export_symbols_cmds_F77 | \
23584
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
23585
 
    postinstall_cmds | postuninstall_cmds | \
23586
 
    old_postinstall_cmds | old_postuninstall_cmds | \
23587
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
23588
 
      # Double-quote double-evaled strings.
23589
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23590
 
      ;;
23591
 
    *)
23592
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23593
 
      ;;
23594
 
    esac
23595
 
  done
23596
 
 
23597
 
  case $lt_echo in
23598
 
  *'\$0 --fallback-echo"')
23599
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23600
 
    ;;
23601
 
  esac
23602
 
 
23603
 
cfgfile="$ofile"
23604
 
 
23605
 
  cat <<__EOF__ >> "$cfgfile"
23606
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
23607
 
 
23608
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23609
 
 
23610
 
# Shell to use when invoking shell scripts.
23611
 
SHELL=$lt_SHELL
23612
 
 
23613
 
# Whether or not to build shared libraries.
23614
 
build_libtool_libs=$enable_shared
23615
 
 
23616
 
# Whether or not to build static libraries.
23617
 
build_old_libs=$enable_static
23618
 
 
23619
 
# Whether or not to add -lc for building shared libraries.
23620
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
23621
 
 
23622
 
# Whether or not to disallow shared libs when runtime libs are static
23623
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23624
 
 
23625
 
# Whether or not to optimize for fast installation.
23626
 
fast_install=$enable_fast_install
23627
 
 
23628
 
# The host system.
23629
 
host_alias=$host_alias
23630
 
host=$host
23631
 
host_os=$host_os
23632
 
 
23633
 
# The build system.
23634
 
build_alias=$build_alias
23635
 
build=$build
23636
 
build_os=$build_os
23637
 
 
23638
 
# An echo program that does not interpret backslashes.
23639
 
echo=$lt_echo
23640
 
 
23641
 
# The archiver.
23642
 
AR=$lt_AR
23643
 
AR_FLAGS=$lt_AR_FLAGS
23644
 
 
23645
 
# A C compiler.
23646
 
LTCC=$lt_LTCC
23647
 
 
23648
 
# LTCC compiler flags.
23649
 
LTCFLAGS=$lt_LTCFLAGS
23650
 
 
23651
 
# A language-specific compiler.
23652
 
CC=$lt_compiler_F77
23653
 
 
23654
 
# Is the compiler the GNU C compiler?
23655
 
with_gcc=$GCC_F77
23656
 
 
23657
 
# An ERE matcher.
23658
 
EGREP=$lt_EGREP
23659
 
 
23660
 
# The linker used to build libraries.
23661
 
LD=$lt_LD_F77
23662
 
 
23663
 
# Whether we need hard or soft links.
23664
 
LN_S=$lt_LN_S
23665
 
 
23666
 
# A BSD-compatible nm program.
23667
 
NM=$lt_NM
23668
 
 
23669
 
# A symbol stripping program
23670
 
STRIP=$lt_STRIP
23671
 
 
23672
 
# Used to examine libraries when file_magic_cmd begins "file"
23673
 
MAGIC_CMD=$MAGIC_CMD
23674
 
 
23675
 
# Used on cygwin: DLL creation program.
23676
 
DLLTOOL="$DLLTOOL"
23677
 
 
23678
 
# Used on cygwin: object dumper.
23679
 
OBJDUMP="$OBJDUMP"
23680
 
 
23681
 
# Used on cygwin: assembler.
23682
 
AS="$AS"
23683
 
 
23684
 
# The name of the directory that contains temporary libtool files.
23685
 
objdir=$objdir
23686
 
 
23687
 
# How to create reloadable object files.
23688
 
reload_flag=$lt_reload_flag
23689
 
reload_cmds=$lt_reload_cmds
23690
 
 
23691
 
# How to pass a linker flag through the compiler.
23692
 
wl=$lt_lt_prog_compiler_wl_F77
23693
 
 
23694
 
# Object file suffix (normally "o").
23695
 
objext="$ac_objext"
23696
 
 
23697
 
# Old archive suffix (normally "a").
23698
 
libext="$libext"
23699
 
 
23700
 
# Shared library suffix (normally ".so").
23701
 
shrext_cmds='$shrext_cmds'
23702
 
 
23703
 
# Executable file suffix (normally "").
23704
 
exeext="$exeext"
23705
 
 
23706
 
# Additional compiler flags for building library objects.
23707
 
pic_flag=$lt_lt_prog_compiler_pic_F77
23708
 
pic_mode=$pic_mode
23709
 
 
23710
 
# What is the maximum length of a command?
23711
 
max_cmd_len=$lt_cv_sys_max_cmd_len
23712
 
 
23713
 
# Does compiler simultaneously support -c and -o options?
23714
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23715
 
 
23716
 
# Must we lock files when doing compilation?
23717
 
need_locks=$lt_need_locks
23718
 
 
23719
 
# Do we need the lib prefix for modules?
23720
 
need_lib_prefix=$need_lib_prefix
23721
 
 
23722
 
# Do we need a version for libraries?
23723
 
need_version=$need_version
23724
 
 
23725
 
# Whether dlopen is supported.
23726
 
dlopen_support=$enable_dlopen
23727
 
 
23728
 
# Whether dlopen of programs is supported.
23729
 
dlopen_self=$enable_dlopen_self
23730
 
 
23731
 
# Whether dlopen of statically linked programs is supported.
23732
 
dlopen_self_static=$enable_dlopen_self_static
23733
 
 
23734
 
# Compiler flag to prevent dynamic linking.
23735
 
link_static_flag=$lt_lt_prog_compiler_static_F77
23736
 
 
23737
 
# Compiler flag to turn off builtin functions.
23738
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23739
 
 
23740
 
# Compiler flag to allow reflexive dlopens.
23741
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23742
 
 
23743
 
# Compiler flag to generate shared objects directly from archives.
23744
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23745
 
 
23746
 
# Compiler flag to generate thread-safe objects.
23747
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23748
 
 
23749
 
# Library versioning type.
23750
 
version_type=$version_type
23751
 
 
23752
 
# Format of library name prefix.
23753
 
libname_spec=$lt_libname_spec
23754
 
 
23755
 
# List of archive names.  First name is the real one, the rest are links.
23756
 
# The last name is the one that the linker finds with -lNAME.
23757
 
library_names_spec=$lt_library_names_spec
23758
 
 
23759
 
# The coded name of the library, if different from the real name.
23760
 
soname_spec=$lt_soname_spec
23761
 
 
23762
 
# Commands used to build and install an old-style archive.
23763
 
RANLIB=$lt_RANLIB
23764
 
old_archive_cmds=$lt_old_archive_cmds_F77
23765
 
old_postinstall_cmds=$lt_old_postinstall_cmds
23766
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
23767
 
 
23768
 
# Create an old-style archive from a shared archive.
23769
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23770
 
 
23771
 
# Create a temporary old-style archive to link instead of a shared archive.
23772
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23773
 
 
23774
 
# Commands used to build and install a shared archive.
23775
 
archive_cmds=$lt_archive_cmds_F77
23776
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23777
 
postinstall_cmds=$lt_postinstall_cmds
23778
 
postuninstall_cmds=$lt_postuninstall_cmds
23779
 
 
23780
 
# Commands used to build a loadable module (assumed same as above if empty)
23781
 
module_cmds=$lt_module_cmds_F77
23782
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
23783
 
 
23784
 
# Commands to strip libraries.
23785
 
old_striplib=$lt_old_striplib
23786
 
striplib=$lt_striplib
23787
 
 
23788
 
# Dependencies to place before the objects being linked to create a
23789
 
# shared library.
23790
 
predep_objects=$lt_predep_objects_F77
23791
 
 
23792
 
# Dependencies to place after the objects being linked to create a
23793
 
# shared library.
23794
 
postdep_objects=$lt_postdep_objects_F77
23795
 
 
23796
 
# Dependencies to place before the objects being linked to create a
23797
 
# shared library.
23798
 
predeps=$lt_predeps_F77
23799
 
 
23800
 
# Dependencies to place after the objects being linked to create a
23801
 
# shared library.
23802
 
postdeps=$lt_postdeps_F77
23803
 
 
23804
 
# The directories searched by this compiler when creating a shared
23805
 
# library
23806
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
23807
 
 
23808
 
# The library search path used internally by the compiler when linking
23809
 
# a shared library.
23810
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23811
 
 
23812
 
# Method to check whether dependent libraries are shared objects.
23813
 
deplibs_check_method=$lt_deplibs_check_method
23814
 
 
23815
 
# Command to use when deplibs_check_method == file_magic.
23816
 
file_magic_cmd=$lt_file_magic_cmd
23817
 
 
23818
 
# Flag that allows shared libraries with undefined symbols to be built.
23819
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
23820
 
 
23821
 
# Flag that forces no undefined symbols.
23822
 
no_undefined_flag=$lt_no_undefined_flag_F77
23823
 
 
23824
 
# Commands used to finish a libtool library installation in a directory.
23825
 
finish_cmds=$lt_finish_cmds
23826
 
 
23827
 
# Same as above, but a single script fragment to be evaled but not shown.
23828
 
finish_eval=$lt_finish_eval
23829
 
 
23830
 
# Take the output of nm and produce a listing of raw symbols and C names.
23831
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23832
 
 
23833
 
# Transform the output of nm in a proper C declaration
23834
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23835
 
 
23836
 
# Transform the output of nm in a C name address pair
23837
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23838
 
 
23839
 
# This is the shared library runtime path variable.
23840
 
runpath_var=$runpath_var
23841
 
 
23842
 
# This is the shared library path variable.
23843
 
shlibpath_var=$shlibpath_var
23844
 
 
23845
 
# Is shlibpath searched before the hard-coded library search path?
23846
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23847
 
 
23848
 
# How to hardcode a shared library path into an executable.
23849
 
hardcode_action=$hardcode_action_F77
23850
 
 
23851
 
# Whether we should hardcode library paths into libraries.
23852
 
hardcode_into_libs=$hardcode_into_libs
23853
 
 
23854
 
# Flag to hardcode \$libdir into a binary during linking.
23855
 
# This must work even if \$libdir does not exist.
23856
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23857
 
 
23858
 
# If ld is used when linking, flag to hardcode \$libdir into
23859
 
# a binary during linking. This must work even if \$libdir does
23860
 
# not exist.
23861
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23862
 
 
23863
 
# Whether we need a single -rpath flag with a separated argument.
23864
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23865
 
 
23866
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23867
 
# resulting binary.
23868
 
hardcode_direct=$hardcode_direct_F77
23869
 
 
23870
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23871
 
# resulting binary.
23872
 
hardcode_minus_L=$hardcode_minus_L_F77
23873
 
 
23874
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23875
 
# the resulting binary.
23876
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23877
 
 
23878
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
23879
 
# and all subsequent libraries and executables linked against it.
23880
 
hardcode_automatic=$hardcode_automatic_F77
23881
 
 
23882
 
# Variables whose values should be saved in libtool wrapper scripts and
23883
 
# restored at relink time.
23884
 
variables_saved_for_relink="$variables_saved_for_relink"
23885
 
 
23886
 
# Whether libtool must link a program against all its dependency libraries.
23887
 
link_all_deplibs=$link_all_deplibs_F77
23888
 
 
23889
 
# Compile-time system search path for libraries
23890
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23891
 
 
23892
 
# Run-time system search path for libraries
23893
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23894
 
 
23895
 
# Fix the shell variable \$srcfile for the compiler.
23896
 
fix_srcfile_path=$lt_fix_srcfile_path
23897
 
 
23898
 
# Set to yes if exported symbols are required.
23899
 
always_export_symbols=$always_export_symbols_F77
23900
 
 
23901
 
# The commands to list exported symbols.
23902
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
23903
 
 
23904
 
# The commands to extract the exported symbol list from a shared archive.
23905
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
23906
 
 
23907
 
# Symbols that should not be listed in the preloaded symbols.
23908
 
exclude_expsyms=$lt_exclude_expsyms_F77
23909
 
 
23910
 
# Symbols that must always be exported.
23911
 
include_expsyms=$lt_include_expsyms_F77
23912
 
 
23913
 
# ### END LIBTOOL TAG CONFIG: $tagname
23914
 
 
23915
 
__EOF__
23916
 
 
23917
 
 
23918
 
else
23919
 
  # If there is no Makefile yet, we rely on a make rule to execute
23920
 
  # `config.status --recheck' to rerun these tests and create the
23921
 
  # libtool script then.
23922
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23923
 
  if test -f "$ltmain_in"; then
23924
 
    test -f Makefile && make "$ltmain"
23925
 
  fi
23926
 
fi
23927
 
 
23928
 
 
23929
 
ac_ext=c
23930
 
ac_cpp='$CPP $CPPFLAGS'
23931
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23932
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23933
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23934
 
 
23935
 
CC="$lt_save_CC"
23936
 
 
23937
 
        else
23938
 
          tagname=""
23939
 
        fi
23940
 
        ;;
23941
 
 
23942
 
      GCJ)
23943
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23944
 
 
23945
 
 
23946
 
# Source file extension for Java test sources.
23947
 
ac_ext=java
23948
 
 
23949
 
# Object file extension for compiled Java test sources.
23950
 
objext=o
23951
 
objext_GCJ=$objext
23952
 
 
23953
 
# Code to be used in simple compile tests
23954
 
lt_simple_compile_test_code="class foo {}"
23955
 
 
23956
 
# Code to be used in simple link tests
23957
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
23958
 
 
23959
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
23960
 
 
23961
 
# If no C compiler was specified, use CC.
23962
 
LTCC=${LTCC-"$CC"}
23963
 
 
23964
 
# If no C compiler flags were specified, use CFLAGS.
23965
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
23966
 
 
23967
 
# Allow CC to be a program name with arguments.
23968
 
compiler=$CC
23969
 
 
23970
 
 
23971
 
# save warnings/boilerplate of simple test code
23972
 
ac_outfile=conftest.$ac_objext
23973
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
23974
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23975
 
_lt_compiler_boilerplate=`cat conftest.err`
23976
 
$rm conftest*
23977
 
 
23978
 
ac_outfile=conftest.$ac_objext
23979
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
23980
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23981
 
_lt_linker_boilerplate=`cat conftest.err`
23982
 
$rm -r conftest*
23983
 
 
23984
 
 
23985
 
# Allow CC to be a program name with arguments.
23986
 
lt_save_CC="$CC"
23987
 
CC=${GCJ-"gcj"}
23988
 
compiler=$CC
23989
 
compiler_GCJ=$CC
23990
 
for cc_temp in $compiler""; do
23991
 
  case $cc_temp in
23992
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23993
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23994
 
    \-*) ;;
23995
 
    *) break;;
23996
 
  esac
23997
 
done
23998
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23999
 
 
24000
 
 
24001
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
24002
 
archive_cmds_need_lc_GCJ=no
24003
 
 
24004
 
old_archive_cmds_GCJ=$old_archive_cmds
24005
 
 
24006
 
 
24007
 
lt_prog_compiler_no_builtin_flag_GCJ=
24008
 
 
24009
 
if test "$GCC" = yes; then
24010
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
24011
 
 
24012
 
 
24013
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
24014
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
24015
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
24016
 
  $as_echo_n "(cached) " >&6
24017
 
else
24018
 
  lt_cv_prog_compiler_rtti_exceptions=no
24019
 
  ac_outfile=conftest.$ac_objext
24020
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24021
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
24022
 
   # Insert the option either (1) after the last *FLAGS variable, or
24023
 
   # (2) before a word containing "conftest.", or (3) at the end.
24024
 
   # Note that $ac_compile itself does not contain backslashes and begins
24025
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
24026
 
   # The option is referenced via a variable to avoid confusing sed.
24027
 
   lt_compile=`echo "$ac_compile" | $SED \
24028
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24029
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24030
 
   -e 's:$: $lt_compiler_flag:'`
24031
 
   (eval echo "\"\$as_me:24031: $lt_compile\"" >&5)
24032
 
   (eval "$lt_compile" 2>conftest.err)
24033
 
   ac_status=$?
24034
 
   cat conftest.err >&5
24035
 
   echo "$as_me:24035: \$? = $ac_status" >&5
24036
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
24037
 
     # The compiler can only warn and ignore the option if not recognized
24038
 
     # So say no if there are warnings other than the usual output.
24039
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
24040
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24041
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24042
 
       lt_cv_prog_compiler_rtti_exceptions=yes
24043
 
     fi
24044
 
   fi
24045
 
   $rm conftest*
24046
 
 
24047
 
fi
24048
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
24049
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
24050
 
 
24051
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
24052
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
24053
 
else
24054
 
    :
24055
 
fi
24056
 
 
24057
 
fi
24058
 
 
24059
 
lt_prog_compiler_wl_GCJ=
24060
 
lt_prog_compiler_pic_GCJ=
24061
 
lt_prog_compiler_static_GCJ=
24062
 
 
24063
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
24064
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
24065
 
 
24066
 
  if test "$GCC" = yes; then
24067
 
    lt_prog_compiler_wl_GCJ='-Wl,'
24068
 
    lt_prog_compiler_static_GCJ='-static'
24069
 
 
24070
 
    case $host_os in
24071
 
      aix*)
24072
 
      # All AIX code is PIC.
24073
 
      if test "$host_cpu" = ia64; then
24074
 
        # AIX 5 now supports IA64 processor
24075
 
        lt_prog_compiler_static_GCJ='-Bstatic'
24076
 
      fi
24077
 
      ;;
24078
 
 
24079
 
    amigaos*)
24080
 
      # FIXME: we need at least 68020 code to build shared libraries, but
24081
 
      # adding the `-m68020' flag to GCC prevents building anything better,
24082
 
      # like `-m68040'.
24083
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
24084
 
      ;;
24085
 
 
24086
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
24087
 
      # PIC is the default for these OSes.
24088
 
      ;;
24089
 
 
24090
 
    mingw* | cygwin* | pw32* | os2*)
24091
 
      # This hack is so that the source file can tell whether it is being
24092
 
      # built for inclusion in a dll (and should export symbols for example).
24093
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
24094
 
      # (--disable-auto-import) libraries
24095
 
 
24096
 
      ;;
24097
 
 
24098
 
    darwin* | rhapsody*)
24099
 
      # PIC is the default on this platform
24100
 
      # Common symbols not allowed in MH_DYLIB files
24101
 
      lt_prog_compiler_pic_GCJ='-fno-common'
24102
 
      ;;
24103
 
 
24104
 
    interix[3-9]*)
24105
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
24106
 
      # Instead, we relocate shared libraries at runtime.
24107
 
      ;;
24108
 
 
24109
 
    msdosdjgpp*)
24110
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
24111
 
      # on systems that don't support them.
24112
 
      lt_prog_compiler_can_build_shared_GCJ=no
24113
 
      enable_shared=no
24114
 
      ;;
24115
 
 
24116
 
    sysv4*MP*)
24117
 
      if test -d /usr/nec; then
24118
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
24119
 
      fi
24120
 
      ;;
24121
 
 
24122
 
    hpux*)
24123
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24124
 
      # not for PA HP-UX.
24125
 
      case $host_cpu in
24126
 
      hppa*64*|ia64*)
24127
 
        # +Z the default
24128
 
        ;;
24129
 
      *)
24130
 
        lt_prog_compiler_pic_GCJ='-fPIC'
24131
 
        ;;
24132
 
      esac
24133
 
      ;;
24134
 
 
24135
 
    *)
24136
 
      lt_prog_compiler_pic_GCJ='-fPIC'
24137
 
      ;;
24138
 
    esac
24139
 
  else
24140
 
    # PORTME Check for flag to pass linker flags through the system compiler.
24141
 
    case $host_os in
24142
 
    aix*)
24143
 
      lt_prog_compiler_wl_GCJ='-Wl,'
24144
 
      if test "$host_cpu" = ia64; then
24145
 
        # AIX 5 now supports IA64 processor
24146
 
        lt_prog_compiler_static_GCJ='-Bstatic'
24147
 
      else
24148
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
24149
 
      fi
24150
 
      ;;
24151
 
      darwin*)
24152
 
        # PIC is the default on this platform
24153
 
        # Common symbols not allowed in MH_DYLIB files
24154
 
       case $cc_basename in
24155
 
         xlc*)
24156
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
24157
 
         lt_prog_compiler_wl_GCJ='-Wl,'
24158
 
         ;;
24159
 
       esac
24160
 
       ;;
24161
 
 
24162
 
    mingw* | cygwin* | pw32* | os2*)
24163
 
      # This hack is so that the source file can tell whether it is being
24164
 
      # built for inclusion in a dll (and should export symbols for example).
24165
 
 
24166
 
      ;;
24167
 
 
24168
 
    hpux9* | hpux10* | hpux11*)
24169
 
      lt_prog_compiler_wl_GCJ='-Wl,'
24170
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24171
 
      # not for PA HP-UX.
24172
 
      case $host_cpu in
24173
 
      hppa*64*|ia64*)
24174
 
        # +Z the default
24175
 
        ;;
24176
 
      *)
24177
 
        lt_prog_compiler_pic_GCJ='+Z'
24178
 
        ;;
24179
 
      esac
24180
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
24181
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
24182
 
      ;;
24183
 
 
24184
 
    irix5* | irix6* | nonstopux*)
24185
 
      lt_prog_compiler_wl_GCJ='-Wl,'
24186
 
      # PIC (with -KPIC) is the default.
24187
 
      lt_prog_compiler_static_GCJ='-non_shared'
24188
 
      ;;
24189
 
 
24190
 
    newsos6)
24191
 
      lt_prog_compiler_pic_GCJ='-KPIC'
24192
 
      lt_prog_compiler_static_GCJ='-Bstatic'
24193
 
      ;;
24194
 
 
24195
 
    linux* | k*bsd*-gnu)
24196
 
      case $cc_basename in
24197
 
      icc* | ecc*)
24198
 
        lt_prog_compiler_wl_GCJ='-Wl,'
24199
 
        lt_prog_compiler_pic_GCJ='-KPIC'
24200
 
        lt_prog_compiler_static_GCJ='-static'
24201
 
        ;;
24202
 
      pgcc* | pgf77* | pgf90* | pgf95*)
24203
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
24204
 
        # which looks to be a dead project)
24205
 
        lt_prog_compiler_wl_GCJ='-Wl,'
24206
 
        lt_prog_compiler_pic_GCJ='-fpic'
24207
 
        lt_prog_compiler_static_GCJ='-Bstatic'
24208
 
        ;;
24209
 
      ccc*)
24210
 
        lt_prog_compiler_wl_GCJ='-Wl,'
24211
 
        # All Alpha code is PIC.
24212
 
        lt_prog_compiler_static_GCJ='-non_shared'
24213
 
        ;;
24214
 
      *)
24215
 
        case `$CC -V 2>&1 | sed 5q` in
24216
 
        *Sun\ C*)
24217
 
          # Sun C 5.9
24218
 
          lt_prog_compiler_pic_GCJ='-KPIC'
24219
 
          lt_prog_compiler_static_GCJ='-Bstatic'
24220
 
          lt_prog_compiler_wl_GCJ='-Wl,'
24221
 
          ;;
24222
 
        *Sun\ F*)
24223
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
24224
 
          lt_prog_compiler_pic_GCJ='-KPIC'
24225
 
          lt_prog_compiler_static_GCJ='-Bstatic'
24226
 
          lt_prog_compiler_wl_GCJ=''
24227
 
          ;;
24228
 
        esac
24229
 
        ;;
24230
 
      esac
24231
 
      ;;
24232
 
 
24233
 
    osf3* | osf4* | osf5*)
24234
 
      lt_prog_compiler_wl_GCJ='-Wl,'
24235
 
      # All OSF/1 code is PIC.
24236
 
      lt_prog_compiler_static_GCJ='-non_shared'
24237
 
      ;;
24238
 
 
24239
 
    rdos*)
24240
 
      lt_prog_compiler_static_GCJ='-non_shared'
24241
 
      ;;
24242
 
 
24243
 
    solaris*)
24244
 
      lt_prog_compiler_pic_GCJ='-KPIC'
24245
 
      lt_prog_compiler_static_GCJ='-Bstatic'
24246
 
      case $cc_basename in
24247
 
      f77* | f90* | f95*)
24248
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
24249
 
      *)
24250
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
24251
 
      esac
24252
 
      ;;
24253
 
 
24254
 
    sunos4*)
24255
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
24256
 
      lt_prog_compiler_pic_GCJ='-PIC'
24257
 
      lt_prog_compiler_static_GCJ='-Bstatic'
24258
 
      ;;
24259
 
 
24260
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
24261
 
      lt_prog_compiler_wl_GCJ='-Wl,'
24262
 
      lt_prog_compiler_pic_GCJ='-KPIC'
24263
 
      lt_prog_compiler_static_GCJ='-Bstatic'
24264
 
      ;;
24265
 
 
24266
 
    sysv4*MP*)
24267
 
      if test -d /usr/nec ;then
24268
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
24269
 
        lt_prog_compiler_static_GCJ='-Bstatic'
24270
 
      fi
24271
 
      ;;
24272
 
 
24273
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
24274
 
      lt_prog_compiler_wl_GCJ='-Wl,'
24275
 
      lt_prog_compiler_pic_GCJ='-KPIC'
24276
 
      lt_prog_compiler_static_GCJ='-Bstatic'
24277
 
      ;;
24278
 
 
24279
 
    unicos*)
24280
 
      lt_prog_compiler_wl_GCJ='-Wl,'
24281
 
      lt_prog_compiler_can_build_shared_GCJ=no
24282
 
      ;;
24283
 
 
24284
 
    uts4*)
24285
 
      lt_prog_compiler_pic_GCJ='-pic'
24286
 
      lt_prog_compiler_static_GCJ='-Bstatic'
24287
 
      ;;
24288
 
 
24289
 
    *)
24290
 
      lt_prog_compiler_can_build_shared_GCJ=no
24291
 
      ;;
24292
 
    esac
24293
 
  fi
24294
 
 
24295
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
24296
 
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
24297
 
 
24298
 
#
24299
 
# Check to make sure the PIC flag actually works.
24300
 
#
24301
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
24302
 
 
24303
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
24304
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
24305
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
24306
 
  $as_echo_n "(cached) " >&6
24307
 
else
24308
 
  lt_cv_prog_compiler_pic_works_GCJ=no
24309
 
  ac_outfile=conftest.$ac_objext
24310
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24311
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
24312
 
   # Insert the option either (1) after the last *FLAGS variable, or
24313
 
   # (2) before a word containing "conftest.", or (3) at the end.
24314
 
   # Note that $ac_compile itself does not contain backslashes and begins
24315
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
24316
 
   # The option is referenced via a variable to avoid confusing sed.
24317
 
   lt_compile=`echo "$ac_compile" | $SED \
24318
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24319
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24320
 
   -e 's:$: $lt_compiler_flag:'`
24321
 
   (eval echo "\"\$as_me:24321: $lt_compile\"" >&5)
24322
 
   (eval "$lt_compile" 2>conftest.err)
24323
 
   ac_status=$?
24324
 
   cat conftest.err >&5
24325
 
   echo "$as_me:24325: \$? = $ac_status" >&5
24326
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
24327
 
     # The compiler can only warn and ignore the option if not recognized
24328
 
     # So say no if there are warnings other than the usual output.
24329
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
24330
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24331
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24332
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
24333
 
     fi
24334
 
   fi
24335
 
   $rm conftest*
24336
 
 
24337
 
fi
24338
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
24339
 
$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
24340
 
 
24341
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
24342
 
    case $lt_prog_compiler_pic_GCJ in
24343
 
     "" | " "*) ;;
24344
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
24345
 
     esac
24346
 
else
24347
 
    lt_prog_compiler_pic_GCJ=
24348
 
     lt_prog_compiler_can_build_shared_GCJ=no
24349
 
fi
24350
 
 
24351
 
fi
24352
 
case $host_os in
24353
 
  # For platforms which do not support PIC, -DPIC is meaningless:
24354
 
  *djgpp*)
24355
 
    lt_prog_compiler_pic_GCJ=
24356
 
    ;;
24357
 
  *)
24358
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
24359
 
    ;;
24360
 
esac
24361
 
 
24362
 
#
24363
 
# Check to make sure the static flag actually works.
24364
 
#
24365
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
24366
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24367
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
24368
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
24369
 
  $as_echo_n "(cached) " >&6
24370
 
else
24371
 
  lt_cv_prog_compiler_static_works_GCJ=no
24372
 
   save_LDFLAGS="$LDFLAGS"
24373
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
24374
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
24375
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
24376
 
     # The linker can only warn and ignore the option if not recognized
24377
 
     # So say no if there are warnings
24378
 
     if test -s conftest.err; then
24379
 
       # Append any errors to the config.log.
24380
 
       cat conftest.err 1>&5
24381
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
24382
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24383
 
       if diff conftest.exp conftest.er2 >/dev/null; then
24384
 
         lt_cv_prog_compiler_static_works_GCJ=yes
24385
 
       fi
24386
 
     else
24387
 
       lt_cv_prog_compiler_static_works_GCJ=yes
24388
 
     fi
24389
 
   fi
24390
 
   $rm -r conftest*
24391
 
   LDFLAGS="$save_LDFLAGS"
24392
 
 
24393
 
fi
24394
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
24395
 
$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
24396
 
 
24397
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
24398
 
    :
24399
 
else
24400
 
    lt_prog_compiler_static_GCJ=
24401
 
fi
24402
 
 
24403
 
 
24404
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24405
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
24406
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24407
 
  $as_echo_n "(cached) " >&6
24408
 
else
24409
 
  lt_cv_prog_compiler_c_o_GCJ=no
24410
 
   $rm -r conftest 2>/dev/null
24411
 
   mkdir conftest
24412
 
   cd conftest
24413
 
   mkdir out
24414
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24415
 
 
24416
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
24417
 
   # Insert the option either (1) after the last *FLAGS variable, or
24418
 
   # (2) before a word containing "conftest.", or (3) at the end.
24419
 
   # Note that $ac_compile itself does not contain backslashes and begins
24420
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
24421
 
   lt_compile=`echo "$ac_compile" | $SED \
24422
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24423
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24424
 
   -e 's:$: $lt_compiler_flag:'`
24425
 
   (eval echo "\"\$as_me:24425: $lt_compile\"" >&5)
24426
 
   (eval "$lt_compile" 2>out/conftest.err)
24427
 
   ac_status=$?
24428
 
   cat out/conftest.err >&5
24429
 
   echo "$as_me:24429: \$? = $ac_status" >&5
24430
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
24431
 
   then
24432
 
     # The compiler can only warn and ignore the option if not recognized
24433
 
     # So say no if there are warnings
24434
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
24435
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
24436
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
24437
 
       lt_cv_prog_compiler_c_o_GCJ=yes
24438
 
     fi
24439
 
   fi
24440
 
   chmod u+w . 2>&5
24441
 
   $rm conftest*
24442
 
   # SGI C++ compiler will create directory out/ii_files/ for
24443
 
   # template instantiation
24444
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
24445
 
   $rm out/* && rmdir out
24446
 
   cd ..
24447
 
   rmdir conftest
24448
 
   $rm conftest*
24449
 
 
24450
 
fi
24451
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24452
 
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24453
 
 
24454
 
 
24455
 
hard_links="nottested"
24456
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
24457
 
  # do not overwrite the value of need_locks provided by the user
24458
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24459
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
24460
 
  hard_links=yes
24461
 
  $rm conftest*
24462
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
24463
 
  touch conftest.a
24464
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
24465
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
24466
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
24467
 
$as_echo "$hard_links" >&6; }
24468
 
  if test "$hard_links" = no; then
24469
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24470
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24471
 
    need_locks=warn
24472
 
  fi
24473
 
else
24474
 
  need_locks=no
24475
 
fi
24476
 
 
24477
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24478
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
24479
 
 
24480
 
  runpath_var=
24481
 
  allow_undefined_flag_GCJ=
24482
 
  enable_shared_with_static_runtimes_GCJ=no
24483
 
  archive_cmds_GCJ=
24484
 
  archive_expsym_cmds_GCJ=
24485
 
  old_archive_From_new_cmds_GCJ=
24486
 
  old_archive_from_expsyms_cmds_GCJ=
24487
 
  export_dynamic_flag_spec_GCJ=
24488
 
  whole_archive_flag_spec_GCJ=
24489
 
  thread_safe_flag_spec_GCJ=
24490
 
  hardcode_libdir_flag_spec_GCJ=
24491
 
  hardcode_libdir_flag_spec_ld_GCJ=
24492
 
  hardcode_libdir_separator_GCJ=
24493
 
  hardcode_direct_GCJ=no
24494
 
  hardcode_minus_L_GCJ=no
24495
 
  hardcode_shlibpath_var_GCJ=unsupported
24496
 
  link_all_deplibs_GCJ=unknown
24497
 
  hardcode_automatic_GCJ=no
24498
 
  module_cmds_GCJ=
24499
 
  module_expsym_cmds_GCJ=
24500
 
  always_export_symbols_GCJ=no
24501
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24502
 
  # include_expsyms should be a list of space-separated symbols to be *always*
24503
 
  # included in the symbol list
24504
 
  include_expsyms_GCJ=
24505
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
24506
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
24507
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24508
 
  # as well as any symbol that contains `d'.
24509
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
24510
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24511
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
24512
 
  # the symbol is explicitly referenced.  Since portable code cannot
24513
 
  # rely on this symbol name, it's probably fine to never include it in
24514
 
  # preloaded symbol tables.
24515
 
  # Exclude shared library initialization/finalization symbols.
24516
 
  extract_expsyms_cmds=
24517
 
  # Just being paranoid about ensuring that cc_basename is set.
24518
 
  for cc_temp in $compiler""; do
24519
 
  case $cc_temp in
24520
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24521
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24522
 
    \-*) ;;
24523
 
    *) break;;
24524
 
  esac
24525
 
done
24526
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24527
 
 
24528
 
  case $host_os in
24529
 
  cygwin* | mingw* | pw32*)
24530
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
24531
 
    # When not using gcc, we currently assume that we are using
24532
 
    # Microsoft Visual C++.
24533
 
    if test "$GCC" != yes; then
24534
 
      with_gnu_ld=no
24535
 
    fi
24536
 
    ;;
24537
 
  interix*)
24538
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
24539
 
    with_gnu_ld=yes
24540
 
    ;;
24541
 
  openbsd*)
24542
 
    with_gnu_ld=no
24543
 
    ;;
24544
 
  esac
24545
 
 
24546
 
  ld_shlibs_GCJ=yes
24547
 
  if test "$with_gnu_ld" = yes; then
24548
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
24549
 
    wlarc='${wl}'
24550
 
 
24551
 
    # Set some defaults for GNU ld with shared library support. These
24552
 
    # are reset later if shared libraries are not supported. Putting them
24553
 
    # here allows them to be overridden if necessary.
24554
 
    runpath_var=LD_RUN_PATH
24555
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
24556
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
24557
 
    # ancient GNU ld didn't support --whole-archive et. al.
24558
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
24559
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24560
 
      else
24561
 
        whole_archive_flag_spec_GCJ=
24562
 
    fi
24563
 
    supports_anon_versioning=no
24564
 
    case `$LD -v 2>/dev/null` in
24565
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
24566
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
24567
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
24568
 
      *\ 2.11.*) ;; # other 2.11 versions
24569
 
      *) supports_anon_versioning=yes ;;
24570
 
    esac
24571
 
 
24572
 
    # See if GNU ld supports shared libraries.
24573
 
    case $host_os in
24574
 
    aix[3-9]*)
24575
 
      # On AIX/PPC, the GNU linker is very broken
24576
 
      if test "$host_cpu" != ia64; then
24577
 
        ld_shlibs_GCJ=no
24578
 
        cat <<EOF 1>&2
24579
 
 
24580
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
24581
 
*** to be unable to reliably create shared libraries on AIX.
24582
 
*** Therefore, libtool is disabling shared libraries support.  If you
24583
 
*** really care for shared libraries, you may want to modify your PATH
24584
 
*** so that a non-GNU linker is found, and then restart.
24585
 
 
24586
 
EOF
24587
 
      fi
24588
 
      ;;
24589
 
 
24590
 
    amigaos*)
24591
 
      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)'
24592
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
24593
 
      hardcode_minus_L_GCJ=yes
24594
 
 
24595
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24596
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
24597
 
      # to version 4, is to share data among multiple programs linked
24598
 
      # with the same dynamic library.  Since this doesn't match the
24599
 
      # behavior of shared libraries on other platforms, we can't use
24600
 
      # them.
24601
 
      ld_shlibs_GCJ=no
24602
 
      ;;
24603
 
 
24604
 
    beos*)
24605
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24606
 
        allow_undefined_flag_GCJ=unsupported
24607
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24608
 
        # support --undefined.  This deserves some investigation.  FIXME
24609
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24610
 
      else
24611
 
        ld_shlibs_GCJ=no
24612
 
      fi
24613
 
      ;;
24614
 
 
24615
 
    cygwin* | mingw* | pw32*)
24616
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24617
 
      # as there is no search path for DLLs.
24618
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
24619
 
      allow_undefined_flag_GCJ=unsupported
24620
 
      always_export_symbols_GCJ=no
24621
 
      enable_shared_with_static_runtimes_GCJ=yes
24622
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
24623
 
 
24624
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
24625
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24626
 
        # If the export-symbols file already is a .def file (1st line
24627
 
        # is EXPORTS), use it as is; otherwise, prepend...
24628
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24629
 
          cp $export_symbols $output_objdir/$soname.def;
24630
 
        else
24631
 
          echo EXPORTS > $output_objdir/$soname.def;
24632
 
          cat $export_symbols >> $output_objdir/$soname.def;
24633
 
        fi~
24634
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24635
 
      else
24636
 
        ld_shlibs_GCJ=no
24637
 
      fi
24638
 
      ;;
24639
 
 
24640
 
    interix[3-9]*)
24641
 
      hardcode_direct_GCJ=no
24642
 
      hardcode_shlibpath_var_GCJ=no
24643
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24644
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
24645
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24646
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
24647
 
      # default) and relocated if they conflict, which is a slow very memory
24648
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
24649
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24650
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
24651
 
      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'
24652
 
      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'
24653
 
      ;;
24654
 
 
24655
 
    gnu* | linux* | k*bsd*-gnu)
24656
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24657
 
        tmp_addflag=
24658
 
        case $cc_basename,$host_cpu in
24659
 
        pgcc*)                          # Portland Group C compiler
24660
 
          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'
24661
 
          tmp_addflag=' $pic_flag'
24662
 
          ;;
24663
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
24664
 
          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'
24665
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
24666
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
24667
 
          tmp_addflag=' -i_dynamic' ;;
24668
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
24669
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
24670
 
        ifc* | ifort*)                  # Intel Fortran compiler
24671
 
          tmp_addflag=' -nofor_main' ;;
24672
 
        esac
24673
 
        case `$CC -V 2>&1 | sed 5q` in
24674
 
        *Sun\ C*)                       # Sun C 5.9
24675
 
          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'
24676
 
          tmp_sharedflag='-G' ;;
24677
 
        *Sun\ F*)                       # Sun Fortran 8.3
24678
 
          tmp_sharedflag='-G' ;;
24679
 
        *)
24680
 
          tmp_sharedflag='-shared' ;;
24681
 
        esac
24682
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24683
 
 
24684
 
        if test $supports_anon_versioning = yes; then
24685
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
24686
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24687
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
24688
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24689
 
        fi
24690
 
        link_all_deplibs_GCJ=no
24691
 
      else
24692
 
        ld_shlibs_GCJ=no
24693
 
      fi
24694
 
      ;;
24695
 
 
24696
 
    netbsd* | netbsdelf*-gnu)
24697
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24698
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24699
 
        wlarc=
24700
 
      else
24701
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24702
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24703
 
      fi
24704
 
      ;;
24705
 
 
24706
 
    solaris*)
24707
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
24708
 
        ld_shlibs_GCJ=no
24709
 
        cat <<EOF 1>&2
24710
 
 
24711
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
24712
 
*** create shared libraries on Solaris systems.  Therefore, libtool
24713
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
24714
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
24715
 
*** your PATH or compiler configuration so that the native linker is
24716
 
*** used, and then restart.
24717
 
 
24718
 
EOF
24719
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24720
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24721
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24722
 
      else
24723
 
        ld_shlibs_GCJ=no
24724
 
      fi
24725
 
      ;;
24726
 
 
24727
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
24728
 
      case `$LD -v 2>&1` in
24729
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
24730
 
        ld_shlibs_GCJ=no
24731
 
        cat <<_LT_EOF 1>&2
24732
 
 
24733
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24734
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
24735
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
24736
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
24737
 
*** your PATH or compiler configuration so that the native linker is
24738
 
*** used, and then restart.
24739
 
 
24740
 
_LT_EOF
24741
 
        ;;
24742
 
        *)
24743
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24744
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24745
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24746
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24747
 
          else
24748
 
            ld_shlibs_GCJ=no
24749
 
          fi
24750
 
        ;;
24751
 
      esac
24752
 
      ;;
24753
 
 
24754
 
    sunos4*)
24755
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24756
 
      wlarc=
24757
 
      hardcode_direct_GCJ=yes
24758
 
      hardcode_shlibpath_var_GCJ=no
24759
 
      ;;
24760
 
 
24761
 
    *)
24762
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24763
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24764
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24765
 
      else
24766
 
        ld_shlibs_GCJ=no
24767
 
      fi
24768
 
      ;;
24769
 
    esac
24770
 
 
24771
 
    if test "$ld_shlibs_GCJ" = no; then
24772
 
      runpath_var=
24773
 
      hardcode_libdir_flag_spec_GCJ=
24774
 
      export_dynamic_flag_spec_GCJ=
24775
 
      whole_archive_flag_spec_GCJ=
24776
 
    fi
24777
 
  else
24778
 
    # PORTME fill in a description of your system's linker (not GNU ld)
24779
 
    case $host_os in
24780
 
    aix3*)
24781
 
      allow_undefined_flag_GCJ=unsupported
24782
 
      always_export_symbols_GCJ=yes
24783
 
      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'
24784
 
      # Note: this linker hardcodes the directories in LIBPATH if there
24785
 
      # are no directories specified by -L.
24786
 
      hardcode_minus_L_GCJ=yes
24787
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24788
 
        # Neither direct hardcoding nor static linking is supported with a
24789
 
        # broken collect2.
24790
 
        hardcode_direct_GCJ=unsupported
24791
 
      fi
24792
 
      ;;
24793
 
 
24794
 
    aix[4-9]*)
24795
 
      if test "$host_cpu" = ia64; then
24796
 
        # On IA64, the linker does run time linking by default, so we don't
24797
 
        # have to do anything special.
24798
 
        aix_use_runtimelinking=no
24799
 
        exp_sym_flag='-Bexport'
24800
 
        no_entry_flag=""
24801
 
      else
24802
 
        # If we're using GNU nm, then we don't want the "-C" option.
24803
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
24804
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
24805
 
          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'
24806
 
        else
24807
 
          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'
24808
 
        fi
24809
 
        aix_use_runtimelinking=no
24810
 
 
24811
 
        # Test if we are trying to use run time linking or normal
24812
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24813
 
        # need to do runtime linking.
24814
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
24815
 
          for ld_flag in $LDFLAGS; do
24816
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
24817
 
            aix_use_runtimelinking=yes
24818
 
            break
24819
 
          fi
24820
 
          done
24821
 
          ;;
24822
 
        esac
24823
 
 
24824
 
        exp_sym_flag='-bexport'
24825
 
        no_entry_flag='-bnoentry'
24826
 
      fi
24827
 
 
24828
 
      # When large executables or shared objects are built, AIX ld can
24829
 
      # have problems creating the table of contents.  If linking a library
24830
 
      # or program results in "error TOC overflow" add -mminimal-toc to
24831
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
24832
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24833
 
 
24834
 
      archive_cmds_GCJ=''
24835
 
      hardcode_direct_GCJ=yes
24836
 
      hardcode_libdir_separator_GCJ=':'
24837
 
      link_all_deplibs_GCJ=yes
24838
 
 
24839
 
      if test "$GCC" = yes; then
24840
 
        case $host_os in aix4.[012]|aix4.[012].*)
24841
 
        # We only want to do this on AIX 4.2 and lower, the check
24842
 
        # below for broken collect2 doesn't work under 4.3+
24843
 
          collect2name=`${CC} -print-prog-name=collect2`
24844
 
          if test -f "$collect2name" && \
24845
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
24846
 
          then
24847
 
          # We have reworked collect2
24848
 
          :
24849
 
          else
24850
 
          # We have old collect2
24851
 
          hardcode_direct_GCJ=unsupported
24852
 
          # It fails to find uninstalled libraries when the uninstalled
24853
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
24854
 
          # to unsupported forces relinking
24855
 
          hardcode_minus_L_GCJ=yes
24856
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
24857
 
          hardcode_libdir_separator_GCJ=
24858
 
          fi
24859
 
          ;;
24860
 
        esac
24861
 
        shared_flag='-shared'
24862
 
        if test "$aix_use_runtimelinking" = yes; then
24863
 
          shared_flag="$shared_flag "'${wl}-G'
24864
 
        fi
24865
 
      else
24866
 
        # not using gcc
24867
 
        if test "$host_cpu" = ia64; then
24868
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24869
 
        # chokes on -Wl,-G. The following line is correct:
24870
 
          shared_flag='-G'
24871
 
        else
24872
 
          if test "$aix_use_runtimelinking" = yes; then
24873
 
            shared_flag='${wl}-G'
24874
 
          else
24875
 
            shared_flag='${wl}-bM:SRE'
24876
 
          fi
24877
 
        fi
24878
 
      fi
24879
 
 
24880
 
      # It seems that -bexpall does not export symbols beginning with
24881
 
      # underscore (_), so it is better to generate a list of symbols to export.
24882
 
      always_export_symbols_GCJ=yes
24883
 
      if test "$aix_use_runtimelinking" = yes; then
24884
 
        # Warning - without using the other runtime loading flags (-brtl),
24885
 
        # -berok will link without error, but may produce a broken library.
24886
 
        allow_undefined_flag_GCJ='-berok'
24887
 
       # Determine the default libpath from the value encoded in an empty executable.
24888
 
       cat >conftest.$ac_ext <<_ACEOF
24889
 
/* confdefs.h.  */
24890
 
_ACEOF
24891
 
cat confdefs.h >>conftest.$ac_ext
24892
 
cat >>conftest.$ac_ext <<_ACEOF
24893
 
/* end confdefs.h.  */
24894
 
 
24895
 
int
24896
 
main ()
24897
 
{
24898
 
 
24899
 
  ;
24900
 
  return 0;
24901
 
}
24902
 
_ACEOF
24903
 
rm -f conftest.$ac_objext conftest$ac_exeext
24904
 
if { (ac_try="$ac_link"
24905
 
case "(($ac_try" in
24906
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24907
 
  *) ac_try_echo=$ac_try;;
24908
 
esac
24909
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24910
 
$as_echo "$ac_try_echo") >&5
24911
 
  (eval "$ac_link") 2>conftest.er1
24912
 
  ac_status=$?
24913
 
  grep -v '^ *+' conftest.er1 >conftest.err
24914
 
  rm -f conftest.er1
24915
 
  cat conftest.err >&5
24916
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917
 
  (exit $ac_status); } && {
24918
 
         test -z "$ac_c_werror_flag" ||
24919
 
         test ! -s conftest.err
24920
 
       } && test -s conftest$ac_exeext && {
24921
 
         test "$cross_compiling" = yes ||
24922
 
         $as_test_x conftest$ac_exeext
24923
 
       }; then
24924
 
 
24925
 
lt_aix_libpath_sed='
24926
 
    /Import File Strings/,/^$/ {
24927
 
        /^0/ {
24928
 
            s/^0  *\(.*\)$/\1/
24929
 
            p
24930
 
        }
24931
 
    }'
24932
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24933
 
# Check for a 64-bit object if we didn't find anything.
24934
 
if test -z "$aix_libpath"; then
24935
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24936
 
fi
24937
 
else
24938
 
  $as_echo "$as_me: failed program was:" >&5
24939
 
sed 's/^/| /' conftest.$ac_ext >&5
24940
 
 
24941
 
 
24942
 
fi
24943
 
 
24944
 
rm -rf conftest.dSYM
24945
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24946
 
      conftest$ac_exeext conftest.$ac_ext
24947
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24948
 
 
24949
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24950
 
        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"
24951
 
       else
24952
 
        if test "$host_cpu" = ia64; then
24953
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24954
 
          allow_undefined_flag_GCJ="-z nodefs"
24955
 
          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"
24956
 
        else
24957
 
         # Determine the default libpath from the value encoded in an empty executable.
24958
 
         cat >conftest.$ac_ext <<_ACEOF
24959
 
/* confdefs.h.  */
24960
 
_ACEOF
24961
 
cat confdefs.h >>conftest.$ac_ext
24962
 
cat >>conftest.$ac_ext <<_ACEOF
24963
 
/* end confdefs.h.  */
24964
 
 
24965
 
int
24966
 
main ()
24967
 
{
24968
 
 
24969
 
  ;
24970
 
  return 0;
24971
 
}
24972
 
_ACEOF
24973
 
rm -f conftest.$ac_objext conftest$ac_exeext
24974
 
if { (ac_try="$ac_link"
24975
 
case "(($ac_try" in
24976
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24977
 
  *) ac_try_echo=$ac_try;;
24978
 
esac
24979
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24980
 
$as_echo "$ac_try_echo") >&5
24981
 
  (eval "$ac_link") 2>conftest.er1
24982
 
  ac_status=$?
24983
 
  grep -v '^ *+' conftest.er1 >conftest.err
24984
 
  rm -f conftest.er1
24985
 
  cat conftest.err >&5
24986
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24987
 
  (exit $ac_status); } && {
24988
 
         test -z "$ac_c_werror_flag" ||
24989
 
         test ! -s conftest.err
24990
 
       } && test -s conftest$ac_exeext && {
24991
 
         test "$cross_compiling" = yes ||
24992
 
         $as_test_x conftest$ac_exeext
24993
 
       }; then
24994
 
 
24995
 
lt_aix_libpath_sed='
24996
 
    /Import File Strings/,/^$/ {
24997
 
        /^0/ {
24998
 
            s/^0  *\(.*\)$/\1/
24999
 
            p
25000
 
        }
25001
 
    }'
25002
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25003
 
# Check for a 64-bit object if we didn't find anything.
25004
 
if test -z "$aix_libpath"; then
25005
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25006
 
fi
25007
 
else
25008
 
  $as_echo "$as_me: failed program was:" >&5
25009
 
sed 's/^/| /' conftest.$ac_ext >&5
25010
 
 
25011
 
 
25012
 
fi
25013
 
 
25014
 
rm -rf conftest.dSYM
25015
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25016
 
      conftest$ac_exeext conftest.$ac_ext
25017
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
25018
 
 
25019
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
25020
 
          # Warning - without using the other run time loading flags,
25021
 
          # -berok will link without error, but may produce a broken library.
25022
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
25023
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
25024
 
          # Exported symbols can be pulled into shared objects from archives
25025
 
          whole_archive_flag_spec_GCJ='$convenience'
25026
 
          archive_cmds_need_lc_GCJ=yes
25027
 
          # This is similar to how AIX traditionally builds its shared libraries.
25028
 
          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'
25029
 
        fi
25030
 
      fi
25031
 
      ;;
25032
 
 
25033
 
    amigaos*)
25034
 
      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)'
25035
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
25036
 
      hardcode_minus_L_GCJ=yes
25037
 
      # see comment about different semantics on the GNU ld section
25038
 
      ld_shlibs_GCJ=no
25039
 
      ;;
25040
 
 
25041
 
    bsdi[45]*)
25042
 
      export_dynamic_flag_spec_GCJ=-rdynamic
25043
 
      ;;
25044
 
 
25045
 
    cygwin* | mingw* | pw32*)
25046
 
      # When not using gcc, we currently assume that we are using
25047
 
      # Microsoft Visual C++.
25048
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
25049
 
      # no search path for DLLs.
25050
 
      hardcode_libdir_flag_spec_GCJ=' '
25051
 
      allow_undefined_flag_GCJ=unsupported
25052
 
      # Tell ltmain to make .lib files, not .a files.
25053
 
      libext=lib
25054
 
      # Tell ltmain to make .dll files, not .so files.
25055
 
      shrext_cmds=".dll"
25056
 
      # FIXME: Setting linknames here is a bad hack.
25057
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
25058
 
      # The linker will automatically build a .lib file if we build a DLL.
25059
 
      old_archive_From_new_cmds_GCJ='true'
25060
 
      # FIXME: Should let the user specify the lib program.
25061
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
25062
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
25063
 
      enable_shared_with_static_runtimes_GCJ=yes
25064
 
      ;;
25065
 
 
25066
 
    darwin* | rhapsody*)
25067
 
      case $host_os in
25068
 
        rhapsody* | darwin1.[012])
25069
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
25070
 
         ;;
25071
 
       *) # Darwin 1.3 on
25072
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
25073
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
25074
 
         else
25075
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
25076
 
             10.[012])
25077
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
25078
 
               ;;
25079
 
             10.*)
25080
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
25081
 
               ;;
25082
 
           esac
25083
 
         fi
25084
 
         ;;
25085
 
      esac
25086
 
      archive_cmds_need_lc_GCJ=no
25087
 
      hardcode_direct_GCJ=no
25088
 
      hardcode_automatic_GCJ=yes
25089
 
      hardcode_shlibpath_var_GCJ=unsupported
25090
 
      whole_archive_flag_spec_GCJ=''
25091
 
      link_all_deplibs_GCJ=yes
25092
 
    if test "$GCC" = yes ; then
25093
 
        output_verbose_link_cmd='echo'
25094
 
        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}"
25095
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
25096
 
        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}"
25097
 
        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}"
25098
 
    else
25099
 
      case $cc_basename in
25100
 
        xlc*)
25101
 
         output_verbose_link_cmd='echo'
25102
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
25103
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
25104
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
25105
 
         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}'
25106
 
          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}'
25107
 
          ;;
25108
 
       *)
25109
 
         ld_shlibs_GCJ=no
25110
 
          ;;
25111
 
      esac
25112
 
    fi
25113
 
      ;;
25114
 
 
25115
 
    dgux*)
25116
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25117
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
25118
 
      hardcode_shlibpath_var_GCJ=no
25119
 
      ;;
25120
 
 
25121
 
    freebsd1*)
25122
 
      ld_shlibs_GCJ=no
25123
 
      ;;
25124
 
 
25125
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
25126
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
25127
 
    # does not break anything, and helps significantly (at the cost of a little
25128
 
    # extra space).
25129
 
    freebsd2.2*)
25130
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
25131
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
25132
 
      hardcode_direct_GCJ=yes
25133
 
      hardcode_shlibpath_var_GCJ=no
25134
 
      ;;
25135
 
 
25136
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
25137
 
    freebsd2*)
25138
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25139
 
      hardcode_direct_GCJ=yes
25140
 
      hardcode_minus_L_GCJ=yes
25141
 
      hardcode_shlibpath_var_GCJ=no
25142
 
      ;;
25143
 
 
25144
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
25145
 
    freebsd* | dragonfly*)
25146
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
25147
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
25148
 
      hardcode_direct_GCJ=yes
25149
 
      hardcode_shlibpath_var_GCJ=no
25150
 
      ;;
25151
 
 
25152
 
    hpux9*)
25153
 
      if test "$GCC" = yes; then
25154
 
        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'
25155
 
      else
25156
 
        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'
25157
 
      fi
25158
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25159
 
      hardcode_libdir_separator_GCJ=:
25160
 
      hardcode_direct_GCJ=yes
25161
 
 
25162
 
      # hardcode_minus_L: Not really in the search PATH,
25163
 
      # but as the default location of the library.
25164
 
      hardcode_minus_L_GCJ=yes
25165
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
25166
 
      ;;
25167
 
 
25168
 
    hpux10*)
25169
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25170
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25171
 
      else
25172
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
25173
 
      fi
25174
 
      if test "$with_gnu_ld" = no; then
25175
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25176
 
        hardcode_libdir_separator_GCJ=:
25177
 
 
25178
 
        hardcode_direct_GCJ=yes
25179
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
25180
 
 
25181
 
        # hardcode_minus_L: Not really in the search PATH,
25182
 
        # but as the default location of the library.
25183
 
        hardcode_minus_L_GCJ=yes
25184
 
      fi
25185
 
      ;;
25186
 
 
25187
 
    hpux11*)
25188
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25189
 
        case $host_cpu in
25190
 
        hppa*64*)
25191
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25192
 
          ;;
25193
 
        ia64*)
25194
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25195
 
          ;;
25196
 
        *)
25197
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25198
 
          ;;
25199
 
        esac
25200
 
      else
25201
 
        case $host_cpu in
25202
 
        hppa*64*)
25203
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25204
 
          ;;
25205
 
        ia64*)
25206
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25207
 
          ;;
25208
 
        *)
25209
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25210
 
          ;;
25211
 
        esac
25212
 
      fi
25213
 
      if test "$with_gnu_ld" = no; then
25214
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25215
 
        hardcode_libdir_separator_GCJ=:
25216
 
 
25217
 
        case $host_cpu in
25218
 
        hppa*64*|ia64*)
25219
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
25220
 
          hardcode_direct_GCJ=no
25221
 
          hardcode_shlibpath_var_GCJ=no
25222
 
          ;;
25223
 
        *)
25224
 
          hardcode_direct_GCJ=yes
25225
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
25226
 
 
25227
 
          # hardcode_minus_L: Not really in the search PATH,
25228
 
          # but as the default location of the library.
25229
 
          hardcode_minus_L_GCJ=yes
25230
 
          ;;
25231
 
        esac
25232
 
      fi
25233
 
      ;;
25234
 
 
25235
 
    irix5* | irix6* | nonstopux*)
25236
 
      if test "$GCC" = yes; then
25237
 
        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'
25238
 
      else
25239
 
        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'
25240
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
25241
 
      fi
25242
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25243
 
      hardcode_libdir_separator_GCJ=:
25244
 
      link_all_deplibs_GCJ=yes
25245
 
      ;;
25246
 
 
25247
 
    netbsd* | netbsdelf*-gnu)
25248
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25249
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
25250
 
      else
25251
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
25252
 
      fi
25253
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
25254
 
      hardcode_direct_GCJ=yes
25255
 
      hardcode_shlibpath_var_GCJ=no
25256
 
      ;;
25257
 
 
25258
 
    newsos6)
25259
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25260
 
      hardcode_direct_GCJ=yes
25261
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25262
 
      hardcode_libdir_separator_GCJ=:
25263
 
      hardcode_shlibpath_var_GCJ=no
25264
 
      ;;
25265
 
 
25266
 
    openbsd*)
25267
 
      if test -f /usr/libexec/ld.so; then
25268
 
        hardcode_direct_GCJ=yes
25269
 
        hardcode_shlibpath_var_GCJ=no
25270
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25271
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25272
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
25273
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25274
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
25275
 
        else
25276
 
          case $host_os in
25277
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
25278
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25279
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
25280
 
             ;;
25281
 
           *)
25282
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25283
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25284
 
             ;;
25285
 
          esac
25286
 
        fi
25287
 
      else
25288
 
        ld_shlibs_GCJ=no
25289
 
      fi
25290
 
      ;;
25291
 
 
25292
 
    os2*)
25293
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
25294
 
      hardcode_minus_L_GCJ=yes
25295
 
      allow_undefined_flag_GCJ=unsupported
25296
 
      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'
25297
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
25298
 
      ;;
25299
 
 
25300
 
    osf3*)
25301
 
      if test "$GCC" = yes; then
25302
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
25303
 
        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'
25304
 
      else
25305
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
25306
 
        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'
25307
 
      fi
25308
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25309
 
      hardcode_libdir_separator_GCJ=:
25310
 
      ;;
25311
 
 
25312
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
25313
 
      if test "$GCC" = yes; then
25314
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
25315
 
        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'
25316
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25317
 
      else
25318
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
25319
 
        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'
25320
 
        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~
25321
 
        $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'
25322
 
 
25323
 
        # Both c and cxx compiler support -rpath directly
25324
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
25325
 
      fi
25326
 
      hardcode_libdir_separator_GCJ=:
25327
 
      ;;
25328
 
 
25329
 
    solaris*)
25330
 
      no_undefined_flag_GCJ=' -z text'
25331
 
      if test "$GCC" = yes; then
25332
 
        wlarc='${wl}'
25333
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25334
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25335
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
25336
 
      else
25337
 
        wlarc=''
25338
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
25339
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25340
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25341
 
      fi
25342
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
25343
 
      hardcode_shlibpath_var_GCJ=no
25344
 
      case $host_os in
25345
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
25346
 
      *)
25347
 
        # The compiler driver will combine and reorder linker options,
25348
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
25349
 
        # but is careful enough not to reorder.
25350
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
25351
 
        if test "$GCC" = yes; then
25352
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
25353
 
        else
25354
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
25355
 
        fi
25356
 
        ;;
25357
 
      esac
25358
 
      link_all_deplibs_GCJ=yes
25359
 
      ;;
25360
 
 
25361
 
    sunos4*)
25362
 
      if test "x$host_vendor" = xsequent; then
25363
 
        # Use $CC to link under sequent, because it throws in some extra .o
25364
 
        # files that make .init and .fini sections work.
25365
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25366
 
      else
25367
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25368
 
      fi
25369
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
25370
 
      hardcode_direct_GCJ=yes
25371
 
      hardcode_minus_L_GCJ=yes
25372
 
      hardcode_shlibpath_var_GCJ=no
25373
 
      ;;
25374
 
 
25375
 
    sysv4)
25376
 
      case $host_vendor in
25377
 
        sni)
25378
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25379
 
          hardcode_direct_GCJ=yes # is this really true???
25380
 
        ;;
25381
 
        siemens)
25382
 
          ## LD is ld it makes a PLAMLIB
25383
 
          ## CC just makes a GrossModule.
25384
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25385
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
25386
 
          hardcode_direct_GCJ=no
25387
 
        ;;
25388
 
        motorola)
25389
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25390
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
25391
 
        ;;
25392
 
      esac
25393
 
      runpath_var='LD_RUN_PATH'
25394
 
      hardcode_shlibpath_var_GCJ=no
25395
 
      ;;
25396
 
 
25397
 
    sysv4.3*)
25398
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25399
 
      hardcode_shlibpath_var_GCJ=no
25400
 
      export_dynamic_flag_spec_GCJ='-Bexport'
25401
 
      ;;
25402
 
 
25403
 
    sysv4*MP*)
25404
 
      if test -d /usr/nec; then
25405
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25406
 
        hardcode_shlibpath_var_GCJ=no
25407
 
        runpath_var=LD_RUN_PATH
25408
 
        hardcode_runpath_var=yes
25409
 
        ld_shlibs_GCJ=yes
25410
 
      fi
25411
 
      ;;
25412
 
 
25413
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
25414
 
      no_undefined_flag_GCJ='${wl}-z,text'
25415
 
      archive_cmds_need_lc_GCJ=no
25416
 
      hardcode_shlibpath_var_GCJ=no
25417
 
      runpath_var='LD_RUN_PATH'
25418
 
 
25419
 
      if test "$GCC" = yes; then
25420
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25421
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25422
 
      else
25423
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25424
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25425
 
      fi
25426
 
      ;;
25427
 
 
25428
 
    sysv5* | sco3.2v5* | sco5v6*)
25429
 
      # Note: We can NOT use -z defs as we might desire, because we do not
25430
 
      # link with -lc, and that would cause any symbols used from libc to
25431
 
      # always be unresolved, which means just about no library would
25432
 
      # ever link correctly.  If we're not using GNU ld we use -z text
25433
 
      # though, which does catch some bad symbols but isn't as heavy-handed
25434
 
      # as -z defs.
25435
 
      no_undefined_flag_GCJ='${wl}-z,text'
25436
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
25437
 
      archive_cmds_need_lc_GCJ=no
25438
 
      hardcode_shlibpath_var_GCJ=no
25439
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25440
 
      hardcode_libdir_separator_GCJ=':'
25441
 
      link_all_deplibs_GCJ=yes
25442
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
25443
 
      runpath_var='LD_RUN_PATH'
25444
 
 
25445
 
      if test "$GCC" = yes; then
25446
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25447
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25448
 
      else
25449
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25450
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25451
 
      fi
25452
 
      ;;
25453
 
 
25454
 
    uts4*)
25455
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25456
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
25457
 
      hardcode_shlibpath_var_GCJ=no
25458
 
      ;;
25459
 
 
25460
 
    *)
25461
 
      ld_shlibs_GCJ=no
25462
 
      ;;
25463
 
    esac
25464
 
  fi
25465
 
 
25466
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25467
 
$as_echo "$ld_shlibs_GCJ" >&6; }
25468
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
25469
 
 
25470
 
#
25471
 
# Do we need to explicitly link libc?
25472
 
#
25473
 
case "x$archive_cmds_need_lc_GCJ" in
25474
 
x|xyes)
25475
 
  # Assume -lc should be added
25476
 
  archive_cmds_need_lc_GCJ=yes
25477
 
 
25478
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
25479
 
    case $archive_cmds_GCJ in
25480
 
    *'~'*)
25481
 
      # FIXME: we may have to deal with multi-command sequences.
25482
 
      ;;
25483
 
    '$CC '*)
25484
 
      # Test whether the compiler implicitly links with -lc since on some
25485
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
25486
 
      # to ld, don't add -lc before -lgcc.
25487
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25488
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
25489
 
      $rm conftest*
25490
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25491
 
 
25492
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25493
 
  (eval $ac_compile) 2>&5
25494
 
  ac_status=$?
25495
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496
 
  (exit $ac_status); } 2>conftest.err; then
25497
 
        soname=conftest
25498
 
        lib=conftest
25499
 
        libobjs=conftest.$ac_objext
25500
 
        deplibs=
25501
 
        wl=$lt_prog_compiler_wl_GCJ
25502
 
        pic_flag=$lt_prog_compiler_pic_GCJ
25503
 
        compiler_flags=-v
25504
 
        linker_flags=-v
25505
 
        verstring=
25506
 
        output_objdir=.
25507
 
        libname=conftest
25508
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
25509
 
        allow_undefined_flag_GCJ=
25510
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25511
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
25512
 
  ac_status=$?
25513
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514
 
  (exit $ac_status); }
25515
 
        then
25516
 
          archive_cmds_need_lc_GCJ=no
25517
 
        else
25518
 
          archive_cmds_need_lc_GCJ=yes
25519
 
        fi
25520
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
25521
 
      else
25522
 
        cat conftest.err 1>&5
25523
 
      fi
25524
 
      $rm conftest*
25525
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25526
 
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
25527
 
      ;;
25528
 
    esac
25529
 
  fi
25530
 
  ;;
25531
 
esac
25532
 
 
25533
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25534
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
25535
 
library_names_spec=
25536
 
libname_spec='lib$name'
25537
 
soname_spec=
25538
 
shrext_cmds=".so"
25539
 
postinstall_cmds=
25540
 
postuninstall_cmds=
25541
 
finish_cmds=
25542
 
finish_eval=
25543
 
shlibpath_var=
25544
 
shlibpath_overrides_runpath=unknown
25545
 
version_type=none
25546
 
dynamic_linker="$host_os ld.so"
25547
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
25548
 
 
25549
 
need_lib_prefix=unknown
25550
 
hardcode_into_libs=no
25551
 
 
25552
 
# when you set need_version to no, make sure it does not cause -set_version
25553
 
# flags to be left without arguments
25554
 
need_version=unknown
25555
 
 
25556
 
case $host_os in
25557
 
aix3*)
25558
 
  version_type=linux
25559
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
25560
 
  shlibpath_var=LIBPATH
25561
 
 
25562
 
  # AIX 3 has no versioning support, so we append a major version to the name.
25563
 
  soname_spec='${libname}${release}${shared_ext}$major'
25564
 
  ;;
25565
 
 
25566
 
aix[4-9]*)
25567
 
  version_type=linux
25568
 
  need_lib_prefix=no
25569
 
  need_version=no
25570
 
  hardcode_into_libs=yes
25571
 
  if test "$host_cpu" = ia64; then
25572
 
    # AIX 5 supports IA64
25573
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25574
 
    shlibpath_var=LD_LIBRARY_PATH
25575
 
  else
25576
 
    # With GCC up to 2.95.x, collect2 would create an import file
25577
 
    # for dependence libraries.  The import file would start with
25578
 
    # the line `#! .'.  This would cause the generated library to
25579
 
    # depend on `.', always an invalid library.  This was fixed in
25580
 
    # development snapshots of GCC prior to 3.0.
25581
 
    case $host_os in
25582
 
      aix4 | aix4.[01] | aix4.[01].*)
25583
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25584
 
           echo ' yes '
25585
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
25586
 
        :
25587
 
      else
25588
 
        can_build_shared=no
25589
 
      fi
25590
 
      ;;
25591
 
    esac
25592
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25593
 
    # soname into executable. Probably we can add versioning support to
25594
 
    # collect2, so additional links can be useful in future.
25595
 
    if test "$aix_use_runtimelinking" = yes; then
25596
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25597
 
      # instead of lib<name>.a to let people know that these are not
25598
 
      # typical AIX shared libraries.
25599
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25600
 
    else
25601
 
      # We preserve .a as extension for shared libraries through AIX4.2
25602
 
      # and later when we are not doing run time linking.
25603
 
      library_names_spec='${libname}${release}.a $libname.a'
25604
 
      soname_spec='${libname}${release}${shared_ext}$major'
25605
 
    fi
25606
 
    shlibpath_var=LIBPATH
25607
 
  fi
25608
 
  ;;
25609
 
 
25610
 
amigaos*)
25611
 
  library_names_spec='$libname.ixlibrary $libname.a'
25612
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
25613
 
  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'
25614
 
  ;;
25615
 
 
25616
 
beos*)
25617
 
  library_names_spec='${libname}${shared_ext}'
25618
 
  dynamic_linker="$host_os ld.so"
25619
 
  shlibpath_var=LIBRARY_PATH
25620
 
  ;;
25621
 
 
25622
 
bsdi[45]*)
25623
 
  version_type=linux
25624
 
  need_version=no
25625
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25626
 
  soname_spec='${libname}${release}${shared_ext}$major'
25627
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
25628
 
  shlibpath_var=LD_LIBRARY_PATH
25629
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25630
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
25631
 
  # the default ld.so.conf also contains /usr/contrib/lib and
25632
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25633
 
  # libtool to hard-code these into programs
25634
 
  ;;
25635
 
 
25636
 
cygwin* | mingw* | pw32*)
25637
 
  version_type=windows
25638
 
  shrext_cmds=".dll"
25639
 
  need_version=no
25640
 
  need_lib_prefix=no
25641
 
 
25642
 
  case $GCC,$host_os in
25643
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
25644
 
    library_names_spec='$libname.dll.a'
25645
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
25646
 
    postinstall_cmds='base_file=`basename \${file}`~
25647
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25648
 
      dldir=$destdir/`dirname \$dlpath`~
25649
 
      test -d \$dldir || mkdir -p \$dldir~
25650
 
      $install_prog $dir/$dlname \$dldir/$dlname~
25651
 
      chmod a+x \$dldir/$dlname'
25652
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25653
 
      dlpath=$dir/\$dldll~
25654
 
       $rm \$dlpath'
25655
 
    shlibpath_overrides_runpath=yes
25656
 
 
25657
 
    case $host_os in
25658
 
    cygwin*)
25659
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25660
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25661
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
25662
 
      ;;
25663
 
    mingw*)
25664
 
      # MinGW DLLs use traditional 'lib' prefix
25665
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25666
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25667
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
25668
 
        # It is most probably a Windows format PATH printed by
25669
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
25670
 
        # path with ; separators, and with drive letters. We can handle the
25671
 
        # drive letters (cygwin fileutils understands them), so leave them,
25672
 
        # especially as we might pass files found there to a mingw objdump,
25673
 
        # which wouldn't understand a cygwinified path. Ahh.
25674
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25675
 
      else
25676
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
25677
 
      fi
25678
 
      ;;
25679
 
    pw32*)
25680
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
25681
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25682
 
      ;;
25683
 
    esac
25684
 
    ;;
25685
 
 
25686
 
  *)
25687
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25688
 
    ;;
25689
 
  esac
25690
 
  dynamic_linker='Win32 ld.exe'
25691
 
  # FIXME: first we should search . and the directory the executable is in
25692
 
  shlibpath_var=PATH
25693
 
  ;;
25694
 
 
25695
 
darwin* | rhapsody*)
25696
 
  dynamic_linker="$host_os dyld"
25697
 
  version_type=darwin
25698
 
  need_lib_prefix=no
25699
 
  need_version=no
25700
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25701
 
  soname_spec='${libname}${release}${major}$shared_ext'
25702
 
  shlibpath_overrides_runpath=yes
25703
 
  shlibpath_var=DYLD_LIBRARY_PATH
25704
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
25705
 
 
25706
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
25707
 
  ;;
25708
 
 
25709
 
dgux*)
25710
 
  version_type=linux
25711
 
  need_lib_prefix=no
25712
 
  need_version=no
25713
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25714
 
  soname_spec='${libname}${release}${shared_ext}$major'
25715
 
  shlibpath_var=LD_LIBRARY_PATH
25716
 
  ;;
25717
 
 
25718
 
freebsd1*)
25719
 
  dynamic_linker=no
25720
 
  ;;
25721
 
 
25722
 
freebsd* | dragonfly*)
25723
 
  # DragonFly does not have aout.  When/if they implement a new
25724
 
  # versioning mechanism, adjust this.
25725
 
  if test -x /usr/bin/objformat; then
25726
 
    objformat=`/usr/bin/objformat`
25727
 
  else
25728
 
    case $host_os in
25729
 
    freebsd[123]*) objformat=aout ;;
25730
 
    *) objformat=elf ;;
25731
 
    esac
25732
 
  fi
25733
 
  version_type=freebsd-$objformat
25734
 
  case $version_type in
25735
 
    freebsd-elf*)
25736
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25737
 
      need_version=no
25738
 
      need_lib_prefix=no
25739
 
      ;;
25740
 
    freebsd-*)
25741
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25742
 
      need_version=yes
25743
 
      ;;
25744
 
  esac
25745
 
  shlibpath_var=LD_LIBRARY_PATH
25746
 
  case $host_os in
25747
 
  freebsd2*)
25748
 
    shlibpath_overrides_runpath=yes
25749
 
    ;;
25750
 
  freebsd3.[01]* | freebsdelf3.[01]*)
25751
 
    shlibpath_overrides_runpath=yes
25752
 
    hardcode_into_libs=yes
25753
 
    ;;
25754
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
25755
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
25756
 
    shlibpath_overrides_runpath=no
25757
 
    hardcode_into_libs=yes
25758
 
    ;;
25759
 
  *) # from 4.6 on, and DragonFly
25760
 
    shlibpath_overrides_runpath=yes
25761
 
    hardcode_into_libs=yes
25762
 
    ;;
25763
 
  esac
25764
 
  ;;
25765
 
 
25766
 
gnu*)
25767
 
  version_type=linux
25768
 
  need_lib_prefix=no
25769
 
  need_version=no
25770
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25771
 
  soname_spec='${libname}${release}${shared_ext}$major'
25772
 
  shlibpath_var=LD_LIBRARY_PATH
25773
 
  hardcode_into_libs=yes
25774
 
  ;;
25775
 
 
25776
 
hpux9* | hpux10* | hpux11*)
25777
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
25778
 
  # link against other versions.
25779
 
  version_type=sunos
25780
 
  need_lib_prefix=no
25781
 
  need_version=no
25782
 
  case $host_cpu in
25783
 
  ia64*)
25784
 
    shrext_cmds='.so'
25785
 
    hardcode_into_libs=yes
25786
 
    dynamic_linker="$host_os dld.so"
25787
 
    shlibpath_var=LD_LIBRARY_PATH
25788
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25789
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25790
 
    soname_spec='${libname}${release}${shared_ext}$major'
25791
 
    if test "X$HPUX_IA64_MODE" = X32; then
25792
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25793
 
    else
25794
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
25795
 
    fi
25796
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25797
 
    ;;
25798
 
   hppa*64*)
25799
 
     shrext_cmds='.sl'
25800
 
     hardcode_into_libs=yes
25801
 
     dynamic_linker="$host_os dld.sl"
25802
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
25803
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25804
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25805
 
     soname_spec='${libname}${release}${shared_ext}$major'
25806
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25807
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25808
 
     ;;
25809
 
   *)
25810
 
    shrext_cmds='.sl'
25811
 
    dynamic_linker="$host_os dld.sl"
25812
 
    shlibpath_var=SHLIB_PATH
25813
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
25814
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25815
 
    soname_spec='${libname}${release}${shared_ext}$major'
25816
 
    ;;
25817
 
  esac
25818
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
25819
 
  postinstall_cmds='chmod 555 $lib'
25820
 
  ;;
25821
 
 
25822
 
interix[3-9]*)
25823
 
  version_type=linux
25824
 
  need_lib_prefix=no
25825
 
  need_version=no
25826
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25827
 
  soname_spec='${libname}${release}${shared_ext}$major'
25828
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
25829
 
  shlibpath_var=LD_LIBRARY_PATH
25830
 
  shlibpath_overrides_runpath=no
25831
 
  hardcode_into_libs=yes
25832
 
  ;;
25833
 
 
25834
 
irix5* | irix6* | nonstopux*)
25835
 
  case $host_os in
25836
 
    nonstopux*) version_type=nonstopux ;;
25837
 
    *)
25838
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
25839
 
                version_type=linux
25840
 
        else
25841
 
                version_type=irix
25842
 
        fi ;;
25843
 
  esac
25844
 
  need_lib_prefix=no
25845
 
  need_version=no
25846
 
  soname_spec='${libname}${release}${shared_ext}$major'
25847
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25848
 
  case $host_os in
25849
 
  irix5* | nonstopux*)
25850
 
    libsuff= shlibsuff=
25851
 
    ;;
25852
 
  *)
25853
 
    case $LD in # libtool.m4 will add one of these switches to LD
25854
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
25855
 
      libsuff= shlibsuff= libmagic=32-bit;;
25856
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
25857
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
25858
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
25859
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
25860
 
    *) libsuff= shlibsuff= libmagic=never-match;;
25861
 
    esac
25862
 
    ;;
25863
 
  esac
25864
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
25865
 
  shlibpath_overrides_runpath=no
25866
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25867
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
25868
 
  hardcode_into_libs=yes
25869
 
  ;;
25870
 
 
25871
 
# No shared lib support for Linux oldld, aout, or coff.
25872
 
linux*oldld* | linux*aout* | linux*coff*)
25873
 
  dynamic_linker=no
25874
 
  ;;
25875
 
 
25876
 
# This must be Linux ELF.
25877
 
linux* | k*bsd*-gnu)
25878
 
  version_type=linux
25879
 
  need_lib_prefix=no
25880
 
  need_version=no
25881
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25882
 
  soname_spec='${libname}${release}${shared_ext}$major'
25883
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25884
 
  shlibpath_var=LD_LIBRARY_PATH
25885
 
  shlibpath_overrides_runpath=no
25886
 
  # This implies no fast_install, which is unacceptable.
25887
 
  # Some rework will be needed to allow for fast_install
25888
 
  # before this can be enabled.
25889
 
  hardcode_into_libs=yes
25890
 
 
25891
 
  # Append ld.so.conf contents to the search path
25892
 
  if test -f /etc/ld.so.conf; then
25893
 
    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' ' '`
25894
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
25895
 
  fi
25896
 
 
25897
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
25898
 
  # powerpc, because MkLinux only supported shared libraries with the
25899
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
25900
 
  # most powerpc-linux boxes support dynamic linking these days and
25901
 
  # people can always --disable-shared, the test was removed, and we
25902
 
  # assume the GNU/Linux dynamic linker is in use.
25903
 
  dynamic_linker='GNU/Linux ld.so'
25904
 
  ;;
25905
 
 
25906
 
netbsdelf*-gnu)
25907
 
  version_type=linux
25908
 
  need_lib_prefix=no
25909
 
  need_version=no
25910
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25911
 
  soname_spec='${libname}${release}${shared_ext}$major'
25912
 
  shlibpath_var=LD_LIBRARY_PATH
25913
 
  shlibpath_overrides_runpath=no
25914
 
  hardcode_into_libs=yes
25915
 
  dynamic_linker='NetBSD ld.elf_so'
25916
 
  ;;
25917
 
 
25918
 
netbsd*)
25919
 
  version_type=sunos
25920
 
  need_lib_prefix=no
25921
 
  need_version=no
25922
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25923
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25924
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25925
 
    dynamic_linker='NetBSD (a.out) ld.so'
25926
 
  else
25927
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25928
 
    soname_spec='${libname}${release}${shared_ext}$major'
25929
 
    dynamic_linker='NetBSD ld.elf_so'
25930
 
  fi
25931
 
  shlibpath_var=LD_LIBRARY_PATH
25932
 
  shlibpath_overrides_runpath=yes
25933
 
  hardcode_into_libs=yes
25934
 
  ;;
25935
 
 
25936
 
newsos6)
25937
 
  version_type=linux
25938
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25939
 
  shlibpath_var=LD_LIBRARY_PATH
25940
 
  shlibpath_overrides_runpath=yes
25941
 
  ;;
25942
 
 
25943
 
nto-qnx*)
25944
 
  version_type=linux
25945
 
  need_lib_prefix=no
25946
 
  need_version=no
25947
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25948
 
  soname_spec='${libname}${release}${shared_ext}$major'
25949
 
  shlibpath_var=LD_LIBRARY_PATH
25950
 
  shlibpath_overrides_runpath=yes
25951
 
  ;;
25952
 
 
25953
 
openbsd*)
25954
 
  version_type=sunos
25955
 
  sys_lib_dlsearch_path_spec="/usr/lib"
25956
 
  need_lib_prefix=no
25957
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25958
 
  case $host_os in
25959
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
25960
 
    *)                         need_version=no  ;;
25961
 
  esac
25962
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25963
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25964
 
  shlibpath_var=LD_LIBRARY_PATH
25965
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25966
 
    case $host_os in
25967
 
      openbsd2.[89] | openbsd2.[89].*)
25968
 
        shlibpath_overrides_runpath=no
25969
 
        ;;
25970
 
      *)
25971
 
        shlibpath_overrides_runpath=yes
25972
 
        ;;
25973
 
      esac
25974
 
  else
25975
 
    shlibpath_overrides_runpath=yes
25976
 
  fi
25977
 
  ;;
25978
 
 
25979
 
os2*)
25980
 
  libname_spec='$name'
25981
 
  shrext_cmds=".dll"
25982
 
  need_lib_prefix=no
25983
 
  library_names_spec='$libname${shared_ext} $libname.a'
25984
 
  dynamic_linker='OS/2 ld.exe'
25985
 
  shlibpath_var=LIBPATH
25986
 
  ;;
25987
 
 
25988
 
osf3* | osf4* | osf5*)
25989
 
  version_type=osf
25990
 
  need_lib_prefix=no
25991
 
  need_version=no
25992
 
  soname_spec='${libname}${release}${shared_ext}$major'
25993
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25994
 
  shlibpath_var=LD_LIBRARY_PATH
25995
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25996
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
25997
 
  ;;
25998
 
 
25999
 
rdos*)
26000
 
  dynamic_linker=no
26001
 
  ;;
26002
 
 
26003
 
solaris*)
26004
 
  version_type=linux
26005
 
  need_lib_prefix=no
26006
 
  need_version=no
26007
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26008
 
  soname_spec='${libname}${release}${shared_ext}$major'
26009
 
  shlibpath_var=LD_LIBRARY_PATH
26010
 
  shlibpath_overrides_runpath=yes
26011
 
  hardcode_into_libs=yes
26012
 
  # ldd complains unless libraries are executable
26013
 
  postinstall_cmds='chmod +x $lib'
26014
 
  ;;
26015
 
 
26016
 
sunos4*)
26017
 
  version_type=sunos
26018
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26019
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
26020
 
  shlibpath_var=LD_LIBRARY_PATH
26021
 
  shlibpath_overrides_runpath=yes
26022
 
  if test "$with_gnu_ld" = yes; then
26023
 
    need_lib_prefix=no
26024
 
  fi
26025
 
  need_version=yes
26026
 
  ;;
26027
 
 
26028
 
sysv4 | sysv4.3*)
26029
 
  version_type=linux
26030
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26031
 
  soname_spec='${libname}${release}${shared_ext}$major'
26032
 
  shlibpath_var=LD_LIBRARY_PATH
26033
 
  case $host_vendor in
26034
 
    sni)
26035
 
      shlibpath_overrides_runpath=no
26036
 
      need_lib_prefix=no
26037
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
26038
 
      runpath_var=LD_RUN_PATH
26039
 
      ;;
26040
 
    siemens)
26041
 
      need_lib_prefix=no
26042
 
      ;;
26043
 
    motorola)
26044
 
      need_lib_prefix=no
26045
 
      need_version=no
26046
 
      shlibpath_overrides_runpath=no
26047
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
26048
 
      ;;
26049
 
  esac
26050
 
  ;;
26051
 
 
26052
 
sysv4*MP*)
26053
 
  if test -d /usr/nec ;then
26054
 
    version_type=linux
26055
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
26056
 
    soname_spec='$libname${shared_ext}.$major'
26057
 
    shlibpath_var=LD_LIBRARY_PATH
26058
 
  fi
26059
 
  ;;
26060
 
 
26061
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
26062
 
  version_type=freebsd-elf
26063
 
  need_lib_prefix=no
26064
 
  need_version=no
26065
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26066
 
  soname_spec='${libname}${release}${shared_ext}$major'
26067
 
  shlibpath_var=LD_LIBRARY_PATH
26068
 
  hardcode_into_libs=yes
26069
 
  if test "$with_gnu_ld" = yes; then
26070
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
26071
 
    shlibpath_overrides_runpath=no
26072
 
  else
26073
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
26074
 
    shlibpath_overrides_runpath=yes
26075
 
    case $host_os in
26076
 
      sco3.2v5*)
26077
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
26078
 
        ;;
26079
 
    esac
26080
 
  fi
26081
 
  sys_lib_dlsearch_path_spec='/usr/lib'
26082
 
  ;;
26083
 
 
26084
 
uts4*)
26085
 
  version_type=linux
26086
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26087
 
  soname_spec='${libname}${release}${shared_ext}$major'
26088
 
  shlibpath_var=LD_LIBRARY_PATH
26089
 
  ;;
26090
 
 
26091
 
*)
26092
 
  dynamic_linker=no
26093
 
  ;;
26094
 
esac
26095
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26096
 
$as_echo "$dynamic_linker" >&6; }
26097
 
test "$dynamic_linker" = no && can_build_shared=no
26098
 
 
26099
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
26100
 
  $as_echo_n "(cached) " >&6
26101
 
else
26102
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
26103
 
fi
26104
 
 
26105
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
26106
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
26107
 
  $as_echo_n "(cached) " >&6
26108
 
else
26109
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
26110
 
fi
26111
 
 
26112
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
26113
 
 
26114
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26115
 
if test "$GCC" = yes; then
26116
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26117
 
fi
26118
 
 
26119
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26120
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
26121
 
hardcode_action_GCJ=
26122
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
26123
 
   test -n "$runpath_var_GCJ" || \
26124
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
26125
 
 
26126
 
  # We can hardcode non-existant directories.
26127
 
  if test "$hardcode_direct_GCJ" != no &&
26128
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
26129
 
     # have to relink, otherwise we might link with an installed library
26130
 
     # when we should be linking with a yet-to-be-installed one
26131
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
26132
 
     test "$hardcode_minus_L_GCJ" != no; then
26133
 
    # Linking always hardcodes the temporary library directory.
26134
 
    hardcode_action_GCJ=relink
26135
 
  else
26136
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
26137
 
    hardcode_action_GCJ=immediate
26138
 
  fi
26139
 
else
26140
 
  # We cannot hardcode anything, or else we can only hardcode existing
26141
 
  # directories.
26142
 
  hardcode_action_GCJ=unsupported
26143
 
fi
26144
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
26145
 
$as_echo "$hardcode_action_GCJ" >&6; }
26146
 
 
26147
 
if test "$hardcode_action_GCJ" = relink; then
26148
 
  # Fast installation is not supported
26149
 
  enable_fast_install=no
26150
 
elif test "$shlibpath_overrides_runpath" = yes ||
26151
 
     test "$enable_shared" = no; then
26152
 
  # Fast installation is not necessary
26153
 
  enable_fast_install=needless
26154
 
fi
26155
 
 
26156
 
 
26157
 
# The else clause should only fire when bootstrapping the
26158
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
26159
 
# with your package, and you will get complaints that there are
26160
 
# no rules to generate ltmain.sh.
26161
 
if test -f "$ltmain"; then
26162
 
  # See if we are running on zsh, and set the options which allow our commands through
26163
 
  # without removal of \ escapes.
26164
 
  if test -n "${ZSH_VERSION+set}" ; then
26165
 
    setopt NO_GLOB_SUBST
26166
 
  fi
26167
 
  # Now quote all the things that may contain metacharacters while being
26168
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
26169
 
  # variables and quote the copies for generation of the libtool script.
26170
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26171
 
    SED SHELL STRIP \
26172
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26173
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26174
 
    deplibs_check_method reload_flag reload_cmds need_locks \
26175
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26176
 
    lt_cv_sys_global_symbol_to_c_name_address \
26177
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26178
 
    old_postinstall_cmds old_postuninstall_cmds \
26179
 
    compiler_GCJ \
26180
 
    CC_GCJ \
26181
 
    LD_GCJ \
26182
 
    lt_prog_compiler_wl_GCJ \
26183
 
    lt_prog_compiler_pic_GCJ \
26184
 
    lt_prog_compiler_static_GCJ \
26185
 
    lt_prog_compiler_no_builtin_flag_GCJ \
26186
 
    export_dynamic_flag_spec_GCJ \
26187
 
    thread_safe_flag_spec_GCJ \
26188
 
    whole_archive_flag_spec_GCJ \
26189
 
    enable_shared_with_static_runtimes_GCJ \
26190
 
    old_archive_cmds_GCJ \
26191
 
    old_archive_from_new_cmds_GCJ \
26192
 
    predep_objects_GCJ \
26193
 
    postdep_objects_GCJ \
26194
 
    predeps_GCJ \
26195
 
    postdeps_GCJ \
26196
 
    compiler_lib_search_path_GCJ \
26197
 
    compiler_lib_search_dirs_GCJ \
26198
 
    archive_cmds_GCJ \
26199
 
    archive_expsym_cmds_GCJ \
26200
 
    postinstall_cmds_GCJ \
26201
 
    postuninstall_cmds_GCJ \
26202
 
    old_archive_from_expsyms_cmds_GCJ \
26203
 
    allow_undefined_flag_GCJ \
26204
 
    no_undefined_flag_GCJ \
26205
 
    export_symbols_cmds_GCJ \
26206
 
    hardcode_libdir_flag_spec_GCJ \
26207
 
    hardcode_libdir_flag_spec_ld_GCJ \
26208
 
    hardcode_libdir_separator_GCJ \
26209
 
    hardcode_automatic_GCJ \
26210
 
    module_cmds_GCJ \
26211
 
    module_expsym_cmds_GCJ \
26212
 
    lt_cv_prog_compiler_c_o_GCJ \
26213
 
    fix_srcfile_path_GCJ \
26214
 
    exclude_expsyms_GCJ \
26215
 
    include_expsyms_GCJ; do
26216
 
 
26217
 
    case $var in
26218
 
    old_archive_cmds_GCJ | \
26219
 
    old_archive_from_new_cmds_GCJ | \
26220
 
    archive_cmds_GCJ | \
26221
 
    archive_expsym_cmds_GCJ | \
26222
 
    module_cmds_GCJ | \
26223
 
    module_expsym_cmds_GCJ | \
26224
 
    old_archive_from_expsyms_cmds_GCJ | \
26225
 
    export_symbols_cmds_GCJ | \
26226
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
26227
 
    postinstall_cmds | postuninstall_cmds | \
26228
 
    old_postinstall_cmds | old_postuninstall_cmds | \
26229
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
26230
 
      # Double-quote double-evaled strings.
26231
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26232
 
      ;;
26233
 
    *)
26234
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26235
 
      ;;
26236
 
    esac
26237
 
  done
26238
 
 
26239
 
  case $lt_echo in
26240
 
  *'\$0 --fallback-echo"')
26241
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26242
 
    ;;
26243
 
  esac
26244
 
 
26245
 
cfgfile="$ofile"
26246
 
 
26247
 
  cat <<__EOF__ >> "$cfgfile"
26248
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
26249
 
 
26250
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26251
 
 
26252
 
# Shell to use when invoking shell scripts.
26253
 
SHELL=$lt_SHELL
26254
 
 
26255
 
# Whether or not to build shared libraries.
26256
 
build_libtool_libs=$enable_shared
26257
 
 
26258
 
# Whether or not to build static libraries.
26259
 
build_old_libs=$enable_static
26260
 
 
26261
 
# Whether or not to add -lc for building shared libraries.
26262
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
26263
 
 
26264
 
# Whether or not to disallow shared libs when runtime libs are static
26265
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
26266
 
 
26267
 
# Whether or not to optimize for fast installation.
26268
 
fast_install=$enable_fast_install
26269
 
 
26270
 
# The host system.
26271
 
host_alias=$host_alias
26272
 
host=$host
26273
 
host_os=$host_os
26274
 
 
26275
 
# The build system.
26276
 
build_alias=$build_alias
26277
 
build=$build
26278
 
build_os=$build_os
26279
 
 
26280
 
# An echo program that does not interpret backslashes.
26281
 
echo=$lt_echo
26282
 
 
26283
 
# The archiver.
26284
 
AR=$lt_AR
26285
 
AR_FLAGS=$lt_AR_FLAGS
26286
 
 
26287
 
# A C compiler.
26288
 
LTCC=$lt_LTCC
26289
 
 
26290
 
# LTCC compiler flags.
26291
 
LTCFLAGS=$lt_LTCFLAGS
26292
 
 
26293
 
# A language-specific compiler.
26294
 
CC=$lt_compiler_GCJ
26295
 
 
26296
 
# Is the compiler the GNU C compiler?
26297
 
with_gcc=$GCC_GCJ
26298
 
 
26299
 
# An ERE matcher.
26300
 
EGREP=$lt_EGREP
26301
 
 
26302
 
# The linker used to build libraries.
26303
 
LD=$lt_LD_GCJ
26304
 
 
26305
 
# Whether we need hard or soft links.
26306
 
LN_S=$lt_LN_S
26307
 
 
26308
 
# A BSD-compatible nm program.
26309
 
NM=$lt_NM
26310
 
 
26311
 
# A symbol stripping program
26312
 
STRIP=$lt_STRIP
26313
 
 
26314
 
# Used to examine libraries when file_magic_cmd begins "file"
26315
 
MAGIC_CMD=$MAGIC_CMD
26316
 
 
26317
 
# Used on cygwin: DLL creation program.
26318
 
DLLTOOL="$DLLTOOL"
26319
 
 
26320
 
# Used on cygwin: object dumper.
26321
 
OBJDUMP="$OBJDUMP"
26322
 
 
26323
 
# Used on cygwin: assembler.
26324
 
AS="$AS"
26325
 
 
26326
 
# The name of the directory that contains temporary libtool files.
26327
 
objdir=$objdir
26328
 
 
26329
 
# How to create reloadable object files.
26330
 
reload_flag=$lt_reload_flag
26331
 
reload_cmds=$lt_reload_cmds
26332
 
 
26333
 
# How to pass a linker flag through the compiler.
26334
 
wl=$lt_lt_prog_compiler_wl_GCJ
26335
 
 
26336
 
# Object file suffix (normally "o").
26337
 
objext="$ac_objext"
26338
 
 
26339
 
# Old archive suffix (normally "a").
26340
 
libext="$libext"
26341
 
 
26342
 
# Shared library suffix (normally ".so").
26343
 
shrext_cmds='$shrext_cmds'
26344
 
 
26345
 
# Executable file suffix (normally "").
26346
 
exeext="$exeext"
26347
 
 
26348
 
# Additional compiler flags for building library objects.
26349
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
26350
 
pic_mode=$pic_mode
26351
 
 
26352
 
# What is the maximum length of a command?
26353
 
max_cmd_len=$lt_cv_sys_max_cmd_len
26354
 
 
26355
 
# Does compiler simultaneously support -c and -o options?
26356
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26357
 
 
26358
 
# Must we lock files when doing compilation?
26359
 
need_locks=$lt_need_locks
26360
 
 
26361
 
# Do we need the lib prefix for modules?
26362
 
need_lib_prefix=$need_lib_prefix
26363
 
 
26364
 
# Do we need a version for libraries?
26365
 
need_version=$need_version
26366
 
 
26367
 
# Whether dlopen is supported.
26368
 
dlopen_support=$enable_dlopen
26369
 
 
26370
 
# Whether dlopen of programs is supported.
26371
 
dlopen_self=$enable_dlopen_self
26372
 
 
26373
 
# Whether dlopen of statically linked programs is supported.
26374
 
dlopen_self_static=$enable_dlopen_self_static
26375
 
 
26376
 
# Compiler flag to prevent dynamic linking.
26377
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
26378
 
 
26379
 
# Compiler flag to turn off builtin functions.
26380
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26381
 
 
26382
 
# Compiler flag to allow reflexive dlopens.
26383
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26384
 
 
26385
 
# Compiler flag to generate shared objects directly from archives.
26386
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26387
 
 
26388
 
# Compiler flag to generate thread-safe objects.
26389
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26390
 
 
26391
 
# Library versioning type.
26392
 
version_type=$version_type
26393
 
 
26394
 
# Format of library name prefix.
26395
 
libname_spec=$lt_libname_spec
26396
 
 
26397
 
# List of archive names.  First name is the real one, the rest are links.
26398
 
# The last name is the one that the linker finds with -lNAME.
26399
 
library_names_spec=$lt_library_names_spec
26400
 
 
26401
 
# The coded name of the library, if different from the real name.
26402
 
soname_spec=$lt_soname_spec
26403
 
 
26404
 
# Commands used to build and install an old-style archive.
26405
 
RANLIB=$lt_RANLIB
26406
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
26407
 
old_postinstall_cmds=$lt_old_postinstall_cmds
26408
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
26409
 
 
26410
 
# Create an old-style archive from a shared archive.
26411
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26412
 
 
26413
 
# Create a temporary old-style archive to link instead of a shared archive.
26414
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26415
 
 
26416
 
# Commands used to build and install a shared archive.
26417
 
archive_cmds=$lt_archive_cmds_GCJ
26418
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26419
 
postinstall_cmds=$lt_postinstall_cmds
26420
 
postuninstall_cmds=$lt_postuninstall_cmds
26421
 
 
26422
 
# Commands used to build a loadable module (assumed same as above if empty)
26423
 
module_cmds=$lt_module_cmds_GCJ
26424
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26425
 
 
26426
 
# Commands to strip libraries.
26427
 
old_striplib=$lt_old_striplib
26428
 
striplib=$lt_striplib
26429
 
 
26430
 
# Dependencies to place before the objects being linked to create a
26431
 
# shared library.
26432
 
predep_objects=$lt_predep_objects_GCJ
26433
 
 
26434
 
# Dependencies to place after the objects being linked to create a
26435
 
# shared library.
26436
 
postdep_objects=$lt_postdep_objects_GCJ
26437
 
 
26438
 
# Dependencies to place before the objects being linked to create a
26439
 
# shared library.
26440
 
predeps=$lt_predeps_GCJ
26441
 
 
26442
 
# Dependencies to place after the objects being linked to create a
26443
 
# shared library.
26444
 
postdeps=$lt_postdeps_GCJ
26445
 
 
26446
 
# The directories searched by this compiler when creating a shared
26447
 
# library
26448
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
26449
 
 
26450
 
# The library search path used internally by the compiler when linking
26451
 
# a shared library.
26452
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26453
 
 
26454
 
# Method to check whether dependent libraries are shared objects.
26455
 
deplibs_check_method=$lt_deplibs_check_method
26456
 
 
26457
 
# Command to use when deplibs_check_method == file_magic.
26458
 
file_magic_cmd=$lt_file_magic_cmd
26459
 
 
26460
 
# Flag that allows shared libraries with undefined symbols to be built.
26461
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26462
 
 
26463
 
# Flag that forces no undefined symbols.
26464
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
26465
 
 
26466
 
# Commands used to finish a libtool library installation in a directory.
26467
 
finish_cmds=$lt_finish_cmds
26468
 
 
26469
 
# Same as above, but a single script fragment to be evaled but not shown.
26470
 
finish_eval=$lt_finish_eval
26471
 
 
26472
 
# Take the output of nm and produce a listing of raw symbols and C names.
26473
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26474
 
 
26475
 
# Transform the output of nm in a proper C declaration
26476
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26477
 
 
26478
 
# Transform the output of nm in a C name address pair
26479
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26480
 
 
26481
 
# This is the shared library runtime path variable.
26482
 
runpath_var=$runpath_var
26483
 
 
26484
 
# This is the shared library path variable.
26485
 
shlibpath_var=$shlibpath_var
26486
 
 
26487
 
# Is shlibpath searched before the hard-coded library search path?
26488
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26489
 
 
26490
 
# How to hardcode a shared library path into an executable.
26491
 
hardcode_action=$hardcode_action_GCJ
26492
 
 
26493
 
# Whether we should hardcode library paths into libraries.
26494
 
hardcode_into_libs=$hardcode_into_libs
26495
 
 
26496
 
# Flag to hardcode \$libdir into a binary during linking.
26497
 
# This must work even if \$libdir does not exist.
26498
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26499
 
 
26500
 
# If ld is used when linking, flag to hardcode \$libdir into
26501
 
# a binary during linking. This must work even if \$libdir does
26502
 
# not exist.
26503
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26504
 
 
26505
 
# Whether we need a single -rpath flag with a separated argument.
26506
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26507
 
 
26508
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26509
 
# resulting binary.
26510
 
hardcode_direct=$hardcode_direct_GCJ
26511
 
 
26512
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26513
 
# resulting binary.
26514
 
hardcode_minus_L=$hardcode_minus_L_GCJ
26515
 
 
26516
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26517
 
# the resulting binary.
26518
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26519
 
 
26520
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
26521
 
# and all subsequent libraries and executables linked against it.
26522
 
hardcode_automatic=$hardcode_automatic_GCJ
26523
 
 
26524
 
# Variables whose values should be saved in libtool wrapper scripts and
26525
 
# restored at relink time.
26526
 
variables_saved_for_relink="$variables_saved_for_relink"
26527
 
 
26528
 
# Whether libtool must link a program against all its dependency libraries.
26529
 
link_all_deplibs=$link_all_deplibs_GCJ
26530
 
 
26531
 
# Compile-time system search path for libraries
26532
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26533
 
 
26534
 
# Run-time system search path for libraries
26535
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26536
 
 
26537
 
# Fix the shell variable \$srcfile for the compiler.
26538
 
fix_srcfile_path=$lt_fix_srcfile_path
26539
 
 
26540
 
# Set to yes if exported symbols are required.
26541
 
always_export_symbols=$always_export_symbols_GCJ
26542
 
 
26543
 
# The commands to list exported symbols.
26544
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26545
 
 
26546
 
# The commands to extract the exported symbol list from a shared archive.
26547
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
26548
 
 
26549
 
# Symbols that should not be listed in the preloaded symbols.
26550
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
26551
 
 
26552
 
# Symbols that must always be exported.
26553
 
include_expsyms=$lt_include_expsyms_GCJ
26554
 
 
26555
 
# ### END LIBTOOL TAG CONFIG: $tagname
26556
 
 
26557
 
__EOF__
26558
 
 
26559
 
 
26560
 
else
26561
 
  # If there is no Makefile yet, we rely on a make rule to execute
26562
 
  # `config.status --recheck' to rerun these tests and create the
26563
 
  # libtool script then.
26564
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26565
 
  if test -f "$ltmain_in"; then
26566
 
    test -f Makefile && make "$ltmain"
26567
 
  fi
26568
 
fi
26569
 
 
26570
 
 
26571
 
ac_ext=c
26572
 
ac_cpp='$CPP $CPPFLAGS'
26573
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26574
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26575
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
26576
 
 
26577
 
CC="$lt_save_CC"
26578
 
 
26579
 
        else
26580
 
          tagname=""
26581
 
        fi
26582
 
        ;;
26583
 
 
26584
 
      RC)
26585
 
 
26586
 
 
26587
 
# Source file extension for RC test sources.
26588
 
ac_ext=rc
26589
 
 
26590
 
# Object file extension for compiled RC test sources.
26591
 
objext=o
26592
 
objext_RC=$objext
26593
 
 
26594
 
# Code to be used in simple compile tests
26595
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
26596
 
 
26597
 
# Code to be used in simple link tests
26598
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
26599
 
 
26600
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
26601
 
 
26602
 
# If no C compiler was specified, use CC.
26603
 
LTCC=${LTCC-"$CC"}
26604
 
 
26605
 
# If no C compiler flags were specified, use CFLAGS.
26606
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
26607
 
 
26608
 
# Allow CC to be a program name with arguments.
26609
 
compiler=$CC
26610
 
 
26611
 
 
26612
 
# save warnings/boilerplate of simple test code
26613
 
ac_outfile=conftest.$ac_objext
26614
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
26615
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26616
 
_lt_compiler_boilerplate=`cat conftest.err`
26617
 
$rm conftest*
26618
 
 
26619
 
ac_outfile=conftest.$ac_objext
26620
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
26621
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26622
 
_lt_linker_boilerplate=`cat conftest.err`
26623
 
$rm -r conftest*
26624
 
 
26625
 
 
26626
 
# Allow CC to be a program name with arguments.
26627
 
lt_save_CC="$CC"
26628
 
CC=${RC-"windres"}
26629
 
compiler=$CC
26630
 
compiler_RC=$CC
26631
 
for cc_temp in $compiler""; do
26632
 
  case $cc_temp in
26633
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26634
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26635
 
    \-*) ;;
26636
 
    *) break;;
26637
 
  esac
26638
 
done
26639
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26640
 
 
26641
 
lt_cv_prog_compiler_c_o_RC=yes
26642
 
 
26643
 
# The else clause should only fire when bootstrapping the
26644
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
26645
 
# with your package, and you will get complaints that there are
26646
 
# no rules to generate ltmain.sh.
26647
 
if test -f "$ltmain"; then
26648
 
  # See if we are running on zsh, and set the options which allow our commands through
26649
 
  # without removal of \ escapes.
26650
 
  if test -n "${ZSH_VERSION+set}" ; then
26651
 
    setopt NO_GLOB_SUBST
26652
 
  fi
26653
 
  # Now quote all the things that may contain metacharacters while being
26654
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
26655
 
  # variables and quote the copies for generation of the libtool script.
26656
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26657
 
    SED SHELL STRIP \
26658
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26659
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26660
 
    deplibs_check_method reload_flag reload_cmds need_locks \
26661
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26662
 
    lt_cv_sys_global_symbol_to_c_name_address \
26663
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26664
 
    old_postinstall_cmds old_postuninstall_cmds \
26665
 
    compiler_RC \
26666
 
    CC_RC \
26667
 
    LD_RC \
26668
 
    lt_prog_compiler_wl_RC \
26669
 
    lt_prog_compiler_pic_RC \
26670
 
    lt_prog_compiler_static_RC \
26671
 
    lt_prog_compiler_no_builtin_flag_RC \
26672
 
    export_dynamic_flag_spec_RC \
26673
 
    thread_safe_flag_spec_RC \
26674
 
    whole_archive_flag_spec_RC \
26675
 
    enable_shared_with_static_runtimes_RC \
26676
 
    old_archive_cmds_RC \
26677
 
    old_archive_from_new_cmds_RC \
26678
 
    predep_objects_RC \
26679
 
    postdep_objects_RC \
26680
 
    predeps_RC \
26681
 
    postdeps_RC \
26682
 
    compiler_lib_search_path_RC \
26683
 
    compiler_lib_search_dirs_RC \
26684
 
    archive_cmds_RC \
26685
 
    archive_expsym_cmds_RC \
26686
 
    postinstall_cmds_RC \
26687
 
    postuninstall_cmds_RC \
26688
 
    old_archive_from_expsyms_cmds_RC \
26689
 
    allow_undefined_flag_RC \
26690
 
    no_undefined_flag_RC \
26691
 
    export_symbols_cmds_RC \
26692
 
    hardcode_libdir_flag_spec_RC \
26693
 
    hardcode_libdir_flag_spec_ld_RC \
26694
 
    hardcode_libdir_separator_RC \
26695
 
    hardcode_automatic_RC \
26696
 
    module_cmds_RC \
26697
 
    module_expsym_cmds_RC \
26698
 
    lt_cv_prog_compiler_c_o_RC \
26699
 
    fix_srcfile_path_RC \
26700
 
    exclude_expsyms_RC \
26701
 
    include_expsyms_RC; do
26702
 
 
26703
 
    case $var in
26704
 
    old_archive_cmds_RC | \
26705
 
    old_archive_from_new_cmds_RC | \
26706
 
    archive_cmds_RC | \
26707
 
    archive_expsym_cmds_RC | \
26708
 
    module_cmds_RC | \
26709
 
    module_expsym_cmds_RC | \
26710
 
    old_archive_from_expsyms_cmds_RC | \
26711
 
    export_symbols_cmds_RC | \
26712
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
26713
 
    postinstall_cmds | postuninstall_cmds | \
26714
 
    old_postinstall_cmds | old_postuninstall_cmds | \
26715
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
26716
 
      # Double-quote double-evaled strings.
26717
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26718
 
      ;;
26719
 
    *)
26720
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26721
 
      ;;
26722
 
    esac
26723
 
  done
26724
 
 
26725
 
  case $lt_echo in
26726
 
  *'\$0 --fallback-echo"')
26727
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26728
 
    ;;
26729
 
  esac
26730
 
 
26731
 
cfgfile="$ofile"
26732
 
 
26733
 
  cat <<__EOF__ >> "$cfgfile"
26734
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
26735
 
 
26736
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26737
 
 
26738
 
# Shell to use when invoking shell scripts.
26739
 
SHELL=$lt_SHELL
26740
 
 
26741
 
# Whether or not to build shared libraries.
26742
 
build_libtool_libs=$enable_shared
26743
 
 
26744
 
# Whether or not to build static libraries.
26745
 
build_old_libs=$enable_static
26746
 
 
26747
 
# Whether or not to add -lc for building shared libraries.
26748
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
26749
 
 
26750
 
# Whether or not to disallow shared libs when runtime libs are static
26751
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26752
 
 
26753
 
# Whether or not to optimize for fast installation.
26754
 
fast_install=$enable_fast_install
26755
 
 
26756
 
# The host system.
26757
 
host_alias=$host_alias
26758
 
host=$host
26759
 
host_os=$host_os
26760
 
 
26761
 
# The build system.
26762
 
build_alias=$build_alias
26763
 
build=$build
26764
 
build_os=$build_os
26765
 
 
26766
 
# An echo program that does not interpret backslashes.
26767
 
echo=$lt_echo
26768
 
 
26769
 
# The archiver.
26770
 
AR=$lt_AR
26771
 
AR_FLAGS=$lt_AR_FLAGS
26772
 
 
26773
 
# A C compiler.
26774
 
LTCC=$lt_LTCC
26775
 
 
26776
 
# LTCC compiler flags.
26777
 
LTCFLAGS=$lt_LTCFLAGS
26778
 
 
26779
 
# A language-specific compiler.
26780
 
CC=$lt_compiler_RC
26781
 
 
26782
 
# Is the compiler the GNU C compiler?
26783
 
with_gcc=$GCC_RC
26784
 
 
26785
 
# An ERE matcher.
26786
 
EGREP=$lt_EGREP
26787
 
 
26788
 
# The linker used to build libraries.
26789
 
LD=$lt_LD_RC
26790
 
 
26791
 
# Whether we need hard or soft links.
26792
 
LN_S=$lt_LN_S
26793
 
 
26794
 
# A BSD-compatible nm program.
26795
 
NM=$lt_NM
26796
 
 
26797
 
# A symbol stripping program
26798
 
STRIP=$lt_STRIP
26799
 
 
26800
 
# Used to examine libraries when file_magic_cmd begins "file"
26801
 
MAGIC_CMD=$MAGIC_CMD
26802
 
 
26803
 
# Used on cygwin: DLL creation program.
26804
 
DLLTOOL="$DLLTOOL"
26805
 
 
26806
 
# Used on cygwin: object dumper.
26807
 
OBJDUMP="$OBJDUMP"
26808
 
 
26809
 
# Used on cygwin: assembler.
26810
 
AS="$AS"
26811
 
 
26812
 
# The name of the directory that contains temporary libtool files.
26813
 
objdir=$objdir
26814
 
 
26815
 
# How to create reloadable object files.
26816
 
reload_flag=$lt_reload_flag
26817
 
reload_cmds=$lt_reload_cmds
26818
 
 
26819
 
# How to pass a linker flag through the compiler.
26820
 
wl=$lt_lt_prog_compiler_wl_RC
26821
 
 
26822
 
# Object file suffix (normally "o").
26823
 
objext="$ac_objext"
26824
 
 
26825
 
# Old archive suffix (normally "a").
26826
 
libext="$libext"
26827
 
 
26828
 
# Shared library suffix (normally ".so").
26829
 
shrext_cmds='$shrext_cmds'
26830
 
 
26831
 
# Executable file suffix (normally "").
26832
 
exeext="$exeext"
26833
 
 
26834
 
# Additional compiler flags for building library objects.
26835
 
pic_flag=$lt_lt_prog_compiler_pic_RC
26836
 
pic_mode=$pic_mode
26837
 
 
26838
 
# What is the maximum length of a command?
26839
 
max_cmd_len=$lt_cv_sys_max_cmd_len
26840
 
 
26841
 
# Does compiler simultaneously support -c and -o options?
26842
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26843
 
 
26844
 
# Must we lock files when doing compilation?
26845
 
need_locks=$lt_need_locks
26846
 
 
26847
 
# Do we need the lib prefix for modules?
26848
 
need_lib_prefix=$need_lib_prefix
26849
 
 
26850
 
# Do we need a version for libraries?
26851
 
need_version=$need_version
26852
 
 
26853
 
# Whether dlopen is supported.
26854
 
dlopen_support=$enable_dlopen
26855
 
 
26856
 
# Whether dlopen of programs is supported.
26857
 
dlopen_self=$enable_dlopen_self
26858
 
 
26859
 
# Whether dlopen of statically linked programs is supported.
26860
 
dlopen_self_static=$enable_dlopen_self_static
26861
 
 
26862
 
# Compiler flag to prevent dynamic linking.
26863
 
link_static_flag=$lt_lt_prog_compiler_static_RC
26864
 
 
26865
 
# Compiler flag to turn off builtin functions.
26866
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26867
 
 
26868
 
# Compiler flag to allow reflexive dlopens.
26869
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26870
 
 
26871
 
# Compiler flag to generate shared objects directly from archives.
26872
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26873
 
 
26874
 
# Compiler flag to generate thread-safe objects.
26875
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26876
 
 
26877
 
# Library versioning type.
26878
 
version_type=$version_type
26879
 
 
26880
 
# Format of library name prefix.
26881
 
libname_spec=$lt_libname_spec
26882
 
 
26883
 
# List of archive names.  First name is the real one, the rest are links.
26884
 
# The last name is the one that the linker finds with -lNAME.
26885
 
library_names_spec=$lt_library_names_spec
26886
 
 
26887
 
# The coded name of the library, if different from the real name.
26888
 
soname_spec=$lt_soname_spec
26889
 
 
26890
 
# Commands used to build and install an old-style archive.
26891
 
RANLIB=$lt_RANLIB
26892
 
old_archive_cmds=$lt_old_archive_cmds_RC
26893
 
old_postinstall_cmds=$lt_old_postinstall_cmds
26894
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
26895
 
 
26896
 
# Create an old-style archive from a shared archive.
26897
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26898
 
 
26899
 
# Create a temporary old-style archive to link instead of a shared archive.
26900
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26901
 
 
26902
 
# Commands used to build and install a shared archive.
26903
 
archive_cmds=$lt_archive_cmds_RC
26904
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26905
 
postinstall_cmds=$lt_postinstall_cmds
26906
 
postuninstall_cmds=$lt_postuninstall_cmds
26907
 
 
26908
 
# Commands used to build a loadable module (assumed same as above if empty)
26909
 
module_cmds=$lt_module_cmds_RC
26910
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
26911
 
 
26912
 
# Commands to strip libraries.
26913
 
old_striplib=$lt_old_striplib
26914
 
striplib=$lt_striplib
26915
 
 
26916
 
# Dependencies to place before the objects being linked to create a
26917
 
# shared library.
26918
 
predep_objects=$lt_predep_objects_RC
26919
 
 
26920
 
# Dependencies to place after the objects being linked to create a
26921
 
# shared library.
26922
 
postdep_objects=$lt_postdep_objects_RC
26923
 
 
26924
 
# Dependencies to place before the objects being linked to create a
26925
 
# shared library.
26926
 
predeps=$lt_predeps_RC
26927
 
 
26928
 
# Dependencies to place after the objects being linked to create a
26929
 
# shared library.
26930
 
postdeps=$lt_postdeps_RC
26931
 
 
26932
 
# The directories searched by this compiler when creating a shared
26933
 
# library
26934
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
26935
 
 
26936
 
# The library search path used internally by the compiler when linking
26937
 
# a shared library.
26938
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26939
 
 
26940
 
# Method to check whether dependent libraries are shared objects.
26941
 
deplibs_check_method=$lt_deplibs_check_method
26942
 
 
26943
 
# Command to use when deplibs_check_method == file_magic.
26944
 
file_magic_cmd=$lt_file_magic_cmd
26945
 
 
26946
 
# Flag that allows shared libraries with undefined symbols to be built.
26947
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
26948
 
 
26949
 
# Flag that forces no undefined symbols.
26950
 
no_undefined_flag=$lt_no_undefined_flag_RC
26951
 
 
26952
 
# Commands used to finish a libtool library installation in a directory.
26953
 
finish_cmds=$lt_finish_cmds
26954
 
 
26955
 
# Same as above, but a single script fragment to be evaled but not shown.
26956
 
finish_eval=$lt_finish_eval
26957
 
 
26958
 
# Take the output of nm and produce a listing of raw symbols and C names.
26959
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26960
 
 
26961
 
# Transform the output of nm in a proper C declaration
26962
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26963
 
 
26964
 
# Transform the output of nm in a C name address pair
26965
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26966
 
 
26967
 
# This is the shared library runtime path variable.
26968
 
runpath_var=$runpath_var
26969
 
 
26970
 
# This is the shared library path variable.
26971
 
shlibpath_var=$shlibpath_var
26972
 
 
26973
 
# Is shlibpath searched before the hard-coded library search path?
26974
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26975
 
 
26976
 
# How to hardcode a shared library path into an executable.
26977
 
hardcode_action=$hardcode_action_RC
26978
 
 
26979
 
# Whether we should hardcode library paths into libraries.
26980
 
hardcode_into_libs=$hardcode_into_libs
26981
 
 
26982
 
# Flag to hardcode \$libdir into a binary during linking.
26983
 
# This must work even if \$libdir does not exist.
26984
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26985
 
 
26986
 
# If ld is used when linking, flag to hardcode \$libdir into
26987
 
# a binary during linking. This must work even if \$libdir does
26988
 
# not exist.
26989
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26990
 
 
26991
 
# Whether we need a single -rpath flag with a separated argument.
26992
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26993
 
 
26994
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26995
 
# resulting binary.
26996
 
hardcode_direct=$hardcode_direct_RC
26997
 
 
26998
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26999
 
# resulting binary.
27000
 
hardcode_minus_L=$hardcode_minus_L_RC
27001
 
 
27002
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
27003
 
# the resulting binary.
27004
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
27005
 
 
27006
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
27007
 
# and all subsequent libraries and executables linked against it.
27008
 
hardcode_automatic=$hardcode_automatic_RC
27009
 
 
27010
 
# Variables whose values should be saved in libtool wrapper scripts and
27011
 
# restored at relink time.
27012
 
variables_saved_for_relink="$variables_saved_for_relink"
27013
 
 
27014
 
# Whether libtool must link a program against all its dependency libraries.
27015
 
link_all_deplibs=$link_all_deplibs_RC
27016
 
 
27017
 
# Compile-time system search path for libraries
27018
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27019
 
 
27020
 
# Run-time system search path for libraries
27021
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27022
 
 
27023
 
# Fix the shell variable \$srcfile for the compiler.
27024
 
fix_srcfile_path=$lt_fix_srcfile_path
27025
 
 
27026
 
# Set to yes if exported symbols are required.
27027
 
always_export_symbols=$always_export_symbols_RC
27028
 
 
27029
 
# The commands to list exported symbols.
27030
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
27031
 
 
27032
 
# The commands to extract the exported symbol list from a shared archive.
27033
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
27034
 
 
27035
 
# Symbols that should not be listed in the preloaded symbols.
27036
 
exclude_expsyms=$lt_exclude_expsyms_RC
27037
 
 
27038
 
# Symbols that must always be exported.
27039
 
include_expsyms=$lt_include_expsyms_RC
27040
 
 
27041
 
# ### END LIBTOOL TAG CONFIG: $tagname
27042
 
 
27043
 
__EOF__
27044
 
 
27045
 
 
27046
 
else
27047
 
  # If there is no Makefile yet, we rely on a make rule to execute
27048
 
  # `config.status --recheck' to rerun these tests and create the
27049
 
  # libtool script then.
27050
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
27051
 
  if test -f "$ltmain_in"; then
27052
 
    test -f Makefile && make "$ltmain"
27053
 
  fi
27054
 
fi
27055
 
 
27056
 
 
27057
 
ac_ext=c
27058
 
ac_cpp='$CPP $CPPFLAGS'
27059
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27060
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27061
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
27062
 
 
27063
 
CC="$lt_save_CC"
27064
 
 
27065
 
        ;;
27066
 
 
27067
 
      *)
27068
 
        { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
27069
 
$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27070
 
   { (exit 1); exit 1; }; }
27071
 
        ;;
27072
 
      esac
27073
 
 
27074
 
      # Append the new tag name to the list of available tags.
27075
 
      if test -n "$tagname" ; then
27076
 
      available_tags="$available_tags $tagname"
27077
 
    fi
27078
 
    fi
27079
 
  done
27080
 
  IFS="$lt_save_ifs"
27081
 
 
27082
 
  # Now substitute the updated list of available tags.
27083
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
27084
 
    mv "${ofile}T" "$ofile"
27085
 
    chmod +x "$ofile"
27086
 
  else
27087
 
    rm -f "${ofile}T"
27088
 
    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
27089
 
$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
27090
 
   { (exit 1); exit 1; }; }
27091
 
  fi
27092
 
fi
27093
 
 
27094
 
 
27095
 
 
27096
 
# This can be used to rebuild libtool when needed
27097
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
27098
 
 
27099
 
# Always use our own libtool.
27100
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
27101
 
 
27102
 
# Prevent multiple expansion
27103
 
 
27104
 
 
27105
 
 
27106
 
 
27107
 
 
27108
 
 
27109
 
 
27110
 
 
27111
 
 
27112
 
 
27113
 
 
27114
 
 
27115
 
 
27116
 
 
27117
 
 
27118
 
 
27119
 
 
27120
 
 
 
18756
 
 
18757
 
 
18758
 
 
18759
 
 
18760
 
 
18761
 
 
18762
 
 
18763
 
 
18764
 
 
18765
 
 
18766
 
 
18767
 
 
18768
 
 
18769
 
 
18770
 
 
18771
striplib=
 
18772
old_striplib=
 
18773
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
18774
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
18775
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
18776
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
18777
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
18778
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
18779
$as_echo "yes" >&6; }
 
18780
else
 
18781
# FIXME - insert some real tests, host_os isn't really good enough
 
18782
  case $host_os in
 
18783
  darwin*)
 
18784
    if test -n "$STRIP" ; then
 
18785
      striplib="$STRIP -x"
 
18786
      old_striplib="$STRIP -S"
 
18787
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
18788
$as_echo "yes" >&6; }
 
18789
    else
 
18790
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
18791
$as_echo "no" >&6; }
 
18792
    fi
 
18793
    ;;
 
18794
  *)
 
18795
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
18796
$as_echo "no" >&6; }
 
18797
    ;;
 
18798
  esac
 
18799
fi
 
18800
 
 
18801
 
 
18802
 
 
18803
 
 
18804
 
 
18805
 
 
18806
 
 
18807
 
 
18808
 
 
18809
 
 
18810
 
 
18811
 
 
18812
  # Report which library types will actually be built
 
18813
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
18814
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
18815
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
18816
$as_echo "$can_build_shared" >&6; }
 
18817
 
 
18818
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
18819
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
18820
  test "$can_build_shared" = "no" && enable_shared=no
 
18821
 
 
18822
  # On AIX, shared libraries and static libraries use the same namespace, and
 
18823
  # are all built from PIC.
 
18824
  case $host_os in
 
18825
  aix3*)
 
18826
    test "$enable_shared" = yes && enable_static=no
 
18827
    if test -n "$RANLIB"; then
 
18828
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
18829
      postinstall_cmds='$RANLIB $lib'
 
18830
    fi
 
18831
    ;;
 
18832
 
 
18833
  aix[4-9]*)
 
18834
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
18835
      test "$enable_shared" = yes && enable_static=no
 
18836
    fi
 
18837
    ;;
 
18838
  esac
 
18839
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
18840
$as_echo "$enable_shared" >&6; }
 
18841
 
 
18842
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
18843
$as_echo_n "checking whether to build static libraries... " >&6; }
 
18844
  # Make sure either enable_shared or enable_static is yes.
 
18845
  test "$enable_shared" = yes || enable_static=yes
 
18846
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
18847
$as_echo "$enable_static" >&6; }
 
18848
 
 
18849
 
 
18850
 
 
18851
 
 
18852
fi
 
18853
ac_ext=c
 
18854
ac_cpp='$CPP $CPPFLAGS'
 
18855
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
18856
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
18857
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
18858
 
 
18859
CC="$lt_save_CC"
 
18860
 
 
18861
 
 
18862
 
 
18863
 
 
18864
 
 
18865
 
 
18866
 
 
18867
 
 
18868
 
 
18869
 
 
18870
 
 
18871
 
 
18872
 
 
18873
        ac_config_commands="$ac_config_commands libtool"
 
18874
 
 
18875
 
 
18876
 
 
18877
 
 
18878
# Only expand once:
27121
18879
 
27122
18880
 
27123
18881
if test "x$CC" != xcc; then
27389
19147
" >&2;}
27390
19148
   { (exit 1); exit 1; }; }
27391
19149
elif test $pkg_failed = untried; then
27392
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
19150
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
19151
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
19152
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
27393
19153
is in your PATH or set the PKG_CONFIG environment variable to the full
27394
19154
path to pkg-config.
27395
19155
 
27409
19169
 
27410
19170
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27411
19171
See \`config.log' for more details." >&2;}
27412
 
   { (exit 1); exit 1; }; }
 
19172
   { (exit 1); exit 1; }; }; }
27413
19173
else
27414
19174
        VUMETER_CFLAGS=$pkg_cv_VUMETER_CFLAGS
27415
19175
        VUMETER_LIBS=$pkg_cv_VUMETER_LIBS
27542
19302
" >&2;}
27543
19303
   { (exit 1); exit 1; }; }
27544
19304
elif test $pkg_failed = untried; then
27545
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
19305
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
19306
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
19307
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
27546
19308
is in your PATH or set the PKG_CONFIG environment variable to the full
27547
19309
path to pkg-config.
27548
19310
 
27562
19324
 
27563
19325
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27564
19326
See \`config.log' for more details." >&2;}
27565
 
   { (exit 1); exit 1; }; }
 
19327
   { (exit 1); exit 1; }; }; }
27566
19328
else
27567
19329
        LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
27568
19330
        LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
27694
19456
" >&2;}
27695
19457
   { (exit 1); exit 1; }; }
27696
19458
elif test $pkg_failed = untried; then
27697
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
19459
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
19460
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
19461
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
27698
19462
is in your PATH or set the PKG_CONFIG environment variable to the full
27699
19463
path to pkg-config.
27700
19464
 
27714
19478
 
27715
19479
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27716
19480
See \`config.log' for more details." >&2;}
27717
 
   { (exit 1); exit 1; }; }
 
19481
   { (exit 1); exit 1; }; }; }
27718
19482
else
27719
19483
        GNOMECD_CFLAGS=$pkg_cv_GNOMECD_CFLAGS
27720
19484
        GNOMECD_LIBS=$pkg_cv_GNOMECD_LIBS
27827
19591
" >&2;}
27828
19592
   { (exit 1); exit 1; }; }
27829
19593
elif test $pkg_failed = untried; then
27830
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
19594
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
19595
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
19596
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
27831
19597
is in your PATH or set the PKG_CONFIG environment variable to the full
27832
19598
path to pkg-config.
27833
19599
 
27847
19613
 
27848
19614
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27849
19615
See \`config.log' for more details." >&2;}
27850
 
   { (exit 1); exit 1; }; }
 
19616
   { (exit 1); exit 1; }; }; }
27851
19617
else
27852
19618
        GNOMECD_CFLAGS=$pkg_cv_GNOMECD_CFLAGS
27853
19619
        GNOMECD_LIBS=$pkg_cv_GNOMECD_LIBS
28014
19780
$as_echo "$ac_res" >&6; }
28015
19781
 
28016
19782
fi
28017
 
if test `eval 'as_val=${'$as_ac_Header'}
28018
 
                 $as_echo "$as_val"'` = yes; then
 
19783
as_val=`eval 'as_val=${'$as_ac_Header'}
 
19784
                 $as_echo "$as_val"'`
 
19785
   if test "x$as_val" = x""yes; then
28019
19786
  cat >>confdefs.h <<_ACEOF
28020
19787
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28021
19788
_ACEOF
28166
19933
$as_echo "$ac_res" >&6; }
28167
19934
 
28168
19935
fi
28169
 
if test `eval 'as_val=${'$as_ac_Header'}
28170
 
                 $as_echo "$as_val"'` = yes; then
 
19936
as_val=`eval 'as_val=${'$as_ac_Header'}
 
19937
                 $as_echo "$as_val"'`
 
19938
   if test "x$as_val" = x""yes; then
28171
19939
  cat >>confdefs.h <<_ACEOF
28172
19940
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28173
19941
_ACEOF
28317
20085
$as_echo "$ac_res" >&6; }
28318
20086
 
28319
20087
fi
28320
 
if test `eval 'as_val=${'$as_ac_Header'}
28321
 
                 $as_echo "$as_val"'` = yes; then
 
20088
as_val=`eval 'as_val=${'$as_ac_Header'}
 
20089
                 $as_echo "$as_val"'`
 
20090
   if test "x$as_val" = x""yes; then
28322
20091
  cat >>confdefs.h <<_ACEOF
28323
20092
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28324
20093
_ACEOF
28469
20238
$as_echo "$ac_res" >&6; }
28470
20239
 
28471
20240
fi
28472
 
if test `eval 'as_val=${'$as_ac_Header'}
28473
 
                 $as_echo "$as_val"'` = yes; then
 
20241
as_val=`eval 'as_val=${'$as_ac_Header'}
 
20242
                 $as_echo "$as_val"'`
 
20243
   if test "x$as_val" = x""yes; then
28474
20244
  cat >>confdefs.h <<_ACEOF
28475
20245
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28476
20246
_ACEOF
28601
20371
        pkg_cv_GAILUTIL_CFLAGS="$GAILUTIL_CFLAGS"
28602
20372
    else
28603
20373
        if test -n "$PKG_CONFIG" && \
28604
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gail >= 0.0.3\"") >&5
28605
 
  ($PKG_CONFIG --exists --print-errors "gail >= 0.0.3") 2>&5
 
20374
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gail >= 0.0.3
 
20375
        libbonobo-2.0 >= 2.0.0
 
20376
        gconf-2.0\"") >&5
 
20377
  ($PKG_CONFIG --exists --print-errors "gail >= 0.0.3
 
20378
        libbonobo-2.0 >= 2.0.0
 
20379
        gconf-2.0") 2>&5
28606
20380
  ac_status=$?
28607
20381
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608
20382
  (exit $ac_status); }; then
28609
 
  pkg_cv_GAILUTIL_CFLAGS=`$PKG_CONFIG --cflags "gail >= 0.0.3" 2>/dev/null`
 
20383
  pkg_cv_GAILUTIL_CFLAGS=`$PKG_CONFIG --cflags "gail >= 0.0.3
 
20384
        libbonobo-2.0 >= 2.0.0
 
20385
        gconf-2.0" 2>/dev/null`
28610
20386
else
28611
20387
  pkg_failed=yes
28612
20388
fi
28619
20395
        pkg_cv_GAILUTIL_LIBS="$GAILUTIL_LIBS"
28620
20396
    else
28621
20397
        if test -n "$PKG_CONFIG" && \
28622
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gail >= 0.0.3\"") >&5
28623
 
  ($PKG_CONFIG --exists --print-errors "gail >= 0.0.3") 2>&5
 
20398
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gail >= 0.0.3
 
20399
        libbonobo-2.0 >= 2.0.0
 
20400
        gconf-2.0\"") >&5
 
20401
  ($PKG_CONFIG --exists --print-errors "gail >= 0.0.3
 
20402
        libbonobo-2.0 >= 2.0.0
 
20403
        gconf-2.0") 2>&5
28624
20404
  ac_status=$?
28625
20405
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626
20406
  (exit $ac_status); }; then
28627
 
  pkg_cv_GAILUTIL_LIBS=`$PKG_CONFIG --libs "gail >= 0.0.3" 2>/dev/null`
 
20407
  pkg_cv_GAILUTIL_LIBS=`$PKG_CONFIG --libs "gail >= 0.0.3
 
20408
        libbonobo-2.0 >= 2.0.0
 
20409
        gconf-2.0" 2>/dev/null`
28628
20410
else
28629
20411
  pkg_failed=yes
28630
20412
fi
28643
20425
        _pkg_short_errors_supported=no
28644
20426
fi
28645
20427
        if test $_pkg_short_errors_supported = yes; then
28646
 
                GAILUTIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gail >= 0.0.3"`
 
20428
                GAILUTIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gail >= 0.0.3
 
20429
        libbonobo-2.0 >= 2.0.0
 
20430
        gconf-2.0"`
28647
20431
        else
28648
 
                GAILUTIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gail >= 0.0.3"`
 
20432
                GAILUTIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gail >= 0.0.3
 
20433
        libbonobo-2.0 >= 2.0.0
 
20434
        gconf-2.0"`
28649
20435
        fi
28650
20436
        # Put the nasty error message in config.log where it belongs
28651
20437
        echo "$GAILUTIL_PKG_ERRORS" >&5
28652
20438
 
28653
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gail >= 0.0.3) were not met:
 
20439
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gail >= 0.0.3
 
20440
        libbonobo-2.0 >= 2.0.0
 
20441
        gconf-2.0) were not met:
28654
20442
 
28655
20443
$GAILUTIL_PKG_ERRORS
28656
20444
 
28661
20449
and GAILUTIL_LIBS to avoid the need to call pkg-config.
28662
20450
See the pkg-config man page for more details.
28663
20451
" >&5
28664
 
$as_echo "$as_me: error: Package requirements (gail >= 0.0.3) were not met:
 
20452
$as_echo "$as_me: error: Package requirements (gail >= 0.0.3
 
20453
        libbonobo-2.0 >= 2.0.0
 
20454
        gconf-2.0) were not met:
28665
20455
 
28666
20456
$GAILUTIL_PKG_ERRORS
28667
20457
 
28674
20464
" >&2;}
28675
20465
   { (exit 1); exit 1; }; }
28676
20466
elif test $pkg_failed = untried; then
28677
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
20467
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
20468
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
20469
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
28678
20470
is in your PATH or set the PKG_CONFIG environment variable to the full
28679
20471
path to pkg-config.
28680
20472
 
28694
20486
 
28695
20487
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28696
20488
See \`config.log' for more details." >&2;}
28697
 
   { (exit 1); exit 1; }; }
 
20489
   { (exit 1); exit 1; }; }; }
28698
20490
else
28699
20491
        GAILUTIL_CFLAGS=$pkg_cv_GAILUTIL_CFLAGS
28700
20492
        GAILUTIL_LIBS=$pkg_cv_GAILUTIL_LIBS
28887
20679
" >&2;}
28888
20680
   { (exit 1); exit 1; }; }
28889
20681
elif test $pkg_failed = untried; then
28890
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
20682
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
20683
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
20684
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
28891
20685
is in your PATH or set the PKG_CONFIG environment variable to the full
28892
20686
path to pkg-config.
28893
20687
 
28907
20701
 
28908
20702
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28909
20703
See \`config.log' for more details." >&2;}
28910
 
   { (exit 1); exit 1; }; }
 
20704
   { (exit 1); exit 1; }; }; }
28911
20705
else
28912
20706
        GSTPROPS_CFLAGS=$pkg_cv_GSTPROPS_CFLAGS
28913
20707
        GSTPROPS_LIBS=$pkg_cv_GSTPROPS_LIBS
28972
20766
if test "${enable_gstmix+set}" = set; then
28973
20767
  enableval=$enable_gstmix;
28974
20768
else
 
20769
  enable_gstmix=auto
 
20770
fi
 
20771
 
 
20772
 
 
20773
if test "x$enable_gstmix" = "xauto" && test "x$have_pulseaudio" = "xno"; then
28975
20774
  enable_gstmix=yes
28976
20775
fi
28977
20776
 
28978
 
 
28979
20777
if test "x$have_gst" = "xyes" && test "x$enable_gstmix" = "xyes";
28980
20778
then
28981
20779
 
29121
20919
" >&2;}
29122
20920
   { (exit 1); exit 1; }; }
29123
20921
elif test $pkg_failed = untried; then
29124
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
20922
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
20923
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
20924
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
29125
20925
is in your PATH or set the PKG_CONFIG environment variable to the full
29126
20926
path to pkg-config.
29127
20927
 
29141
20941
 
29142
20942
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
29143
20943
See \`config.log' for more details." >&2;}
29144
 
   { (exit 1); exit 1; }; }
 
20944
   { (exit 1); exit 1; }; }; }
29145
20945
else
29146
20946
        GSTMIXER_CFLAGS=$pkg_cv_GSTMIXER_CFLAGS
29147
20947
        GSTMIXER_LIBS=$pkg_cv_GSTMIXER_LIBS
29283
21083
$as_echo "$ac_cv_header_gst_audio_mixerutils_h" >&6; }
29284
21084
 
29285
21085
fi
29286
 
if test $ac_cv_header_gst_audio_mixerutils_h = yes; then
 
21086
if test "x$ac_cv_header_gst_audio_mixerutils_h" = x""yes; then
29287
21087
  if test "${ac_cv_header_gst_interfaces_mixer_h+set}" = set; then
29288
21088
  { $as_echo "$as_me:$LINENO: checking for gst/interfaces/mixer.h" >&5
29289
21089
$as_echo_n "checking for gst/interfaces/mixer.h... " >&6; }
29416
21216
$as_echo "$ac_cv_header_gst_interfaces_mixer_h" >&6; }
29417
21217
 
29418
21218
fi
29419
 
if test $ac_cv_header_gst_interfaces_mixer_h = yes; then
 
21219
if test "x$ac_cv_header_gst_interfaces_mixer_h" = x""yes; then
29420
21220
  if test "${ac_cv_header_gst_interfaces_propertyprobe_h+set}" = set; then
29421
21221
  { $as_echo "$as_me:$LINENO: checking for gst/interfaces/propertyprobe.h" >&5
29422
21222
$as_echo_n "checking for gst/interfaces/propertyprobe.h... " >&6; }
29549
21349
$as_echo "$ac_cv_header_gst_interfaces_propertyprobe_h" >&6; }
29550
21350
 
29551
21351
fi
29552
 
if test $ac_cv_header_gst_interfaces_propertyprobe_h = yes; then
 
21352
if test "x$ac_cv_header_gst_interfaces_propertyprobe_h" = x""yes; then
29553
21353
  have_gstmixer=yes
29554
21354
fi
29555
21355
 
29579
21379
 
29580
21380
 
29581
21381
 
29582
 
CFLAGS="$CFLAGS $WARN_CFLAGS"
29583
 
 
29584
 
 
29585
 
 
29586
 
 
29587
 
 
29588
 
ac_config_files="$ac_config_files Makefile po/Makefile.in vu-meter/Makefile cddb-slave2/Makefile gnome-cd/Makefile gnome-cd/gnome-cd.schemas.in gnome-cd/images/Makefile gnome-cd/images/None/Makefile gnome-cd/images/lcd/Makefile gnome-cd/images/red-lcd/Makefile gnome-cd/images/media/Makefile gnome-cd/access/Makefile gnome-cd/doc/Makefile grecord/Makefile grecord/gnome-sound-recorder.schemas.in grecord/src/Makefile grecord/doc/Makefile grecord/icons/Makefile grecord/icons/16x16/Makefile grecord/icons/22x22/Makefile grecord/icons/24x24/Makefile grecord/icons/32x32/Makefile grecord/icons/48x48/Makefile grecord/icons/scalable/Makefile gstreamer-properties/Makefile gstreamer-properties/help/Makefile gst-mixer/Makefile gst-mixer/icons/Makefile gst-mixer/icons/16x16/Makefile gst-mixer/icons/16x16/devices/Makefile gst-mixer/icons/16x16/status/Makefile gst-mixer/src/Makefile gst-mixer/pixmaps/Makefile gst-mixer/doc/Makefile profiles/Makefile profiles/gnome-audio-profiles.schemas.in profiles/gnome-media-profiles.pc profiles/glade/Makefile cddb-slave2/cddb-slave.desktop.in gnome-cd/gnome-cd.desktop.in grecord/gnome-sound-recorder.desktop.in gst-mixer/gnome-volume-control.desktop.in gstreamer-properties/gstreamer-properties.desktop.in vu-meter/reclevel.desktop.in vu-meter/vumeter.desktop.in"
 
21382
 
 
21383
# Turn on the additional warnings last, so warnings don't affect other tests.
 
21384
# Check whether --enable-more-warnings was given.
 
21385
if test "${enable_more_warnings+set}" = set; then
 
21386
  enableval=$enable_more_warnings; set_more_warnings="$enableval"
 
21387
else
 
21388
 
 
21389
                if test -d $srcdir/.svn; then
 
21390
                        set_more_warnings=yes
 
21391
                else
 
21392
                        set_more_warnings=no
 
21393
                fi
 
21394
 
 
21395
fi
 
21396
 
 
21397
{ $as_echo "$as_me:$LINENO: checking for more warnings" >&5
 
21398
$as_echo_n "checking for more warnings... " >&6; }
 
21399
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
 
21400
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
21401
$as_echo "yes" >&6; }
 
21402
        CFLAGS="\
 
21403
        -Wall \
 
21404
        -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
 
21405
        -Wnested-externs -Wpointer-arith \
 
21406
        -Wcast-align -Wsign-compare \
 
21407
        $CFLAGS"
 
21408
 
 
21409
        for option in -Wno-unused-parameter -Wno-strict-aliasing -Wno-sign-compare; do
 
21410
                SAVE_CFLAGS="$CFLAGS"
 
21411
                CFLAGS="$CFLAGS $option"
 
21412
                { $as_echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
 
21413
$as_echo_n "checking whether gcc understands $option... " >&6; }
 
21414
                cat >conftest.$ac_ext <<_ACEOF
 
21415
/* confdefs.h.  */
 
21416
_ACEOF
 
21417
cat confdefs.h >>conftest.$ac_ext
 
21418
cat >>conftest.$ac_ext <<_ACEOF
 
21419
/* end confdefs.h.  */
 
21420
 
 
21421
int
 
21422
main ()
 
21423
{
 
21424
 
 
21425
  ;
 
21426
  return 0;
 
21427
}
 
21428
_ACEOF
 
21429
rm -f conftest.$ac_objext
 
21430
if { (ac_try="$ac_compile"
 
21431
case "(($ac_try" in
 
21432
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21433
  *) ac_try_echo=$ac_try;;
 
21434
esac
 
21435
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21436
$as_echo "$ac_try_echo") >&5
 
21437
  (eval "$ac_compile") 2>conftest.er1
 
21438
  ac_status=$?
 
21439
  grep -v '^ *+' conftest.er1 >conftest.err
 
21440
  rm -f conftest.er1
 
21441
  cat conftest.err >&5
 
21442
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21443
  (exit $ac_status); } && {
 
21444
         test -z "$ac_c_werror_flag" ||
 
21445
         test ! -s conftest.err
 
21446
       } && test -s conftest.$ac_objext; then
 
21447
  has_option=yes
 
21448
else
 
21449
  $as_echo "$as_me: failed program was:" >&5
 
21450
sed 's/^/| /' conftest.$ac_ext >&5
 
21451
 
 
21452
        has_option=no
 
21453
fi
 
21454
 
 
21455
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21456
                if test $has_option = no; then
 
21457
                        CFLAGS="$SAVE_CFLAGS"
 
21458
                fi
 
21459
                { $as_echo "$as_me:$LINENO: result: $has_option" >&5
 
21460
$as_echo "$has_option" >&6; }
 
21461
                unset has_option
 
21462
                unset SAVE_CFLAGS
 
21463
        done
 
21464
        unset option
 
21465
else
 
21466
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
21467
$as_echo "no" >&6; }
 
21468
fi
 
21469
 
 
21470
 
 
21471
 
 
21472
 
 
21473
 
 
21474
 
 
21475
 
 
21476
ac_config_files="$ac_config_files Makefile po/Makefile.in sound-theme/Makefile sound-theme/sounds/Makefile gnome-volume-control/Makefile gnome-volume-control/data/Makefile gnome-volume-control/data/gnome-volume-control.desktop.in gnome-volume-control/data/icons/Makefile gnome-volume-control/data/icons/16x16/Makefile gnome-volume-control/data/icons/16x16/apps/Makefile gnome-volume-control/data/icons/16x16/status/Makefile gnome-volume-control/data/icons/22x22/Makefile gnome-volume-control/data/icons/22x22/apps/Makefile gnome-volume-control/data/icons/22x22/status/Makefile gnome-volume-control/data/icons/24x24/Makefile gnome-volume-control/data/icons/24x24/apps/Makefile gnome-volume-control/data/icons/24x24/status/Makefile gnome-volume-control/data/icons/32x32/Makefile gnome-volume-control/data/icons/32x32/apps/Makefile gnome-volume-control/data/icons/32x32/status/Makefile gnome-volume-control/data/icons/48x48/Makefile gnome-volume-control/data/icons/48x48/apps/Makefile gnome-volume-control/data/icons/scalable/Makefile gnome-volume-control/data/icons/scalable/apps/Makefile gnome-volume-control/data/icons/scalable/status/Makefile gnome-volume-control/src/Makefile vu-meter/Makefile cddb-slave2/Makefile gnome-cd/Makefile gnome-cd/gnome-cd.schemas.in gnome-cd/images/Makefile gnome-cd/images/None/Makefile gnome-cd/images/lcd/Makefile gnome-cd/images/red-lcd/Makefile gnome-cd/images/media/Makefile gnome-cd/access/Makefile gnome-cd/doc/Makefile grecord/Makefile grecord/gnome-sound-recorder.schemas.in grecord/src/Makefile grecord/doc/Makefile grecord/icons/Makefile grecord/icons/16x16/Makefile grecord/icons/22x22/Makefile grecord/icons/24x24/Makefile grecord/icons/32x32/Makefile grecord/icons/48x48/Makefile grecord/icons/scalable/Makefile gstreamer-properties/Makefile gstreamer-properties/help/Makefile gst-mixer/Makefile gst-mixer/icons/Makefile gst-mixer/icons/16x16/Makefile gst-mixer/icons/16x16/devices/Makefile gst-mixer/icons/16x16/status/Makefile gst-mixer/src/Makefile gst-mixer/pixmaps/Makefile gst-mixer/doc/Makefile profiles/Makefile profiles/gnome-audio-profiles.schemas.in profiles/gnome-media-profiles.pc profiles/glade/Makefile cddb-slave2/cddb-slave.desktop.in gnome-cd/gnome-cd.desktop.in grecord/gnome-sound-recorder.desktop.in gst-mixer/gnome-volume-control.desktop.in gstreamer-properties/gstreamer-properties.desktop.in vu-meter/reclevel.desktop.in vu-meter/vumeter.desktop.in"
29589
21477
 
29590
21478
 
29591
21479
cat >confcache <<\_ACEOF
29615
21503
    case $ac_val in #(
29616
21504
    *${as_nl}*)
29617
21505
      case $ac_var in #(
29618
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
29619
 
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
21506
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
21507
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
29620
21508
      esac
29621
21509
      case $ac_var in #(
29622
21510
      _ | IFS | as_nl) ;; #(
29717
21605
Usually this means the macro was only invoked conditionally." >&2;}
29718
21606
   { (exit 1); exit 1; }; }
29719
21607
fi
 
21608
if test -z "${HAVE_SOUND_THEME_TRUE}" && test -z "${HAVE_SOUND_THEME_FALSE}"; then
 
21609
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SOUND_THEME\" was never defined.
 
21610
Usually this means the macro was only invoked conditionally." >&5
 
21611
$as_echo "$as_me: error: conditional \"HAVE_SOUND_THEME\" was never defined.
 
21612
Usually this means the macro was only invoked conditionally." >&2;}
 
21613
   { (exit 1); exit 1; }; }
 
21614
fi
 
21615
if test -z "${HAVE_PULSEAUDIO_TRUE}" && test -z "${HAVE_PULSEAUDIO_FALSE}"; then
 
21616
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_PULSEAUDIO\" was never defined.
 
21617
Usually this means the macro was only invoked conditionally." >&5
 
21618
$as_echo "$as_me: error: conditional \"HAVE_PULSEAUDIO\" was never defined.
 
21619
Usually this means the macro was only invoked conditionally." >&2;}
 
21620
   { (exit 1); exit 1; }; }
 
21621
fi
29720
21622
if test -z "${HAVE_CDDBSLAVE_TRUE}" && test -z "${HAVE_CDDBSLAVE_FALSE}"; then
29721
21623
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CDDBSLAVE\" was never defined.
29722
21624
Usually this means the macro was only invoked conditionally." >&5
29773
21675
Usually this means the macro was only invoked conditionally." >&2;}
29774
21676
   { (exit 1); exit 1; }; }
29775
21677
fi
29776
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29777
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29778
 
Usually this means the macro was only invoked conditionally." >&5
29779
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29780
 
Usually this means the macro was only invoked conditionally." >&2;}
29781
 
   { (exit 1); exit 1; }; }
29782
 
fi
29783
21678
if test -z "${HAVE_VUMETER_TRUE}" && test -z "${HAVE_VUMETER_FALSE}"; then
29784
21679
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_VUMETER\" was never defined.
29785
21680
Usually this means the macro was only invoked conditionally." >&5
30151
22046
# report actual input values of CONFIG_FILES etc. instead of their
30152
22047
# values after options handling.
30153
22048
ac_log="
30154
 
This file was extended by gnome-media $as_me 2.24.0.1, which was
30155
 
generated by GNU Autoconf 2.62.  Invocation command line was
 
22049
This file was extended by gnome-media $as_me 2.26.0, which was
 
22050
generated by GNU Autoconf 2.63.  Invocation command line was
30156
22051
 
30157
22052
  CONFIG_FILES    = $CONFIG_FILES
30158
22053
  CONFIG_HEADERS  = $CONFIG_HEADERS
30165
22060
 
30166
22061
_ACEOF
30167
22062
 
 
22063
case $ac_config_files in *"
 
22064
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
22065
esac
 
22066
 
 
22067
case $ac_config_headers in *"
 
22068
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
22069
esac
 
22070
 
 
22071
 
30168
22072
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30169
22073
# Files that config.status was made for.
30170
22074
config_files="$ac_config_files"
30178
22082
\`$as_me' instantiates files from templates according to the
30179
22083
current configuration.
30180
22084
 
30181
 
Usage: $0 [OPTIONS] [FILE]...
 
22085
Usage: $0 [OPTION]... [FILE]...
30182
22086
 
30183
22087
  -h, --help       print this help, then exit
30184
22088
  -V, --version    print version number and configuration settings, then exit
30185
 
  -q, --quiet      do not print progress messages
 
22089
  -q, --quiet, --silent
 
22090
                   do not print progress messages
30186
22091
  -d, --debug      don't remove temporary files
30187
22092
      --recheck    update $as_me by reconfiguring in the same conditions
30188
 
  --file=FILE[:TEMPLATE]
 
22093
      --file=FILE[:TEMPLATE]
30189
22094
                   instantiate the configuration file FILE
30190
 
  --header=FILE[:TEMPLATE]
 
22095
      --header=FILE[:TEMPLATE]
30191
22096
                   instantiate the configuration header FILE
30192
22097
 
30193
22098
Configuration files:
30204
22109
_ACEOF
30205
22110
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30206
22111
ac_cs_version="\\
30207
 
gnome-media config.status 2.24.0.1
30208
 
configured by $0, generated by GNU Autoconf 2.62,
 
22112
gnome-media config.status 2.26.0
 
22113
configured by $0, generated by GNU Autoconf 2.63,
30209
22114
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
30210
22115
 
30211
22116
Copyright (C) 2008 Free Software Foundation, Inc.
30320
22225
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
30321
22226
 
30322
22227
 
 
22228
 
 
22229
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
22230
# if CDPATH is set.
 
22231
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
22232
 
 
22233
sed_quote_subst='$sed_quote_subst'
 
22234
double_quote_subst='$double_quote_subst'
 
22235
delay_variable_subst='$delay_variable_subst'
 
22236
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
22237
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
22238
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
22239
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
22240
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
22241
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
22242
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
22243
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
22244
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
22245
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
22246
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
22247
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
22248
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
22249
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
22250
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
22251
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
22252
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
22253
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
22254
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
22255
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
22256
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
22257
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
22258
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
22259
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
22260
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
22261
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
22262
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
22263
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22264
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
22265
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
22266
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
22267
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
22268
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
22269
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
22270
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
22271
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22272
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22273
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22274
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
22275
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
22276
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
22277
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
22278
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
22279
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
22280
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"`'
 
22281
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"`'
 
22282
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
22283
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
22284
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
22285
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
22286
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
22287
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
22288
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
22289
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
22290
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
22291
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
22292
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
22293
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
22294
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
22295
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
22296
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
22297
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
22298
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22299
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22300
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
22301
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
22302
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
22303
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
22304
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
22305
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22306
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22307
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22308
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22309
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22310
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22311
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
22312
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
22313
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
22314
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
22315
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
22316
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
22317
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
22318
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
22319
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
22320
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
22321
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
22322
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
22323
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
22324
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
22325
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
22326
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22327
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
22328
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
22329
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22330
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
22331
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
22332
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
22333
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
22334
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
22335
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
22336
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
22337
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
22338
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
22339
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
22340
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
22341
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22342
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22343
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
22344
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
22345
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
22346
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
22347
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
22348
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
22349
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
22350
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
22351
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
22352
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
22353
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
22354
 
 
22355
LTCC='$LTCC'
 
22356
LTCFLAGS='$LTCFLAGS'
 
22357
compiler='$compiler_DEFAULT'
 
22358
 
 
22359
# Quote evaled strings.
 
22360
for var in SED \
 
22361
GREP \
 
22362
EGREP \
 
22363
FGREP \
 
22364
LD \
 
22365
NM \
 
22366
LN_S \
 
22367
lt_SP2NL \
 
22368
lt_NL2SP \
 
22369
reload_flag \
 
22370
OBJDUMP \
 
22371
deplibs_check_method \
 
22372
file_magic_cmd \
 
22373
AR \
 
22374
AR_FLAGS \
 
22375
STRIP \
 
22376
RANLIB \
 
22377
CC \
 
22378
CFLAGS \
 
22379
compiler \
 
22380
lt_cv_sys_global_symbol_pipe \
 
22381
lt_cv_sys_global_symbol_to_cdecl \
 
22382
lt_cv_sys_global_symbol_to_c_name_address \
 
22383
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
22384
SHELL \
 
22385
ECHO \
 
22386
lt_prog_compiler_no_builtin_flag \
 
22387
lt_prog_compiler_wl \
 
22388
lt_prog_compiler_pic \
 
22389
lt_prog_compiler_static \
 
22390
lt_cv_prog_compiler_c_o \
 
22391
need_locks \
 
22392
DSYMUTIL \
 
22393
NMEDIT \
 
22394
LIPO \
 
22395
OTOOL \
 
22396
OTOOL64 \
 
22397
shrext_cmds \
 
22398
export_dynamic_flag_spec \
 
22399
whole_archive_flag_spec \
 
22400
compiler_needs_object \
 
22401
with_gnu_ld \
 
22402
allow_undefined_flag \
 
22403
no_undefined_flag \
 
22404
hardcode_libdir_flag_spec \
 
22405
hardcode_libdir_flag_spec_ld \
 
22406
hardcode_libdir_separator \
 
22407
fix_srcfile_path \
 
22408
exclude_expsyms \
 
22409
include_expsyms \
 
22410
file_list_spec \
 
22411
variables_saved_for_relink \
 
22412
libname_spec \
 
22413
library_names_spec \
 
22414
soname_spec \
 
22415
finish_eval \
 
22416
old_striplib \
 
22417
striplib; do
 
22418
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
22419
    *[\\\\\\\`\\"\\\$]*)
 
22420
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
22421
      ;;
 
22422
    *)
 
22423
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
22424
      ;;
 
22425
    esac
 
22426
done
 
22427
 
 
22428
# Double-quote double-evaled strings.
 
22429
for var in reload_cmds \
 
22430
old_postinstall_cmds \
 
22431
old_postuninstall_cmds \
 
22432
old_archive_cmds \
 
22433
extract_expsyms_cmds \
 
22434
old_archive_from_new_cmds \
 
22435
old_archive_from_expsyms_cmds \
 
22436
archive_cmds \
 
22437
archive_expsym_cmds \
 
22438
module_cmds \
 
22439
module_expsym_cmds \
 
22440
export_symbols_cmds \
 
22441
prelink_cmds \
 
22442
postinstall_cmds \
 
22443
postuninstall_cmds \
 
22444
finish_cmds \
 
22445
sys_lib_search_path_spec \
 
22446
sys_lib_dlsearch_path_spec; do
 
22447
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
22448
    *[\\\\\\\`\\"\\\$]*)
 
22449
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
22450
      ;;
 
22451
    *)
 
22452
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
22453
      ;;
 
22454
    esac
 
22455
done
 
22456
 
 
22457
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
22458
case \$lt_ECHO in
 
22459
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
22460
  ;;
 
22461
esac
 
22462
 
 
22463
ac_aux_dir='$ac_aux_dir'
 
22464
xsi_shell='$xsi_shell'
 
22465
lt_shell_append='$lt_shell_append'
 
22466
 
 
22467
# See if we are running on zsh, and set the options which allow our
 
22468
# commands through without removal of \ escapes INIT.
 
22469
if test -n "\${ZSH_VERSION+set}" ; then
 
22470
   setopt NO_GLOB_SUBST
 
22471
fi
 
22472
 
 
22473
 
 
22474
    PACKAGE='$PACKAGE'
 
22475
    VERSION='$VERSION'
 
22476
    TIMESTAMP='$TIMESTAMP'
 
22477
    RM='$RM'
 
22478
    ofile='$ofile'
 
22479
 
 
22480
 
 
22481
 
 
22482
 
30323
22483
_ACEOF
30324
22484
 
30325
22485
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30331
22491
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
30332
22492
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
30333
22493
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
22494
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
30334
22495
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
30335
22496
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
22497
    "sound-theme/Makefile") CONFIG_FILES="$CONFIG_FILES sound-theme/Makefile" ;;
 
22498
    "sound-theme/sounds/Makefile") CONFIG_FILES="$CONFIG_FILES sound-theme/sounds/Makefile" ;;
 
22499
    "gnome-volume-control/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/Makefile" ;;
 
22500
    "gnome-volume-control/data/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/Makefile" ;;
 
22501
    "gnome-volume-control/data/gnome-volume-control.desktop.in") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/gnome-volume-control.desktop.in" ;;
 
22502
    "gnome-volume-control/data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/Makefile" ;;
 
22503
    "gnome-volume-control/data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/16x16/Makefile" ;;
 
22504
    "gnome-volume-control/data/icons/16x16/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/16x16/apps/Makefile" ;;
 
22505
    "gnome-volume-control/data/icons/16x16/status/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/16x16/status/Makefile" ;;
 
22506
    "gnome-volume-control/data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/22x22/Makefile" ;;
 
22507
    "gnome-volume-control/data/icons/22x22/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/22x22/apps/Makefile" ;;
 
22508
    "gnome-volume-control/data/icons/22x22/status/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/22x22/status/Makefile" ;;
 
22509
    "gnome-volume-control/data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/24x24/Makefile" ;;
 
22510
    "gnome-volume-control/data/icons/24x24/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/24x24/apps/Makefile" ;;
 
22511
    "gnome-volume-control/data/icons/24x24/status/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/24x24/status/Makefile" ;;
 
22512
    "gnome-volume-control/data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/32x32/Makefile" ;;
 
22513
    "gnome-volume-control/data/icons/32x32/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/32x32/apps/Makefile" ;;
 
22514
    "gnome-volume-control/data/icons/32x32/status/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/32x32/status/Makefile" ;;
 
22515
    "gnome-volume-control/data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/48x48/Makefile" ;;
 
22516
    "gnome-volume-control/data/icons/48x48/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/48x48/apps/Makefile" ;;
 
22517
    "gnome-volume-control/data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/scalable/Makefile" ;;
 
22518
    "gnome-volume-control/data/icons/scalable/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/scalable/apps/Makefile" ;;
 
22519
    "gnome-volume-control/data/icons/scalable/status/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/data/icons/scalable/status/Makefile" ;;
 
22520
    "gnome-volume-control/src/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-volume-control/src/Makefile" ;;
30336
22521
    "vu-meter/Makefile") CONFIG_FILES="$CONFIG_FILES vu-meter/Makefile" ;;
30337
22522
    "cddb-slave2/Makefile") CONFIG_FILES="$CONFIG_FILES cddb-slave2/Makefile" ;;
30338
22523
    "gnome-cd/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-cd/Makefile" ;;
30458
22643
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30459
22644
   { (exit 1); exit 1; }; }
30460
22645
 
30461
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
 
22646
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
22647
  if test $ac_delim_n = $ac_delim_num; then
30462
22648
    break
30463
22649
  elif $ac_last_try; then
30464
22650
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30663
22849
  }
30664
22850
  split(mac1, mac2, "(") #)
30665
22851
  macro = mac2[1]
 
22852
  prefix = substr(line, 1, index(line, defundef) - 1)
30666
22853
  if (D_is_set[macro]) {
30667
22854
    # Preserve the white space surrounding the "#".
30668
 
    prefix = substr(line, 1, index(line, defundef) - 1)
30669
22855
    print prefix "define", macro P[macro] D[macro]
30670
22856
    next
30671
22857
  } else {
30673
22859
    # in the case of _POSIX_SOURCE, which is predefined and required
30674
22860
    # on some systems where configure will not decide to define it.
30675
22861
    if (defundef == "undef") {
30676
 
      print "/*", line, "*/"
 
22862
      print "/*", prefix defundef, macro, "*/"
30677
22863
      next
30678
22864
    }
30679
22865
  }
30697
22883
  esac
30698
22884
  case $ac_mode$ac_tag in
30699
22885
  :[FHL]*:*);;
30700
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
30701
 
$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
22886
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
22887
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
30702
22888
   { (exit 1); exit 1; }; };;
30703
22889
  :[FH]-) ac_tag=-:-;;
30704
22890
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
31157
23343
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
31158
23344
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
31159
23345
      esac ;;
 
23346
    "libtool":C)
 
23347
 
 
23348
    # See if we are running on zsh, and set the options which allow our
 
23349
    # commands through without removal of \ escapes.
 
23350
    if test -n "${ZSH_VERSION+set}" ; then
 
23351
      setopt NO_GLOB_SUBST
 
23352
    fi
 
23353
 
 
23354
    cfgfile="${ofile}T"
 
23355
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
23356
    $RM "$cfgfile"
 
23357
 
 
23358
    cat <<_LT_EOF >> "$cfgfile"
 
23359
#! $SHELL
 
23360
 
 
23361
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
23362
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
23363
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
23364
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
23365
#
 
23366
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
23367
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
23368
#   Written by Gordon Matzigkeit, 1996
 
23369
#
 
23370
#   This file is part of GNU Libtool.
 
23371
#
 
23372
# GNU Libtool is free software; you can redistribute it and/or
 
23373
# modify it under the terms of the GNU General Public License as
 
23374
# published by the Free Software Foundation; either version 2 of
 
23375
# the License, or (at your option) any later version.
 
23376
#
 
23377
# As a special exception to the GNU General Public License,
 
23378
# if you distribute this file as part of a program or library that
 
23379
# is built using GNU Libtool, you may include this file under the
 
23380
# same distribution terms that you use for the rest of that program.
 
23381
#
 
23382
# GNU Libtool is distributed in the hope that it will be useful,
 
23383
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
23384
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
23385
# GNU General Public License for more details.
 
23386
#
 
23387
# You should have received a copy of the GNU General Public License
 
23388
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
23389
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
23390
# obtained by writing to the Free Software Foundation, Inc.,
 
23391
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
23392
 
 
23393
 
 
23394
# The names of the tagged configurations supported by this script.
 
23395
available_tags=""
 
23396
 
 
23397
# ### BEGIN LIBTOOL CONFIG
 
23398
 
 
23399
# Which release of libtool.m4 was used?
 
23400
macro_version=$macro_version
 
23401
macro_revision=$macro_revision
 
23402
 
 
23403
# Whether or not to build shared libraries.
 
23404
build_libtool_libs=$enable_shared
 
23405
 
 
23406
# Whether or not to build static libraries.
 
23407
build_old_libs=$enable_static
 
23408
 
 
23409
# What type of objects to build.
 
23410
pic_mode=$pic_mode
 
23411
 
 
23412
# Whether or not to optimize for fast installation.
 
23413
fast_install=$enable_fast_install
 
23414
 
 
23415
# The host system.
 
23416
host_alias=$host_alias
 
23417
host=$host
 
23418
host_os=$host_os
 
23419
 
 
23420
# The build system.
 
23421
build_alias=$build_alias
 
23422
build=$build
 
23423
build_os=$build_os
 
23424
 
 
23425
# A sed program that does not truncate output.
 
23426
SED=$lt_SED
 
23427
 
 
23428
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
23429
Xsed="\$SED -e 1s/^X//"
 
23430
 
 
23431
# A grep program that handles long lines.
 
23432
GREP=$lt_GREP
 
23433
 
 
23434
# An ERE matcher.
 
23435
EGREP=$lt_EGREP
 
23436
 
 
23437
# A literal string matcher.
 
23438
FGREP=$lt_FGREP
 
23439
 
 
23440
# A BSD- or MS-compatible name lister.
 
23441
NM=$lt_NM
 
23442
 
 
23443
# Whether we need soft or hard links.
 
23444
LN_S=$lt_LN_S
 
23445
 
 
23446
# What is the maximum length of a command?
 
23447
max_cmd_len=$max_cmd_len
 
23448
 
 
23449
# Object file suffix (normally "o").
 
23450
objext=$ac_objext
 
23451
 
 
23452
# Executable file suffix (normally "").
 
23453
exeext=$exeext
 
23454
 
 
23455
# whether the shell understands "unset".
 
23456
lt_unset=$lt_unset
 
23457
 
 
23458
# turn spaces into newlines.
 
23459
SP2NL=$lt_lt_SP2NL
 
23460
 
 
23461
# turn newlines into spaces.
 
23462
NL2SP=$lt_lt_NL2SP
 
23463
 
 
23464
# How to create reloadable object files.
 
23465
reload_flag=$lt_reload_flag
 
23466
reload_cmds=$lt_reload_cmds
 
23467
 
 
23468
# An object symbol dumper.
 
23469
OBJDUMP=$lt_OBJDUMP
 
23470
 
 
23471
# Method to check whether dependent libraries are shared objects.
 
23472
deplibs_check_method=$lt_deplibs_check_method
 
23473
 
 
23474
# Command to use when deplibs_check_method == "file_magic".
 
23475
file_magic_cmd=$lt_file_magic_cmd
 
23476
 
 
23477
# The archiver.
 
23478
AR=$lt_AR
 
23479
AR_FLAGS=$lt_AR_FLAGS
 
23480
 
 
23481
# A symbol stripping program.
 
23482
STRIP=$lt_STRIP
 
23483
 
 
23484
# Commands used to install an old-style archive.
 
23485
RANLIB=$lt_RANLIB
 
23486
old_postinstall_cmds=$lt_old_postinstall_cmds
 
23487
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
23488
 
 
23489
# A C compiler.
 
23490
LTCC=$lt_CC
 
23491
 
 
23492
# LTCC compiler flags.
 
23493
LTCFLAGS=$lt_CFLAGS
 
23494
 
 
23495
# Take the output of nm and produce a listing of raw symbols and C names.
 
23496
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
23497
 
 
23498
# Transform the output of nm in a proper C declaration.
 
23499
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
23500
 
 
23501
# Transform the output of nm in a C name address pair.
 
23502
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
23503
 
 
23504
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
23505
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
23506
 
 
23507
# The name of the directory that contains temporary libtool files.
 
23508
objdir=$objdir
 
23509
 
 
23510
# Shell to use when invoking shell scripts.
 
23511
SHELL=$lt_SHELL
 
23512
 
 
23513
# An echo program that does not interpret backslashes.
 
23514
ECHO=$lt_ECHO
 
23515
 
 
23516
# Used to examine libraries when file_magic_cmd begins with "file".
 
23517
MAGIC_CMD=$MAGIC_CMD
 
23518
 
 
23519
# Must we lock files when doing compilation?
 
23520
need_locks=$lt_need_locks
 
23521
 
 
23522
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
23523
DSYMUTIL=$lt_DSYMUTIL
 
23524
 
 
23525
# Tool to change global to local symbols on Mac OS X.
 
23526
NMEDIT=$lt_NMEDIT
 
23527
 
 
23528
# Tool to manipulate fat objects and archives on Mac OS X.
 
23529
LIPO=$lt_LIPO
 
23530
 
 
23531
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
23532
OTOOL=$lt_OTOOL
 
23533
 
 
23534
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
23535
OTOOL64=$lt_OTOOL64
 
23536
 
 
23537
# Old archive suffix (normally "a").
 
23538
libext=$libext
 
23539
 
 
23540
# Shared library suffix (normally ".so").
 
23541
shrext_cmds=$lt_shrext_cmds
 
23542
 
 
23543
# The commands to extract the exported symbol list from a shared archive.
 
23544
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
23545
 
 
23546
# Variables whose values should be saved in libtool wrapper scripts and
 
23547
# restored at link time.
 
23548
variables_saved_for_relink=$lt_variables_saved_for_relink
 
23549
 
 
23550
# Do we need the "lib" prefix for modules?
 
23551
need_lib_prefix=$need_lib_prefix
 
23552
 
 
23553
# Do we need a version for libraries?
 
23554
need_version=$need_version
 
23555
 
 
23556
# Library versioning type.
 
23557
version_type=$version_type
 
23558
 
 
23559
# Shared library runtime path variable.
 
23560
runpath_var=$runpath_var
 
23561
 
 
23562
# Shared library path variable.
 
23563
shlibpath_var=$shlibpath_var
 
23564
 
 
23565
# Is shlibpath searched before the hard-coded library search path?
 
23566
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
23567
 
 
23568
# Format of library name prefix.
 
23569
libname_spec=$lt_libname_spec
 
23570
 
 
23571
# List of archive names.  First name is the real one, the rest are links.
 
23572
# The last name is the one that the linker finds with -lNAME
 
23573
library_names_spec=$lt_library_names_spec
 
23574
 
 
23575
# The coded name of the library, if different from the real name.
 
23576
soname_spec=$lt_soname_spec
 
23577
 
 
23578
# Command to use after installation of a shared archive.
 
23579
postinstall_cmds=$lt_postinstall_cmds
 
23580
 
 
23581
# Command to use after uninstallation of a shared archive.
 
23582
postuninstall_cmds=$lt_postuninstall_cmds
 
23583
 
 
23584
# Commands used to finish a libtool library installation in a directory.
 
23585
finish_cmds=$lt_finish_cmds
 
23586
 
 
23587
# As "finish_cmds", except a single script fragment to be evaled but
 
23588
# not shown.
 
23589
finish_eval=$lt_finish_eval
 
23590
 
 
23591
# Whether we should hardcode library paths into libraries.
 
23592
hardcode_into_libs=$hardcode_into_libs
 
23593
 
 
23594
# Compile-time system search path for libraries.
 
23595
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
23596
 
 
23597
# Run-time system search path for libraries.
 
23598
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
23599
 
 
23600
# Whether dlopen is supported.
 
23601
dlopen_support=$enable_dlopen
 
23602
 
 
23603
# Whether dlopen of programs is supported.
 
23604
dlopen_self=$enable_dlopen_self
 
23605
 
 
23606
# Whether dlopen of statically linked programs is supported.
 
23607
dlopen_self_static=$enable_dlopen_self_static
 
23608
 
 
23609
# Commands to strip libraries.
 
23610
old_striplib=$lt_old_striplib
 
23611
striplib=$lt_striplib
 
23612
 
 
23613
 
 
23614
# The linker used to build libraries.
 
23615
LD=$lt_LD
 
23616
 
 
23617
# Commands used to build an old-style archive.
 
23618
old_archive_cmds=$lt_old_archive_cmds
 
23619
 
 
23620
# A language specific compiler.
 
23621
CC=$lt_compiler
 
23622
 
 
23623
# Is the compiler the GNU compiler?
 
23624
with_gcc=$GCC
 
23625
 
 
23626
# Compiler flag to turn off builtin functions.
 
23627
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
23628
 
 
23629
# How to pass a linker flag through the compiler.
 
23630
wl=$lt_lt_prog_compiler_wl
 
23631
 
 
23632
# Additional compiler flags for building library objects.
 
23633
pic_flag=$lt_lt_prog_compiler_pic
 
23634
 
 
23635
# Compiler flag to prevent dynamic linking.
 
23636
link_static_flag=$lt_lt_prog_compiler_static
 
23637
 
 
23638
# Does compiler simultaneously support -c and -o options?
 
23639
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
23640
 
 
23641
# Whether or not to add -lc for building shared libraries.
 
23642
build_libtool_need_lc=$archive_cmds_need_lc
 
23643
 
 
23644
# Whether or not to disallow shared libs when runtime libs are static.
 
23645
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
23646
 
 
23647
# Compiler flag to allow reflexive dlopens.
 
23648
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
23649
 
 
23650
# Compiler flag to generate shared objects directly from archives.
 
23651
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
23652
 
 
23653
# Whether the compiler copes with passing no objects directly.
 
23654
compiler_needs_object=$lt_compiler_needs_object
 
23655
 
 
23656
# Create an old-style archive from a shared archive.
 
23657
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
23658
 
 
23659
# Create a temporary old-style archive to link instead of a shared archive.
 
23660
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
23661
 
 
23662
# Commands used to build a shared archive.
 
23663
archive_cmds=$lt_archive_cmds
 
23664
archive_expsym_cmds=$lt_archive_expsym_cmds
 
23665
 
 
23666
# Commands used to build a loadable module if different from building
 
23667
# a shared archive.
 
23668
module_cmds=$lt_module_cmds
 
23669
module_expsym_cmds=$lt_module_expsym_cmds
 
23670
 
 
23671
# Whether we are building with GNU ld or not.
 
23672
with_gnu_ld=$lt_with_gnu_ld
 
23673
 
 
23674
# Flag that allows shared libraries with undefined symbols to be built.
 
23675
allow_undefined_flag=$lt_allow_undefined_flag
 
23676
 
 
23677
# Flag that enforces no undefined symbols.
 
23678
no_undefined_flag=$lt_no_undefined_flag
 
23679
 
 
23680
# Flag to hardcode \$libdir into a binary during linking.
 
23681
# This must work even if \$libdir does not exist
 
23682
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
23683
 
 
23684
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
23685
# during linking.  This must work even if \$libdir does not exist.
 
23686
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
23687
 
 
23688
# Whether we need a single "-rpath" flag with a separated argument.
 
23689
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
23690
 
 
23691
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
23692
# DIR into the resulting binary.
 
23693
hardcode_direct=$hardcode_direct
 
23694
 
 
23695
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
23696
# DIR into the resulting binary and the resulting library dependency is
 
23697
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
23698
# library is relocated.
 
23699
hardcode_direct_absolute=$hardcode_direct_absolute
 
23700
 
 
23701
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
23702
# into the resulting binary.
 
23703
hardcode_minus_L=$hardcode_minus_L
 
23704
 
 
23705
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
23706
# into the resulting binary.
 
23707
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
23708
 
 
23709
# Set to "yes" if building a shared library automatically hardcodes DIR
 
23710
# into the library and all subsequent libraries and executables linked
 
23711
# against it.
 
23712
hardcode_automatic=$hardcode_automatic
 
23713
 
 
23714
# Set to yes if linker adds runtime paths of dependent libraries
 
23715
# to runtime path list.
 
23716
inherit_rpath=$inherit_rpath
 
23717
 
 
23718
# Whether libtool must link a program against all its dependency libraries.
 
23719
link_all_deplibs=$link_all_deplibs
 
23720
 
 
23721
# Fix the shell variable \$srcfile for the compiler.
 
23722
fix_srcfile_path=$lt_fix_srcfile_path
 
23723
 
 
23724
# Set to "yes" if exported symbols are required.
 
23725
always_export_symbols=$always_export_symbols
 
23726
 
 
23727
# The commands to list exported symbols.
 
23728
export_symbols_cmds=$lt_export_symbols_cmds
 
23729
 
 
23730
# Symbols that should not be listed in the preloaded symbols.
 
23731
exclude_expsyms=$lt_exclude_expsyms
 
23732
 
 
23733
# Symbols that must always be exported.
 
23734
include_expsyms=$lt_include_expsyms
 
23735
 
 
23736
# Commands necessary for linking programs (against libraries) with templates.
 
23737
prelink_cmds=$lt_prelink_cmds
 
23738
 
 
23739
# Specify filename containing input files.
 
23740
file_list_spec=$lt_file_list_spec
 
23741
 
 
23742
# How to hardcode a shared library path into an executable.
 
23743
hardcode_action=$hardcode_action
 
23744
 
 
23745
# ### END LIBTOOL CONFIG
 
23746
 
 
23747
_LT_EOF
 
23748
 
 
23749
  case $host_os in
 
23750
  aix3*)
 
23751
    cat <<\_LT_EOF >> "$cfgfile"
 
23752
# AIX sometimes has problems with the GCC collect2 program.  For some
 
23753
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
23754
# vanish in a puff of smoke.
 
23755
if test "X${COLLECT_NAMES+set}" != Xset; then
 
23756
  COLLECT_NAMES=
 
23757
  export COLLECT_NAMES
 
23758
fi
 
23759
_LT_EOF
 
23760
    ;;
 
23761
  esac
 
23762
 
 
23763
 
 
23764
ltmain="$ac_aux_dir/ltmain.sh"
 
23765
 
 
23766
 
 
23767
  # We use sed instead of cat because bash on DJGPP gets confused if
 
23768
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
23769
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
23770
  # is reportedly fixed, but why not run on old versions too?
 
23771
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
23772
    || (rm -f "$cfgfile"; exit 1)
 
23773
 
 
23774
  case $xsi_shell in
 
23775
  yes)
 
23776
    cat << \_LT_EOF >> "$cfgfile"
 
23777
 
 
23778
# func_dirname file append nondir_replacement
 
23779
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
23780
# otherwise set result to NONDIR_REPLACEMENT.
 
23781
func_dirname ()
 
23782
{
 
23783
  case ${1} in
 
23784
    */*) func_dirname_result="${1%/*}${2}" ;;
 
23785
    *  ) func_dirname_result="${3}" ;;
 
23786
  esac
 
23787
}
 
23788
 
 
23789
# func_basename file
 
23790
func_basename ()
 
23791
{
 
23792
  func_basename_result="${1##*/}"
 
23793
}
 
23794
 
 
23795
# func_dirname_and_basename file append nondir_replacement
 
23796
# perform func_basename and func_dirname in a single function
 
23797
# call:
 
23798
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
23799
#             add APPEND to the result, otherwise set result
 
23800
#             to NONDIR_REPLACEMENT.
 
23801
#             value returned in "$func_dirname_result"
 
23802
#   basename: Compute filename of FILE.
 
23803
#             value retuned in "$func_basename_result"
 
23804
# Implementation must be kept synchronized with func_dirname
 
23805
# and func_basename. For efficiency, we do not delegate to
 
23806
# those functions but instead duplicate the functionality here.
 
23807
func_dirname_and_basename ()
 
23808
{
 
23809
  case ${1} in
 
23810
    */*) func_dirname_result="${1%/*}${2}" ;;
 
23811
    *  ) func_dirname_result="${3}" ;;
 
23812
  esac
 
23813
  func_basename_result="${1##*/}"
 
23814
}
 
23815
 
 
23816
# func_stripname prefix suffix name
 
23817
# strip PREFIX and SUFFIX off of NAME.
 
23818
# PREFIX and SUFFIX must not contain globbing or regex special
 
23819
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
23820
# dot (in which case that matches only a dot).
 
23821
func_stripname ()
 
23822
{
 
23823
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
23824
  # positional parameters, so assign one to ordinary parameter first.
 
23825
  func_stripname_result=${3}
 
23826
  func_stripname_result=${func_stripname_result#"${1}"}
 
23827
  func_stripname_result=${func_stripname_result%"${2}"}
 
23828
}
 
23829
 
 
23830
# func_opt_split
 
23831
func_opt_split ()
 
23832
{
 
23833
  func_opt_split_opt=${1%%=*}
 
23834
  func_opt_split_arg=${1#*=}
 
23835
}
 
23836
 
 
23837
# func_lo2o object
 
23838
func_lo2o ()
 
23839
{
 
23840
  case ${1} in
 
23841
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
23842
    *)    func_lo2o_result=${1} ;;
 
23843
  esac
 
23844
}
 
23845
 
 
23846
# func_xform libobj-or-source
 
23847
func_xform ()
 
23848
{
 
23849
  func_xform_result=${1%.*}.lo
 
23850
}
 
23851
 
 
23852
# func_arith arithmetic-term...
 
23853
func_arith ()
 
23854
{
 
23855
  func_arith_result=$(( $* ))
 
23856
}
 
23857
 
 
23858
# func_len string
 
23859
# STRING may not start with a hyphen.
 
23860
func_len ()
 
23861
{
 
23862
  func_len_result=${#1}
 
23863
}
 
23864
 
 
23865
_LT_EOF
 
23866
    ;;
 
23867
  *) # Bourne compatible functions.
 
23868
    cat << \_LT_EOF >> "$cfgfile"
 
23869
 
 
23870
# func_dirname file append nondir_replacement
 
23871
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
23872
# otherwise set result to NONDIR_REPLACEMENT.
 
23873
func_dirname ()
 
23874
{
 
23875
  # Extract subdirectory from the argument.
 
23876
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
23877
  if test "X$func_dirname_result" = "X${1}"; then
 
23878
    func_dirname_result="${3}"
 
23879
  else
 
23880
    func_dirname_result="$func_dirname_result${2}"
 
23881
  fi
 
23882
}
 
23883
 
 
23884
# func_basename file
 
23885
func_basename ()
 
23886
{
 
23887
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
23888
}
 
23889
 
 
23890
 
 
23891
# func_stripname prefix suffix name
 
23892
# strip PREFIX and SUFFIX off of NAME.
 
23893
# PREFIX and SUFFIX must not contain globbing or regex special
 
23894
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
23895
# dot (in which case that matches only a dot).
 
23896
# func_strip_suffix prefix name
 
23897
func_stripname ()
 
23898
{
 
23899
  case ${2} in
 
23900
    .*) func_stripname_result=`$ECHO "X${3}" \
 
23901
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
23902
    *)  func_stripname_result=`$ECHO "X${3}" \
 
23903
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
23904
  esac
 
23905
}
 
23906
 
 
23907
# sed scripts:
 
23908
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
23909
my_sed_long_arg='1s/^-[^=]*=//'
 
23910
 
 
23911
# func_opt_split
 
23912
func_opt_split ()
 
23913
{
 
23914
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
23915
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
23916
}
 
23917
 
 
23918
# func_lo2o object
 
23919
func_lo2o ()
 
23920
{
 
23921
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
23922
}
 
23923
 
 
23924
# func_xform libobj-or-source
 
23925
func_xform ()
 
23926
{
 
23927
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
23928
}
 
23929
 
 
23930
# func_arith arithmetic-term...
 
23931
func_arith ()
 
23932
{
 
23933
  func_arith_result=`expr "$@"`
 
23934
}
 
23935
 
 
23936
# func_len string
 
23937
# STRING may not start with a hyphen.
 
23938
func_len ()
 
23939
{
 
23940
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
23941
}
 
23942
 
 
23943
_LT_EOF
 
23944
esac
 
23945
 
 
23946
case $lt_shell_append in
 
23947
  yes)
 
23948
    cat << \_LT_EOF >> "$cfgfile"
 
23949
 
 
23950
# func_append var value
 
23951
# Append VALUE to the end of shell variable VAR.
 
23952
func_append ()
 
23953
{
 
23954
  eval "$1+=\$2"
 
23955
}
 
23956
_LT_EOF
 
23957
    ;;
 
23958
  *)
 
23959
    cat << \_LT_EOF >> "$cfgfile"
 
23960
 
 
23961
# func_append var value
 
23962
# Append VALUE to the end of shell variable VAR.
 
23963
func_append ()
 
23964
{
 
23965
  eval "$1=\$$1\$2"
 
23966
}
 
23967
 
 
23968
_LT_EOF
 
23969
    ;;
 
23970
  esac
 
23971
 
 
23972
 
 
23973
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
23974
    || (rm -f "$cfgfile"; exit 1)
 
23975
 
 
23976
  mv -f "$cfgfile" "$ofile" ||
 
23977
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
23978
  chmod +x "$ofile"
 
23979
 
 
23980
 ;;
31160
23981
    "po/stamp-it":C)
 
23982
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" ; then
 
23983
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
 
23984
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
 
23985
   { (exit 1); exit 1; }; }
 
23986
    fi
31161
23987
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
31162
23988
    >"po/stamp-it.tmp"
31163
23989
    sed '/^#/d
31166
23992
        '"s|^|  $ac_top_srcdir/|" \
31167
23993
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
31168
23994
 
31169
 
    if test ! -f "po/Makefile"; then
31170
 
      { { $as_echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
31171
 
$as_echo "$as_me: error: po/Makefile is not ready." >&2;}
31172
 
   { (exit 1); exit 1; }; }
31173
 
    fi
31174
 
    mv "po/Makefile" "po/Makefile.tmp"
31175
23995
    sed '/^POTFILES =/,/[^\\]$/ {
31176
23996
                /^POTFILES =/!d
31177
23997
                r po/POTFILES
31178
23998
          }
31179
 
         ' "po/Makefile.tmp" >"po/Makefile"
 
23999
         ' "po/Makefile.in" >"po/Makefile"
31180
24000
    rm -f "po/Makefile.tmp"
31181
24001
    mv "po/stamp-it.tmp" "po/stamp-it"
31182
24002
   ;;
31217
24037
  $ac_cs_success || { (exit 1); exit 1; }
31218
24038
fi
31219
24039
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
31220
 
  { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
31221
 
$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
 
24040
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
24041
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
31222
24042
fi
31223
24043
 
31224
24044
 
31225
24045
echo "
31226
 
        ${PACKAGE} ${VERSION} has been configured as follows:
 
24046
 
 
24047
                    ${PACKAGE} ${VERSION}
 
24048
                    ============
 
24049
 
31227
24050
 
31228
24051
        Prefix:                 ${prefix}
31229
24052
        Source code location:   ${srcdir}
31230
24053
        Compiler:               ${CC}
31231
24054
        CFLAGS:                 ${CFLAGS}
31232
24055
 
31233
 
        GStreamer mixer:        $have_gstmixer
 
24056
        Volume Control          $have_pulseaudio
31234
24057
        GStreamer properties:   $have_gstprops
31235
24058
        GStreamer profiles:     $have_profiles
31236
24059
        Sound recorder:         $have_grecord$grecord_reason
31237
24060
 
31238
24061
  *Deprecated*:
31239
24062
 
 
24063
        GStreamer mixer:        $have_gstmixer
31240
24064
        vu-meter:               $have_vumeter$vumeter_reason
31241
24065
        cddb-slave:             $have_cddbslave
31242
24066
        gnome-cd:               $have_gnomecd$gnomecd_reason"