~ubuntu-branches/ubuntu/maverick/gnome-session/maverick

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2009-05-08 19:54:30 UTC
  • mfrom: (1.2.4 upstream)
  • mto: This revision was merged to the branch mainline in revision 112.
  • Revision ID: james.westby@ubuntu.com-20090508195430-emwvafeu8f4upq97
Tags: upstream-2.26.1
ImportĀ upstreamĀ versionĀ 2.26.1

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.63 for gnome-session 2.26.1.
 
3
# Generated by GNU Autoconf 2.62 for gnome-session 2.26.1.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-session>.
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$lt_ECHO in
 
580
case X$ECHO in
581
581
X*--fallback-echo)
582
582
  # Remove one level of quotation (which was required for Make).
583
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
583
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
584
584
  ;;
585
585
esac
586
586
 
587
 
ECHO=${lt_ECHO-echo}
 
587
echo=${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 <<_LT_EOF
 
605
  cat <<EOF
606
606
$*
607
 
_LT_EOF
 
607
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 "$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
 
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
650
642
    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"
651
652
 
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+"$@"}
 
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"
667
690
      else
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
 
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
708
698
          fi
709
 
        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
710
710
      fi
711
711
    fi
712
712
  fi
713
713
fi
 
714
fi
714
715
 
715
716
# Copy echo and quote the copy suitably for passing to libtool from
716
717
# the Makefile, instead of quoting the original, which is used later.
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"
 
718
ECHO=$echo
 
719
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
720
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
720
721
fi
721
722
 
722
723
 
723
724
 
724
725
 
 
726
tagnames=${tagnames+${tagnames},}CXX
 
727
 
 
728
tagnames=${tagnames+${tagnames},}F77
 
729
 
725
730
exec 7<&0 </dev/null 6>&1
726
731
 
727
732
# Name of the host.
786
791
# include <unistd.h>
787
792
#endif"
788
793
 
789
 
ac_subst_vars='LTLIBOBJS
790
 
LIBOBJS
791
 
REBUILD
792
 
PERL
793
 
MKINSTALLDIRS
794
 
POSUB
795
 
POFILES
796
 
PO_IN_DATADIR_FALSE
797
 
PO_IN_DATADIR_TRUE
798
 
INTLLIBS
799
 
INSTOBJEXT
800
 
GMOFILES
801
 
CATOBJEXT
802
 
CATALOGS
803
 
MSGFMT_OPTS
804
 
GETTEXT_PACKAGE
805
 
XSLTPROC
806
 
DOCBOOK_DOCS_ENABLED_FALSE
807
 
DOCBOOK_DOCS_ENABLED_TRUE
808
 
XMLTO
809
 
HAVE_XRENDER
810
 
HAVE_XRENDER_FALSE
811
 
HAVE_XRENDER_TRUE
812
 
XRENDER_LIBS
813
 
XRENDER_CFLAGS
814
 
HAVE_XTEST
815
 
XTEST_LIBS
816
 
XTEST_CFLAGS
817
 
X_EXTRA_LIBS
818
 
X_LIBS
819
 
X_PRE_LIBS
820
 
X_CFLAGS
821
 
XMKMF
822
 
GCONF_SANITY_CHECK
823
 
GCONF_SCHEMAS_INSTALL_FALSE
824
 
GCONF_SCHEMAS_INSTALL_TRUE
825
 
GCONF_SCHEMA_FILE_DIR
826
 
GCONF_SCHEMA_CONFIG_SOURCE
827
 
GCONFTOOL
828
 
POLKIT_GNOME_LIBS
829
 
POLKIT_GNOME_CFLAGS
830
 
EGG_SMCLIENT_LIBS
831
 
EGG_SMCLIENT_CFLAGS
832
 
GCONF_LIBS
833
 
GCONF_CFLAGS
834
 
DBUS_GLIB_LIBS
835
 
DBUS_GLIB_CFLAGS
836
 
ICE_LIBS
837
 
ICE_CFLAGS
838
 
SM_LIBS
839
 
SM_CFLAGS
840
 
COMPAT_LIBS
841
 
COMPAT_CFLAGS
842
 
SPLASH_LIBS
843
 
SPLASH_CFLAGS
844
 
SESSION_PROPERTIES_LIBS
845
 
SESSION_PROPERTIES_CFLAGS
846
 
GNOME_SESSION_LIBS
847
 
GNOME_SESSION_CFLAGS
848
 
PKG_CONFIG
849
 
DISABLE_DEPRECATED_CFLAGS
850
 
WARN_CFLAGS
851
 
AT_SPI_REGISTRYD_DIR
852
 
DISABLE_DEPRECATED
853
 
GLIB_GENMARSHAL
854
 
OTOOL64
855
 
OTOOL
856
 
LIPO
 
794
ac_subst_vars='SHELL
 
795
PATH_SEPARATOR
 
796
PACKAGE_NAME
 
797
PACKAGE_TARNAME
 
798
PACKAGE_VERSION
 
799
PACKAGE_STRING
 
800
PACKAGE_BUGREPORT
 
801
exec_prefix
 
802
prefix
 
803
program_transform_name
 
804
bindir
 
805
sbindir
 
806
libexecdir
 
807
datarootdir
 
808
datadir
 
809
sysconfdir
 
810
sharedstatedir
 
811
localstatedir
 
812
includedir
 
813
oldincludedir
 
814
docdir
 
815
infodir
 
816
htmldir
 
817
dvidir
 
818
pdfdir
 
819
psdir
 
820
libdir
 
821
localedir
 
822
mandir
 
823
DEFS
 
824
ECHO_C
 
825
ECHO_N
 
826
ECHO_T
 
827
LIBS
 
828
build_alias
 
829
host_alias
 
830
target_alias
 
831
INSTALL_PROGRAM
 
832
INSTALL_SCRIPT
 
833
INSTALL_DATA
 
834
am__isrc
 
835
CYGPATH_W
 
836
PACKAGE
 
837
VERSION
 
838
ACLOCAL
 
839
AUTOCONF
 
840
AUTOMAKE
 
841
AUTOHEADER
 
842
MAKEINFO
 
843
install_sh
 
844
STRIP
 
845
INSTALL_STRIP_PROGRAM
 
846
MKDIR_P
 
847
mkdir_p
 
848
AWK
 
849
SET_MAKE
 
850
am__leading_dot
 
851
AMTAR
 
852
am__tar
 
853
am__untar
 
854
MAINTAINER_MODE_TRUE
 
855
MAINTAINER_MODE_FALSE
 
856
MAINT
 
857
ACLOCAL_AMFLAGS
 
858
USE_NLS
 
859
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
GMSGFMT
 
885
INTLTOOL_PERL
 
886
ALL_LINGUAS
 
887
CC
 
888
CFLAGS
 
889
LDFLAGS
 
890
CPPFLAGS
 
891
ac_ct_CC
 
892
EXEEXT
 
893
OBJEXT
 
894
DEPDIR
 
895
am__include
 
896
am__quote
 
897
AMDEP_TRUE
 
898
AMDEP_FALSE
 
899
AMDEPBACKSLASH
 
900
CCDEPMODE
 
901
am__fastdepCC_TRUE
 
902
am__fastdepCC_FALSE
 
903
DATADIRNAME
 
904
CPP
 
905
GREP
 
906
EGREP
 
907
build
 
908
build_cpu
 
909
build_vendor
 
910
build_os
 
911
host
 
912
host_cpu
 
913
host_vendor
 
914
host_os
 
915
SED
 
916
LN_S
 
917
ECHO
 
918
AR
 
919
RANLIB
 
920
DSYMUTIL
857
921
NMEDIT
858
 
DSYMUTIL
859
 
lt_ECHO
860
 
RANLIB
861
 
AR
862
 
OBJDUMP
863
 
LN_S
864
 
NM
865
 
ac_ct_DUMPBIN
866
 
DUMPBIN
867
 
LD
868
 
FGREP
869
 
SED
870
 
host_os
871
 
host_vendor
872
 
host_cpu
873
 
host
874
 
build_os
875
 
build_vendor
876
 
build_cpu
877
 
build
 
922
CXX
 
923
CXXFLAGS
 
924
ac_ct_CXX
 
925
CXXDEPMODE
 
926
am__fastdepCXX_TRUE
 
927
am__fastdepCXX_FALSE
 
928
CXXCPP
 
929
F77
 
930
FFLAGS
 
931
ac_ct_F77
878
932
LIBTOOL
879
 
EGREP
880
 
GREP
881
 
CPP
882
 
DATADIRNAME
883
 
am__fastdepCC_FALSE
884
 
am__fastdepCC_TRUE
885
 
CCDEPMODE
886
 
AMDEPBACKSLASH
887
 
AMDEP_FALSE
888
 
AMDEP_TRUE
889
 
am__quote
890
 
am__include
891
 
DEPDIR
892
 
OBJEXT
893
 
EXEEXT
894
 
ac_ct_CC
895
 
CPPFLAGS
896
 
LDFLAGS
897
 
CFLAGS
898
 
CC
899
 
ALL_LINGUAS
900
 
INTLTOOL_PERL
901
 
GMSGFMT
902
 
MSGFMT
903
 
MSGMERGE
904
 
XGETTEXT
905
 
INTLTOOL_POLICY_RULE
906
 
INTLTOOL_SERVICE_RULE
907
 
INTLTOOL_THEME_RULE
908
 
INTLTOOL_SCHEMAS_RULE
909
 
INTLTOOL_CAVES_RULE
910
 
INTLTOOL_XML_NOMERGE_RULE
911
 
INTLTOOL_XML_RULE
912
 
INTLTOOL_KBD_RULE
913
 
INTLTOOL_XAM_RULE
914
 
INTLTOOL_UI_RULE
915
 
INTLTOOL_SOUNDLIST_RULE
916
 
INTLTOOL_SHEET_RULE
917
 
INTLTOOL_SERVER_RULE
918
 
INTLTOOL_PONG_RULE
919
 
INTLTOOL_OAF_RULE
920
 
INTLTOOL_PROP_RULE
921
 
INTLTOOL_KEYS_RULE
922
 
INTLTOOL_DIRECTORY_RULE
923
 
INTLTOOL_DESKTOP_RULE
924
 
INTLTOOL_EXTRACT
925
 
INTLTOOL_MERGE
926
 
INTLTOOL_UPDATE
927
 
USE_NLS
928
 
ACLOCAL_AMFLAGS
929
 
MAINT
930
 
MAINTAINER_MODE_FALSE
931
 
MAINTAINER_MODE_TRUE
932
 
am__untar
933
 
am__tar
934
 
AMTAR
935
 
am__leading_dot
936
 
SET_MAKE
937
 
AWK
938
 
mkdir_p
939
 
MKDIR_P
940
 
INSTALL_STRIP_PROGRAM
941
 
STRIP
942
 
install_sh
943
 
MAKEINFO
944
 
AUTOHEADER
945
 
AUTOMAKE
946
 
AUTOCONF
947
 
ACLOCAL
948
 
VERSION
949
 
PACKAGE
950
 
CYGPATH_W
951
 
am__isrc
952
 
INSTALL_DATA
953
 
INSTALL_SCRIPT
954
 
INSTALL_PROGRAM
955
 
target_alias
956
 
host_alias
957
 
build_alias
958
 
LIBS
959
 
ECHO_T
960
 
ECHO_N
961
 
ECHO_C
962
 
DEFS
963
 
mandir
964
 
localedir
965
 
libdir
966
 
psdir
967
 
pdfdir
968
 
dvidir
969
 
htmldir
970
 
infodir
971
 
docdir
972
 
oldincludedir
973
 
includedir
974
 
localstatedir
975
 
sharedstatedir
976
 
sysconfdir
977
 
datadir
978
 
datarootdir
979
 
libexecdir
980
 
sbindir
981
 
bindir
982
 
program_transform_name
983
 
prefix
984
 
exec_prefix
985
 
PACKAGE_BUGREPORT
986
 
PACKAGE_STRING
987
 
PACKAGE_VERSION
988
 
PACKAGE_TARNAME
989
 
PACKAGE_NAME
990
 
PATH_SEPARATOR
991
 
SHELL'
 
933
GLIB_GENMARSHAL
 
934
DISABLE_DEPRECATED
 
935
AT_SPI_REGISTRYD_DIR
 
936
WARN_CFLAGS
 
937
DISABLE_DEPRECATED_CFLAGS
 
938
PKG_CONFIG
 
939
GNOME_SESSION_CFLAGS
 
940
GNOME_SESSION_LIBS
 
941
SESSION_PROPERTIES_CFLAGS
 
942
SESSION_PROPERTIES_LIBS
 
943
SPLASH_CFLAGS
 
944
SPLASH_LIBS
 
945
COMPAT_CFLAGS
 
946
COMPAT_LIBS
 
947
SM_CFLAGS
 
948
SM_LIBS
 
949
ICE_CFLAGS
 
950
ICE_LIBS
 
951
DBUS_GLIB_CFLAGS
 
952
DBUS_GLIB_LIBS
 
953
GCONF_CFLAGS
 
954
GCONF_LIBS
 
955
EGG_SMCLIENT_CFLAGS
 
956
EGG_SMCLIENT_LIBS
 
957
POLKIT_GNOME_CFLAGS
 
958
POLKIT_GNOME_LIBS
 
959
GCONFTOOL
 
960
GCONF_SCHEMA_CONFIG_SOURCE
 
961
GCONF_SCHEMA_FILE_DIR
 
962
GCONF_SCHEMAS_INSTALL_TRUE
 
963
GCONF_SCHEMAS_INSTALL_FALSE
 
964
GCONF_SANITY_CHECK
 
965
XMKMF
 
966
X_CFLAGS
 
967
X_PRE_LIBS
 
968
X_LIBS
 
969
X_EXTRA_LIBS
 
970
XTEST_CFLAGS
 
971
XTEST_LIBS
 
972
HAVE_XTEST
 
973
XRENDER_CFLAGS
 
974
XRENDER_LIBS
 
975
HAVE_XRENDER_TRUE
 
976
HAVE_XRENDER_FALSE
 
977
HAVE_XRENDER
 
978
XMLTO
 
979
DOCBOOK_DOCS_ENABLED_TRUE
 
980
DOCBOOK_DOCS_ENABLED_FALSE
 
981
XSLTPROC
 
982
GETTEXT_PACKAGE
 
983
MSGFMT_OPTS
 
984
CATALOGS
 
985
CATOBJEXT
 
986
GMOFILES
 
987
INSTOBJEXT
 
988
INTLLIBS
 
989
PO_IN_DATADIR_TRUE
 
990
PO_IN_DATADIR_FALSE
 
991
POFILES
 
992
POSUB
 
993
MKINSTALLDIRS
 
994
PERL
 
995
REBUILD
 
996
LIBOBJS
 
997
LTLIBOBJS'
992
998
ac_subst_files=''
993
999
ac_user_opts='
994
1000
enable_option_checking
998
1004
enable_dependency_tracking
999
1005
enable_shared
1000
1006
enable_static
1001
 
with_pic
1002
1007
enable_fast_install
1003
1008
with_gnu_ld
1004
1009
enable_libtool_lock
 
1010
with_pic
 
1011
with_tags
1005
1012
with_at_spi_registryd_directory
1006
1013
enable_compile_warnings
1007
1014
enable_iso_c
1024
1031
LIBS
1025
1032
CPPFLAGS
1026
1033
CPP
 
1034
CXX
 
1035
CXXFLAGS
 
1036
CCC
 
1037
CXXCPP
 
1038
F77
 
1039
FFLAGS
1027
1040
PKG_CONFIG
1028
1041
GNOME_SESSION_CFLAGS
1029
1042
GNOME_SESSION_LIBS
1472
1485
if test -n "$ac_unrecognized_opts"; then
1473
1486
  case $enable_option_checking in
1474
1487
    no) ;;
1475
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1488
    fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1476
1489
   { (exit 1); exit 1; }; } ;;
1477
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1490
    *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1478
1491
  esac
1479
1492
fi
1480
1493
 
1527
1540
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1528
1541
ac_ls_di=`ls -di .` &&
1529
1542
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1530
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
 
1543
  { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1531
1544
   { (exit 1); exit 1; }; }
1532
1545
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1533
1546
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1708
1721
Optional Packages:
1709
1722
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1710
1723
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1724
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1711
1725
  --with-pic              try to use only PIC/non-PIC objects [default=use
1712
1726
                          both]
1713
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1727
  --with-tags[=TAGS]      include additional configurations [automatic]
1714
1728
  --with-at-spi-registryd-directory
1715
1729
                          Specify the directory of at-spi-registryd
1716
1730
                          [default=libexecdir]
1729
1743
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1730
1744
              you have headers in a nonstandard directory <include dir>
1731
1745
  CPP         C preprocessor
 
1746
  CXX         C++ compiler command
 
1747
  CXXFLAGS    C++ compiler flags
 
1748
  CXXCPP      C++ preprocessor
 
1749
  F77         Fortran 77 compiler command
 
1750
  FFLAGS      Fortran 77 compiler flags
1732
1751
  PKG_CONFIG  path to pkg-config utility
1733
1752
  GNOME_SESSION_CFLAGS
1734
1753
              C compiler flags for GNOME_SESSION, overriding pkg-config
1839
1858
if $ac_init_version; then
1840
1859
  cat <<\_ACEOF
1841
1860
gnome-session configure 2.26.1
1842
 
generated by GNU Autoconf 2.63
 
1861
generated by GNU Autoconf 2.62
1843
1862
 
1844
1863
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1845
1864
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1853
1872
running configure, to aid debugging if configure makes a mistake.
1854
1873
 
1855
1874
It was created by gnome-session $as_me 2.26.1, which was
1856
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1875
generated by GNU Autoconf 2.62.  Invocation command line was
1857
1876
 
1858
1877
  $ $0 $@
1859
1878
 
1976
1995
    case $ac_val in #(
1977
1996
    *${as_nl}*)
1978
1997
      case $ac_var in #(
1979
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1980
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1998
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1999
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1981
2000
      esac
1982
2001
      case $ac_var in #(
1983
2002
      _ | IFS | as_nl) ;; #(
2180
2199
  fi
2181
2200
done
2182
2201
if $ac_cache_corrupted; then
2183
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2184
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2185
2202
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2186
2203
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2187
2204
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2689
2706
  else
2690
2707
    case $cross_compiling:$ac_tool_warned in
2691
2708
yes:)
2692
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2693
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2709
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2710
whose name does not start with the host triplet.  If you think this
 
2711
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2712
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2713
whose name does not start with the host triplet.  If you think this
 
2714
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2694
2715
ac_tool_warned=yes ;;
2695
2716
esac
2696
2717
    STRIP=$ac_ct_STRIP
2929
2950
  else
2930
2951
    case $cross_compiling:$ac_tool_warned in
2931
2952
yes:)
2932
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2933
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
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;}
2934
2959
ac_tool_warned=yes ;;
2935
2960
esac
2936
2961
    CC=$ac_ct_CC
3129
3154
  else
3130
3155
    case $cross_compiling:$ac_tool_warned in
3131
3156
yes:)
3132
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3133
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
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;}
3134
3163
ac_tool_warned=yes ;;
3135
3164
esac
3136
3165
    CC=$ac_ct_CC
3140
3169
fi
3141
3170
 
3142
3171
 
3143
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3144
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3145
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3172
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3146
3173
See \`config.log' for more details." >&5
3147
3174
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3148
3175
See \`config.log' for more details." >&2;}
3149
 
   { (exit 1); exit 1; }; }; }
 
3176
   { (exit 1); exit 1; }; }
3150
3177
 
3151
3178
# Provide some information about the compiler.
3152
3179
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3276
3303
  $as_echo "$as_me: failed program was:" >&5
3277
3304
sed 's/^/| /' conftest.$ac_ext >&5
3278
3305
 
3279
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3280
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3281
3306
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3282
3307
See \`config.log' for more details." >&5
3283
3308
$as_echo "$as_me: error: C compiler cannot create executables
3284
3309
See \`config.log' for more details." >&2;}
3285
 
   { (exit 77); exit 77; }; }; }
 
3310
   { (exit 77); exit 77; }; }
3286
3311
fi
3287
3312
 
3288
3313
ac_exeext=$ac_cv_exeext
3310
3335
    if test "$cross_compiling" = maybe; then
3311
3336
        cross_compiling=yes
3312
3337
    else
3313
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3314
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3315
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3338
        { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3316
3339
If you meant to cross compile, use \`--host'.
3317
3340
See \`config.log' for more details." >&5
3318
3341
$as_echo "$as_me: error: cannot run C compiled programs.
3319
3342
If you meant to cross compile, use \`--host'.
3320
3343
See \`config.log' for more details." >&2;}
3321
 
   { (exit 1); exit 1; }; }; }
 
3344
   { (exit 1); exit 1; }; }
3322
3345
    fi
3323
3346
  fi
3324
3347
fi
3361
3384
  esac
3362
3385
done
3363
3386
else
3364
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3365
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3366
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3387
  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3367
3388
See \`config.log' for more details." >&5
3368
3389
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3369
3390
See \`config.log' for more details." >&2;}
3370
 
   { (exit 1); exit 1; }; }; }
 
3391
   { (exit 1); exit 1; }; }
3371
3392
fi
3372
3393
 
3373
3394
rm -f conftest$ac_cv_exeext
3421
3442
  $as_echo "$as_me: failed program was:" >&5
3422
3443
sed 's/^/| /' conftest.$ac_ext >&5
3423
3444
 
3424
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3425
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3426
3445
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3427
3446
See \`config.log' for more details." >&5
3428
3447
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3429
3448
See \`config.log' for more details." >&2;}
3430
 
   { (exit 1); exit 1; }; }; }
 
3449
   { (exit 1); exit 1; }; }
3431
3450
fi
3432
3451
 
3433
3452
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4078
4097
 
4079
4098
 
4080
4099
 
4081
 
 
4082
 
 
4083
 
 
4084
 
 
4085
 
 
4086
 
 
4087
 
 
4088
 
 
4089
 
 
4090
 
 
4091
 
 
4092
 
 
4093
 
 
4094
 
 
4095
 
 
4096
 
 
4097
 
 
4098
 
 
4099
 
 
4100
 
 
4101
 
 
4102
 
 
4103
 
 
4104
 
 
4105
 
 
4106
 
 
4107
 
 
4108
 
 
4109
 
 
4110
 
 
4111
 
 
4112
 
 
4113
 
 
4114
 
 
4115
 
 
4116
 
 
4117
 
 
4118
 
 
4119
 
 
4120
 
 
4121
 
 
4122
 
 
4123
 
 
4124
 
 
4125
 
 
4126
 
 
4127
 
 
4128
 
 
4129
 
 
4130
 
 
4131
 
 
4132
 
 
4133
 
 
4134
 
 
4135
 
 
4136
 
 
4137
 
 
4138
 
 
4139
 
 
4140
 
 
4141
 
 
4142
 
 
4143
 
 
4144
 
 
4145
 
 
4146
 
 
4147
 
 
4148
 
 
4149
 
 
4150
 
 
4151
 
 
4152
 
 
4153
 
 
4154
 
 
4155
 
 
4156
 
 
4157
4100
# Check the gettext tools to make sure they are GNU
4158
4101
# Extract the first word of "xgettext", so it can be a program name with args.
4159
4102
set dummy xgettext; ac_word=$2
4371
4314
 
4372
4315
 
4373
4316
if test -z "$INTLTOOL_PERL"; then
4374
 
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
4375
 
$as_echo "$as_me: error: perl not found" >&2;}
 
4317
   { { $as_echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
 
4318
$as_echo "$as_me: error: perl not found; required for intltool" >&2;}
4376
4319
   { (exit 1); exit 1; }; }
4377
4320
fi
4378
 
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
4379
 
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4380
 
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4381
 
if test $? -ne 0; then
4382
 
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
4383
 
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
 
4321
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
 
4322
   { { $as_echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
 
4323
$as_echo "$as_me: error: perl 5.x required for intltool" >&2;}
4384
4324
   { (exit 1); exit 1; }; }
4385
 
else
4386
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4387
 
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
4388
 
$as_echo "$IT_PERL_VERSION" >&6; }
4389
4325
fi
4390
4326
if test "x" != "xno-xml"; then
4391
4327
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
4535
4471
fi
4536
4472
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4537
4473
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
4538
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
4474
if test $ac_cv_func_bind_textdomain_codeset = yes; then
4539
4475
  DATADIRNAME=share
4540
4476
else
4541
4477
  DATADIRNAME=lib
4732
4668
  else
4733
4669
    case $cross_compiling:$ac_tool_warned in
4734
4670
yes:)
4735
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4736
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4671
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4672
whose name does not start with the host triplet.  If you think this
 
4673
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4674
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4675
whose name does not start with the host triplet.  If you think this
 
4676
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4737
4677
ac_tool_warned=yes ;;
4738
4678
esac
4739
4679
    CC=$ac_ct_CC
4932
4872
  else
4933
4873
    case $cross_compiling:$ac_tool_warned in
4934
4874
yes:)
4935
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4936
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4875
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4876
whose name does not start with the host triplet.  If you think this
 
4877
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4878
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4879
whose name does not start with the host triplet.  If you think this
 
4880
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4937
4881
ac_tool_warned=yes ;;
4938
4882
esac
4939
4883
    CC=$ac_ct_CC
4943
4887
fi
4944
4888
 
4945
4889
 
4946
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4947
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4948
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
4890
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4949
4891
See \`config.log' for more details." >&5
4950
4892
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4951
4893
See \`config.log' for more details." >&2;}
4952
 
   { (exit 1); exit 1; }; }; }
 
4894
   { (exit 1); exit 1; }; }
4953
4895
 
4954
4896
# Provide some information about the compiler.
4955
4897
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
5657
5599
if $ac_preproc_ok; then
5658
5600
  :
5659
5601
else
5660
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5661
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5662
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
5602
  { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5663
5603
See \`config.log' for more details." >&5
5664
5604
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5665
5605
See \`config.log' for more details." >&2;}
5666
 
   { (exit 1); exit 1; }; }; }
 
5606
   { (exit 1); exit 1; }; }
5667
5607
fi
5668
5608
 
5669
5609
ac_ext=c
5985
5925
 
5986
5926
fi
5987
5927
 
5988
 
case `pwd` in
5989
 
  *\ * | *\     *)
5990
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5991
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5992
 
esac
5993
 
 
5994
 
 
5995
 
 
5996
 
macro_version='2.2.6'
5997
 
macro_revision='1.3012'
5998
 
 
5999
 
 
6000
 
 
6001
 
 
6002
 
 
6003
 
 
6004
 
 
6005
 
 
6006
 
 
6007
 
 
6008
 
 
6009
 
 
6010
 
 
6011
 
ltmain="$ac_aux_dir/ltmain.sh"
 
5928
# Check whether --enable-shared was given.
 
5929
if test "${enable_shared+set}" = set; then
 
5930
  enableval=$enable_shared; p=${PACKAGE-default}
 
5931
    case $enableval in
 
5932
    yes) enable_shared=yes ;;
 
5933
    no) enable_shared=no ;;
 
5934
    *)
 
5935
      enable_shared=no
 
5936
      # Look at the argument we got.  We use all the common list separators.
 
5937
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
5938
      for pkg in $enableval; do
 
5939
        IFS="$lt_save_ifs"
 
5940
        if test "X$pkg" = "X$p"; then
 
5941
          enable_shared=yes
 
5942
        fi
 
5943
      done
 
5944
      IFS="$lt_save_ifs"
 
5945
      ;;
 
5946
    esac
 
5947
else
 
5948
  enable_shared=yes
 
5949
fi
 
5950
 
 
5951
 
 
5952
# Check whether --enable-static was given.
 
5953
if test "${enable_static+set}" = set; then
 
5954
  enableval=$enable_static; p=${PACKAGE-default}
 
5955
    case $enableval in
 
5956
    yes) enable_static=yes ;;
 
5957
    no) enable_static=no ;;
 
5958
    *)
 
5959
     enable_static=no
 
5960
      # Look at the argument we got.  We use all the common list separators.
 
5961
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
5962
      for pkg in $enableval; do
 
5963
        IFS="$lt_save_ifs"
 
5964
        if test "X$pkg" = "X$p"; then
 
5965
          enable_static=yes
 
5966
        fi
 
5967
      done
 
5968
      IFS="$lt_save_ifs"
 
5969
      ;;
 
5970
    esac
 
5971
else
 
5972
  enable_static=yes
 
5973
fi
 
5974
 
 
5975
 
 
5976
# Check whether --enable-fast-install was given.
 
5977
if test "${enable_fast_install+set}" = set; then
 
5978
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
5979
    case $enableval in
 
5980
    yes) enable_fast_install=yes ;;
 
5981
    no) enable_fast_install=no ;;
 
5982
    *)
 
5983
      enable_fast_install=no
 
5984
      # Look at the argument we got.  We use all the common list separators.
 
5985
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
5986
      for pkg in $enableval; do
 
5987
        IFS="$lt_save_ifs"
 
5988
        if test "X$pkg" = "X$p"; then
 
5989
          enable_fast_install=yes
 
5990
        fi
 
5991
      done
 
5992
      IFS="$lt_save_ifs"
 
5993
      ;;
 
5994
    esac
 
5995
else
 
5996
  enable_fast_install=yes
 
5997
fi
 
5998
 
6012
5999
 
6013
6000
# Make sure we can run config.sub.
6014
6001
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6095
6082
 
6096
6083
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6097
6084
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6098
 
if test "${ac_cv_path_SED+set}" = set; then
 
6085
if test "${lt_cv_path_SED+set}" = set; then
6099
6086
  $as_echo_n "(cached) " >&6
6100
6087
else
6101
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6102
 
     for ac_i in 1 2 3 4 5 6 7; do
6103
 
       ac_script="$ac_script$as_nl$ac_script"
6104
 
     done
6105
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6106
 
     $as_unset ac_script || ac_script=
6107
 
     if test -z "$SED"; then
6108
 
  ac_path_SED_found=false
6109
 
  # Loop through the user's path and test for each of PROGNAME-LIST
6110
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6088
  # Loop through the user's path and test for sed and gsed.
 
6089
# Then use that list of sed's as ones to test for truncation.
 
6090
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111
6091
for as_dir in $PATH
6112
6092
do
6113
6093
  IFS=$as_save_IFS
6114
6094
  test -z "$as_dir" && as_dir=.
6115
 
  for ac_prog in sed gsed; do
6116
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6117
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6118
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6119
 
# Check for GNU ac_path_SED and select it if it is found.
6120
 
  # Check for GNU $ac_path_SED
6121
 
case `"$ac_path_SED" --version 2>&1` in
6122
 
*GNU*)
6123
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6124
 
*)
6125
 
  ac_count=0
6126
 
  $as_echo_n 0123456789 >"conftest.in"
6127
 
  while :
6128
 
  do
6129
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6130
 
    mv "conftest.tmp" "conftest.in"
6131
 
    cp "conftest.in" "conftest.nl"
6132
 
    $as_echo '' >> "conftest.nl"
6133
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6134
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6135
 
    ac_count=`expr $ac_count + 1`
6136
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
6137
 
      # Best one so far, save it but keep looking for a better one
6138
 
      ac_cv_path_SED="$ac_path_SED"
6139
 
      ac_path_SED_max=$ac_count
6140
 
    fi
6141
 
    # 10*(2^10) chars as input seems more than enough
6142
 
    test $ac_count -gt 10 && break
6143
 
  done
6144
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6145
 
esac
6146
 
 
6147
 
      $ac_path_SED_found && break 3
6148
 
    done
6149
 
  done
6150
 
done
6151
 
IFS=$as_save_IFS
6152
 
  if test -z "$ac_cv_path_SED"; then
6153
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
6154
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
6155
 
   { (exit 1); exit 1; }; }
6156
 
  fi
6157
 
else
6158
 
  ac_cv_path_SED=$SED
6159
 
fi
6160
 
 
6161
 
fi
6162
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
6163
 
$as_echo "$ac_cv_path_SED" >&6; }
6164
 
 SED="$ac_cv_path_SED"
6165
 
  rm -f conftest.sed
6166
 
 
6167
 
test -z "$SED" && SED=sed
6168
 
Xsed="$SED -e 1s/^X//"
6169
 
 
6170
 
 
6171
 
 
6172
 
 
6173
 
 
6174
 
 
6175
 
 
6176
 
 
6177
 
 
6178
 
 
6179
 
 
6180
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
6181
 
$as_echo_n "checking for fgrep... " >&6; }
6182
 
if test "${ac_cv_path_FGREP+set}" = set; then
6183
 
  $as_echo_n "(cached) " >&6
6184
 
else
6185
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6186
 
   then ac_cv_path_FGREP="$GREP -F"
6187
 
   else
6188
 
     if test -z "$FGREP"; then
6189
 
  ac_path_FGREP_found=false
6190
 
  # Loop through the user's path and test for each of PROGNAME-LIST
6191
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6192
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6193
 
do
6194
 
  IFS=$as_save_IFS
6195
 
  test -z "$as_dir" && as_dir=.
6196
 
  for ac_prog in fgrep; do
6197
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6198
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6199
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6200
 
# Check for GNU ac_path_FGREP and select it if it is found.
6201
 
  # Check for GNU $ac_path_FGREP
6202
 
case `"$ac_path_FGREP" --version 2>&1` in
6203
 
*GNU*)
6204
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6205
 
*)
6206
 
  ac_count=0
6207
 
  $as_echo_n 0123456789 >"conftest.in"
6208
 
  while :
6209
 
  do
6210
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6211
 
    mv "conftest.tmp" "conftest.in"
6212
 
    cp "conftest.in" "conftest.nl"
6213
 
    $as_echo 'FGREP' >> "conftest.nl"
6214
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6215
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6216
 
    ac_count=`expr $ac_count + 1`
6217
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6218
 
      # Best one so far, save it but keep looking for a better one
6219
 
      ac_cv_path_FGREP="$ac_path_FGREP"
6220
 
      ac_path_FGREP_max=$ac_count
6221
 
    fi
6222
 
    # 10*(2^10) chars as input seems more than enough
6223
 
    test $ac_count -gt 10 && break
6224
 
  done
6225
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6226
 
esac
6227
 
 
6228
 
      $ac_path_FGREP_found && break 3
6229
 
    done
6230
 
  done
6231
 
done
6232
 
IFS=$as_save_IFS
6233
 
  if test -z "$ac_cv_path_FGREP"; then
6234
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6235
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6236
 
   { (exit 1); exit 1; }; }
6237
 
  fi
6238
 
else
6239
 
  ac_cv_path_FGREP=$FGREP
6240
 
fi
6241
 
 
6242
 
   fi
6243
 
fi
6244
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
6245
 
$as_echo "$ac_cv_path_FGREP" >&6; }
6246
 
 FGREP="$ac_cv_path_FGREP"
6247
 
 
6248
 
 
6249
 
test -z "$GREP" && GREP=grep
6250
 
 
6251
 
 
6252
 
 
6253
 
 
6254
 
 
6255
 
 
6256
 
 
6257
 
 
6258
 
 
6259
 
 
6260
 
 
6261
 
 
6262
 
 
6263
 
 
6264
 
 
6265
 
 
6266
 
 
 
6095
  for lt_ac_prog in sed gsed; do
 
6096
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6097
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
 
6098
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 
6099
      fi
 
6100
    done
 
6101
  done
 
6102
done
 
6103
IFS=$as_save_IFS
 
6104
lt_ac_max=0
 
6105
lt_ac_count=0
 
6106
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
 
6107
# along with /bin/sed that truncates output.
 
6108
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 
6109
  test ! -f $lt_ac_sed && continue
 
6110
  cat /dev/null > conftest.in
 
6111
  lt_ac_count=0
 
6112
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 
6113
  # Check for GNU sed and select it if it is found.
 
6114
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 
6115
    lt_cv_path_SED=$lt_ac_sed
 
6116
    break
 
6117
  fi
 
6118
  while true; do
 
6119
    cat conftest.in conftest.in >conftest.tmp
 
6120
    mv conftest.tmp conftest.in
 
6121
    cp conftest.in conftest.nl
 
6122
    echo >>conftest.nl
 
6123
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 
6124
    cmp -s conftest.out conftest.nl || break
 
6125
    # 10000 chars as input seems more than enough
 
6126
    test $lt_ac_count -gt 10 && break
 
6127
    lt_ac_count=`expr $lt_ac_count + 1`
 
6128
    if test $lt_ac_count -gt $lt_ac_max; then
 
6129
      lt_ac_max=$lt_ac_count
 
6130
      lt_cv_path_SED=$lt_ac_sed
 
6131
    fi
 
6132
  done
 
6133
done
 
6134
 
 
6135
fi
 
6136
 
 
6137
SED=$lt_cv_path_SED
 
6138
 
 
6139
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
 
6140
$as_echo "$SED" >&6; }
6267
6141
 
6268
6142
 
6269
6143
# Check whether --with-gnu-ld was given.
6290
6164
    [\\/]* | ?:[\\/]*)
6291
6165
      re_direlt='/[^/][^/]*/\.\./'
6292
6166
      # Canonicalize the pathname of ld
6293
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6294
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6295
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
6167
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 
6168
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
6169
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6296
6170
      done
6297
6171
      test -z "$LD" && LD="$ac_prog"
6298
6172
      ;;
6372
6246
with_gnu_ld=$lt_cv_prog_gnu_ld
6373
6247
 
6374
6248
 
6375
 
 
6376
 
 
6377
 
 
6378
 
 
6379
 
 
6380
 
 
6381
 
 
6382
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
6383
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
6249
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6250
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
6251
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
6252
  $as_echo_n "(cached) " >&6
 
6253
else
 
6254
  lt_cv_ld_reload_flag='-r'
 
6255
fi
 
6256
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6257
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
6258
reload_flag=$lt_cv_ld_reload_flag
 
6259
case $reload_flag in
 
6260
"" | " "*) ;;
 
6261
*) reload_flag=" $reload_flag" ;;
 
6262
esac
 
6263
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6264
case $host_os in
 
6265
  darwin*)
 
6266
    if test "$GCC" = yes; then
 
6267
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
6268
    else
 
6269
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6270
    fi
 
6271
    ;;
 
6272
esac
 
6273
 
 
6274
{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
6275
$as_echo_n "checking for BSD-compatible nm... " >&6; }
6384
6276
if test "${lt_cv_path_NM+set}" = set; then
6385
6277
  $as_echo_n "(cached) " >&6
6386
6278
else
6425
6317
    done
6426
6318
    IFS="$lt_save_ifs"
6427
6319
  done
6428
 
  : ${lt_cv_path_NM=no}
 
6320
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6429
6321
fi
6430
6322
fi
6431
6323
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6432
6324
$as_echo "$lt_cv_path_NM" >&6; }
6433
 
if test "$lt_cv_path_NM" != "no"; then
6434
 
  NM="$lt_cv_path_NM"
6435
 
else
6436
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
6437
 
  if test -n "$ac_tool_prefix"; then
6438
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6439
 
  do
6440
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6441
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6442
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6443
 
$as_echo_n "checking for $ac_word... " >&6; }
6444
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
6445
 
  $as_echo_n "(cached) " >&6
6446
 
else
6447
 
  if test -n "$DUMPBIN"; then
6448
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6449
 
else
6450
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451
 
for as_dir in $PATH
6452
 
do
6453
 
  IFS=$as_save_IFS
6454
 
  test -z "$as_dir" && as_dir=.
6455
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6456
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6457
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6458
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6459
 
    break 2
6460
 
  fi
6461
 
done
6462
 
done
6463
 
IFS=$as_save_IFS
6464
 
 
6465
 
fi
6466
 
fi
6467
 
DUMPBIN=$ac_cv_prog_DUMPBIN
6468
 
if test -n "$DUMPBIN"; then
6469
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
6470
 
$as_echo "$DUMPBIN" >&6; }
6471
 
else
6472
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6473
 
$as_echo "no" >&6; }
6474
 
fi
6475
 
 
6476
 
 
6477
 
    test -n "$DUMPBIN" && break
6478
 
  done
6479
 
fi
6480
 
if test -z "$DUMPBIN"; then
6481
 
  ac_ct_DUMPBIN=$DUMPBIN
6482
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6483
 
do
6484
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6485
 
set dummy $ac_prog; ac_word=$2
6486
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6487
 
$as_echo_n "checking for $ac_word... " >&6; }
6488
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
6489
 
  $as_echo_n "(cached) " >&6
6490
 
else
6491
 
  if test -n "$ac_ct_DUMPBIN"; then
6492
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6493
 
else
6494
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6495
 
for as_dir in $PATH
6496
 
do
6497
 
  IFS=$as_save_IFS
6498
 
  test -z "$as_dir" && as_dir=.
6499
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6500
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6501
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6502
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6503
 
    break 2
6504
 
  fi
6505
 
done
6506
 
done
6507
 
IFS=$as_save_IFS
6508
 
 
6509
 
fi
6510
 
fi
6511
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6512
 
if test -n "$ac_ct_DUMPBIN"; then
6513
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
6514
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
6515
 
else
6516
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6517
 
$as_echo "no" >&6; }
6518
 
fi
6519
 
 
6520
 
 
6521
 
  test -n "$ac_ct_DUMPBIN" && break
6522
 
done
6523
 
 
6524
 
  if test "x$ac_ct_DUMPBIN" = x; then
6525
 
    DUMPBIN=":"
6526
 
  else
6527
 
    case $cross_compiling:$ac_tool_warned in
6528
 
yes:)
6529
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6530
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6531
 
ac_tool_warned=yes ;;
6532
 
esac
6533
 
    DUMPBIN=$ac_ct_DUMPBIN
6534
 
  fi
6535
 
fi
6536
 
 
6537
 
 
6538
 
  if test "$DUMPBIN" != ":"; then
6539
 
    NM="$DUMPBIN"
6540
 
  fi
6541
 
fi
6542
 
test -z "$NM" && NM=nm
6543
 
 
6544
 
 
6545
 
 
6546
 
 
6547
 
 
6548
 
 
6549
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6550
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6551
 
if test "${lt_cv_nm_interface+set}" = set; then
6552
 
  $as_echo_n "(cached) " >&6
6553
 
else
6554
 
  lt_cv_nm_interface="BSD nm"
6555
 
  echo "int some_variable = 0;" > conftest.$ac_ext
6556
 
  (eval echo "\"\$as_me:6556: $ac_compile\"" >&5)
6557
 
  (eval "$ac_compile" 2>conftest.err)
6558
 
  cat conftest.err >&5
6559
 
  (eval echo "\"\$as_me:6559: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6560
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6561
 
  cat conftest.err >&5
6562
 
  (eval echo "\"\$as_me:6562: output\"" >&5)
6563
 
  cat conftest.out >&5
6564
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6565
 
    lt_cv_nm_interface="MS dumpbin"
6566
 
  fi
6567
 
  rm -f conftest*
6568
 
fi
6569
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6570
 
$as_echo "$lt_cv_nm_interface" >&6; }
 
6325
NM="$lt_cv_path_NM"
6571
6326
 
6572
6327
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
6573
6328
$as_echo_n "checking whether ln -s works... " >&6; }
6580
6335
$as_echo "no, using $LN_S" >&6; }
6581
6336
fi
6582
6337
 
6583
 
# find the maximum length of command line arguments
6584
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6585
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6586
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6587
 
  $as_echo_n "(cached) " >&6
6588
 
else
6589
 
    i=0
6590
 
  teststring="ABCD"
6591
 
 
6592
 
  case $build_os in
6593
 
  msdosdjgpp*)
6594
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6595
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6596
 
    # during glob expansion).  Even if it were fixed, the result of this
6597
 
    # check would be larger than it should be.
6598
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6599
 
    ;;
6600
 
 
6601
 
  gnu*)
6602
 
    # Under GNU Hurd, this test is not required because there is
6603
 
    # no limit to the length of command line arguments.
6604
 
    # Libtool will interpret -1 as no limit whatsoever
6605
 
    lt_cv_sys_max_cmd_len=-1;
6606
 
    ;;
6607
 
 
6608
 
  cygwin* | mingw* | cegcc*)
6609
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6610
 
    # about 5 minutes as the teststring grows exponentially.
6611
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6612
 
    # you end up with a "frozen" computer, even though with patience
6613
 
    # the test eventually succeeds (with a max line length of 256k).
6614
 
    # Instead, let's just punt: use the minimum linelength reported by
6615
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6616
 
    lt_cv_sys_max_cmd_len=8192;
6617
 
    ;;
6618
 
 
6619
 
  amigaos*)
6620
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6621
 
    # So we just punt and use a minimum line length of 8192.
6622
 
    lt_cv_sys_max_cmd_len=8192;
6623
 
    ;;
6624
 
 
6625
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6626
 
    # This has been around since 386BSD, at least.  Likely further.
6627
 
    if test -x /sbin/sysctl; then
6628
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6629
 
    elif test -x /usr/sbin/sysctl; then
6630
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6631
 
    else
6632
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6633
 
    fi
6634
 
    # And add a safety zone
6635
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6636
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6637
 
    ;;
6638
 
 
6639
 
  interix*)
6640
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6641
 
    lt_cv_sys_max_cmd_len=196608
6642
 
    ;;
6643
 
 
6644
 
  osf*)
6645
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6646
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6647
 
    # nice to cause kernel panics so lets avoid the loop below.
6648
 
    # First set a reasonable default.
6649
 
    lt_cv_sys_max_cmd_len=16384
6650
 
    #
6651
 
    if test -x /sbin/sysconfig; then
6652
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6653
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6654
 
      esac
6655
 
    fi
6656
 
    ;;
6657
 
  sco3.2v5*)
6658
 
    lt_cv_sys_max_cmd_len=102400
6659
 
    ;;
6660
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6661
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6662
 
    if test -n "$kargmax"; then
6663
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6664
 
    else
6665
 
      lt_cv_sys_max_cmd_len=32768
6666
 
    fi
6667
 
    ;;
6668
 
  *)
6669
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6670
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6671
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6672
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6673
 
    else
6674
 
      # Make teststring a little bigger before we do anything with it.
6675
 
      # a 1K string should be a reasonable start.
6676
 
      for i in 1 2 3 4 5 6 7 8 ; do
6677
 
        teststring=$teststring$teststring
6678
 
      done
6679
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6680
 
      # If test is not a shell built-in, we'll probably end up computing a
6681
 
      # maximum length that is only half of the actual maximum length, but
6682
 
      # we can't tell.
6683
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6684
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6685
 
              test $i != 17 # 1/2 MB should be enough
6686
 
      do
6687
 
        i=`expr $i + 1`
6688
 
        teststring=$teststring$teststring
6689
 
      done
6690
 
      # Only check the string length outside the loop.
6691
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6692
 
      teststring=
6693
 
      # Add a significant safety factor because C++ compilers can tack on
6694
 
      # massive amounts of additional arguments before passing them to the
6695
 
      # linker.  It appears as though 1/2 is a usable value.
6696
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6697
 
    fi
6698
 
    ;;
6699
 
  esac
6700
 
 
6701
 
fi
6702
 
 
6703
 
if test -n $lt_cv_sys_max_cmd_len ; then
6704
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6705
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6706
 
else
6707
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
6708
 
$as_echo "none" >&6; }
6709
 
fi
6710
 
max_cmd_len=$lt_cv_sys_max_cmd_len
6711
 
 
6712
 
 
6713
 
 
6714
 
 
6715
 
 
6716
 
 
6717
 
: ${CP="cp -f"}
6718
 
: ${MV="mv -f"}
6719
 
: ${RM="rm -f"}
6720
 
 
6721
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6722
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6723
 
# Try some XSI features
6724
 
xsi_shell=no
6725
 
( _lt_dummy="a/b/c"
6726
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6727
 
      = c,a/b,, \
6728
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
6729
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6730
 
  && xsi_shell=yes
6731
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
6732
 
$as_echo "$xsi_shell" >&6; }
6733
 
 
6734
 
 
6735
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6736
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6737
 
lt_shell_append=no
6738
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6739
 
    >/dev/null 2>&1 \
6740
 
  && lt_shell_append=yes
6741
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6742
 
$as_echo "$lt_shell_append" >&6; }
6743
 
 
6744
 
 
6745
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6746
 
  lt_unset=unset
6747
 
else
6748
 
  lt_unset=false
6749
 
fi
6750
 
 
6751
 
 
6752
 
 
6753
 
 
6754
 
 
6755
 
# test EBCDIC or ASCII
6756
 
case `echo X|tr X '\101'` in
6757
 
 A) # ASCII based system
6758
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6759
 
  lt_SP2NL='tr \040 \012'
6760
 
  lt_NL2SP='tr \015\012 \040\040'
6761
 
  ;;
6762
 
 *) # EBCDIC based system
6763
 
  lt_SP2NL='tr \100 \n'
6764
 
  lt_NL2SP='tr \r\n \100\100'
6765
 
  ;;
6766
 
esac
6767
 
 
6768
 
 
6769
 
 
6770
 
 
6771
 
 
6772
 
 
6773
 
 
6774
 
 
6775
 
 
6776
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6777
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6778
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
6779
 
  $as_echo_n "(cached) " >&6
6780
 
else
6781
 
  lt_cv_ld_reload_flag='-r'
6782
 
fi
6783
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6784
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6785
 
reload_flag=$lt_cv_ld_reload_flag
6786
 
case $reload_flag in
6787
 
"" | " "*) ;;
6788
 
*) reload_flag=" $reload_flag" ;;
6789
 
esac
6790
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6791
 
case $host_os in
6792
 
  darwin*)
6793
 
    if test "$GCC" = yes; then
6794
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6795
 
    else
6796
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6797
 
    fi
6798
 
    ;;
6799
 
esac
6800
 
 
6801
 
 
6802
 
 
6803
 
 
6804
 
 
6805
 
 
6806
 
 
6807
 
 
6808
 
 
6809
 
if test -n "$ac_tool_prefix"; then
6810
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6811
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6812
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6813
 
$as_echo_n "checking for $ac_word... " >&6; }
6814
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6815
 
  $as_echo_n "(cached) " >&6
6816
 
else
6817
 
  if test -n "$OBJDUMP"; then
6818
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6819
 
else
6820
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6821
 
for as_dir in $PATH
6822
 
do
6823
 
  IFS=$as_save_IFS
6824
 
  test -z "$as_dir" && as_dir=.
6825
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6826
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6827
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6828
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6829
 
    break 2
6830
 
  fi
6831
 
done
6832
 
done
6833
 
IFS=$as_save_IFS
6834
 
 
6835
 
fi
6836
 
fi
6837
 
OBJDUMP=$ac_cv_prog_OBJDUMP
6838
 
if test -n "$OBJDUMP"; then
6839
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6840
 
$as_echo "$OBJDUMP" >&6; }
6841
 
else
6842
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6843
 
$as_echo "no" >&6; }
6844
 
fi
6845
 
 
6846
 
 
6847
 
fi
6848
 
if test -z "$ac_cv_prog_OBJDUMP"; then
6849
 
  ac_ct_OBJDUMP=$OBJDUMP
6850
 
  # Extract the first word of "objdump", so it can be a program name with args.
6851
 
set dummy objdump; ac_word=$2
6852
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6853
 
$as_echo_n "checking for $ac_word... " >&6; }
6854
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6855
 
  $as_echo_n "(cached) " >&6
6856
 
else
6857
 
  if test -n "$ac_ct_OBJDUMP"; then
6858
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6859
 
else
6860
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6861
 
for as_dir in $PATH
6862
 
do
6863
 
  IFS=$as_save_IFS
6864
 
  test -z "$as_dir" && as_dir=.
6865
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6866
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6867
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6868
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6869
 
    break 2
6870
 
  fi
6871
 
done
6872
 
done
6873
 
IFS=$as_save_IFS
6874
 
 
6875
 
fi
6876
 
fi
6877
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6878
 
if test -n "$ac_ct_OBJDUMP"; then
6879
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6880
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
6881
 
else
6882
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6883
 
$as_echo "no" >&6; }
6884
 
fi
6885
 
 
6886
 
  if test "x$ac_ct_OBJDUMP" = x; then
6887
 
    OBJDUMP="false"
6888
 
  else
6889
 
    case $cross_compiling:$ac_tool_warned in
6890
 
yes:)
6891
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6892
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6893
 
ac_tool_warned=yes ;;
6894
 
esac
6895
 
    OBJDUMP=$ac_ct_OBJDUMP
6896
 
  fi
6897
 
else
6898
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
6899
 
fi
6900
 
 
6901
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6902
 
 
6903
 
 
6904
 
 
6905
 
 
6906
 
 
6907
 
 
6908
 
 
6909
 
 
6910
 
 
6911
6338
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6912
6339
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6913
6340
if test "${lt_cv_deplibs_check_method+set}" = set; then
6961
6388
  fi
6962
6389
  ;;
6963
6390
 
6964
 
cegcc)
6965
 
  # use the weaker test based on 'objdump'. See mingw*.
6966
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6967
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6968
 
  ;;
6969
 
 
6970
6391
darwin* | rhapsody*)
6971
6392
  lt_cv_deplibs_check_method=pass_all
6972
6393
  ;;
6973
6394
 
6974
6395
freebsd* | dragonfly*)
6975
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
6396
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6976
6397
    case $host_cpu in
6977
6398
    i*86 )
6978
6399
      # Not sure whether the presence of OpenBSD here was a mistake.
7029
6450
  lt_cv_deplibs_check_method=pass_all
7030
6451
  ;;
7031
6452
 
7032
 
netbsd* | netbsdelf*-gnu)
7033
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
6453
netbsd*)
 
6454
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7034
6455
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7035
6456
  else
7036
6457
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7043
6464
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7044
6465
  ;;
7045
6466
 
7046
 
*nto* | *qnx*)
7047
 
  lt_cv_deplibs_check_method=pass_all
 
6467
nto-qnx*)
 
6468
  lt_cv_deplibs_check_method=unknown
7048
6469
  ;;
7049
6470
 
7050
6471
openbsd*)
7051
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6472
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7052
6473
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7053
6474
  else
7054
6475
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7067
6488
  lt_cv_deplibs_check_method=pass_all
7068
6489
  ;;
7069
6490
 
7070
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7071
 
  lt_cv_deplibs_check_method=pass_all
7072
 
  ;;
7073
 
 
7074
6491
sysv4 | sysv4.3*)
7075
6492
  case $host_vendor in
7076
6493
  motorola)
7098
6515
  esac
7099
6516
  ;;
7100
6517
 
7101
 
tpf*)
 
6518
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7102
6519
  lt_cv_deplibs_check_method=pass_all
7103
6520
  ;;
7104
6521
esac
7113
6530
 
7114
6531
 
7115
6532
 
7116
 
 
7117
 
 
7118
 
 
7119
 
 
7120
 
 
7121
 
 
7122
 
 
7123
 
 
7124
 
if test -n "$ac_tool_prefix"; then
7125
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7126
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
7127
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7128
 
$as_echo_n "checking for $ac_word... " >&6; }
7129
 
if test "${ac_cv_prog_AR+set}" = set; then
7130
 
  $as_echo_n "(cached) " >&6
7131
 
else
7132
 
  if test -n "$AR"; then
7133
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
7134
 
else
7135
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136
 
for as_dir in $PATH
7137
 
do
7138
 
  IFS=$as_save_IFS
7139
 
  test -z "$as_dir" && as_dir=.
7140
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7141
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7142
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7143
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7144
 
    break 2
7145
 
  fi
7146
 
done
7147
 
done
7148
 
IFS=$as_save_IFS
7149
 
 
7150
 
fi
7151
 
fi
7152
 
AR=$ac_cv_prog_AR
7153
 
if test -n "$AR"; then
7154
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
7155
 
$as_echo "$AR" >&6; }
7156
 
else
7157
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7158
 
$as_echo "no" >&6; }
7159
 
fi
7160
 
 
7161
 
 
7162
 
fi
7163
 
if test -z "$ac_cv_prog_AR"; then
7164
 
  ac_ct_AR=$AR
7165
 
  # Extract the first word of "ar", so it can be a program name with args.
7166
 
set dummy ar; ac_word=$2
7167
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7168
 
$as_echo_n "checking for $ac_word... " >&6; }
7169
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7170
 
  $as_echo_n "(cached) " >&6
7171
 
else
7172
 
  if test -n "$ac_ct_AR"; then
7173
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7174
 
else
7175
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176
 
for as_dir in $PATH
7177
 
do
7178
 
  IFS=$as_save_IFS
7179
 
  test -z "$as_dir" && as_dir=.
7180
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7181
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7182
 
    ac_cv_prog_ac_ct_AR="ar"
7183
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7184
 
    break 2
7185
 
  fi
7186
 
done
7187
 
done
7188
 
IFS=$as_save_IFS
7189
 
 
7190
 
fi
7191
 
fi
7192
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7193
 
if test -n "$ac_ct_AR"; then
7194
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7195
 
$as_echo "$ac_ct_AR" >&6; }
7196
 
else
7197
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7198
 
$as_echo "no" >&6; }
7199
 
fi
7200
 
 
7201
 
  if test "x$ac_ct_AR" = x; then
7202
 
    AR="false"
7203
 
  else
7204
 
    case $cross_compiling:$ac_tool_warned in
7205
 
yes:)
7206
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7207
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7208
 
ac_tool_warned=yes ;;
7209
 
esac
7210
 
    AR=$ac_ct_AR
7211
 
  fi
7212
 
else
7213
 
  AR="$ac_cv_prog_AR"
7214
 
fi
7215
 
 
7216
 
test -z "$AR" && AR=ar
7217
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7218
 
 
7219
 
 
7220
 
 
7221
 
 
7222
 
 
7223
 
 
7224
 
 
7225
 
 
7226
 
 
7227
 
 
7228
 
 
7229
 
if test -n "$ac_tool_prefix"; then
7230
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7231
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7232
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7233
 
$as_echo_n "checking for $ac_word... " >&6; }
7234
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7235
 
  $as_echo_n "(cached) " >&6
7236
 
else
7237
 
  if test -n "$STRIP"; then
7238
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7239
 
else
7240
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241
 
for as_dir in $PATH
7242
 
do
7243
 
  IFS=$as_save_IFS
7244
 
  test -z "$as_dir" && as_dir=.
7245
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7246
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7247
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7248
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7249
 
    break 2
7250
 
  fi
7251
 
done
7252
 
done
7253
 
IFS=$as_save_IFS
7254
 
 
7255
 
fi
7256
 
fi
7257
 
STRIP=$ac_cv_prog_STRIP
7258
 
if test -n "$STRIP"; then
7259
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
7260
 
$as_echo "$STRIP" >&6; }
7261
 
else
7262
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7263
 
$as_echo "no" >&6; }
7264
 
fi
7265
 
 
7266
 
 
7267
 
fi
7268
 
if test -z "$ac_cv_prog_STRIP"; then
7269
 
  ac_ct_STRIP=$STRIP
7270
 
  # Extract the first word of "strip", so it can be a program name with args.
7271
 
set dummy strip; ac_word=$2
7272
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7273
 
$as_echo_n "checking for $ac_word... " >&6; }
7274
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7275
 
  $as_echo_n "(cached) " >&6
7276
 
else
7277
 
  if test -n "$ac_ct_STRIP"; then
7278
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7279
 
else
7280
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281
 
for as_dir in $PATH
7282
 
do
7283
 
  IFS=$as_save_IFS
7284
 
  test -z "$as_dir" && as_dir=.
7285
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7286
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7287
 
    ac_cv_prog_ac_ct_STRIP="strip"
7288
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7289
 
    break 2
7290
 
  fi
7291
 
done
7292
 
done
7293
 
IFS=$as_save_IFS
7294
 
 
7295
 
fi
7296
 
fi
7297
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7298
 
if test -n "$ac_ct_STRIP"; then
7299
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7300
 
$as_echo "$ac_ct_STRIP" >&6; }
7301
 
else
7302
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7303
 
$as_echo "no" >&6; }
7304
 
fi
7305
 
 
7306
 
  if test "x$ac_ct_STRIP" = x; then
7307
 
    STRIP=":"
7308
 
  else
7309
 
    case $cross_compiling:$ac_tool_warned in
7310
 
yes:)
7311
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7312
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7313
 
ac_tool_warned=yes ;;
7314
 
esac
7315
 
    STRIP=$ac_ct_STRIP
7316
 
  fi
7317
 
else
7318
 
  STRIP="$ac_cv_prog_STRIP"
7319
 
fi
7320
 
 
7321
 
test -z "$STRIP" && STRIP=:
7322
 
 
7323
 
 
7324
 
 
7325
 
 
7326
 
 
7327
 
 
7328
 
if test -n "$ac_tool_prefix"; then
7329
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7330
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7331
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7332
 
$as_echo_n "checking for $ac_word... " >&6; }
7333
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7334
 
  $as_echo_n "(cached) " >&6
7335
 
else
7336
 
  if test -n "$RANLIB"; then
7337
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7338
 
else
7339
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7340
 
for as_dir in $PATH
7341
 
do
7342
 
  IFS=$as_save_IFS
7343
 
  test -z "$as_dir" && as_dir=.
7344
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7345
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7346
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7347
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7348
 
    break 2
7349
 
  fi
7350
 
done
7351
 
done
7352
 
IFS=$as_save_IFS
7353
 
 
7354
 
fi
7355
 
fi
7356
 
RANLIB=$ac_cv_prog_RANLIB
7357
 
if test -n "$RANLIB"; then
7358
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
7359
 
$as_echo "$RANLIB" >&6; }
7360
 
else
7361
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7362
 
$as_echo "no" >&6; }
7363
 
fi
7364
 
 
7365
 
 
7366
 
fi
7367
 
if test -z "$ac_cv_prog_RANLIB"; then
7368
 
  ac_ct_RANLIB=$RANLIB
7369
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7370
 
set dummy ranlib; ac_word=$2
7371
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7372
 
$as_echo_n "checking for $ac_word... " >&6; }
7373
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7374
 
  $as_echo_n "(cached) " >&6
7375
 
else
7376
 
  if test -n "$ac_ct_RANLIB"; then
7377
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7378
 
else
7379
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7380
 
for as_dir in $PATH
7381
 
do
7382
 
  IFS=$as_save_IFS
7383
 
  test -z "$as_dir" && as_dir=.
7384
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7385
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7386
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7387
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7388
 
    break 2
7389
 
  fi
7390
 
done
7391
 
done
7392
 
IFS=$as_save_IFS
7393
 
 
7394
 
fi
7395
 
fi
7396
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7397
 
if test -n "$ac_ct_RANLIB"; then
7398
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7399
 
$as_echo "$ac_ct_RANLIB" >&6; }
7400
 
else
7401
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7402
 
$as_echo "no" >&6; }
7403
 
fi
7404
 
 
7405
 
  if test "x$ac_ct_RANLIB" = x; then
7406
 
    RANLIB=":"
7407
 
  else
7408
 
    case $cross_compiling:$ac_tool_warned in
7409
 
yes:)
7410
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7411
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7412
 
ac_tool_warned=yes ;;
7413
 
esac
7414
 
    RANLIB=$ac_ct_RANLIB
7415
 
  fi
7416
 
else
7417
 
  RANLIB="$ac_cv_prog_RANLIB"
7418
 
fi
7419
 
 
7420
 
test -z "$RANLIB" && RANLIB=:
7421
 
 
7422
 
 
7423
 
 
7424
 
 
7425
 
 
7426
 
 
7427
 
# Determine commands to create old-style static archives.
7428
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7429
 
old_postinstall_cmds='chmod 644 $oldlib'
7430
 
old_postuninstall_cmds=
7431
 
 
7432
 
if test -n "$RANLIB"; then
7433
 
  case $host_os in
7434
 
  openbsd*)
7435
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7436
 
    ;;
7437
 
  *)
7438
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7439
 
    ;;
7440
 
  esac
7441
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7442
 
fi
7443
 
 
7444
 
 
7445
 
 
7446
 
 
7447
 
 
7448
 
 
7449
 
 
7450
 
 
7451
 
 
7452
 
 
7453
 
 
7454
 
 
7455
 
 
7456
 
 
7457
 
 
7458
 
 
7459
 
 
7460
 
 
7461
 
 
7462
 
 
7463
 
 
7464
 
 
7465
 
 
7466
 
 
7467
 
 
7468
 
 
7469
 
 
7470
 
 
7471
 
 
7472
 
 
7473
 
 
7474
 
 
7475
 
 
7476
 
 
7477
6533
# If no C compiler was specified, use CC.
7478
6534
LTCC=${LTCC-"$CC"}
7479
6535
 
7483
6539
# Allow CC to be a program name with arguments.
7484
6540
compiler=$CC
7485
6541
 
 
6542
# Check whether --enable-libtool-lock was given.
 
6543
if test "${enable_libtool_lock+set}" = set; then
 
6544
  enableval=$enable_libtool_lock;
 
6545
fi
 
6546
 
 
6547
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6548
 
 
6549
# Some flags need to be propagated to the compiler or linker for good
 
6550
# libtool support.
 
6551
case $host in
 
6552
ia64-*-hpux*)
 
6553
  # Find out which ABI we are using.
 
6554
  echo 'int i;' > conftest.$ac_ext
 
6555
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6556
  (eval $ac_compile) 2>&5
 
6557
  ac_status=$?
 
6558
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6559
  (exit $ac_status); }; then
 
6560
    case `/usr/bin/file conftest.$ac_objext` in
 
6561
    *ELF-32*)
 
6562
      HPUX_IA64_MODE="32"
 
6563
      ;;
 
6564
    *ELF-64*)
 
6565
      HPUX_IA64_MODE="64"
 
6566
      ;;
 
6567
    esac
 
6568
  fi
 
6569
  rm -rf conftest*
 
6570
  ;;
 
6571
*-*-irix6*)
 
6572
  # Find out which ABI we are using.
 
6573
  echo '#line 6573 "configure"' > conftest.$ac_ext
 
6574
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6575
  (eval $ac_compile) 2>&5
 
6576
  ac_status=$?
 
6577
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6578
  (exit $ac_status); }; then
 
6579
   if test "$lt_cv_prog_gnu_ld" = yes; then
 
6580
    case `/usr/bin/file conftest.$ac_objext` in
 
6581
    *32-bit*)
 
6582
      LD="${LD-ld} -melf32bsmip"
 
6583
      ;;
 
6584
    *N32*)
 
6585
      LD="${LD-ld} -melf32bmipn32"
 
6586
      ;;
 
6587
    *64-bit*)
 
6588
      LD="${LD-ld} -melf64bmip"
 
6589
      ;;
 
6590
    esac
 
6591
   else
 
6592
    case `/usr/bin/file conftest.$ac_objext` in
 
6593
    *32-bit*)
 
6594
      LD="${LD-ld} -32"
 
6595
      ;;
 
6596
    *N32*)
 
6597
      LD="${LD-ld} -n32"
 
6598
      ;;
 
6599
    *64-bit*)
 
6600
      LD="${LD-ld} -64"
 
6601
      ;;
 
6602
    esac
 
6603
   fi
 
6604
  fi
 
6605
  rm -rf conftest*
 
6606
  ;;
 
6607
 
 
6608
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6609
s390*-*linux*|sparc*-*linux*)
 
6610
  # Find out which ABI we are using.
 
6611
  echo 'int i;' > conftest.$ac_ext
 
6612
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6613
  (eval $ac_compile) 2>&5
 
6614
  ac_status=$?
 
6615
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6616
  (exit $ac_status); }; then
 
6617
    case `/usr/bin/file conftest.o` in
 
6618
    *32-bit*)
 
6619
      case $host in
 
6620
        x86_64-*kfreebsd*-gnu)
 
6621
          LD="${LD-ld} -m elf_i386_fbsd"
 
6622
          ;;
 
6623
        x86_64-*linux*)
 
6624
          LD="${LD-ld} -m elf_i386"
 
6625
          ;;
 
6626
        ppc64-*linux*|powerpc64-*linux*)
 
6627
          LD="${LD-ld} -m elf32ppclinux"
 
6628
          ;;
 
6629
        s390x-*linux*)
 
6630
          LD="${LD-ld} -m elf_s390"
 
6631
          ;;
 
6632
        sparc64-*linux*)
 
6633
          LD="${LD-ld} -m elf32_sparc"
 
6634
          ;;
 
6635
      esac
 
6636
      ;;
 
6637
    *64-bit*)
 
6638
      libsuff=64
 
6639
      case $host in
 
6640
        x86_64-*kfreebsd*-gnu)
 
6641
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
6642
          ;;
 
6643
        x86_64-*linux*)
 
6644
          LD="${LD-ld} -m elf_x86_64"
 
6645
          ;;
 
6646
        ppc*-*linux*|powerpc*-*linux*)
 
6647
          LD="${LD-ld} -m elf64ppc"
 
6648
          ;;
 
6649
        s390*-*linux*)
 
6650
          LD="${LD-ld} -m elf64_s390"
 
6651
          ;;
 
6652
        sparc*-*linux*)
 
6653
          LD="${LD-ld} -m elf64_sparc"
 
6654
          ;;
 
6655
      esac
 
6656
      ;;
 
6657
    esac
 
6658
  fi
 
6659
  rm -rf conftest*
 
6660
  ;;
 
6661
 
 
6662
*-*-sco3.2v5*)
 
6663
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6664
  SAVE_CFLAGS="$CFLAGS"
 
6665
  CFLAGS="$CFLAGS -belf"
 
6666
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6667
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6668
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6669
  $as_echo_n "(cached) " >&6
 
6670
else
 
6671
  ac_ext=c
 
6672
ac_cpp='$CPP $CPPFLAGS'
 
6673
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6674
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6675
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6676
 
 
6677
     cat >conftest.$ac_ext <<_ACEOF
 
6678
/* confdefs.h.  */
 
6679
_ACEOF
 
6680
cat confdefs.h >>conftest.$ac_ext
 
6681
cat >>conftest.$ac_ext <<_ACEOF
 
6682
/* end confdefs.h.  */
 
6683
 
 
6684
int
 
6685
main ()
 
6686
{
 
6687
 
 
6688
  ;
 
6689
  return 0;
 
6690
}
 
6691
_ACEOF
 
6692
rm -f conftest.$ac_objext conftest$ac_exeext
 
6693
if { (ac_try="$ac_link"
 
6694
case "(($ac_try" in
 
6695
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6696
  *) ac_try_echo=$ac_try;;
 
6697
esac
 
6698
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6699
$as_echo "$ac_try_echo") >&5
 
6700
  (eval "$ac_link") 2>conftest.er1
 
6701
  ac_status=$?
 
6702
  grep -v '^ *+' conftest.er1 >conftest.err
 
6703
  rm -f conftest.er1
 
6704
  cat conftest.err >&5
 
6705
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6706
  (exit $ac_status); } && {
 
6707
         test -z "$ac_c_werror_flag" ||
 
6708
         test ! -s conftest.err
 
6709
       } && test -s conftest$ac_exeext && {
 
6710
         test "$cross_compiling" = yes ||
 
6711
         $as_test_x conftest$ac_exeext
 
6712
       }; then
 
6713
  lt_cv_cc_needs_belf=yes
 
6714
else
 
6715
  $as_echo "$as_me: failed program was:" >&5
 
6716
sed 's/^/| /' conftest.$ac_ext >&5
 
6717
 
 
6718
        lt_cv_cc_needs_belf=no
 
6719
fi
 
6720
 
 
6721
rm -rf conftest.dSYM
 
6722
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6723
      conftest$ac_exeext conftest.$ac_ext
 
6724
     ac_ext=c
 
6725
ac_cpp='$CPP $CPPFLAGS'
 
6726
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6727
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6728
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6729
 
 
6730
fi
 
6731
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6732
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6733
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6734
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6735
    CFLAGS="$SAVE_CFLAGS"
 
6736
  fi
 
6737
  ;;
 
6738
sparc*-*solaris*)
 
6739
  # Find out which ABI we are using.
 
6740
  echo 'int i;' > conftest.$ac_ext
 
6741
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6742
  (eval $ac_compile) 2>&5
 
6743
  ac_status=$?
 
6744
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6745
  (exit $ac_status); }; then
 
6746
    case `/usr/bin/file conftest.o` in
 
6747
    *64-bit*)
 
6748
      case $lt_cv_prog_gnu_ld in
 
6749
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6750
      *)
 
6751
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6752
          LD="${LD-ld} -64"
 
6753
        fi
 
6754
        ;;
 
6755
      esac
 
6756
      ;;
 
6757
    esac
 
6758
  fi
 
6759
  rm -rf conftest*
 
6760
  ;;
 
6761
 
 
6762
 
 
6763
esac
 
6764
 
 
6765
need_locks="$enable_libtool_lock"
 
6766
 
 
6767
 
 
6768
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
6769
 
 
6770
 
 
6771
 
 
6772
 
 
6773
 
 
6774
 
 
6775
 
 
6776
 
 
6777
 
 
6778
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
6779
                  inttypes.h stdint.h unistd.h
 
6780
do
 
6781
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6782
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6783
$as_echo_n "checking for $ac_header... " >&6; }
 
6784
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6785
  $as_echo_n "(cached) " >&6
 
6786
else
 
6787
  cat >conftest.$ac_ext <<_ACEOF
 
6788
/* confdefs.h.  */
 
6789
_ACEOF
 
6790
cat confdefs.h >>conftest.$ac_ext
 
6791
cat >>conftest.$ac_ext <<_ACEOF
 
6792
/* end confdefs.h.  */
 
6793
$ac_includes_default
 
6794
 
 
6795
#include <$ac_header>
 
6796
_ACEOF
 
6797
rm -f conftest.$ac_objext
 
6798
if { (ac_try="$ac_compile"
 
6799
case "(($ac_try" in
 
6800
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6801
  *) ac_try_echo=$ac_try;;
 
6802
esac
 
6803
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6804
$as_echo "$ac_try_echo") >&5
 
6805
  (eval "$ac_compile") 2>conftest.er1
 
6806
  ac_status=$?
 
6807
  grep -v '^ *+' conftest.er1 >conftest.err
 
6808
  rm -f conftest.er1
 
6809
  cat conftest.err >&5
 
6810
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6811
  (exit $ac_status); } && {
 
6812
         test -z "$ac_c_werror_flag" ||
 
6813
         test ! -s conftest.err
 
6814
       } && test -s conftest.$ac_objext; then
 
6815
  eval "$as_ac_Header=yes"
 
6816
else
 
6817
  $as_echo "$as_me: failed program was:" >&5
 
6818
sed 's/^/| /' conftest.$ac_ext >&5
 
6819
 
 
6820
        eval "$as_ac_Header=no"
 
6821
fi
 
6822
 
 
6823
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6824
fi
 
6825
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6826
                 $as_echo "$as_val"'`
 
6827
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6828
$as_echo "$ac_res" >&6; }
 
6829
if test `eval 'as_val=${'$as_ac_Header'}
 
6830
                 $as_echo "$as_val"'` = yes; then
 
6831
  cat >>confdefs.h <<_ACEOF
 
6832
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6833
_ACEOF
 
6834
 
 
6835
fi
 
6836
 
 
6837
done
 
6838
 
 
6839
 
 
6840
 
 
6841
for ac_header in dlfcn.h
 
6842
do
 
6843
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6844
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6845
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6846
$as_echo_n "checking for $ac_header... " >&6; }
 
6847
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6848
  $as_echo_n "(cached) " >&6
 
6849
fi
 
6850
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6851
                 $as_echo "$as_val"'`
 
6852
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6853
$as_echo "$ac_res" >&6; }
 
6854
else
 
6855
  # Is the header compilable?
 
6856
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
6857
$as_echo_n "checking $ac_header usability... " >&6; }
 
6858
cat >conftest.$ac_ext <<_ACEOF
 
6859
/* confdefs.h.  */
 
6860
_ACEOF
 
6861
cat confdefs.h >>conftest.$ac_ext
 
6862
cat >>conftest.$ac_ext <<_ACEOF
 
6863
/* end confdefs.h.  */
 
6864
$ac_includes_default
 
6865
#include <$ac_header>
 
6866
_ACEOF
 
6867
rm -f conftest.$ac_objext
 
6868
if { (ac_try="$ac_compile"
 
6869
case "(($ac_try" in
 
6870
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6871
  *) ac_try_echo=$ac_try;;
 
6872
esac
 
6873
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6874
$as_echo "$ac_try_echo") >&5
 
6875
  (eval "$ac_compile") 2>conftest.er1
 
6876
  ac_status=$?
 
6877
  grep -v '^ *+' conftest.er1 >conftest.err
 
6878
  rm -f conftest.er1
 
6879
  cat conftest.err >&5
 
6880
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6881
  (exit $ac_status); } && {
 
6882
         test -z "$ac_c_werror_flag" ||
 
6883
         test ! -s conftest.err
 
6884
       } && test -s conftest.$ac_objext; then
 
6885
  ac_header_compiler=yes
 
6886
else
 
6887
  $as_echo "$as_me: failed program was:" >&5
 
6888
sed 's/^/| /' conftest.$ac_ext >&5
 
6889
 
 
6890
        ac_header_compiler=no
 
6891
fi
 
6892
 
 
6893
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6894
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6895
$as_echo "$ac_header_compiler" >&6; }
 
6896
 
 
6897
# Is the header present?
 
6898
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
6899
$as_echo_n "checking $ac_header presence... " >&6; }
 
6900
cat >conftest.$ac_ext <<_ACEOF
 
6901
/* confdefs.h.  */
 
6902
_ACEOF
 
6903
cat confdefs.h >>conftest.$ac_ext
 
6904
cat >>conftest.$ac_ext <<_ACEOF
 
6905
/* end confdefs.h.  */
 
6906
#include <$ac_header>
 
6907
_ACEOF
 
6908
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6909
case "(($ac_try" in
 
6910
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6911
  *) ac_try_echo=$ac_try;;
 
6912
esac
 
6913
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6914
$as_echo "$ac_try_echo") >&5
 
6915
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6916
  ac_status=$?
 
6917
  grep -v '^ *+' conftest.er1 >conftest.err
 
6918
  rm -f conftest.er1
 
6919
  cat conftest.err >&5
 
6920
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6921
  (exit $ac_status); } >/dev/null && {
 
6922
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6923
         test ! -s conftest.err
 
6924
       }; then
 
6925
  ac_header_preproc=yes
 
6926
else
 
6927
  $as_echo "$as_me: failed program was:" >&5
 
6928
sed 's/^/| /' conftest.$ac_ext >&5
 
6929
 
 
6930
  ac_header_preproc=no
 
6931
fi
 
6932
 
 
6933
rm -f conftest.err conftest.$ac_ext
 
6934
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6935
$as_echo "$ac_header_preproc" >&6; }
 
6936
 
 
6937
# So?  What about this header?
 
6938
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
6939
  yes:no: )
 
6940
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
6941
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
6942
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
6943
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
6944
    ac_header_preproc=yes
 
6945
    ;;
 
6946
  no:yes:* )
 
6947
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
6948
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
6949
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
6950
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
6951
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
6952
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
6953
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
6954
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
6955
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
6956
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
6957
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
6958
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
6959
    ( cat <<\_ASBOX
 
6960
## ---------------------------------------------------------------------------- ##
 
6961
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-session ##
 
6962
## ---------------------------------------------------------------------------- ##
 
6963
_ASBOX
 
6964
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
6965
    ;;
 
6966
esac
 
6967
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6968
$as_echo_n "checking for $ac_header... " >&6; }
 
6969
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6970
  $as_echo_n "(cached) " >&6
 
6971
else
 
6972
  eval "$as_ac_Header=\$ac_header_preproc"
 
6973
fi
 
6974
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6975
                 $as_echo "$as_val"'`
 
6976
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6977
$as_echo "$ac_res" >&6; }
 
6978
 
 
6979
fi
 
6980
if test `eval 'as_val=${'$as_ac_Header'}
 
6981
                 $as_echo "$as_val"'` = yes; then
 
6982
  cat >>confdefs.h <<_ACEOF
 
6983
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6984
_ACEOF
 
6985
 
 
6986
fi
 
6987
 
 
6988
done
 
6989
 
 
6990
ac_ext=cpp
 
6991
ac_cpp='$CXXCPP $CPPFLAGS'
 
6992
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6993
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6994
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
6995
if test -z "$CXX"; then
 
6996
  if test -n "$CCC"; then
 
6997
    CXX=$CCC
 
6998
  else
 
6999
    if test -n "$ac_tool_prefix"; then
 
7000
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
7001
  do
 
7002
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7003
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7004
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7005
$as_echo_n "checking for $ac_word... " >&6; }
 
7006
if test "${ac_cv_prog_CXX+set}" = set; then
 
7007
  $as_echo_n "(cached) " >&6
 
7008
else
 
7009
  if test -n "$CXX"; then
 
7010
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
7011
else
 
7012
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7013
for as_dir in $PATH
 
7014
do
 
7015
  IFS=$as_save_IFS
 
7016
  test -z "$as_dir" && as_dir=.
 
7017
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7018
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7019
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
7020
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7021
    break 2
 
7022
  fi
 
7023
done
 
7024
done
 
7025
IFS=$as_save_IFS
 
7026
 
 
7027
fi
 
7028
fi
 
7029
CXX=$ac_cv_prog_CXX
 
7030
if test -n "$CXX"; then
 
7031
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
7032
$as_echo "$CXX" >&6; }
 
7033
else
 
7034
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7035
$as_echo "no" >&6; }
 
7036
fi
 
7037
 
 
7038
 
 
7039
    test -n "$CXX" && break
 
7040
  done
 
7041
fi
 
7042
if test -z "$CXX"; then
 
7043
  ac_ct_CXX=$CXX
 
7044
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
7045
do
 
7046
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7047
set dummy $ac_prog; ac_word=$2
 
7048
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7049
$as_echo_n "checking for $ac_word... " >&6; }
 
7050
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
7051
  $as_echo_n "(cached) " >&6
 
7052
else
 
7053
  if test -n "$ac_ct_CXX"; then
 
7054
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
7055
else
 
7056
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7057
for as_dir in $PATH
 
7058
do
 
7059
  IFS=$as_save_IFS
 
7060
  test -z "$as_dir" && as_dir=.
 
7061
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7062
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7063
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
7064
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7065
    break 2
 
7066
  fi
 
7067
done
 
7068
done
 
7069
IFS=$as_save_IFS
 
7070
 
 
7071
fi
 
7072
fi
 
7073
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
7074
if test -n "$ac_ct_CXX"; then
 
7075
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
7076
$as_echo "$ac_ct_CXX" >&6; }
 
7077
else
 
7078
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7079
$as_echo "no" >&6; }
 
7080
fi
 
7081
 
 
7082
 
 
7083
  test -n "$ac_ct_CXX" && break
 
7084
done
 
7085
 
 
7086
  if test "x$ac_ct_CXX" = x; then
 
7087
    CXX="g++"
 
7088
  else
 
7089
    case $cross_compiling:$ac_tool_warned in
 
7090
yes:)
 
7091
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7092
whose name does not start with the host triplet.  If you think this
 
7093
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7094
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7095
whose name does not start with the host triplet.  If you think this
 
7096
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7097
ac_tool_warned=yes ;;
 
7098
esac
 
7099
    CXX=$ac_ct_CXX
 
7100
  fi
 
7101
fi
 
7102
 
 
7103
  fi
 
7104
fi
 
7105
# Provide some information about the compiler.
 
7106
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
7107
set X $ac_compile
 
7108
ac_compiler=$2
 
7109
{ (ac_try="$ac_compiler --version >&5"
 
7110
case "(($ac_try" in
 
7111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7112
  *) ac_try_echo=$ac_try;;
 
7113
esac
 
7114
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7115
$as_echo "$ac_try_echo") >&5
 
7116
  (eval "$ac_compiler --version >&5") 2>&5
 
7117
  ac_status=$?
 
7118
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7119
  (exit $ac_status); }
 
7120
{ (ac_try="$ac_compiler -v >&5"
 
7121
case "(($ac_try" in
 
7122
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7123
  *) ac_try_echo=$ac_try;;
 
7124
esac
 
7125
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7126
$as_echo "$ac_try_echo") >&5
 
7127
  (eval "$ac_compiler -v >&5") 2>&5
 
7128
  ac_status=$?
 
7129
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7130
  (exit $ac_status); }
 
7131
{ (ac_try="$ac_compiler -V >&5"
 
7132
case "(($ac_try" in
 
7133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7134
  *) ac_try_echo=$ac_try;;
 
7135
esac
 
7136
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7137
$as_echo "$ac_try_echo") >&5
 
7138
  (eval "$ac_compiler -V >&5") 2>&5
 
7139
  ac_status=$?
 
7140
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7141
  (exit $ac_status); }
 
7142
 
 
7143
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
7144
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
7145
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
7146
  $as_echo_n "(cached) " >&6
 
7147
else
 
7148
  cat >conftest.$ac_ext <<_ACEOF
 
7149
/* confdefs.h.  */
 
7150
_ACEOF
 
7151
cat confdefs.h >>conftest.$ac_ext
 
7152
cat >>conftest.$ac_ext <<_ACEOF
 
7153
/* end confdefs.h.  */
 
7154
 
 
7155
int
 
7156
main ()
 
7157
{
 
7158
#ifndef __GNUC__
 
7159
       choke me
 
7160
#endif
 
7161
 
 
7162
  ;
 
7163
  return 0;
 
7164
}
 
7165
_ACEOF
 
7166
rm -f conftest.$ac_objext
 
7167
if { (ac_try="$ac_compile"
 
7168
case "(($ac_try" in
 
7169
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7170
  *) ac_try_echo=$ac_try;;
 
7171
esac
 
7172
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7173
$as_echo "$ac_try_echo") >&5
 
7174
  (eval "$ac_compile") 2>conftest.er1
 
7175
  ac_status=$?
 
7176
  grep -v '^ *+' conftest.er1 >conftest.err
 
7177
  rm -f conftest.er1
 
7178
  cat conftest.err >&5
 
7179
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7180
  (exit $ac_status); } && {
 
7181
         test -z "$ac_cxx_werror_flag" ||
 
7182
         test ! -s conftest.err
 
7183
       } && test -s conftest.$ac_objext; then
 
7184
  ac_compiler_gnu=yes
 
7185
else
 
7186
  $as_echo "$as_me: failed program was:" >&5
 
7187
sed 's/^/| /' conftest.$ac_ext >&5
 
7188
 
 
7189
        ac_compiler_gnu=no
 
7190
fi
 
7191
 
 
7192
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7193
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
7194
 
 
7195
fi
 
7196
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
7197
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
7198
if test $ac_compiler_gnu = yes; then
 
7199
  GXX=yes
 
7200
else
 
7201
  GXX=
 
7202
fi
 
7203
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
7204
ac_save_CXXFLAGS=$CXXFLAGS
 
7205
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
7206
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
7207
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
7208
  $as_echo_n "(cached) " >&6
 
7209
else
 
7210
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
7211
   ac_cxx_werror_flag=yes
 
7212
   ac_cv_prog_cxx_g=no
 
7213
   CXXFLAGS="-g"
 
7214
   cat >conftest.$ac_ext <<_ACEOF
 
7215
/* confdefs.h.  */
 
7216
_ACEOF
 
7217
cat confdefs.h >>conftest.$ac_ext
 
7218
cat >>conftest.$ac_ext <<_ACEOF
 
7219
/* end confdefs.h.  */
 
7220
 
 
7221
int
 
7222
main ()
 
7223
{
 
7224
 
 
7225
  ;
 
7226
  return 0;
 
7227
}
 
7228
_ACEOF
 
7229
rm -f conftest.$ac_objext
 
7230
if { (ac_try="$ac_compile"
 
7231
case "(($ac_try" in
 
7232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7233
  *) ac_try_echo=$ac_try;;
 
7234
esac
 
7235
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7236
$as_echo "$ac_try_echo") >&5
 
7237
  (eval "$ac_compile") 2>conftest.er1
 
7238
  ac_status=$?
 
7239
  grep -v '^ *+' conftest.er1 >conftest.err
 
7240
  rm -f conftest.er1
 
7241
  cat conftest.err >&5
 
7242
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7243
  (exit $ac_status); } && {
 
7244
         test -z "$ac_cxx_werror_flag" ||
 
7245
         test ! -s conftest.err
 
7246
       } && test -s conftest.$ac_objext; then
 
7247
  ac_cv_prog_cxx_g=yes
 
7248
else
 
7249
  $as_echo "$as_me: failed program was:" >&5
 
7250
sed 's/^/| /' conftest.$ac_ext >&5
 
7251
 
 
7252
        CXXFLAGS=""
 
7253
      cat >conftest.$ac_ext <<_ACEOF
 
7254
/* confdefs.h.  */
 
7255
_ACEOF
 
7256
cat confdefs.h >>conftest.$ac_ext
 
7257
cat >>conftest.$ac_ext <<_ACEOF
 
7258
/* end confdefs.h.  */
 
7259
 
 
7260
int
 
7261
main ()
 
7262
{
 
7263
 
 
7264
  ;
 
7265
  return 0;
 
7266
}
 
7267
_ACEOF
 
7268
rm -f conftest.$ac_objext
 
7269
if { (ac_try="$ac_compile"
 
7270
case "(($ac_try" in
 
7271
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7272
  *) ac_try_echo=$ac_try;;
 
7273
esac
 
7274
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7275
$as_echo "$ac_try_echo") >&5
 
7276
  (eval "$ac_compile") 2>conftest.er1
 
7277
  ac_status=$?
 
7278
  grep -v '^ *+' conftest.er1 >conftest.err
 
7279
  rm -f conftest.er1
 
7280
  cat conftest.err >&5
 
7281
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7282
  (exit $ac_status); } && {
 
7283
         test -z "$ac_cxx_werror_flag" ||
 
7284
         test ! -s conftest.err
 
7285
       } && test -s conftest.$ac_objext; then
 
7286
  :
 
7287
else
 
7288
  $as_echo "$as_me: failed program was:" >&5
 
7289
sed 's/^/| /' conftest.$ac_ext >&5
 
7290
 
 
7291
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7292
         CXXFLAGS="-g"
 
7293
         cat >conftest.$ac_ext <<_ACEOF
 
7294
/* confdefs.h.  */
 
7295
_ACEOF
 
7296
cat confdefs.h >>conftest.$ac_ext
 
7297
cat >>conftest.$ac_ext <<_ACEOF
 
7298
/* end confdefs.h.  */
 
7299
 
 
7300
int
 
7301
main ()
 
7302
{
 
7303
 
 
7304
  ;
 
7305
  return 0;
 
7306
}
 
7307
_ACEOF
 
7308
rm -f conftest.$ac_objext
 
7309
if { (ac_try="$ac_compile"
 
7310
case "(($ac_try" in
 
7311
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7312
  *) ac_try_echo=$ac_try;;
 
7313
esac
 
7314
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7315
$as_echo "$ac_try_echo") >&5
 
7316
  (eval "$ac_compile") 2>conftest.er1
 
7317
  ac_status=$?
 
7318
  grep -v '^ *+' conftest.er1 >conftest.err
 
7319
  rm -f conftest.er1
 
7320
  cat conftest.err >&5
 
7321
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7322
  (exit $ac_status); } && {
 
7323
         test -z "$ac_cxx_werror_flag" ||
 
7324
         test ! -s conftest.err
 
7325
       } && test -s conftest.$ac_objext; then
 
7326
  ac_cv_prog_cxx_g=yes
 
7327
else
 
7328
  $as_echo "$as_me: failed program was:" >&5
 
7329
sed 's/^/| /' conftest.$ac_ext >&5
 
7330
 
 
7331
 
 
7332
fi
 
7333
 
 
7334
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7335
fi
 
7336
 
 
7337
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7338
fi
 
7339
 
 
7340
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7341
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7342
fi
 
7343
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
7344
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
7345
if test "$ac_test_CXXFLAGS" = set; then
 
7346
  CXXFLAGS=$ac_save_CXXFLAGS
 
7347
elif test $ac_cv_prog_cxx_g = yes; then
 
7348
  if test "$GXX" = yes; then
 
7349
    CXXFLAGS="-g -O2"
 
7350
  else
 
7351
    CXXFLAGS="-g"
 
7352
  fi
 
7353
else
 
7354
  if test "$GXX" = yes; then
 
7355
    CXXFLAGS="-O2"
 
7356
  else
 
7357
    CXXFLAGS=
 
7358
  fi
 
7359
fi
 
7360
ac_ext=cpp
 
7361
ac_cpp='$CXXCPP $CPPFLAGS'
 
7362
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7363
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7364
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
7365
 
 
7366
depcc="$CXX"  am_compiler_list=
 
7367
 
 
7368
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
7369
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
7370
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
7371
  $as_echo_n "(cached) " >&6
 
7372
else
 
7373
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
7374
  # We make a subdir and do the tests there.  Otherwise we can end up
 
7375
  # making bogus files that we don't know about and never remove.  For
 
7376
  # instance it was reported that on HP-UX the gcc test will end up
 
7377
  # making a dummy file named `D' -- because `-MD' means `put the output
 
7378
  # in D'.
 
7379
  mkdir conftest.dir
 
7380
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
7381
  # using a relative directory.
 
7382
  cp "$am_depcomp" conftest.dir
 
7383
  cd conftest.dir
 
7384
  # We will build objects and dependencies in a subdirectory because
 
7385
  # it helps to detect inapplicable dependency modes.  For instance
 
7386
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
7387
  # side effect of compilation, but ICC will put the dependencies in
 
7388
  # the current directory while Tru64 will put them in the object
 
7389
  # directory.
 
7390
  mkdir sub
 
7391
 
 
7392
  am_cv_CXX_dependencies_compiler_type=none
 
7393
  if test "$am_compiler_list" = ""; then
 
7394
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
7395
  fi
 
7396
  for depmode in $am_compiler_list; do
 
7397
    # Setup a source with many dependencies, because some compilers
 
7398
    # like to wrap large dependency lists on column 80 (with \), and
 
7399
    # we should not choose a depcomp mode which is confused by this.
 
7400
    #
 
7401
    # We need to recreate these files for each test, as the compiler may
 
7402
    # overwrite some of them when testing with obscure command lines.
 
7403
    # This happens at least with the AIX C compiler.
 
7404
    : > sub/conftest.c
 
7405
    for i in 1 2 3 4 5 6; do
 
7406
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
7407
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
7408
      # Solaris 8's {/usr,}/bin/sh.
 
7409
      touch sub/conftst$i.h
 
7410
    done
 
7411
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
7412
 
 
7413
    case $depmode in
 
7414
    nosideeffect)
 
7415
      # after this tag, mechanisms are not by side-effect, so they'll
 
7416
      # only be used when explicitly requested
 
7417
      if test "x$enable_dependency_tracking" = xyes; then
 
7418
        continue
 
7419
      else
 
7420
        break
 
7421
      fi
 
7422
      ;;
 
7423
    none) break ;;
 
7424
    esac
 
7425
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
7426
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
7427
    # handle `-M -o', and we need to detect this.
 
7428
    if depmode=$depmode \
 
7429
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
7430
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
7431
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
7432
         >/dev/null 2>conftest.err &&
 
7433
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
7434
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
7435
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
7436
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
7437
      # icc doesn't choke on unknown options, it will just issue warnings
 
7438
      # or remarks (even with -Werror).  So we grep stderr for any message
 
7439
      # that says an option was ignored or not supported.
 
7440
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
7441
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
7442
      # The diagnosis changed in icc 8.0:
 
7443
      #   icc: Command line remark: option '-MP' not supported
 
7444
      if (grep 'ignoring option' conftest.err ||
 
7445
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
7446
        am_cv_CXX_dependencies_compiler_type=$depmode
 
7447
        break
 
7448
      fi
 
7449
    fi
 
7450
  done
 
7451
 
 
7452
  cd ..
 
7453
  rm -rf conftest.dir
 
7454
else
 
7455
  am_cv_CXX_dependencies_compiler_type=none
 
7456
fi
 
7457
 
 
7458
fi
 
7459
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
7460
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
7461
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
7462
 
 
7463
 if
 
7464
  test "x$enable_dependency_tracking" != xno \
 
7465
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
7466
  am__fastdepCXX_TRUE=
 
7467
  am__fastdepCXX_FALSE='#'
 
7468
else
 
7469
  am__fastdepCXX_TRUE='#'
 
7470
  am__fastdepCXX_FALSE=
 
7471
fi
 
7472
 
 
7473
 
 
7474
 
 
7475
 
 
7476
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
7477
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
7478
    (test "X$CXX" != "Xg++"))) ; then
 
7479
  ac_ext=cpp
 
7480
ac_cpp='$CXXCPP $CPPFLAGS'
 
7481
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7482
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7483
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
7484
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
7485
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
7486
if test -z "$CXXCPP"; then
 
7487
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 
7488
  $as_echo_n "(cached) " >&6
 
7489
else
 
7490
      # Double quotes because CXXCPP needs to be expanded
 
7491
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
7492
    do
 
7493
      ac_preproc_ok=false
 
7494
for ac_cxx_preproc_warn_flag in '' yes
 
7495
do
 
7496
  # Use a header file that comes with gcc, so configuring glibc
 
7497
  # with a fresh cross-compiler works.
 
7498
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7499
  # <limits.h> exists even on freestanding compilers.
 
7500
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7501
  # not just through cpp. "Syntax error" is here to catch this case.
 
7502
  cat >conftest.$ac_ext <<_ACEOF
 
7503
/* confdefs.h.  */
 
7504
_ACEOF
 
7505
cat confdefs.h >>conftest.$ac_ext
 
7506
cat >>conftest.$ac_ext <<_ACEOF
 
7507
/* end confdefs.h.  */
 
7508
#ifdef __STDC__
 
7509
# include <limits.h>
 
7510
#else
 
7511
# include <assert.h>
 
7512
#endif
 
7513
                     Syntax error
 
7514
_ACEOF
 
7515
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7516
case "(($ac_try" in
 
7517
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7518
  *) ac_try_echo=$ac_try;;
 
7519
esac
 
7520
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7521
$as_echo "$ac_try_echo") >&5
 
7522
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7523
  ac_status=$?
 
7524
  grep -v '^ *+' conftest.er1 >conftest.err
 
7525
  rm -f conftest.er1
 
7526
  cat conftest.err >&5
 
7527
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7528
  (exit $ac_status); } >/dev/null && {
 
7529
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
7530
         test ! -s conftest.err
 
7531
       }; then
 
7532
  :
 
7533
else
 
7534
  $as_echo "$as_me: failed program was:" >&5
 
7535
sed 's/^/| /' conftest.$ac_ext >&5
 
7536
 
 
7537
  # Broken: fails on valid input.
 
7538
continue
 
7539
fi
 
7540
 
 
7541
rm -f conftest.err conftest.$ac_ext
 
7542
 
 
7543
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7544
  # can be detected and how.
 
7545
  cat >conftest.$ac_ext <<_ACEOF
 
7546
/* confdefs.h.  */
 
7547
_ACEOF
 
7548
cat confdefs.h >>conftest.$ac_ext
 
7549
cat >>conftest.$ac_ext <<_ACEOF
 
7550
/* end confdefs.h.  */
 
7551
#include <ac_nonexistent.h>
 
7552
_ACEOF
 
7553
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7554
case "(($ac_try" in
 
7555
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7556
  *) ac_try_echo=$ac_try;;
 
7557
esac
 
7558
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7559
$as_echo "$ac_try_echo") >&5
 
7560
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7561
  ac_status=$?
 
7562
  grep -v '^ *+' conftest.er1 >conftest.err
 
7563
  rm -f conftest.er1
 
7564
  cat conftest.err >&5
 
7565
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7566
  (exit $ac_status); } >/dev/null && {
 
7567
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
7568
         test ! -s conftest.err
 
7569
       }; then
 
7570
  # Broken: success on invalid input.
 
7571
continue
 
7572
else
 
7573
  $as_echo "$as_me: failed program was:" >&5
 
7574
sed 's/^/| /' conftest.$ac_ext >&5
 
7575
 
 
7576
  # Passes both tests.
 
7577
ac_preproc_ok=:
 
7578
break
 
7579
fi
 
7580
 
 
7581
rm -f conftest.err conftest.$ac_ext
 
7582
 
 
7583
done
 
7584
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7585
rm -f conftest.err conftest.$ac_ext
 
7586
if $ac_preproc_ok; then
 
7587
  break
 
7588
fi
 
7589
 
 
7590
    done
 
7591
    ac_cv_prog_CXXCPP=$CXXCPP
 
7592
 
 
7593
fi
 
7594
  CXXCPP=$ac_cv_prog_CXXCPP
 
7595
else
 
7596
  ac_cv_prog_CXXCPP=$CXXCPP
 
7597
fi
 
7598
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
7599
$as_echo "$CXXCPP" >&6; }
 
7600
ac_preproc_ok=false
 
7601
for ac_cxx_preproc_warn_flag in '' yes
 
7602
do
 
7603
  # Use a header file that comes with gcc, so configuring glibc
 
7604
  # with a fresh cross-compiler works.
 
7605
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7606
  # <limits.h> exists even on freestanding compilers.
 
7607
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7608
  # not just through cpp. "Syntax error" is here to catch this case.
 
7609
  cat >conftest.$ac_ext <<_ACEOF
 
7610
/* confdefs.h.  */
 
7611
_ACEOF
 
7612
cat confdefs.h >>conftest.$ac_ext
 
7613
cat >>conftest.$ac_ext <<_ACEOF
 
7614
/* end confdefs.h.  */
 
7615
#ifdef __STDC__
 
7616
# include <limits.h>
 
7617
#else
 
7618
# include <assert.h>
 
7619
#endif
 
7620
                     Syntax error
 
7621
_ACEOF
 
7622
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7623
case "(($ac_try" in
 
7624
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7625
  *) ac_try_echo=$ac_try;;
 
7626
esac
 
7627
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7628
$as_echo "$ac_try_echo") >&5
 
7629
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7630
  ac_status=$?
 
7631
  grep -v '^ *+' conftest.er1 >conftest.err
 
7632
  rm -f conftest.er1
 
7633
  cat conftest.err >&5
 
7634
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7635
  (exit $ac_status); } >/dev/null && {
 
7636
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
7637
         test ! -s conftest.err
 
7638
       }; then
 
7639
  :
 
7640
else
 
7641
  $as_echo "$as_me: failed program was:" >&5
 
7642
sed 's/^/| /' conftest.$ac_ext >&5
 
7643
 
 
7644
  # Broken: fails on valid input.
 
7645
continue
 
7646
fi
 
7647
 
 
7648
rm -f conftest.err conftest.$ac_ext
 
7649
 
 
7650
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7651
  # can be detected and how.
 
7652
  cat >conftest.$ac_ext <<_ACEOF
 
7653
/* confdefs.h.  */
 
7654
_ACEOF
 
7655
cat confdefs.h >>conftest.$ac_ext
 
7656
cat >>conftest.$ac_ext <<_ACEOF
 
7657
/* end confdefs.h.  */
 
7658
#include <ac_nonexistent.h>
 
7659
_ACEOF
 
7660
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7661
case "(($ac_try" in
 
7662
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7663
  *) ac_try_echo=$ac_try;;
 
7664
esac
 
7665
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7666
$as_echo "$ac_try_echo") >&5
 
7667
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7668
  ac_status=$?
 
7669
  grep -v '^ *+' conftest.er1 >conftest.err
 
7670
  rm -f conftest.er1
 
7671
  cat conftest.err >&5
 
7672
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7673
  (exit $ac_status); } >/dev/null && {
 
7674
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
7675
         test ! -s conftest.err
 
7676
       }; then
 
7677
  # Broken: success on invalid input.
 
7678
continue
 
7679
else
 
7680
  $as_echo "$as_me: failed program was:" >&5
 
7681
sed 's/^/| /' conftest.$ac_ext >&5
 
7682
 
 
7683
  # Passes both tests.
 
7684
ac_preproc_ok=:
 
7685
break
 
7686
fi
 
7687
 
 
7688
rm -f conftest.err conftest.$ac_ext
 
7689
 
 
7690
done
 
7691
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7692
rm -f conftest.err conftest.$ac_ext
 
7693
if $ac_preproc_ok; then
 
7694
  :
 
7695
else
 
7696
  { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
7697
See \`config.log' for more details." >&5
 
7698
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
7699
See \`config.log' for more details." >&2;}
 
7700
   { (exit 1); exit 1; }; }
 
7701
fi
 
7702
 
 
7703
ac_ext=cpp
 
7704
ac_cpp='$CXXCPP $CPPFLAGS'
 
7705
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7706
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7707
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
7708
 
 
7709
fi
 
7710
 
 
7711
 
 
7712
ac_ext=f
 
7713
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 
7714
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7715
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 
7716
if test -n "$ac_tool_prefix"; then
 
7717
  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
 
7718
  do
 
7719
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7720
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7721
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7722
$as_echo_n "checking for $ac_word... " >&6; }
 
7723
if test "${ac_cv_prog_F77+set}" = set; then
 
7724
  $as_echo_n "(cached) " >&6
 
7725
else
 
7726
  if test -n "$F77"; then
 
7727
  ac_cv_prog_F77="$F77" # Let the user override the test.
 
7728
else
 
7729
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7730
for as_dir in $PATH
 
7731
do
 
7732
  IFS=$as_save_IFS
 
7733
  test -z "$as_dir" && as_dir=.
 
7734
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7735
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7736
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 
7737
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7738
    break 2
 
7739
  fi
 
7740
done
 
7741
done
 
7742
IFS=$as_save_IFS
 
7743
 
 
7744
fi
 
7745
fi
 
7746
F77=$ac_cv_prog_F77
 
7747
if test -n "$F77"; then
 
7748
  { $as_echo "$as_me:$LINENO: result: $F77" >&5
 
7749
$as_echo "$F77" >&6; }
 
7750
else
 
7751
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7752
$as_echo "no" >&6; }
 
7753
fi
 
7754
 
 
7755
 
 
7756
    test -n "$F77" && break
 
7757
  done
 
7758
fi
 
7759
if test -z "$F77"; then
 
7760
  ac_ct_F77=$F77
 
7761
  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
 
7762
do
 
7763
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7764
set dummy $ac_prog; ac_word=$2
 
7765
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7766
$as_echo_n "checking for $ac_word... " >&6; }
 
7767
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
 
7768
  $as_echo_n "(cached) " >&6
 
7769
else
 
7770
  if test -n "$ac_ct_F77"; then
 
7771
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 
7772
else
 
7773
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7774
for as_dir in $PATH
 
7775
do
 
7776
  IFS=$as_save_IFS
 
7777
  test -z "$as_dir" && as_dir=.
 
7778
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7779
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7780
    ac_cv_prog_ac_ct_F77="$ac_prog"
 
7781
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7782
    break 2
 
7783
  fi
 
7784
done
 
7785
done
 
7786
IFS=$as_save_IFS
 
7787
 
 
7788
fi
 
7789
fi
 
7790
ac_ct_F77=$ac_cv_prog_ac_ct_F77
 
7791
if test -n "$ac_ct_F77"; then
 
7792
  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
7793
$as_echo "$ac_ct_F77" >&6; }
 
7794
else
 
7795
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7796
$as_echo "no" >&6; }
 
7797
fi
 
7798
 
 
7799
 
 
7800
  test -n "$ac_ct_F77" && break
 
7801
done
 
7802
 
 
7803
  if test "x$ac_ct_F77" = x; then
 
7804
    F77=""
 
7805
  else
 
7806
    case $cross_compiling:$ac_tool_warned in
 
7807
yes:)
 
7808
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7809
whose name does not start with the host triplet.  If you think this
 
7810
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7811
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7812
whose name does not start with the host triplet.  If you think this
 
7813
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7814
ac_tool_warned=yes ;;
 
7815
esac
 
7816
    F77=$ac_ct_F77
 
7817
  fi
 
7818
fi
 
7819
 
 
7820
 
 
7821
# Provide some information about the compiler.
 
7822
$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
 
7823
set X $ac_compile
 
7824
ac_compiler=$2
 
7825
{ (ac_try="$ac_compiler --version >&5"
 
7826
case "(($ac_try" in
 
7827
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7828
  *) ac_try_echo=$ac_try;;
 
7829
esac
 
7830
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7831
$as_echo "$ac_try_echo") >&5
 
7832
  (eval "$ac_compiler --version >&5") 2>&5
 
7833
  ac_status=$?
 
7834
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7835
  (exit $ac_status); }
 
7836
{ (ac_try="$ac_compiler -v >&5"
 
7837
case "(($ac_try" in
 
7838
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7839
  *) ac_try_echo=$ac_try;;
 
7840
esac
 
7841
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7842
$as_echo "$ac_try_echo") >&5
 
7843
  (eval "$ac_compiler -v >&5") 2>&5
 
7844
  ac_status=$?
 
7845
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7846
  (exit $ac_status); }
 
7847
{ (ac_try="$ac_compiler -V >&5"
 
7848
case "(($ac_try" in
 
7849
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7850
  *) ac_try_echo=$ac_try;;
 
7851
esac
 
7852
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7853
$as_echo "$ac_try_echo") >&5
 
7854
  (eval "$ac_compiler -V >&5") 2>&5
 
7855
  ac_status=$?
 
7856
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7857
  (exit $ac_status); }
 
7858
rm -f a.out
 
7859
 
 
7860
# If we don't use `.F' as extension, the preprocessor is not run on the
 
7861
# input file.  (Note that this only needs to work for GNU compilers.)
 
7862
ac_save_ext=$ac_ext
 
7863
ac_ext=F
 
7864
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
7865
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
 
7866
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
 
7867
  $as_echo_n "(cached) " >&6
 
7868
else
 
7869
  cat >conftest.$ac_ext <<_ACEOF
 
7870
      program main
 
7871
#ifndef __GNUC__
 
7872
       choke me
 
7873
#endif
 
7874
 
 
7875
      end
 
7876
_ACEOF
 
7877
rm -f conftest.$ac_objext
 
7878
if { (ac_try="$ac_compile"
 
7879
case "(($ac_try" in
 
7880
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7881
  *) ac_try_echo=$ac_try;;
 
7882
esac
 
7883
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7884
$as_echo "$ac_try_echo") >&5
 
7885
  (eval "$ac_compile") 2>conftest.er1
 
7886
  ac_status=$?
 
7887
  grep -v '^ *+' conftest.er1 >conftest.err
 
7888
  rm -f conftest.er1
 
7889
  cat conftest.err >&5
 
7890
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7891
  (exit $ac_status); } && {
 
7892
         test -z "$ac_f77_werror_flag" ||
 
7893
         test ! -s conftest.err
 
7894
       } && test -s conftest.$ac_objext; then
 
7895
  ac_compiler_gnu=yes
 
7896
else
 
7897
  $as_echo "$as_me: failed program was:" >&5
 
7898
sed 's/^/| /' conftest.$ac_ext >&5
 
7899
 
 
7900
        ac_compiler_gnu=no
 
7901
fi
 
7902
 
 
7903
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7904
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 
7905
 
 
7906
fi
 
7907
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
7908
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
 
7909
ac_ext=$ac_save_ext
 
7910
ac_test_FFLAGS=${FFLAGS+set}
 
7911
ac_save_FFLAGS=$FFLAGS
 
7912
FFLAGS=
 
7913
{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
7914
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
 
7915
if test "${ac_cv_prog_f77_g+set}" = set; then
 
7916
  $as_echo_n "(cached) " >&6
 
7917
else
 
7918
  FFLAGS=-g
 
7919
cat >conftest.$ac_ext <<_ACEOF
 
7920
      program main
 
7921
 
 
7922
      end
 
7923
_ACEOF
 
7924
rm -f conftest.$ac_objext
 
7925
if { (ac_try="$ac_compile"
 
7926
case "(($ac_try" in
 
7927
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7928
  *) ac_try_echo=$ac_try;;
 
7929
esac
 
7930
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7931
$as_echo "$ac_try_echo") >&5
 
7932
  (eval "$ac_compile") 2>conftest.er1
 
7933
  ac_status=$?
 
7934
  grep -v '^ *+' conftest.er1 >conftest.err
 
7935
  rm -f conftest.er1
 
7936
  cat conftest.err >&5
 
7937
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7938
  (exit $ac_status); } && {
 
7939
         test -z "$ac_f77_werror_flag" ||
 
7940
         test ! -s conftest.err
 
7941
       } && test -s conftest.$ac_objext; then
 
7942
  ac_cv_prog_f77_g=yes
 
7943
else
 
7944
  $as_echo "$as_me: failed program was:" >&5
 
7945
sed 's/^/| /' conftest.$ac_ext >&5
 
7946
 
 
7947
        ac_cv_prog_f77_g=no
 
7948
fi
 
7949
 
 
7950
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7951
 
 
7952
fi
 
7953
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
7954
$as_echo "$ac_cv_prog_f77_g" >&6; }
 
7955
if test "$ac_test_FFLAGS" = set; then
 
7956
  FFLAGS=$ac_save_FFLAGS
 
7957
elif test $ac_cv_prog_f77_g = yes; then
 
7958
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 
7959
    FFLAGS="-g -O2"
 
7960
  else
 
7961
    FFLAGS="-g"
 
7962
  fi
 
7963
else
 
7964
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 
7965
    FFLAGS="-O2"
 
7966
  else
 
7967
    FFLAGS=
 
7968
  fi
 
7969
fi
 
7970
 
 
7971
if test $ac_compiler_gnu = yes; then
 
7972
  G77=yes
 
7973
else
 
7974
  G77=
 
7975
fi
 
7976
ac_ext=c
 
7977
ac_cpp='$CPP $CPPFLAGS'
 
7978
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7979
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7980
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7981
 
 
7982
 
 
7983
 
 
7984
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
 
7985
# find the maximum length of command line arguments
 
7986
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
7987
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
7988
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
7989
  $as_echo_n "(cached) " >&6
 
7990
else
 
7991
    i=0
 
7992
  teststring="ABCD"
 
7993
 
 
7994
  case $build_os in
 
7995
  msdosdjgpp*)
 
7996
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
7997
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
7998
    # during glob expansion).  Even if it were fixed, the result of this
 
7999
    # check would be larger than it should be.
 
8000
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
8001
    ;;
 
8002
 
 
8003
  gnu*)
 
8004
    # Under GNU Hurd, this test is not required because there is
 
8005
    # no limit to the length of command line arguments.
 
8006
    # Libtool will interpret -1 as no limit whatsoever
 
8007
    lt_cv_sys_max_cmd_len=-1;
 
8008
    ;;
 
8009
 
 
8010
  cygwin* | mingw*)
 
8011
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
8012
    # about 5 minutes as the teststring grows exponentially.
 
8013
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
8014
    # you end up with a "frozen" computer, even though with patience
 
8015
    # the test eventually succeeds (with a max line length of 256k).
 
8016
    # Instead, let's just punt: use the minimum linelength reported by
 
8017
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
8018
    lt_cv_sys_max_cmd_len=8192;
 
8019
    ;;
 
8020
 
 
8021
  amigaos*)
 
8022
    # On AmigaOS with pdksh, this test takes hours, literally.
 
8023
    # So we just punt and use a minimum line length of 8192.
 
8024
    lt_cv_sys_max_cmd_len=8192;
 
8025
    ;;
 
8026
 
 
8027
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
8028
    # This has been around since 386BSD, at least.  Likely further.
 
8029
    if test -x /sbin/sysctl; then
 
8030
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
8031
    elif test -x /usr/sbin/sysctl; then
 
8032
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
8033
    else
 
8034
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
8035
    fi
 
8036
    # And add a safety zone
 
8037
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
8038
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
8039
    ;;
 
8040
 
 
8041
  interix*)
 
8042
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
8043
    lt_cv_sys_max_cmd_len=196608
 
8044
    ;;
 
8045
 
 
8046
  osf*)
 
8047
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
8048
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
8049
    # nice to cause kernel panics so lets avoid the loop below.
 
8050
    # First set a reasonable default.
 
8051
    lt_cv_sys_max_cmd_len=16384
 
8052
    #
 
8053
    if test -x /sbin/sysconfig; then
 
8054
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
8055
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
8056
      esac
 
8057
    fi
 
8058
    ;;
 
8059
  sco3.2v5*)
 
8060
    lt_cv_sys_max_cmd_len=102400
 
8061
    ;;
 
8062
  sysv5* | sco5v6* | sysv4.2uw2*)
 
8063
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
8064
    if test -n "$kargmax"; then
 
8065
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
 
8066
    else
 
8067
      lt_cv_sys_max_cmd_len=32768
 
8068
    fi
 
8069
    ;;
 
8070
  *)
 
8071
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
8072
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
8073
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
8074
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
8075
    else
 
8076
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
8077
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
8078
               = "XX$teststring") >/dev/null 2>&1 &&
 
8079
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
8080
              lt_cv_sys_max_cmd_len=$new_result &&
 
8081
              test $i != 17 # 1/2 MB should be enough
 
8082
      do
 
8083
        i=`expr $i + 1`
 
8084
        teststring=$teststring$teststring
 
8085
      done
 
8086
      teststring=
 
8087
      # Add a significant safety factor because C++ compilers can tack on massive
 
8088
      # amounts of additional arguments before passing them to the linker.
 
8089
      # It appears as though 1/2 is a usable value.
 
8090
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
8091
    fi
 
8092
    ;;
 
8093
  esac
 
8094
 
 
8095
fi
 
8096
 
 
8097
if test -n $lt_cv_sys_max_cmd_len ; then
 
8098
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
8099
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
8100
else
 
8101
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
8102
$as_echo "none" >&6; }
 
8103
fi
 
8104
 
 
8105
 
 
8106
 
 
8107
 
7486
8108
 
7487
8109
# Check for command to grab the raw symbol name followed by C symbol from nm.
7488
8110
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7500
8122
# Regexp to match symbols that can be accessed directly from C.
7501
8123
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7502
8124
 
 
8125
# Transform an extracted symbol line into a proper C declaration
 
8126
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
 
8127
 
 
8128
# Transform an extracted symbol line into symbol name and symbol address
 
8129
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'"
 
8130
 
7503
8131
# Define system-specific variables.
7504
8132
case $host_os in
7505
8133
aix*)
7506
8134
  symcode='[BCDT]'
7507
8135
  ;;
7508
 
cygwin* | mingw* | pw32* | cegcc*)
 
8136
cygwin* | mingw* | pw32*)
7509
8137
  symcode='[ABCDGISTW]'
7510
8138
  ;;
7511
 
hpux*)
 
8139
hpux*) # Its linker distinguishes data from code symbols
7512
8140
  if test "$host_cpu" = ia64; then
7513
8141
    symcode='[ABCDEGRST]'
7514
8142
  fi
 
8143
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
8144
  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'"
 
8145
  ;;
 
8146
linux* | k*bsd*-gnu)
 
8147
  if test "$host_cpu" = ia64; then
 
8148
    symcode='[ABCDGIRSTW]'
 
8149
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
8150
    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'"
 
8151
  fi
7515
8152
  ;;
7516
8153
irix* | nonstopux*)
7517
8154
  symcode='[BCDEGRST]'
7536
8173
  ;;
7537
8174
esac
7538
8175
 
7539
 
# If we're using GNU nm, then use its standard symbol codes.
7540
 
case `$NM -V 2>&1` in
7541
 
*GNU* | *'with BFD'*)
7542
 
  symcode='[ABCDGIRSTW]' ;;
7543
 
esac
7544
 
 
7545
 
# Transform an extracted symbol line into a proper C declaration.
7546
 
# Some systems (esp. on ia64) link data and code symbols differently,
7547
 
# so use this general approach.
7548
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7549
 
 
7550
 
# Transform an extracted symbol line into symbol name and symbol address
7551
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7552
 
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'"
7553
 
 
7554
8176
# Handle CRLF in mingw tool chain
7555
8177
opt_cr=
7556
8178
case $build_os in
7557
8179
mingw*)
7558
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
8180
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7559
8181
  ;;
7560
8182
esac
7561
8183
 
7562
 
# Try without a prefix underscore, then with it.
 
8184
# If we're using GNU nm, then use its standard symbol codes.
 
8185
case `$NM -V 2>&1` in
 
8186
*GNU* | *'with BFD'*)
 
8187
  symcode='[ABCDGIRSTW]' ;;
 
8188
esac
 
8189
 
 
8190
# Try without a prefix undercore, then with it.
7563
8191
for ac_symprfx in "" "_"; do
7564
8192
 
7565
8193
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7566
8194
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7567
8195
 
7568
8196
  # Write the raw and C identifiers.
7569
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7570
 
    # Fake it for dumpbin and say T for any non-static function
7571
 
    # and D for any global variable.
7572
 
    # Also find C++ and __fastcall symbols from MSVC++,
7573
 
    # which start with @ or ?.
7574
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
7575
 
"     {last_section=section; section=\$ 3};"\
7576
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7577
 
"     \$ 0!~/External *\|/{next};"\
7578
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7579
 
"     {if(hide[section]) next};"\
7580
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7581
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7582
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7583
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7584
 
"     ' prfx=^$ac_symprfx"
7585
 
  else
7586
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7587
 
  fi
 
8197
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7588
8198
 
7589
8199
  # Check to see that the pipe works correctly.
7590
8200
  pipe_works=no
7591
8201
 
7592
8202
  rm -f conftest*
7593
 
  cat > conftest.$ac_ext <<_LT_EOF
 
8203
  cat > conftest.$ac_ext <<EOF
7594
8204
#ifdef __cplusplus
7595
8205
extern "C" {
7596
8206
#endif
7597
8207
char nm_test_var;
7598
 
void nm_test_func(void);
7599
 
void nm_test_func(void){}
 
8208
void nm_test_func(){}
7600
8209
#ifdef __cplusplus
7601
8210
}
7602
8211
#endif
7603
8212
int main(){nm_test_var='a';nm_test_func();return(0);}
7604
 
_LT_EOF
 
8213
EOF
7605
8214
 
7606
8215
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7607
8216
  (eval $ac_compile) 2>&5
7623
8232
      fi
7624
8233
 
7625
8234
      # Make sure that we snagged all the symbols we need.
7626
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7627
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7628
 
          cat <<_LT_EOF > conftest.$ac_ext
 
8235
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
 
8236
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
 
8237
          cat <<EOF > conftest.$ac_ext
7629
8238
#ifdef __cplusplus
7630
8239
extern "C" {
7631
8240
#endif
7632
8241
 
7633
 
_LT_EOF
 
8242
EOF
7634
8243
          # Now generate the symbol file.
7635
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7636
 
 
7637
 
          cat <<_LT_EOF >> conftest.$ac_ext
7638
 
 
7639
 
/* The mapping between symbol names and symbols.  */
 
8244
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
 
8245
 
 
8246
          cat <<EOF >> conftest.$ac_ext
 
8247
#if defined (__STDC__) && __STDC__
 
8248
# define lt_ptr_t void *
 
8249
#else
 
8250
# define lt_ptr_t char *
 
8251
# define const
 
8252
#endif
 
8253
 
 
8254
/* The mapping between symbol names and symbols. */
7640
8255
const struct {
7641
8256
  const char *name;
7642
 
  void       *address;
 
8257
  lt_ptr_t address;
7643
8258
}
7644
 
lt__PROGRAM__LTX_preloaded_symbols[] =
 
8259
lt_preloaded_symbols[] =
7645
8260
{
7646
 
  { "@PROGRAM@", (void *) 0 },
7647
 
_LT_EOF
7648
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7649
 
          cat <<\_LT_EOF >> conftest.$ac_ext
7650
 
  {0, (void *) 0}
 
8261
EOF
 
8262
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
 
8263
          cat <<\EOF >> conftest.$ac_ext
 
8264
  {0, (lt_ptr_t) 0}
7651
8265
};
7652
8266
 
7653
 
/* This works around a problem in FreeBSD linker */
7654
 
#ifdef FREEBSD_WORKAROUND
7655
 
static const void *lt_preloaded_setup() {
7656
 
  return lt__PROGRAM__LTX_preloaded_symbols;
7657
 
}
7658
 
#endif
7659
 
 
7660
8267
#ifdef __cplusplus
7661
8268
}
7662
8269
#endif
7663
 
_LT_EOF
 
8270
EOF
7664
8271
          # Now try linking the two files.
7665
8272
          mv conftest.$ac_objext conftstm.$ac_objext
7666
8273
          lt_save_LIBS="$LIBS"
7712
8319
$as_echo "ok" >&6; }
7713
8320
fi
7714
8321
 
7715
 
 
7716
 
 
7717
 
 
7718
 
 
7719
 
 
7720
 
 
7721
 
 
7722
 
 
7723
 
 
7724
 
 
7725
 
 
7726
 
 
7727
 
 
7728
 
 
7729
 
 
7730
 
 
7731
 
 
7732
 
 
7733
 
 
7734
 
 
7735
 
 
7736
 
# Check whether --enable-libtool-lock was given.
7737
 
if test "${enable_libtool_lock+set}" = set; then
7738
 
  enableval=$enable_libtool_lock;
7739
 
fi
7740
 
 
7741
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7742
 
 
7743
 
# Some flags need to be propagated to the compiler or linker for good
7744
 
# libtool support.
7745
 
case $host in
7746
 
ia64-*-hpux*)
7747
 
  # Find out which ABI we are using.
7748
 
  echo 'int i;' > conftest.$ac_ext
7749
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7750
 
  (eval $ac_compile) 2>&5
7751
 
  ac_status=$?
7752
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753
 
  (exit $ac_status); }; then
7754
 
    case `/usr/bin/file conftest.$ac_objext` in
7755
 
      *ELF-32*)
7756
 
        HPUX_IA64_MODE="32"
7757
 
        ;;
7758
 
      *ELF-64*)
7759
 
        HPUX_IA64_MODE="64"
7760
 
        ;;
7761
 
    esac
7762
 
  fi
7763
 
  rm -rf conftest*
7764
 
  ;;
7765
 
*-*-irix6*)
7766
 
  # Find out which ABI we are using.
7767
 
  echo '#line 7767 "configure"' > conftest.$ac_ext
7768
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7769
 
  (eval $ac_compile) 2>&5
7770
 
  ac_status=$?
7771
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7772
 
  (exit $ac_status); }; then
7773
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
7774
 
      case `/usr/bin/file conftest.$ac_objext` in
7775
 
        *32-bit*)
7776
 
          LD="${LD-ld} -melf32bsmip"
7777
 
          ;;
7778
 
        *N32*)
7779
 
          LD="${LD-ld} -melf32bmipn32"
7780
 
          ;;
7781
 
        *64-bit*)
7782
 
          LD="${LD-ld} -melf64bmip"
7783
 
        ;;
7784
 
      esac
7785
 
    else
7786
 
      case `/usr/bin/file conftest.$ac_objext` in
7787
 
        *32-bit*)
7788
 
          LD="${LD-ld} -32"
7789
 
          ;;
7790
 
        *N32*)
7791
 
          LD="${LD-ld} -n32"
7792
 
          ;;
7793
 
        *64-bit*)
7794
 
          LD="${LD-ld} -64"
7795
 
          ;;
7796
 
      esac
7797
 
    fi
7798
 
  fi
7799
 
  rm -rf conftest*
7800
 
  ;;
7801
 
 
7802
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7803
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7804
 
  # Find out which ABI we are using.
7805
 
  echo 'int i;' > conftest.$ac_ext
7806
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7807
 
  (eval $ac_compile) 2>&5
7808
 
  ac_status=$?
7809
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810
 
  (exit $ac_status); }; then
7811
 
    case `/usr/bin/file conftest.o` in
7812
 
      *32-bit*)
7813
 
        case $host in
7814
 
          x86_64-*kfreebsd*-gnu)
7815
 
            LD="${LD-ld} -m elf_i386_fbsd"
7816
 
            ;;
7817
 
          x86_64-*linux*)
7818
 
            LD="${LD-ld} -m elf_i386"
7819
 
            ;;
7820
 
          ppc64-*linux*|powerpc64-*linux*)
7821
 
            LD="${LD-ld} -m elf32ppclinux"
7822
 
            ;;
7823
 
          s390x-*linux*)
7824
 
            LD="${LD-ld} -m elf_s390"
7825
 
            ;;
7826
 
          sparc64-*linux*)
7827
 
            LD="${LD-ld} -m elf32_sparc"
7828
 
            ;;
7829
 
        esac
7830
 
        ;;
7831
 
      *64-bit*)
7832
 
        case $host in
7833
 
          x86_64-*kfreebsd*-gnu)
7834
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
7835
 
            ;;
7836
 
          x86_64-*linux*)
7837
 
            LD="${LD-ld} -m elf_x86_64"
7838
 
            ;;
7839
 
          ppc*-*linux*|powerpc*-*linux*)
7840
 
            LD="${LD-ld} -m elf64ppc"
7841
 
            ;;
7842
 
          s390*-*linux*|s390*-*tpf*)
7843
 
            LD="${LD-ld} -m elf64_s390"
7844
 
            ;;
7845
 
          sparc*-*linux*)
7846
 
            LD="${LD-ld} -m elf64_sparc"
7847
 
            ;;
7848
 
        esac
7849
 
        ;;
7850
 
    esac
7851
 
  fi
7852
 
  rm -rf conftest*
7853
 
  ;;
7854
 
 
7855
 
*-*-sco3.2v5*)
7856
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7857
 
  SAVE_CFLAGS="$CFLAGS"
7858
 
  CFLAGS="$CFLAGS -belf"
7859
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7860
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7861
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
7862
 
  $as_echo_n "(cached) " >&6
7863
 
else
7864
 
  ac_ext=c
7865
 
ac_cpp='$CPP $CPPFLAGS'
7866
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7867
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7868
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7869
 
 
7870
 
     cat >conftest.$ac_ext <<_ACEOF
7871
 
/* confdefs.h.  */
7872
 
_ACEOF
7873
 
cat confdefs.h >>conftest.$ac_ext
7874
 
cat >>conftest.$ac_ext <<_ACEOF
7875
 
/* end confdefs.h.  */
7876
 
 
7877
 
int
7878
 
main ()
7879
 
{
7880
 
 
7881
 
  ;
7882
 
  return 0;
7883
 
}
7884
 
_ACEOF
7885
 
rm -f conftest.$ac_objext conftest$ac_exeext
7886
 
if { (ac_try="$ac_link"
7887
 
case "(($ac_try" in
7888
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7889
 
  *) ac_try_echo=$ac_try;;
7890
 
esac
7891
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7892
 
$as_echo "$ac_try_echo") >&5
7893
 
  (eval "$ac_link") 2>conftest.er1
7894
 
  ac_status=$?
7895
 
  grep -v '^ *+' conftest.er1 >conftest.err
7896
 
  rm -f conftest.er1
7897
 
  cat conftest.err >&5
7898
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7899
 
  (exit $ac_status); } && {
7900
 
         test -z "$ac_c_werror_flag" ||
7901
 
         test ! -s conftest.err
7902
 
       } && test -s conftest$ac_exeext && {
7903
 
         test "$cross_compiling" = yes ||
7904
 
         $as_test_x conftest$ac_exeext
7905
 
       }; then
7906
 
  lt_cv_cc_needs_belf=yes
7907
 
else
7908
 
  $as_echo "$as_me: failed program was:" >&5
7909
 
sed 's/^/| /' conftest.$ac_ext >&5
7910
 
 
7911
 
        lt_cv_cc_needs_belf=no
7912
 
fi
7913
 
 
7914
 
rm -rf conftest.dSYM
7915
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7916
 
      conftest$ac_exeext conftest.$ac_ext
7917
 
     ac_ext=c
7918
 
ac_cpp='$CPP $CPPFLAGS'
7919
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7920
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7921
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7922
 
 
7923
 
fi
7924
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7925
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7926
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7927
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7928
 
    CFLAGS="$SAVE_CFLAGS"
7929
 
  fi
7930
 
  ;;
7931
 
sparc*-*solaris*)
7932
 
  # Find out which ABI we are using.
7933
 
  echo 'int i;' > conftest.$ac_ext
7934
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7935
 
  (eval $ac_compile) 2>&5
7936
 
  ac_status=$?
7937
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7938
 
  (exit $ac_status); }; then
7939
 
    case `/usr/bin/file conftest.o` in
7940
 
    *64-bit*)
7941
 
      case $lt_cv_prog_gnu_ld in
7942
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7943
 
      *)
7944
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7945
 
          LD="${LD-ld} -64"
7946
 
        fi
7947
 
        ;;
7948
 
      esac
7949
 
      ;;
7950
 
    esac
7951
 
  fi
7952
 
  rm -rf conftest*
7953
 
  ;;
7954
 
esac
7955
 
 
7956
 
need_locks="$enable_libtool_lock"
 
8322
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8323
$as_echo_n "checking for objdir... " >&6; }
 
8324
if test "${lt_cv_objdir+set}" = set; then
 
8325
  $as_echo_n "(cached) " >&6
 
8326
else
 
8327
  rm -f .libs 2>/dev/null
 
8328
mkdir .libs 2>/dev/null
 
8329
if test -d .libs; then
 
8330
  lt_cv_objdir=.libs
 
8331
else
 
8332
  # MS-DOS does not allow filenames that begin with a dot.
 
8333
  lt_cv_objdir=_libs
 
8334
fi
 
8335
rmdir .libs 2>/dev/null
 
8336
fi
 
8337
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8338
$as_echo "$lt_cv_objdir" >&6; }
 
8339
objdir=$lt_cv_objdir
 
8340
 
 
8341
 
 
8342
 
 
8343
 
 
8344
 
 
8345
case $host_os in
 
8346
aix3*)
 
8347
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
8348
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
8349
  # vanish in a puff of smoke.
 
8350
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
8351
    COLLECT_NAMES=
 
8352
    export COLLECT_NAMES
 
8353
  fi
 
8354
  ;;
 
8355
esac
 
8356
 
 
8357
# Sed substitution that helps us do robust quoting.  It backslashifies
 
8358
# metacharacters that are still active within double-quoted strings.
 
8359
Xsed='sed -e 1s/^X//'
 
8360
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 
8361
 
 
8362
# Same as above, but do not quote variable references.
 
8363
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 
8364
 
 
8365
# Sed substitution to delay expansion of an escaped shell variable in a
 
8366
# double_quote_subst'ed string.
 
8367
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
8368
 
 
8369
# Sed substitution to avoid accidental globbing in evaled expressions
 
8370
no_glob_subst='s/\*/\\\*/g'
 
8371
 
 
8372
# Constants:
 
8373
rm="rm -f"
 
8374
 
 
8375
# Global variables:
 
8376
default_ofile=libtool
 
8377
can_build_shared=yes
 
8378
 
 
8379
# All known linkers require a `.a' archive for static linking (except MSVC,
 
8380
# which needs '.lib').
 
8381
libext=a
 
8382
ltmain="$ac_aux_dir/ltmain.sh"
 
8383
ofile="$default_ofile"
 
8384
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
8385
 
 
8386
if test -n "$ac_tool_prefix"; then
 
8387
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
8388
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
8389
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8390
$as_echo_n "checking for $ac_word... " >&6; }
 
8391
if test "${ac_cv_prog_AR+set}" = set; then
 
8392
  $as_echo_n "(cached) " >&6
 
8393
else
 
8394
  if test -n "$AR"; then
 
8395
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
8396
else
 
8397
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8398
for as_dir in $PATH
 
8399
do
 
8400
  IFS=$as_save_IFS
 
8401
  test -z "$as_dir" && as_dir=.
 
8402
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8403
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8404
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
8405
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8406
    break 2
 
8407
  fi
 
8408
done
 
8409
done
 
8410
IFS=$as_save_IFS
 
8411
 
 
8412
fi
 
8413
fi
 
8414
AR=$ac_cv_prog_AR
 
8415
if test -n "$AR"; then
 
8416
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
8417
$as_echo "$AR" >&6; }
 
8418
else
 
8419
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8420
$as_echo "no" >&6; }
 
8421
fi
 
8422
 
 
8423
 
 
8424
fi
 
8425
if test -z "$ac_cv_prog_AR"; then
 
8426
  ac_ct_AR=$AR
 
8427
  # Extract the first word of "ar", so it can be a program name with args.
 
8428
set dummy ar; ac_word=$2
 
8429
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8430
$as_echo_n "checking for $ac_word... " >&6; }
 
8431
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
8432
  $as_echo_n "(cached) " >&6
 
8433
else
 
8434
  if test -n "$ac_ct_AR"; then
 
8435
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
8436
else
 
8437
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8438
for as_dir in $PATH
 
8439
do
 
8440
  IFS=$as_save_IFS
 
8441
  test -z "$as_dir" && as_dir=.
 
8442
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8443
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8444
    ac_cv_prog_ac_ct_AR="ar"
 
8445
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8446
    break 2
 
8447
  fi
 
8448
done
 
8449
done
 
8450
IFS=$as_save_IFS
 
8451
 
 
8452
fi
 
8453
fi
 
8454
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
8455
if test -n "$ac_ct_AR"; then
 
8456
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
8457
$as_echo "$ac_ct_AR" >&6; }
 
8458
else
 
8459
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8460
$as_echo "no" >&6; }
 
8461
fi
 
8462
 
 
8463
  if test "x$ac_ct_AR" = x; then
 
8464
    AR="false"
 
8465
  else
 
8466
    case $cross_compiling:$ac_tool_warned in
 
8467
yes:)
 
8468
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8469
whose name does not start with the host triplet.  If you think this
 
8470
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8471
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8472
whose name does not start with the host triplet.  If you think this
 
8473
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8474
ac_tool_warned=yes ;;
 
8475
esac
 
8476
    AR=$ac_ct_AR
 
8477
  fi
 
8478
else
 
8479
  AR="$ac_cv_prog_AR"
 
8480
fi
 
8481
 
 
8482
if test -n "$ac_tool_prefix"; then
 
8483
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
8484
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
8485
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8486
$as_echo_n "checking for $ac_word... " >&6; }
 
8487
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
8488
  $as_echo_n "(cached) " >&6
 
8489
else
 
8490
  if test -n "$RANLIB"; then
 
8491
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
8492
else
 
8493
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8494
for as_dir in $PATH
 
8495
do
 
8496
  IFS=$as_save_IFS
 
8497
  test -z "$as_dir" && as_dir=.
 
8498
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8499
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8500
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
8501
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8502
    break 2
 
8503
  fi
 
8504
done
 
8505
done
 
8506
IFS=$as_save_IFS
 
8507
 
 
8508
fi
 
8509
fi
 
8510
RANLIB=$ac_cv_prog_RANLIB
 
8511
if test -n "$RANLIB"; then
 
8512
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
8513
$as_echo "$RANLIB" >&6; }
 
8514
else
 
8515
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8516
$as_echo "no" >&6; }
 
8517
fi
 
8518
 
 
8519
 
 
8520
fi
 
8521
if test -z "$ac_cv_prog_RANLIB"; then
 
8522
  ac_ct_RANLIB=$RANLIB
 
8523
  # Extract the first word of "ranlib", so it can be a program name with args.
 
8524
set dummy ranlib; ac_word=$2
 
8525
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8526
$as_echo_n "checking for $ac_word... " >&6; }
 
8527
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
8528
  $as_echo_n "(cached) " >&6
 
8529
else
 
8530
  if test -n "$ac_ct_RANLIB"; then
 
8531
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
8532
else
 
8533
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8534
for as_dir in $PATH
 
8535
do
 
8536
  IFS=$as_save_IFS
 
8537
  test -z "$as_dir" && as_dir=.
 
8538
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8539
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8540
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
8541
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8542
    break 2
 
8543
  fi
 
8544
done
 
8545
done
 
8546
IFS=$as_save_IFS
 
8547
 
 
8548
fi
 
8549
fi
 
8550
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
8551
if test -n "$ac_ct_RANLIB"; then
 
8552
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
8553
$as_echo "$ac_ct_RANLIB" >&6; }
 
8554
else
 
8555
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8556
$as_echo "no" >&6; }
 
8557
fi
 
8558
 
 
8559
  if test "x$ac_ct_RANLIB" = x; then
 
8560
    RANLIB=":"
 
8561
  else
 
8562
    case $cross_compiling:$ac_tool_warned in
 
8563
yes:)
 
8564
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8565
whose name does not start with the host triplet.  If you think this
 
8566
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8567
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8568
whose name does not start with the host triplet.  If you think this
 
8569
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8570
ac_tool_warned=yes ;;
 
8571
esac
 
8572
    RANLIB=$ac_ct_RANLIB
 
8573
  fi
 
8574
else
 
8575
  RANLIB="$ac_cv_prog_RANLIB"
 
8576
fi
 
8577
 
 
8578
if test -n "$ac_tool_prefix"; then
 
8579
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
8580
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
8581
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8582
$as_echo_n "checking for $ac_word... " >&6; }
 
8583
if test "${ac_cv_prog_STRIP+set}" = set; then
 
8584
  $as_echo_n "(cached) " >&6
 
8585
else
 
8586
  if test -n "$STRIP"; then
 
8587
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
8588
else
 
8589
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8590
for as_dir in $PATH
 
8591
do
 
8592
  IFS=$as_save_IFS
 
8593
  test -z "$as_dir" && as_dir=.
 
8594
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8595
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8596
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
8597
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8598
    break 2
 
8599
  fi
 
8600
done
 
8601
done
 
8602
IFS=$as_save_IFS
 
8603
 
 
8604
fi
 
8605
fi
 
8606
STRIP=$ac_cv_prog_STRIP
 
8607
if test -n "$STRIP"; then
 
8608
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
8609
$as_echo "$STRIP" >&6; }
 
8610
else
 
8611
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8612
$as_echo "no" >&6; }
 
8613
fi
 
8614
 
 
8615
 
 
8616
fi
 
8617
if test -z "$ac_cv_prog_STRIP"; then
 
8618
  ac_ct_STRIP=$STRIP
 
8619
  # Extract the first word of "strip", so it can be a program name with args.
 
8620
set dummy strip; ac_word=$2
 
8621
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8622
$as_echo_n "checking for $ac_word... " >&6; }
 
8623
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
8624
  $as_echo_n "(cached) " >&6
 
8625
else
 
8626
  if test -n "$ac_ct_STRIP"; then
 
8627
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
8628
else
 
8629
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8630
for as_dir in $PATH
 
8631
do
 
8632
  IFS=$as_save_IFS
 
8633
  test -z "$as_dir" && as_dir=.
 
8634
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8635
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8636
    ac_cv_prog_ac_ct_STRIP="strip"
 
8637
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8638
    break 2
 
8639
  fi
 
8640
done
 
8641
done
 
8642
IFS=$as_save_IFS
 
8643
 
 
8644
fi
 
8645
fi
 
8646
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
8647
if test -n "$ac_ct_STRIP"; then
 
8648
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
8649
$as_echo "$ac_ct_STRIP" >&6; }
 
8650
else
 
8651
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8652
$as_echo "no" >&6; }
 
8653
fi
 
8654
 
 
8655
  if test "x$ac_ct_STRIP" = x; then
 
8656
    STRIP=":"
 
8657
  else
 
8658
    case $cross_compiling:$ac_tool_warned in
 
8659
yes:)
 
8660
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8661
whose name does not start with the host triplet.  If you think this
 
8662
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8663
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8664
whose name does not start with the host triplet.  If you think this
 
8665
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8666
ac_tool_warned=yes ;;
 
8667
esac
 
8668
    STRIP=$ac_ct_STRIP
 
8669
  fi
 
8670
else
 
8671
  STRIP="$ac_cv_prog_STRIP"
 
8672
fi
 
8673
 
 
8674
 
 
8675
old_CC="$CC"
 
8676
old_CFLAGS="$CFLAGS"
 
8677
 
 
8678
# Set sane defaults for various variables
 
8679
test -z "$AR" && AR=ar
 
8680
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
8681
test -z "$AS" && AS=as
 
8682
test -z "$CC" && CC=cc
 
8683
test -z "$LTCC" && LTCC=$CC
 
8684
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
8685
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
8686
test -z "$LD" && LD=ld
 
8687
test -z "$LN_S" && LN_S="ln -s"
 
8688
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
8689
test -z "$NM" && NM=nm
 
8690
test -z "$SED" && SED=sed
 
8691
test -z "$OBJDUMP" && OBJDUMP=objdump
 
8692
test -z "$RANLIB" && RANLIB=:
 
8693
test -z "$STRIP" && STRIP=:
 
8694
test -z "$ac_objext" && ac_objext=o
 
8695
 
 
8696
# Determine commands to create old-style static archives.
 
8697
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
8698
old_postinstall_cmds='chmod 644 $oldlib'
 
8699
old_postuninstall_cmds=
 
8700
 
 
8701
if test -n "$RANLIB"; then
 
8702
  case $host_os in
 
8703
  openbsd*)
 
8704
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
8705
    ;;
 
8706
  *)
 
8707
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
8708
    ;;
 
8709
  esac
 
8710
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
8711
fi
 
8712
 
 
8713
for cc_temp in $compiler""; do
 
8714
  case $cc_temp in
 
8715
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8716
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8717
    \-*) ;;
 
8718
    *) break;;
 
8719
  esac
 
8720
done
 
8721
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8722
 
 
8723
 
 
8724
# Only perform the check for file, if the check method requires it
 
8725
case $deplibs_check_method in
 
8726
file_magic*)
 
8727
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
8728
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8729
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8730
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8731
  $as_echo_n "(cached) " >&6
 
8732
else
 
8733
  case $MAGIC_CMD in
 
8734
[\\/*] |  ?:[\\/]*)
 
8735
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8736
  ;;
 
8737
*)
 
8738
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8739
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8740
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8741
  for ac_dir in $ac_dummy; do
 
8742
    IFS="$lt_save_ifs"
 
8743
    test -z "$ac_dir" && ac_dir=.
 
8744
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
8745
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
8746
      if test -n "$file_magic_test_file"; then
 
8747
        case $deplibs_check_method in
 
8748
        "file_magic "*)
 
8749
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8750
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8751
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8752
            $EGREP "$file_magic_regex" > /dev/null; then
 
8753
            :
 
8754
          else
 
8755
            cat <<EOF 1>&2
 
8756
 
 
8757
*** Warning: the command libtool uses to detect shared libraries,
 
8758
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8759
*** The result is that libtool may fail to recognize shared libraries
 
8760
*** as such.  This will affect the creation of libtool libraries that
 
8761
*** depend on shared libraries, but programs linked with such libtool
 
8762
*** libraries will work regardless of this problem.  Nevertheless, you
 
8763
*** may want to report the problem to your system manager and/or to
 
8764
*** bug-libtool@gnu.org
 
8765
 
 
8766
EOF
 
8767
          fi ;;
 
8768
        esac
 
8769
      fi
 
8770
      break
 
8771
    fi
 
8772
  done
 
8773
  IFS="$lt_save_ifs"
 
8774
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8775
  ;;
 
8776
esac
 
8777
fi
 
8778
 
 
8779
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8780
if test -n "$MAGIC_CMD"; then
 
8781
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8782
$as_echo "$MAGIC_CMD" >&6; }
 
8783
else
 
8784
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8785
$as_echo "no" >&6; }
 
8786
fi
 
8787
 
 
8788
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
8789
  if test -n "$ac_tool_prefix"; then
 
8790
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8791
$as_echo_n "checking for file... " >&6; }
 
8792
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8793
  $as_echo_n "(cached) " >&6
 
8794
else
 
8795
  case $MAGIC_CMD in
 
8796
[\\/*] |  ?:[\\/]*)
 
8797
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8798
  ;;
 
8799
*)
 
8800
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8801
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8802
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8803
  for ac_dir in $ac_dummy; do
 
8804
    IFS="$lt_save_ifs"
 
8805
    test -z "$ac_dir" && ac_dir=.
 
8806
    if test -f $ac_dir/file; then
 
8807
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
8808
      if test -n "$file_magic_test_file"; then
 
8809
        case $deplibs_check_method in
 
8810
        "file_magic "*)
 
8811
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8812
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8813
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8814
            $EGREP "$file_magic_regex" > /dev/null; then
 
8815
            :
 
8816
          else
 
8817
            cat <<EOF 1>&2
 
8818
 
 
8819
*** Warning: the command libtool uses to detect shared libraries,
 
8820
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8821
*** The result is that libtool may fail to recognize shared libraries
 
8822
*** as such.  This will affect the creation of libtool libraries that
 
8823
*** depend on shared libraries, but programs linked with such libtool
 
8824
*** libraries will work regardless of this problem.  Nevertheless, you
 
8825
*** may want to report the problem to your system manager and/or to
 
8826
*** bug-libtool@gnu.org
 
8827
 
 
8828
EOF
 
8829
          fi ;;
 
8830
        esac
 
8831
      fi
 
8832
      break
 
8833
    fi
 
8834
  done
 
8835
  IFS="$lt_save_ifs"
 
8836
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8837
  ;;
 
8838
esac
 
8839
fi
 
8840
 
 
8841
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8842
if test -n "$MAGIC_CMD"; then
 
8843
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8844
$as_echo "$MAGIC_CMD" >&6; }
 
8845
else
 
8846
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8847
$as_echo "no" >&6; }
 
8848
fi
 
8849
 
 
8850
  else
 
8851
    MAGIC_CMD=:
 
8852
  fi
 
8853
fi
 
8854
 
 
8855
  fi
 
8856
  ;;
 
8857
esac
7957
8858
 
7958
8859
 
7959
8860
  case $host_os in
8040
8941
  else
8041
8942
    case $cross_compiling:$ac_tool_warned in
8042
8943
yes:)
8043
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8044
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8944
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8945
whose name does not start with the host triplet.  If you think this
 
8946
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8947
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8948
whose name does not start with the host triplet.  If you think this
 
8949
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8045
8950
ac_tool_warned=yes ;;
8046
8951
esac
8047
8952
    DSYMUTIL=$ac_ct_DSYMUTIL
8132
9037
  else
8133
9038
    case $cross_compiling:$ac_tool_warned in
8134
9039
yes:)
8135
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8136
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9040
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
9041
whose name does not start with the host triplet.  If you think this
 
9042
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
9043
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
9044
whose name does not start with the host triplet.  If you think this
 
9045
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8137
9046
ac_tool_warned=yes ;;
8138
9047
esac
8139
9048
    NMEDIT=$ac_ct_NMEDIT
8142
9051
  NMEDIT="$ac_cv_prog_NMEDIT"
8143
9052
fi
8144
9053
 
8145
 
    if test -n "$ac_tool_prefix"; then
8146
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8147
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8148
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8149
 
$as_echo_n "checking for $ac_word... " >&6; }
8150
 
if test "${ac_cv_prog_LIPO+set}" = set; then
8151
 
  $as_echo_n "(cached) " >&6
8152
 
else
8153
 
  if test -n "$LIPO"; then
8154
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8155
 
else
8156
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157
 
for as_dir in $PATH
8158
 
do
8159
 
  IFS=$as_save_IFS
8160
 
  test -z "$as_dir" && as_dir=.
8161
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8162
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8163
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8164
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8165
 
    break 2
8166
 
  fi
8167
 
done
8168
 
done
8169
 
IFS=$as_save_IFS
8170
 
 
8171
 
fi
8172
 
fi
8173
 
LIPO=$ac_cv_prog_LIPO
8174
 
if test -n "$LIPO"; then
8175
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
8176
 
$as_echo "$LIPO" >&6; }
8177
 
else
8178
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8179
 
$as_echo "no" >&6; }
8180
 
fi
8181
 
 
8182
 
 
8183
 
fi
8184
 
if test -z "$ac_cv_prog_LIPO"; then
8185
 
  ac_ct_LIPO=$LIPO
8186
 
  # Extract the first word of "lipo", so it can be a program name with args.
8187
 
set dummy lipo; ac_word=$2
8188
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8189
 
$as_echo_n "checking for $ac_word... " >&6; }
8190
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
8191
 
  $as_echo_n "(cached) " >&6
8192
 
else
8193
 
  if test -n "$ac_ct_LIPO"; then
8194
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8195
 
else
8196
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8197
 
for as_dir in $PATH
8198
 
do
8199
 
  IFS=$as_save_IFS
8200
 
  test -z "$as_dir" && as_dir=.
8201
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8202
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8203
 
    ac_cv_prog_ac_ct_LIPO="lipo"
8204
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8205
 
    break 2
8206
 
  fi
8207
 
done
8208
 
done
8209
 
IFS=$as_save_IFS
8210
 
 
8211
 
fi
8212
 
fi
8213
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8214
 
if test -n "$ac_ct_LIPO"; then
8215
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
8216
 
$as_echo "$ac_ct_LIPO" >&6; }
8217
 
else
8218
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8219
 
$as_echo "no" >&6; }
8220
 
fi
8221
 
 
8222
 
  if test "x$ac_ct_LIPO" = x; then
8223
 
    LIPO=":"
8224
 
  else
8225
 
    case $cross_compiling:$ac_tool_warned in
8226
 
yes:)
8227
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8228
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8229
 
ac_tool_warned=yes ;;
8230
 
esac
8231
 
    LIPO=$ac_ct_LIPO
8232
 
  fi
8233
 
else
8234
 
  LIPO="$ac_cv_prog_LIPO"
8235
 
fi
8236
 
 
8237
 
    if test -n "$ac_tool_prefix"; then
8238
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8239
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
8240
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8241
 
$as_echo_n "checking for $ac_word... " >&6; }
8242
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
8243
 
  $as_echo_n "(cached) " >&6
8244
 
else
8245
 
  if test -n "$OTOOL"; then
8246
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8247
 
else
8248
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8249
 
for as_dir in $PATH
8250
 
do
8251
 
  IFS=$as_save_IFS
8252
 
  test -z "$as_dir" && as_dir=.
8253
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8254
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8255
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8256
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8257
 
    break 2
8258
 
  fi
8259
 
done
8260
 
done
8261
 
IFS=$as_save_IFS
8262
 
 
8263
 
fi
8264
 
fi
8265
 
OTOOL=$ac_cv_prog_OTOOL
8266
 
if test -n "$OTOOL"; then
8267
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
8268
 
$as_echo "$OTOOL" >&6; }
8269
 
else
8270
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8271
 
$as_echo "no" >&6; }
8272
 
fi
8273
 
 
8274
 
 
8275
 
fi
8276
 
if test -z "$ac_cv_prog_OTOOL"; then
8277
 
  ac_ct_OTOOL=$OTOOL
8278
 
  # Extract the first word of "otool", so it can be a program name with args.
8279
 
set dummy otool; ac_word=$2
8280
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8281
 
$as_echo_n "checking for $ac_word... " >&6; }
8282
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
8283
 
  $as_echo_n "(cached) " >&6
8284
 
else
8285
 
  if test -n "$ac_ct_OTOOL"; then
8286
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8287
 
else
8288
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8289
 
for as_dir in $PATH
8290
 
do
8291
 
  IFS=$as_save_IFS
8292
 
  test -z "$as_dir" && as_dir=.
8293
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8294
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8295
 
    ac_cv_prog_ac_ct_OTOOL="otool"
8296
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8297
 
    break 2
8298
 
  fi
8299
 
done
8300
 
done
8301
 
IFS=$as_save_IFS
8302
 
 
8303
 
fi
8304
 
fi
8305
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8306
 
if test -n "$ac_ct_OTOOL"; then
8307
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
8308
 
$as_echo "$ac_ct_OTOOL" >&6; }
8309
 
else
8310
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8311
 
$as_echo "no" >&6; }
8312
 
fi
8313
 
 
8314
 
  if test "x$ac_ct_OTOOL" = x; then
8315
 
    OTOOL=":"
8316
 
  else
8317
 
    case $cross_compiling:$ac_tool_warned in
8318
 
yes:)
8319
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8320
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8321
 
ac_tool_warned=yes ;;
8322
 
esac
8323
 
    OTOOL=$ac_ct_OTOOL
8324
 
  fi
8325
 
else
8326
 
  OTOOL="$ac_cv_prog_OTOOL"
8327
 
fi
8328
 
 
8329
 
    if test -n "$ac_tool_prefix"; then
8330
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8331
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8332
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8333
 
$as_echo_n "checking for $ac_word... " >&6; }
8334
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
8335
 
  $as_echo_n "(cached) " >&6
8336
 
else
8337
 
  if test -n "$OTOOL64"; then
8338
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8339
 
else
8340
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8341
 
for as_dir in $PATH
8342
 
do
8343
 
  IFS=$as_save_IFS
8344
 
  test -z "$as_dir" && as_dir=.
8345
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8346
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8347
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8348
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8349
 
    break 2
8350
 
  fi
8351
 
done
8352
 
done
8353
 
IFS=$as_save_IFS
8354
 
 
8355
 
fi
8356
 
fi
8357
 
OTOOL64=$ac_cv_prog_OTOOL64
8358
 
if test -n "$OTOOL64"; then
8359
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
8360
 
$as_echo "$OTOOL64" >&6; }
8361
 
else
8362
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8363
 
$as_echo "no" >&6; }
8364
 
fi
8365
 
 
8366
 
 
8367
 
fi
8368
 
if test -z "$ac_cv_prog_OTOOL64"; then
8369
 
  ac_ct_OTOOL64=$OTOOL64
8370
 
  # Extract the first word of "otool64", so it can be a program name with args.
8371
 
set dummy otool64; ac_word=$2
8372
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8373
 
$as_echo_n "checking for $ac_word... " >&6; }
8374
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
8375
 
  $as_echo_n "(cached) " >&6
8376
 
else
8377
 
  if test -n "$ac_ct_OTOOL64"; then
8378
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8379
 
else
8380
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8381
 
for as_dir in $PATH
8382
 
do
8383
 
  IFS=$as_save_IFS
8384
 
  test -z "$as_dir" && as_dir=.
8385
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8386
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8387
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
8388
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8389
 
    break 2
8390
 
  fi
8391
 
done
8392
 
done
8393
 
IFS=$as_save_IFS
8394
 
 
8395
 
fi
8396
 
fi
8397
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8398
 
if test -n "$ac_ct_OTOOL64"; then
8399
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
8400
 
$as_echo "$ac_ct_OTOOL64" >&6; }
8401
 
else
8402
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8403
 
$as_echo "no" >&6; }
8404
 
fi
8405
 
 
8406
 
  if test "x$ac_ct_OTOOL64" = x; then
8407
 
    OTOOL64=":"
8408
 
  else
8409
 
    case $cross_compiling:$ac_tool_warned in
8410
 
yes:)
8411
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8412
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8413
 
ac_tool_warned=yes ;;
8414
 
esac
8415
 
    OTOOL64=$ac_ct_OTOOL64
8416
 
  fi
8417
 
else
8418
 
  OTOOL64="$ac_cv_prog_OTOOL64"
8419
 
fi
8420
 
 
8421
 
 
8422
 
 
8423
 
 
8424
 
 
8425
 
 
8426
 
 
8427
 
 
8428
 
 
8429
 
 
8430
 
 
8431
 
 
8432
 
 
8433
 
 
8434
 
 
8435
 
 
8436
 
 
8437
 
 
8438
 
 
8439
 
 
8440
 
 
8441
 
 
8442
 
 
8443
 
 
8444
 
 
8445
 
 
8446
9054
 
8447
9055
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8448
9056
$as_echo_n "checking for -single_module linker flag... " >&6; }
8451
9059
else
8452
9060
  lt_cv_apple_cc_single_mod=no
8453
9061
      if test -z "${LT_MULTI_MODULE}"; then
8454
 
        # By default we will add the -single_module flag. You can override
8455
 
        # by either setting the environment variable LT_MULTI_MODULE
8456
 
        # non-empty at configure time, or by adding -multi_module to the
8457
 
        # link flags.
8458
 
        rm -rf libconftest.dylib*
8459
 
        echo "int foo(void){return 1;}" > conftest.c
8460
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8461
 
-dynamiclib -Wl,-single_module conftest.c" >&5
8462
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8463
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8464
 
        _lt_result=$?
8465
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8466
 
          lt_cv_apple_cc_single_mod=yes
8467
 
        else
8468
 
          cat conftest.err >&5
8469
 
        fi
8470
 
        rm -rf libconftest.dylib*
8471
 
        rm -f conftest.*
 
9062
   # By default we will add the -single_module flag. You can override
 
9063
   # by either setting the environment variable LT_MULTI_MODULE
 
9064
   # non-empty at configure time, or by adding -multi_module to the
 
9065
   # link flags.
 
9066
   echo "int foo(void){return 1;}" > conftest.c
 
9067
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9068
     -dynamiclib ${wl}-single_module conftest.c
 
9069
   if test -f libconftest.dylib; then
 
9070
     lt_cv_apple_cc_single_mod=yes
 
9071
     rm -rf libconftest.dylib*
 
9072
   fi
 
9073
   rm conftest.c
8472
9074
      fi
8473
9075
fi
8474
9076
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8529
9131
rm -rf conftest.dSYM
8530
9132
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8531
9133
      conftest$ac_exeext conftest.$ac_ext
8532
 
        LDFLAGS="$save_LDFLAGS"
 
9134
   LDFLAGS="$save_LDFLAGS"
8533
9135
 
8534
9136
fi
8535
9137
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8536
9138
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8537
9139
    case $host_os in
8538
 
    rhapsody* | darwin1.[012])
 
9140
    rhapsody* | darwin1.[0123])
8539
9141
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8540
9142
    darwin1.*)
8541
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8542
 
    darwin*) # darwin 5.x on
 
9143
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9144
    darwin*)
8543
9145
      # if running on 10.5 or later, the deployment target defaults
8544
9146
      # to the OS version, if on x86, and 10.4, the deployment
8545
9147
      # target defaults to 10.4. Don't you love it?
8546
9148
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8547
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8548
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8549
 
        10.[012]*)
8550
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8551
 
        10.*)
8552
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9149
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9150
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9151
   10.[012]*)
 
9152
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9153
   10.*)
 
9154
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8553
9155
      esac
8554
9156
    ;;
8555
9157
  esac
8559
9161
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8560
9162
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8561
9163
    else
8562
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
9164
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
8563
9165
    fi
8564
9166
    if test "$DSYMUTIL" != ":"; then
8565
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
9167
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
8566
9168
    else
8567
9169
      _lt_dsymutil=
8568
9170
    fi
8569
9171
    ;;
8570
9172
  esac
8571
9173
 
8572
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8573
 
 
8574
 
 
8575
 
 
8576
 
 
8577
 
 
8578
 
 
8579
 
 
8580
 
 
8581
 
 
8582
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8583
 
                  inttypes.h stdint.h unistd.h
8584
 
do
8585
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8586
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8587
 
$as_echo_n "checking for $ac_header... " >&6; }
8588
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8589
 
  $as_echo_n "(cached) " >&6
8590
 
else
8591
 
  cat >conftest.$ac_ext <<_ACEOF
8592
 
/* confdefs.h.  */
8593
 
_ACEOF
8594
 
cat confdefs.h >>conftest.$ac_ext
8595
 
cat >>conftest.$ac_ext <<_ACEOF
8596
 
/* end confdefs.h.  */
8597
 
$ac_includes_default
8598
 
 
8599
 
#include <$ac_header>
8600
 
_ACEOF
8601
 
rm -f conftest.$ac_objext
8602
 
if { (ac_try="$ac_compile"
8603
 
case "(($ac_try" in
8604
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8605
 
  *) ac_try_echo=$ac_try;;
8606
 
esac
8607
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8608
 
$as_echo "$ac_try_echo") >&5
8609
 
  (eval "$ac_compile") 2>conftest.er1
8610
 
  ac_status=$?
8611
 
  grep -v '^ *+' conftest.er1 >conftest.err
8612
 
  rm -f conftest.er1
8613
 
  cat conftest.err >&5
8614
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615
 
  (exit $ac_status); } && {
8616
 
         test -z "$ac_c_werror_flag" ||
8617
 
         test ! -s conftest.err
8618
 
       } && test -s conftest.$ac_objext; then
8619
 
  eval "$as_ac_Header=yes"
8620
 
else
8621
 
  $as_echo "$as_me: failed program was:" >&5
8622
 
sed 's/^/| /' conftest.$ac_ext >&5
8623
 
 
8624
 
        eval "$as_ac_Header=no"
8625
 
fi
8626
 
 
8627
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8628
 
fi
8629
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
8630
 
                 $as_echo "$as_val"'`
8631
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8632
 
$as_echo "$ac_res" >&6; }
8633
 
as_val=`eval 'as_val=${'$as_ac_Header'}
8634
 
                 $as_echo "$as_val"'`
8635
 
   if test "x$as_val" = x""yes; then
8636
 
  cat >>confdefs.h <<_ACEOF
8637
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8638
 
_ACEOF
8639
 
 
8640
 
fi
8641
 
 
8642
 
done
8643
 
 
8644
 
 
8645
 
 
8646
 
for ac_header in dlfcn.h
8647
 
do
8648
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8649
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8650
 
$as_echo_n "checking for $ac_header... " >&6; }
8651
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8652
 
  $as_echo_n "(cached) " >&6
8653
 
else
8654
 
  cat >conftest.$ac_ext <<_ACEOF
8655
 
/* confdefs.h.  */
8656
 
_ACEOF
8657
 
cat confdefs.h >>conftest.$ac_ext
8658
 
cat >>conftest.$ac_ext <<_ACEOF
8659
 
/* end confdefs.h.  */
8660
 
$ac_includes_default
8661
 
 
8662
 
#include <$ac_header>
8663
 
_ACEOF
8664
 
rm -f conftest.$ac_objext
8665
 
if { (ac_try="$ac_compile"
8666
 
case "(($ac_try" in
8667
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8668
 
  *) ac_try_echo=$ac_try;;
8669
 
esac
8670
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8671
 
$as_echo "$ac_try_echo") >&5
8672
 
  (eval "$ac_compile") 2>conftest.er1
8673
 
  ac_status=$?
8674
 
  grep -v '^ *+' conftest.er1 >conftest.err
8675
 
  rm -f conftest.er1
8676
 
  cat conftest.err >&5
8677
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678
 
  (exit $ac_status); } && {
8679
 
         test -z "$ac_c_werror_flag" ||
8680
 
         test ! -s conftest.err
8681
 
       } && test -s conftest.$ac_objext; then
8682
 
  eval "$as_ac_Header=yes"
8683
 
else
8684
 
  $as_echo "$as_me: failed program was:" >&5
8685
 
sed 's/^/| /' conftest.$ac_ext >&5
8686
 
 
8687
 
        eval "$as_ac_Header=no"
8688
 
fi
8689
 
 
8690
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8691
 
fi
8692
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
8693
 
                 $as_echo "$as_val"'`
8694
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8695
 
$as_echo "$ac_res" >&6; }
8696
 
as_val=`eval 'as_val=${'$as_ac_Header'}
8697
 
                 $as_echo "$as_val"'`
8698
 
   if test "x$as_val" = x""yes; then
8699
 
  cat >>confdefs.h <<_ACEOF
8700
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8701
 
_ACEOF
8702
 
 
8703
 
fi
8704
 
 
8705
 
done
8706
 
 
8707
 
 
8708
 
 
8709
 
# Set options
8710
 
 
8711
 
 
8712
 
 
8713
 
        enable_dlopen=no
8714
 
 
8715
 
 
8716
 
  enable_win32_dll=no
8717
 
 
8718
 
 
8719
 
            # Check whether --enable-shared was given.
8720
 
if test "${enable_shared+set}" = set; then
8721
 
  enableval=$enable_shared; p=${PACKAGE-default}
8722
 
    case $enableval in
8723
 
    yes) enable_shared=yes ;;
8724
 
    no) enable_shared=no ;;
8725
 
    *)
8726
 
      enable_shared=no
8727
 
      # Look at the argument we got.  We use all the common list separators.
8728
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8729
 
      for pkg in $enableval; do
8730
 
        IFS="$lt_save_ifs"
8731
 
        if test "X$pkg" = "X$p"; then
8732
 
          enable_shared=yes
8733
 
        fi
8734
 
      done
8735
 
      IFS="$lt_save_ifs"
8736
 
      ;;
8737
 
    esac
8738
 
else
8739
 
  enable_shared=yes
8740
 
fi
8741
 
 
8742
 
 
8743
 
 
8744
 
 
8745
 
 
8746
 
 
8747
 
 
8748
 
 
8749
 
 
8750
 
  # Check whether --enable-static was given.
8751
 
if test "${enable_static+set}" = set; then
8752
 
  enableval=$enable_static; p=${PACKAGE-default}
8753
 
    case $enableval in
8754
 
    yes) enable_static=yes ;;
8755
 
    no) enable_static=no ;;
8756
 
    *)
8757
 
     enable_static=no
8758
 
      # Look at the argument we got.  We use all the common list separators.
8759
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8760
 
      for pkg in $enableval; do
8761
 
        IFS="$lt_save_ifs"
8762
 
        if test "X$pkg" = "X$p"; then
8763
 
          enable_static=yes
8764
 
        fi
8765
 
      done
8766
 
      IFS="$lt_save_ifs"
8767
 
      ;;
8768
 
    esac
8769
 
else
8770
 
  enable_static=yes
8771
 
fi
8772
 
 
8773
 
 
8774
 
 
8775
 
 
8776
 
 
8777
 
 
8778
 
 
8779
 
 
 
9174
 
 
9175
enable_dlopen=no
 
9176
enable_win32_dll=no
 
9177
 
 
9178
# Check whether --enable-libtool-lock was given.
 
9179
if test "${enable_libtool_lock+set}" = set; then
 
9180
  enableval=$enable_libtool_lock;
 
9181
fi
 
9182
 
 
9183
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8780
9184
 
8781
9185
 
8782
9186
# Check whether --with-pic was given.
8786
9190
  pic_mode=default
8787
9191
fi
8788
9192
 
8789
 
 
8790
9193
test -z "$pic_mode" && pic_mode=default
8791
9194
 
8792
 
 
8793
 
 
8794
 
 
8795
 
 
8796
 
 
8797
 
 
8798
 
  # Check whether --enable-fast-install was given.
8799
 
if test "${enable_fast_install+set}" = set; then
8800
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
8801
 
    case $enableval in
8802
 
    yes) enable_fast_install=yes ;;
8803
 
    no) enable_fast_install=no ;;
8804
 
    *)
8805
 
      enable_fast_install=no
8806
 
      # Look at the argument we got.  We use all the common list separators.
8807
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8808
 
      for pkg in $enableval; do
8809
 
        IFS="$lt_save_ifs"
8810
 
        if test "X$pkg" = "X$p"; then
8811
 
          enable_fast_install=yes
8812
 
        fi
8813
 
      done
8814
 
      IFS="$lt_save_ifs"
8815
 
      ;;
8816
 
    esac
8817
 
else
8818
 
  enable_fast_install=yes
8819
 
fi
8820
 
 
8821
 
 
8822
 
 
8823
 
 
8824
 
 
8825
 
 
8826
 
 
8827
 
 
8828
 
 
8829
 
 
8830
 
 
8831
 
# This can be used to rebuild libtool when needed
8832
 
LIBTOOL_DEPS="$ltmain"
8833
 
 
8834
 
# Always use our own libtool.
8835
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8836
 
 
8837
 
 
8838
 
 
8839
 
 
8840
 
 
8841
 
 
8842
 
 
8843
 
 
8844
 
 
8845
 
 
8846
 
 
8847
 
 
8848
 
 
8849
 
 
8850
 
 
8851
 
 
8852
 
 
8853
 
 
8854
 
 
8855
 
 
8856
 
 
8857
 
 
8858
 
 
8859
 
 
8860
 
 
8861
 
test -z "$LN_S" && LN_S="ln -s"
8862
 
 
8863
 
 
8864
 
 
8865
 
 
8866
 
 
8867
 
 
8868
 
 
8869
 
 
8870
 
 
8871
 
 
8872
 
 
8873
 
 
8874
 
 
8875
 
 
8876
 
if test -n "${ZSH_VERSION+set}" ; then
8877
 
   setopt NO_GLOB_SUBST
8878
 
fi
8879
 
 
8880
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
8881
 
$as_echo_n "checking for objdir... " >&6; }
8882
 
if test "${lt_cv_objdir+set}" = set; then
8883
 
  $as_echo_n "(cached) " >&6
8884
 
else
8885
 
  rm -f .libs 2>/dev/null
8886
 
mkdir .libs 2>/dev/null
8887
 
if test -d .libs; then
8888
 
  lt_cv_objdir=.libs
8889
 
else
8890
 
  # MS-DOS does not allow filenames that begin with a dot.
8891
 
  lt_cv_objdir=_libs
8892
 
fi
8893
 
rmdir .libs 2>/dev/null
8894
 
fi
8895
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8896
 
$as_echo "$lt_cv_objdir" >&6; }
8897
 
objdir=$lt_cv_objdir
8898
 
 
8899
 
 
8900
 
 
8901
 
 
8902
 
 
8903
 
cat >>confdefs.h <<_ACEOF
8904
 
#define LT_OBJDIR "$lt_cv_objdir/"
8905
 
_ACEOF
8906
 
 
8907
 
 
8908
 
 
8909
 
 
8910
 
 
8911
 
 
8912
 
 
8913
 
 
8914
 
 
8915
 
 
8916
 
 
8917
 
 
8918
 
 
8919
 
 
8920
 
 
8921
 
 
8922
 
 
8923
 
case $host_os in
8924
 
aix3*)
8925
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8926
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8927
 
  # vanish in a puff of smoke.
8928
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8929
 
    COLLECT_NAMES=
8930
 
    export COLLECT_NAMES
8931
 
  fi
8932
 
  ;;
8933
 
esac
8934
 
 
8935
 
# Sed substitution that helps us do robust quoting.  It backslashifies
8936
 
# metacharacters that are still active within double-quoted strings.
8937
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8938
 
 
8939
 
# Same as above, but do not quote variable references.
8940
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8941
 
 
8942
 
# Sed substitution to delay expansion of an escaped shell variable in a
8943
 
# double_quote_subst'ed string.
8944
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8945
 
 
8946
 
# Sed substitution to delay expansion of an escaped single quote.
8947
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8948
 
 
8949
 
# Sed substitution to avoid accidental globbing in evaled expressions
8950
 
no_glob_subst='s/\*/\\\*/g'
8951
 
 
8952
 
# Global variables:
8953
 
ofile=libtool
8954
 
can_build_shared=yes
8955
 
 
8956
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8957
 
# which needs '.lib').
8958
 
libext=a
8959
 
 
8960
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8961
 
 
8962
 
old_CC="$CC"
8963
 
old_CFLAGS="$CFLAGS"
8964
 
 
8965
 
# Set sane defaults for various variables
8966
 
test -z "$CC" && CC=cc
8967
 
test -z "$LTCC" && LTCC=$CC
8968
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8969
 
test -z "$LD" && LD=ld
8970
 
test -z "$ac_objext" && ac_objext=o
8971
 
 
8972
 
for cc_temp in $compiler""; do
8973
 
  case $cc_temp in
8974
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8975
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8976
 
    \-*) ;;
8977
 
    *) break;;
8978
 
  esac
8979
 
done
8980
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8981
 
 
8982
 
 
8983
 
# Only perform the check for file, if the check method requires it
8984
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8985
 
case $deplibs_check_method in
8986
 
file_magic*)
8987
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8988
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8989
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8990
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8991
 
  $as_echo_n "(cached) " >&6
8992
 
else
8993
 
  case $MAGIC_CMD in
8994
 
[\\/*] |  ?:[\\/]*)
8995
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8996
 
  ;;
8997
 
*)
8998
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8999
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9000
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9001
 
  for ac_dir in $ac_dummy; do
9002
 
    IFS="$lt_save_ifs"
9003
 
    test -z "$ac_dir" && ac_dir=.
9004
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
9005
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9006
 
      if test -n "$file_magic_test_file"; then
9007
 
        case $deplibs_check_method in
9008
 
        "file_magic "*)
9009
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9010
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9011
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9012
 
            $EGREP "$file_magic_regex" > /dev/null; then
9013
 
            :
9014
 
          else
9015
 
            cat <<_LT_EOF 1>&2
9016
 
 
9017
 
*** Warning: the command libtool uses to detect shared libraries,
9018
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9019
 
*** The result is that libtool may fail to recognize shared libraries
9020
 
*** as such.  This will affect the creation of libtool libraries that
9021
 
*** depend on shared libraries, but programs linked with such libtool
9022
 
*** libraries will work regardless of this problem.  Nevertheless, you
9023
 
*** may want to report the problem to your system manager and/or to
9024
 
*** bug-libtool@gnu.org
9025
 
 
9026
 
_LT_EOF
9027
 
          fi ;;
9028
 
        esac
9029
 
      fi
9030
 
      break
9031
 
    fi
9032
 
  done
9033
 
  IFS="$lt_save_ifs"
9034
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9035
 
  ;;
9036
 
esac
9037
 
fi
9038
 
 
9039
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9040
 
if test -n "$MAGIC_CMD"; then
9041
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9042
 
$as_echo "$MAGIC_CMD" >&6; }
9043
 
else
9044
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9045
 
$as_echo "no" >&6; }
9046
 
fi
9047
 
 
9048
 
 
9049
 
 
9050
 
 
9051
 
 
9052
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
9053
 
  if test -n "$ac_tool_prefix"; then
9054
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
9055
 
$as_echo_n "checking for file... " >&6; }
9056
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9057
 
  $as_echo_n "(cached) " >&6
9058
 
else
9059
 
  case $MAGIC_CMD in
9060
 
[\\/*] |  ?:[\\/]*)
9061
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9062
 
  ;;
9063
 
*)
9064
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9065
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9066
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9067
 
  for ac_dir in $ac_dummy; do
9068
 
    IFS="$lt_save_ifs"
9069
 
    test -z "$ac_dir" && ac_dir=.
9070
 
    if test -f $ac_dir/file; then
9071
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9072
 
      if test -n "$file_magic_test_file"; then
9073
 
        case $deplibs_check_method in
9074
 
        "file_magic "*)
9075
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9076
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9077
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9078
 
            $EGREP "$file_magic_regex" > /dev/null; then
9079
 
            :
9080
 
          else
9081
 
            cat <<_LT_EOF 1>&2
9082
 
 
9083
 
*** Warning: the command libtool uses to detect shared libraries,
9084
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9085
 
*** The result is that libtool may fail to recognize shared libraries
9086
 
*** as such.  This will affect the creation of libtool libraries that
9087
 
*** depend on shared libraries, but programs linked with such libtool
9088
 
*** libraries will work regardless of this problem.  Nevertheless, you
9089
 
*** may want to report the problem to your system manager and/or to
9090
 
*** bug-libtool@gnu.org
9091
 
 
9092
 
_LT_EOF
9093
 
          fi ;;
9094
 
        esac
9095
 
      fi
9096
 
      break
9097
 
    fi
9098
 
  done
9099
 
  IFS="$lt_save_ifs"
9100
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9101
 
  ;;
9102
 
esac
9103
 
fi
9104
 
 
9105
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9106
 
if test -n "$MAGIC_CMD"; then
9107
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9108
 
$as_echo "$MAGIC_CMD" >&6; }
9109
 
else
9110
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9111
 
$as_echo "no" >&6; }
9112
 
fi
9113
 
 
9114
 
 
9115
 
  else
9116
 
    MAGIC_CMD=:
9117
 
  fi
9118
 
fi
9119
 
 
9120
 
  fi
9121
 
  ;;
9122
 
esac
9123
 
 
9124
9195
# Use C for the default configuration in the libtool script
9125
 
 
 
9196
tagname=
9126
9197
lt_save_CC="$CC"
9127
9198
ac_ext=c
9128
9199
ac_cpp='$CPP $CPPFLAGS'
9145
9216
lt_simple_link_test_code='int main(){return(0);}'
9146
9217
 
9147
9218
 
9148
 
 
9149
 
 
9150
 
 
9151
 
 
9152
 
 
9153
9219
# If no C compiler was specified, use CC.
9154
9220
LTCC=${LTCC-"$CC"}
9155
9221
 
9159
9225
# Allow CC to be a program name with arguments.
9160
9226
compiler=$CC
9161
9227
 
9162
 
# Save the default compiler, since it gets overwritten when the other
9163
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9164
 
compiler_DEFAULT=$CC
9165
9228
 
9166
9229
# save warnings/boilerplate of simple test code
9167
9230
ac_outfile=conftest.$ac_objext
9168
9231
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9169
9232
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9170
9233
_lt_compiler_boilerplate=`cat conftest.err`
9171
 
$RM conftest*
 
9234
$rm conftest*
9172
9235
 
9173
9236
ac_outfile=conftest.$ac_objext
9174
9237
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9175
9238
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9176
9239
_lt_linker_boilerplate=`cat conftest.err`
9177
 
$RM -r conftest*
9178
 
 
9179
 
 
9180
 
if test -n "$compiler"; then
 
9240
$rm -r conftest*
 
9241
 
 
9242
 
9181
9243
 
9182
9244
lt_prog_compiler_no_builtin_flag=
9183
9245
 
9184
9246
if test "$GCC" = yes; then
9185
9247
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9186
9248
 
9187
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9249
 
 
9250
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9188
9251
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9189
9252
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9190
9253
  $as_echo_n "(cached) " >&6
9191
9254
else
9192
9255
  lt_cv_prog_compiler_rtti_exceptions=no
9193
 
   ac_outfile=conftest.$ac_objext
 
9256
  ac_outfile=conftest.$ac_objext
9194
9257
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9195
9258
   lt_compiler_flag="-fno-rtti -fno-exceptions"
9196
9259
   # Insert the option either (1) after the last *FLAGS variable, or
9202
9265
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9203
9266
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9204
9267
   -e 's:$: $lt_compiler_flag:'`
9205
 
   (eval echo "\"\$as_me:9205: $lt_compile\"" >&5)
 
9268
   (eval echo "\"\$as_me:9268: $lt_compile\"" >&5)
9206
9269
   (eval "$lt_compile" 2>conftest.err)
9207
9270
   ac_status=$?
9208
9271
   cat conftest.err >&5
9209
 
   echo "$as_me:9209: \$? = $ac_status" >&5
 
9272
   echo "$as_me:9272: \$? = $ac_status" >&5
9210
9273
   if (exit $ac_status) && test -s "$ac_outfile"; then
9211
9274
     # The compiler can only warn and ignore the option if not recognized
9212
9275
     # So say no if there are warnings other than the usual output.
9213
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9276
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9214
9277
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9215
9278
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9216
9279
       lt_cv_prog_compiler_rtti_exceptions=yes
9217
9280
     fi
9218
9281
   fi
9219
 
   $RM conftest*
 
9282
   $rm conftest*
9220
9283
 
9221
9284
fi
9222
9285
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9230
9293
 
9231
9294
fi
9232
9295
 
9233
 
 
9234
 
 
9235
 
 
9236
 
 
9237
 
 
9238
 
  lt_prog_compiler_wl=
 
9296
lt_prog_compiler_wl=
9239
9297
lt_prog_compiler_pic=
9240
9298
lt_prog_compiler_static=
9241
9299
 
9256
9314
      ;;
9257
9315
 
9258
9316
    amigaos*)
9259
 
      case $host_cpu in
9260
 
      powerpc)
9261
 
            # see comment about AmigaOS4 .so support
9262
 
            lt_prog_compiler_pic='-fPIC'
9263
 
        ;;
9264
 
      m68k)
9265
 
            # FIXME: we need at least 68020 code to build shared libraries, but
9266
 
            # adding the `-m68020' flag to GCC prevents building anything better,
9267
 
            # like `-m68040'.
9268
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9269
 
        ;;
9270
 
      esac
 
9317
      # FIXME: we need at least 68020 code to build shared libraries, but
 
9318
      # adding the `-m68020' flag to GCC prevents building anything better,
 
9319
      # like `-m68040'.
 
9320
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9271
9321
      ;;
9272
9322
 
9273
9323
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9274
9324
      # PIC is the default for these OSes.
9275
9325
      ;;
9276
9326
 
9277
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
9327
    mingw* | cygwin* | pw32* | os2*)
9278
9328
      # This hack is so that the source file can tell whether it is being
9279
9329
      # built for inclusion in a dll (and should export symbols for example).
9280
9330
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9288
9338
      lt_prog_compiler_pic='-fno-common'
9289
9339
      ;;
9290
9340
 
9291
 
    hpux*)
9292
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9293
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9294
 
      # sets the default TLS model and affects inlining.
9295
 
      case $host_cpu in
9296
 
      hppa*64*)
9297
 
        # +Z the default
9298
 
        ;;
9299
 
      *)
9300
 
        lt_prog_compiler_pic='-fPIC'
9301
 
        ;;
9302
 
      esac
9303
 
      ;;
9304
 
 
9305
9341
    interix[3-9]*)
9306
9342
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9307
9343
      # Instead, we relocate shared libraries at runtime.
9314
9350
      enable_shared=no
9315
9351
      ;;
9316
9352
 
9317
 
    *nto* | *qnx*)
9318
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9319
 
      # it will coredump.
9320
 
      lt_prog_compiler_pic='-fPIC -shared'
9321
 
      ;;
9322
 
 
9323
9353
    sysv4*MP*)
9324
9354
      if test -d /usr/nec; then
9325
9355
        lt_prog_compiler_pic=-Kconform_pic
9326
9356
      fi
9327
9357
      ;;
9328
9358
 
 
9359
    hpux*)
 
9360
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
9361
      # not for PA HP-UX.
 
9362
      case $host_cpu in
 
9363
      hppa*64*|ia64*)
 
9364
        # +Z the default
 
9365
        ;;
 
9366
      *)
 
9367
        lt_prog_compiler_pic='-fPIC'
 
9368
        ;;
 
9369
      esac
 
9370
      ;;
 
9371
 
9329
9372
    *)
9330
9373
      lt_prog_compiler_pic='-fPIC'
9331
9374
      ;;
9342
9385
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9343
9386
      fi
9344
9387
      ;;
 
9388
      darwin*)
 
9389
        # PIC is the default on this platform
 
9390
        # Common symbols not allowed in MH_DYLIB files
 
9391
       case $cc_basename in
 
9392
         xlc*)
 
9393
         lt_prog_compiler_pic='-qnocommon'
 
9394
         lt_prog_compiler_wl='-Wl,'
 
9395
         ;;
 
9396
       esac
 
9397
       ;;
9345
9398
 
9346
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
9399
    mingw* | cygwin* | pw32* | os2*)
9347
9400
      # This hack is so that the source file can tell whether it is being
9348
9401
      # built for inclusion in a dll (and should export symbols for example).
9349
9402
      lt_prog_compiler_pic='-DDLL_EXPORT'
9371
9424
      lt_prog_compiler_static='-non_shared'
9372
9425
      ;;
9373
9426
 
 
9427
    newsos6)
 
9428
      lt_prog_compiler_pic='-KPIC'
 
9429
      lt_prog_compiler_static='-Bstatic'
 
9430
      ;;
 
9431
 
9374
9432
    linux* | k*bsd*-gnu)
9375
9433
      case $cc_basename in
9376
 
      # old Intel for x86_64 which still supported -KPIC.
9377
 
      ecc*)
 
9434
      icc* | ecc*)
9378
9435
        lt_prog_compiler_wl='-Wl,'
9379
9436
        lt_prog_compiler_pic='-KPIC'
9380
9437
        lt_prog_compiler_static='-static'
9381
9438
        ;;
9382
 
      # icc used to be incompatible with GCC.
9383
 
      # ICC 10 doesn't accept -KPIC any more.
9384
 
      icc* | ifort*)
9385
 
        lt_prog_compiler_wl='-Wl,'
9386
 
        lt_prog_compiler_pic='-fPIC'
9387
 
        lt_prog_compiler_static='-static'
9388
 
        ;;
9389
 
      # Lahey Fortran 8.1.
9390
 
      lf95*)
9391
 
        lt_prog_compiler_wl='-Wl,'
9392
 
        lt_prog_compiler_pic='--shared'
9393
 
        lt_prog_compiler_static='--static'
9394
 
        ;;
9395
9439
      pgcc* | pgf77* | pgf90* | pgf95*)
9396
9440
        # Portland Group compilers (*not* the Pentium gcc compiler,
9397
9441
        # which looks to be a dead project)
9404
9448
        # All Alpha code is PIC.
9405
9449
        lt_prog_compiler_static='-non_shared'
9406
9450
        ;;
9407
 
      xl*)
9408
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
9409
 
        lt_prog_compiler_wl='-Wl,'
9410
 
        lt_prog_compiler_pic='-qpic'
9411
 
        lt_prog_compiler_static='-qstaticlink'
9412
 
        ;;
9413
9451
      *)
9414
 
        case `$CC -V 2>&1 | sed 5q` in
 
9452
        case `$CC -V 2>&1 | sed 5q` in
9415
9453
        *Sun\ C*)
9416
9454
          # Sun C 5.9
9417
9455
          lt_prog_compiler_pic='-KPIC'
9429
9467
      esac
9430
9468
      ;;
9431
9469
 
9432
 
    newsos6)
9433
 
      lt_prog_compiler_pic='-KPIC'
9434
 
      lt_prog_compiler_static='-Bstatic'
9435
 
      ;;
9436
 
 
9437
 
    *nto* | *qnx*)
9438
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9439
 
      # it will coredump.
9440
 
      lt_prog_compiler_pic='-fPIC -shared'
9441
 
      ;;
9442
 
 
9443
9470
    osf3* | osf4* | osf5*)
9444
9471
      lt_prog_compiler_wl='-Wl,'
9445
9472
      # All OSF/1 code is PIC.
9502
9529
    esac
9503
9530
  fi
9504
9531
 
9505
 
case $host_os in
9506
 
  # For platforms which do not support PIC, -DPIC is meaningless:
9507
 
  *djgpp*)
9508
 
    lt_prog_compiler_pic=
9509
 
    ;;
9510
 
  *)
9511
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9512
 
    ;;
9513
 
esac
9514
9532
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9515
9533
$as_echo "$lt_prog_compiler_pic" >&6; }
9516
9534
 
9517
 
 
9518
 
 
9519
 
 
9520
 
 
9521
 
 
9522
9535
#
9523
9536
# Check to make sure the PIC flag actually works.
9524
9537
#
9525
9538
if test -n "$lt_prog_compiler_pic"; then
9526
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9539
 
 
9540
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9527
9541
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9528
9542
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9529
9543
  $as_echo_n "(cached) " >&6
9530
9544
else
9531
9545
  lt_cv_prog_compiler_pic_works=no
9532
 
   ac_outfile=conftest.$ac_objext
 
9546
  ac_outfile=conftest.$ac_objext
9533
9547
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9534
9548
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9535
9549
   # Insert the option either (1) after the last *FLAGS variable, or
9541
9555
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9542
9556
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9543
9557
   -e 's:$: $lt_compiler_flag:'`
9544
 
   (eval echo "\"\$as_me:9544: $lt_compile\"" >&5)
 
9558
   (eval echo "\"\$as_me:9558: $lt_compile\"" >&5)
9545
9559
   (eval "$lt_compile" 2>conftest.err)
9546
9560
   ac_status=$?
9547
9561
   cat conftest.err >&5
9548
 
   echo "$as_me:9548: \$? = $ac_status" >&5
 
9562
   echo "$as_me:9562: \$? = $ac_status" >&5
9549
9563
   if (exit $ac_status) && test -s "$ac_outfile"; then
9550
9564
     # The compiler can only warn and ignore the option if not recognized
9551
9565
     # So say no if there are warnings other than the usual output.
9552
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9566
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9553
9567
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9554
9568
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9555
9569
       lt_cv_prog_compiler_pic_works=yes
9556
9570
     fi
9557
9571
   fi
9558
 
   $RM conftest*
 
9572
   $rm conftest*
9559
9573
 
9560
9574
fi
9561
9575
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9572
9586
fi
9573
9587
 
9574
9588
fi
9575
 
 
9576
 
 
9577
 
 
9578
 
 
9579
 
 
 
9589
case $host_os in
 
9590
  # For platforms which do not support PIC, -DPIC is meaningless:
 
9591
  *djgpp*)
 
9592
    lt_prog_compiler_pic=
 
9593
    ;;
 
9594
  *)
 
9595
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
9596
    ;;
 
9597
esac
9580
9598
 
9581
9599
#
9582
9600
# Check to make sure the static flag actually works.
9597
9615
     if test -s conftest.err; then
9598
9616
       # Append any errors to the config.log.
9599
9617
       cat conftest.err 1>&5
9600
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9618
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9601
9619
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9602
9620
       if diff conftest.exp conftest.er2 >/dev/null; then
9603
9621
         lt_cv_prog_compiler_static_works=yes
9606
9624
       lt_cv_prog_compiler_static_works=yes
9607
9625
     fi
9608
9626
   fi
9609
 
   $RM -r conftest*
 
9627
   $rm -r conftest*
9610
9628
   LDFLAGS="$save_LDFLAGS"
9611
9629
 
9612
9630
fi
9620
9638
fi
9621
9639
 
9622
9640
 
9623
 
 
9624
 
 
9625
 
 
9626
 
 
9627
 
 
9628
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9629
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9630
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9631
 
  $as_echo_n "(cached) " >&6
9632
 
else
9633
 
  lt_cv_prog_compiler_c_o=no
9634
 
   $RM -r conftest 2>/dev/null
9635
 
   mkdir conftest
9636
 
   cd conftest
9637
 
   mkdir out
9638
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9639
 
 
9640
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9641
 
   # Insert the option either (1) after the last *FLAGS variable, or
9642
 
   # (2) before a word containing "conftest.", or (3) at the end.
9643
 
   # Note that $ac_compile itself does not contain backslashes and begins
9644
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9645
 
   lt_compile=`echo "$ac_compile" | $SED \
9646
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9647
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9648
 
   -e 's:$: $lt_compiler_flag:'`
9649
 
   (eval echo "\"\$as_me:9649: $lt_compile\"" >&5)
9650
 
   (eval "$lt_compile" 2>out/conftest.err)
9651
 
   ac_status=$?
9652
 
   cat out/conftest.err >&5
9653
 
   echo "$as_me:9653: \$? = $ac_status" >&5
9654
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9655
 
   then
9656
 
     # The compiler can only warn and ignore the option if not recognized
9657
 
     # So say no if there are warnings
9658
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9659
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9660
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9661
 
       lt_cv_prog_compiler_c_o=yes
9662
 
     fi
9663
 
   fi
9664
 
   chmod u+w . 2>&5
9665
 
   $RM conftest*
9666
 
   # SGI C++ compiler will create directory out/ii_files/ for
9667
 
   # template instantiation
9668
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9669
 
   $RM out/* && rmdir out
9670
 
   cd ..
9671
 
   $RM -r conftest
9672
 
   $RM conftest*
9673
 
 
9674
 
fi
9675
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9676
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9677
 
 
9678
 
 
9679
 
 
9680
 
 
9681
 
 
9682
 
 
9683
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9684
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9685
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9686
 
  $as_echo_n "(cached) " >&6
9687
 
else
9688
 
  lt_cv_prog_compiler_c_o=no
9689
 
   $RM -r conftest 2>/dev/null
9690
 
   mkdir conftest
9691
 
   cd conftest
9692
 
   mkdir out
9693
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9694
 
 
9695
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9696
 
   # Insert the option either (1) after the last *FLAGS variable, or
9697
 
   # (2) before a word containing "conftest.", or (3) at the end.
9698
 
   # Note that $ac_compile itself does not contain backslashes and begins
9699
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9700
 
   lt_compile=`echo "$ac_compile" | $SED \
9701
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9702
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9703
 
   -e 's:$: $lt_compiler_flag:'`
9704
 
   (eval echo "\"\$as_me:9704: $lt_compile\"" >&5)
9705
 
   (eval "$lt_compile" 2>out/conftest.err)
9706
 
   ac_status=$?
9707
 
   cat out/conftest.err >&5
9708
 
   echo "$as_me:9708: \$? = $ac_status" >&5
9709
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9710
 
   then
9711
 
     # The compiler can only warn and ignore the option if not recognized
9712
 
     # So say no if there are warnings
9713
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9714
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9715
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9716
 
       lt_cv_prog_compiler_c_o=yes
9717
 
     fi
9718
 
   fi
9719
 
   chmod u+w . 2>&5
9720
 
   $RM conftest*
9721
 
   # SGI C++ compiler will create directory out/ii_files/ for
9722
 
   # template instantiation
9723
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9724
 
   $RM out/* && rmdir out
9725
 
   cd ..
9726
 
   $RM -r conftest
9727
 
   $RM conftest*
9728
 
 
9729
 
fi
9730
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9731
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9732
 
 
9733
 
 
 
9641
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9642
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9643
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9644
  $as_echo_n "(cached) " >&6
 
9645
else
 
9646
  lt_cv_prog_compiler_c_o=no
 
9647
   $rm -r conftest 2>/dev/null
 
9648
   mkdir conftest
 
9649
   cd conftest
 
9650
   mkdir out
 
9651
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9652
 
 
9653
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9654
   # Insert the option either (1) after the last *FLAGS variable, or
 
9655
   # (2) before a word containing "conftest.", or (3) at the end.
 
9656
   # Note that $ac_compile itself does not contain backslashes and begins
 
9657
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9658
   lt_compile=`echo "$ac_compile" | $SED \
 
9659
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9660
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9661
   -e 's:$: $lt_compiler_flag:'`
 
9662
   (eval echo "\"\$as_me:9662: $lt_compile\"" >&5)
 
9663
   (eval "$lt_compile" 2>out/conftest.err)
 
9664
   ac_status=$?
 
9665
   cat out/conftest.err >&5
 
9666
   echo "$as_me:9666: \$? = $ac_status" >&5
 
9667
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9668
   then
 
9669
     # The compiler can only warn and ignore the option if not recognized
 
9670
     # So say no if there are warnings
 
9671
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9672
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9673
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9674
       lt_cv_prog_compiler_c_o=yes
 
9675
     fi
 
9676
   fi
 
9677
   chmod u+w . 2>&5
 
9678
   $rm conftest*
 
9679
   # SGI C++ compiler will create directory out/ii_files/ for
 
9680
   # template instantiation
 
9681
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
9682
   $rm out/* && rmdir out
 
9683
   cd ..
 
9684
   rmdir conftest
 
9685
   $rm conftest*
 
9686
 
 
9687
fi
 
9688
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9689
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9734
9690
 
9735
9691
 
9736
9692
hard_links="nottested"
9739
9695
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9740
9696
$as_echo_n "checking if we can lock with hard links... " >&6; }
9741
9697
  hard_links=yes
9742
 
  $RM conftest*
 
9698
  $rm conftest*
9743
9699
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9744
9700
  touch conftest.a
9745
9701
  ln conftest.a conftest.b 2>&5 || hard_links=no
9755
9711
  need_locks=no
9756
9712
fi
9757
9713
 
9758
 
 
9759
 
 
9760
 
 
9761
 
 
9762
 
 
9763
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9714
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9764
9715
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9765
9716
 
9766
9717
  runpath_var=
9767
9718
  allow_undefined_flag=
9768
 
  always_export_symbols=no
 
9719
  enable_shared_with_static_runtimes=no
9769
9720
  archive_cmds=
9770
9721
  archive_expsym_cmds=
9771
 
  compiler_needs_object=no
9772
 
  enable_shared_with_static_runtimes=no
 
9722
  old_archive_From_new_cmds=
 
9723
  old_archive_from_expsyms_cmds=
9773
9724
  export_dynamic_flag_spec=
9774
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9775
 
  hardcode_automatic=no
9776
 
  hardcode_direct=no
9777
 
  hardcode_direct_absolute=no
 
9725
  whole_archive_flag_spec=
 
9726
  thread_safe_flag_spec=
9778
9727
  hardcode_libdir_flag_spec=
9779
9728
  hardcode_libdir_flag_spec_ld=
9780
9729
  hardcode_libdir_separator=
 
9730
  hardcode_direct=no
9781
9731
  hardcode_minus_L=no
9782
9732
  hardcode_shlibpath_var=unsupported
9783
 
  inherit_rpath=no
9784
9733
  link_all_deplibs=unknown
 
9734
  hardcode_automatic=no
9785
9735
  module_cmds=
9786
9736
  module_expsym_cmds=
9787
 
  old_archive_from_new_cmds=
9788
 
  old_archive_from_expsyms_cmds=
9789
 
  thread_safe_flag_spec=
9790
 
  whole_archive_flag_spec=
 
9737
  always_export_symbols=no
 
9738
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9791
9739
  # include_expsyms should be a list of space-separated symbols to be *always*
9792
9740
  # included in the symbol list
9793
9741
  include_expsyms=
9803
9751
  # preloaded symbol tables.
9804
9752
  # Exclude shared library initialization/finalization symbols.
9805
9753
  extract_expsyms_cmds=
 
9754
  # Just being paranoid about ensuring that cc_basename is set.
 
9755
  for cc_temp in $compiler""; do
 
9756
  case $cc_temp in
 
9757
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
9758
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
9759
    \-*) ;;
 
9760
    *) break;;
 
9761
  esac
 
9762
done
 
9763
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9806
9764
 
9807
9765
  case $host_os in
9808
 
  cygwin* | mingw* | pw32* | cegcc*)
 
9766
  cygwin* | mingw* | pw32*)
9809
9767
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9810
9768
    # When not using gcc, we currently assume that we are using
9811
9769
    # Microsoft Visual C++.
9831
9789
    # are reset later if shared libraries are not supported. Putting them
9832
9790
    # here allows them to be overridden if necessary.
9833
9791
    runpath_var=LD_RUN_PATH
9834
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9792
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
9835
9793
    export_dynamic_flag_spec='${wl}--export-dynamic'
9836
9794
    # ancient GNU ld didn't support --whole-archive et. al.
9837
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9838
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9839
 
    else
9840
 
      whole_archive_flag_spec=
 
9795
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
9796
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9797
      else
 
9798
        whole_archive_flag_spec=
9841
9799
    fi
9842
9800
    supports_anon_versioning=no
9843
 
    case `$LD -v 2>&1` in
 
9801
    case `$LD -v 2>/dev/null` in
9844
9802
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9845
9803
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9846
9804
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9854
9812
      # On AIX/PPC, the GNU linker is very broken
9855
9813
      if test "$host_cpu" != ia64; then
9856
9814
        ld_shlibs=no
9857
 
        cat <<_LT_EOF 1>&2
 
9815
        cat <<EOF 1>&2
9858
9816
 
9859
9817
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9860
9818
*** to be unable to reliably create shared libraries on AIX.
9862
9820
*** really care for shared libraries, you may want to modify your PATH
9863
9821
*** so that a non-GNU linker is found, and then restart.
9864
9822
 
9865
 
_LT_EOF
 
9823
EOF
9866
9824
      fi
9867
9825
      ;;
9868
9826
 
9869
9827
    amigaos*)
9870
 
      case $host_cpu in
9871
 
      powerpc)
9872
 
            # see comment about AmigaOS4 .so support
9873
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9874
 
            archive_expsym_cmds=''
9875
 
        ;;
9876
 
      m68k)
9877
 
            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)'
9878
 
            hardcode_libdir_flag_spec='-L$libdir'
9879
 
            hardcode_minus_L=yes
9880
 
        ;;
9881
 
      esac
 
9828
      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)'
 
9829
      hardcode_libdir_flag_spec='-L$libdir'
 
9830
      hardcode_minus_L=yes
 
9831
 
 
9832
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 
9833
      # that the semantics of dynamic libraries on AmigaOS, at least up
 
9834
      # to version 4, is to share data among multiple programs linked
 
9835
      # with the same dynamic library.  Since this doesn't match the
 
9836
      # behavior of shared libraries on other platforms, we can't use
 
9837
      # them.
 
9838
      ld_shlibs=no
9882
9839
      ;;
9883
9840
 
9884
9841
    beos*)
9885
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9842
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9886
9843
        allow_undefined_flag=unsupported
9887
9844
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9888
9845
        # support --undefined.  This deserves some investigation.  FIXME
9892
9849
      fi
9893
9850
      ;;
9894
9851
 
9895
 
    cygwin* | mingw* | pw32* | cegcc*)
9896
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9852
    cygwin* | mingw* | pw32*)
 
9853
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9897
9854
      # as there is no search path for DLLs.
9898
9855
      hardcode_libdir_flag_spec='-L$libdir'
9899
9856
      allow_undefined_flag=unsupported
9900
9857
      always_export_symbols=no
9901
9858
      enable_shared_with_static_runtimes=yes
9902
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9859
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9903
9860
 
9904
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
9861
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9905
9862
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9906
9863
        # If the export-symbols file already is a .def file (1st line
9907
9864
        # is EXPORTS), use it as is; otherwise, prepend...
9932
9889
      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'
9933
9890
      ;;
9934
9891
 
9935
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
9936
 
      tmp_diet=no
9937
 
      if test "$host_os" = linux-dietlibc; then
9938
 
        case $cc_basename in
9939
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9940
 
        esac
9941
 
      fi
9942
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9943
 
         && test "$tmp_diet" = no
9944
 
      then
 
9892
    gnu* | linux* | k*bsd*-gnu)
 
9893
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9945
9894
        tmp_addflag=
9946
 
        tmp_sharedflag='-shared'
9947
9895
        case $cc_basename,$host_cpu in
9948
 
        pgcc*)                          # Portland Group C compiler
9949
 
          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'
 
9896
        pgcc*)                          # Portland Group C compiler
 
9897
          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'
9950
9898
          tmp_addflag=' $pic_flag'
9951
9899
          ;;
9952
9900
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9953
 
          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'
 
9901
          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'
9954
9902
          tmp_addflag=' $pic_flag -Mnomain' ;;
9955
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
9903
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
9956
9904
          tmp_addflag=' -i_dynamic' ;;
9957
9905
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9958
9906
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9959
9907
        ifc* | ifort*)                  # Intel Fortran compiler
9960
9908
          tmp_addflag=' -nofor_main' ;;
9961
 
        lf95*)                          # Lahey Fortran 8.1
9962
 
          whole_archive_flag_spec=
9963
 
          tmp_sharedflag='--shared' ;;
9964
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9965
 
          tmp_sharedflag='-qmkshrobj'
9966
 
          tmp_addflag= ;;
9967
9909
        esac
9968
9910
        case `$CC -V 2>&1 | sed 5q` in
9969
9911
        *Sun\ C*)                       # Sun C 5.9
9970
 
          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'
9971
 
          compiler_needs_object=yes
 
9912
          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'
9972
9913
          tmp_sharedflag='-G' ;;
9973
9914
        *Sun\ F*)                       # Sun Fortran 8.3
9974
9915
          tmp_sharedflag='-G' ;;
 
9916
        *)
 
9917
          tmp_sharedflag='-shared' ;;
9975
9918
        esac
9976
9919
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9977
9920
 
9978
 
        if test "x$supports_anon_versioning" = xyes; then
9979
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9980
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9981
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
9982
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9983
 
        fi
9984
 
 
9985
 
        case $cc_basename in
9986
 
        xlf*)
9987
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9988
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9989
 
          hardcode_libdir_flag_spec=
9990
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9991
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9992
 
          if test "x$supports_anon_versioning" = xyes; then
9993
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9994
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9995
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
9996
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9997
 
          fi
9998
 
          ;;
9999
 
        esac
 
9921
        if test $supports_anon_versioning = yes; then
 
9922
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
 
9923
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9924
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
9925
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9926
        fi
10000
9927
      else
10001
 
        ld_shlibs=no
 
9928
        ld_shlibs=no
10002
9929
      fi
10003
9930
      ;;
10004
9931
 
10005
 
    netbsd* | netbsdelf*-gnu)
10006
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9932
    netbsd*)
 
9933
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10007
9934
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10008
9935
        wlarc=
10009
9936
      else
10013
9940
      ;;
10014
9941
 
10015
9942
    solaris*)
10016
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
9943
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10017
9944
        ld_shlibs=no
10018
 
        cat <<_LT_EOF 1>&2
 
9945
        cat <<EOF 1>&2
10019
9946
 
10020
9947
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10021
9948
*** create shared libraries on Solaris systems.  Therefore, libtool
10024
9951
*** your PATH or compiler configuration so that the native linker is
10025
9952
*** used, and then restart.
10026
9953
 
10027
 
_LT_EOF
10028
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9954
EOF
 
9955
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10029
9956
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10030
9957
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10031
9958
      else
10049
9976
_LT_EOF
10050
9977
        ;;
10051
9978
        *)
10052
 
          # For security reasons, it is highly recommended that you always
10053
 
          # use absolute paths for naming shared libraries, and exclude the
10054
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
10055
 
          # requires that you compile everything twice, which is a pain.
10056
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10057
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10058
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10059
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9979
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9980
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
9981
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
9982
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
10060
9983
          else
10061
9984
            ld_shlibs=no
10062
9985
          fi
10072
9995
      ;;
10073
9996
 
10074
9997
    *)
10075
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9998
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10076
9999
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10077
10000
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10078
10001
      else
10114
10037
      else
10115
10038
        # If we're using GNU nm, then we don't want the "-C" option.
10116
10039
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10117
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10118
 
          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'
 
10040
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
10041
          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'
10119
10042
        else
10120
 
          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'
 
10043
          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'
10121
10044
        fi
10122
10045
        aix_use_runtimelinking=no
10123
10046
 
10126
10049
        # need to do runtime linking.
10127
10050
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10128
10051
          for ld_flag in $LDFLAGS; do
10129
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10130
 
            aix_use_runtimelinking=yes
10131
 
            break
10132
 
          fi
 
10052
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
10053
            aix_use_runtimelinking=yes
 
10054
            break
 
10055
          fi
10133
10056
          done
10134
10057
          ;;
10135
10058
        esac
10146
10069
 
10147
10070
      archive_cmds=''
10148
10071
      hardcode_direct=yes
10149
 
      hardcode_direct_absolute=yes
10150
10072
      hardcode_libdir_separator=':'
10151
10073
      link_all_deplibs=yes
10152
 
      file_list_spec='${wl}-f,'
10153
10074
 
10154
10075
      if test "$GCC" = yes; then
10155
10076
        case $host_os in aix4.[012]|aix4.[012].*)
10156
10077
        # We only want to do this on AIX 4.2 and lower, the check
10157
10078
        # below for broken collect2 doesn't work under 4.3+
10158
10079
          collect2name=`${CC} -print-prog-name=collect2`
10159
 
          if test -f "$collect2name" &&
10160
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
10080
          if test -f "$collect2name" && \
 
10081
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10161
10082
          then
10162
 
          # We have reworked collect2
10163
 
          :
 
10083
          # We have reworked collect2
 
10084
          :
10164
10085
          else
10165
 
          # We have old collect2
10166
 
          hardcode_direct=unsupported
10167
 
          # It fails to find uninstalled libraries when the uninstalled
10168
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10169
 
          # to unsupported forces relinking
10170
 
          hardcode_minus_L=yes
10171
 
          hardcode_libdir_flag_spec='-L$libdir'
10172
 
          hardcode_libdir_separator=
 
10086
          # We have old collect2
 
10087
          hardcode_direct=unsupported
 
10088
          # It fails to find uninstalled libraries when the uninstalled
 
10089
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
10090
          # to unsupported forces relinking
 
10091
          hardcode_minus_L=yes
 
10092
          hardcode_libdir_flag_spec='-L$libdir'
 
10093
          hardcode_libdir_separator=
10173
10094
          fi
10174
10095
          ;;
10175
10096
        esac
10177
10098
        if test "$aix_use_runtimelinking" = yes; then
10178
10099
          shared_flag="$shared_flag "'${wl}-G'
10179
10100
        fi
10180
 
        link_all_deplibs=no
10181
10101
      else
10182
10102
        # not using gcc
10183
10103
        if test "$host_cpu" = ia64; then
10184
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10185
 
        # chokes on -Wl,-G. The following line is correct:
 
10104
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
10105
        # chokes on -Wl,-G. The following line is correct:
10186
10106
          shared_flag='-G'
10187
10107
        else
10188
10108
          if test "$aix_use_runtimelinking" = yes; then
10193
10113
        fi
10194
10114
      fi
10195
10115
 
10196
 
      export_dynamic_flag_spec='${wl}-bexpall'
10197
10116
      # It seems that -bexpall does not export symbols beginning with
10198
10117
      # underscore (_), so it is better to generate a list of symbols to export.
10199
10118
      always_export_symbols=yes
10201
10120
        # Warning - without using the other runtime loading flags (-brtl),
10202
10121
        # -berok will link without error, but may produce a broken library.
10203
10122
        allow_undefined_flag='-berok'
10204
 
        # Determine the default libpath from the value encoded in an
10205
 
        # empty executable.
10206
 
        cat >conftest.$ac_ext <<_ACEOF
 
10123
       # Determine the default libpath from the value encoded in an empty executable.
 
10124
       cat >conftest.$ac_ext <<_ACEOF
10207
10125
/* confdefs.h.  */
10208
10126
_ACEOF
10209
10127
cat confdefs.h >>conftest.$ac_ext
10264
10182
      conftest$ac_exeext conftest.$ac_ext
10265
10183
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10266
10184
 
10267
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10268
 
        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"
10269
 
      else
 
10185
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
10186
        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"
 
10187
       else
10270
10188
        if test "$host_cpu" = ia64; then
10271
10189
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10272
10190
          allow_undefined_flag="-z nodefs"
10273
10191
          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"
10274
10192
        else
10275
 
         # Determine the default libpath from the value encoded in an
10276
 
         # empty executable.
 
10193
         # Determine the default libpath from the value encoded in an empty executable.
10277
10194
         cat >conftest.$ac_ext <<_ACEOF
10278
10195
/* confdefs.h.  */
10279
10196
_ACEOF
10350
10267
      ;;
10351
10268
 
10352
10269
    amigaos*)
10353
 
      case $host_cpu in
10354
 
      powerpc)
10355
 
            # see comment about AmigaOS4 .so support
10356
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10357
 
            archive_expsym_cmds=''
10358
 
        ;;
10359
 
      m68k)
10360
 
            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)'
10361
 
            hardcode_libdir_flag_spec='-L$libdir'
10362
 
            hardcode_minus_L=yes
10363
 
        ;;
10364
 
      esac
 
10270
      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)'
 
10271
      hardcode_libdir_flag_spec='-L$libdir'
 
10272
      hardcode_minus_L=yes
 
10273
      # see comment about different semantics on the GNU ld section
 
10274
      ld_shlibs=no
10365
10275
      ;;
10366
10276
 
10367
10277
    bsdi[45]*)
10368
10278
      export_dynamic_flag_spec=-rdynamic
10369
10279
      ;;
10370
10280
 
10371
 
    cygwin* | mingw* | pw32* | cegcc*)
 
10281
    cygwin* | mingw* | pw32*)
10372
10282
      # When not using gcc, we currently assume that we are using
10373
10283
      # Microsoft Visual C++.
10374
10284
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10380
10290
      # Tell ltmain to make .dll files, not .so files.
10381
10291
      shrext_cmds=".dll"
10382
10292
      # FIXME: Setting linknames here is a bad hack.
10383
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
10293
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10384
10294
      # The linker will automatically build a .lib file if we build a DLL.
10385
 
      old_archive_from_new_cmds='true'
 
10295
      old_archive_From_new_cmds='true'
10386
10296
      # FIXME: Should let the user specify the lib program.
10387
10297
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10388
10298
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10390
10300
      ;;
10391
10301
 
10392
10302
    darwin* | rhapsody*)
10393
 
 
10394
 
 
10395
 
  archive_cmds_need_lc=no
10396
 
  hardcode_direct=no
10397
 
  hardcode_automatic=yes
10398
 
  hardcode_shlibpath_var=unsupported
10399
 
  whole_archive_flag_spec=''
10400
 
  link_all_deplibs=yes
10401
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
10402
 
  case $cc_basename in
10403
 
     ifort*) _lt_dar_can_shared=yes ;;
10404
 
     *) _lt_dar_can_shared=$GCC ;;
10405
 
  esac
10406
 
  if test "$_lt_dar_can_shared" = "yes"; then
10407
 
    output_verbose_link_cmd=echo
10408
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10409
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10410
 
    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}"
10411
 
    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}"
10412
 
 
10413
 
  else
10414
 
  ld_shlibs=no
10415
 
  fi
10416
 
 
 
10303
      case $host_os in
 
10304
        rhapsody* | darwin1.[012])
 
10305
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
 
10306
         ;;
 
10307
       *) # Darwin 1.3 on
 
10308
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
10309
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
10310
         else
 
10311
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
10312
             10.[012])
 
10313
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
10314
               ;;
 
10315
             10.*)
 
10316
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
 
10317
               ;;
 
10318
           esac
 
10319
         fi
 
10320
         ;;
 
10321
      esac
 
10322
      archive_cmds_need_lc=no
 
10323
      hardcode_direct=no
 
10324
      hardcode_automatic=yes
 
10325
      hardcode_shlibpath_var=unsupported
 
10326
      whole_archive_flag_spec=''
 
10327
      link_all_deplibs=yes
 
10328
    if test "$GCC" = yes ; then
 
10329
        output_verbose_link_cmd='echo'
 
10330
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
10331
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
10332
        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}"
 
10333
        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}"
 
10334
    else
 
10335
      case $cc_basename in
 
10336
        xlc*)
 
10337
         output_verbose_link_cmd='echo'
 
10338
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 
10339
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
10340
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
10341
         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}'
 
10342
          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}'
 
10343
          ;;
 
10344
       *)
 
10345
         ld_shlibs=no
 
10346
          ;;
 
10347
      esac
 
10348
    fi
10417
10349
      ;;
10418
10350
 
10419
10351
    dgux*)
10455
10387
 
10456
10388
    hpux9*)
10457
10389
      if test "$GCC" = yes; then
10458
 
        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'
 
10390
        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'
10459
10391
      else
10460
 
        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'
 
10392
        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'
10461
10393
      fi
10462
10394
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10463
10395
      hardcode_libdir_separator=:
10477
10409
      fi
10478
10410
      if test "$with_gnu_ld" = no; then
10479
10411
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10480
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
10481
10412
        hardcode_libdir_separator=:
 
10413
 
10482
10414
        hardcode_direct=yes
10483
 
        hardcode_direct_absolute=yes
10484
10415
        export_dynamic_flag_spec='${wl}-E'
 
10416
 
10485
10417
        # hardcode_minus_L: Not really in the search PATH,
10486
10418
        # but as the default location of the library.
10487
10419
        hardcode_minus_L=yes
10495
10427
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10496
10428
          ;;
10497
10429
        ia64*)
10498
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10430
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10499
10431
          ;;
10500
10432
        *)
10501
10433
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10520
10452
 
10521
10453
        case $host_cpu in
10522
10454
        hppa*64*|ia64*)
 
10455
          hardcode_libdir_flag_spec_ld='+b $libdir'
10523
10456
          hardcode_direct=no
10524
10457
          hardcode_shlibpath_var=no
10525
10458
          ;;
10526
10459
        *)
10527
10460
          hardcode_direct=yes
10528
 
          hardcode_direct_absolute=yes
10529
10461
          export_dynamic_flag_spec='${wl}-E'
10530
10462
 
10531
10463
          # hardcode_minus_L: Not really in the search PATH,
10538
10470
 
10539
10471
    irix5* | irix6* | nonstopux*)
10540
10472
      if test "$GCC" = yes; then
10541
 
        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'
10542
 
        # Try to use the -exported_symbol ld option, if it does not
10543
 
        # work, assume that -exports_file does not work either and
10544
 
        # implicitly export all symbols.
10545
 
        save_LDFLAGS="$LDFLAGS"
10546
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10547
 
        cat >conftest.$ac_ext <<_ACEOF
10548
 
int foo(void) {}
10549
 
_ACEOF
10550
 
rm -f conftest.$ac_objext conftest$ac_exeext
10551
 
if { (ac_try="$ac_link"
10552
 
case "(($ac_try" in
10553
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10554
 
  *) ac_try_echo=$ac_try;;
10555
 
esac
10556
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10557
 
$as_echo "$ac_try_echo") >&5
10558
 
  (eval "$ac_link") 2>conftest.er1
10559
 
  ac_status=$?
10560
 
  grep -v '^ *+' conftest.er1 >conftest.err
10561
 
  rm -f conftest.er1
10562
 
  cat conftest.err >&5
10563
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564
 
  (exit $ac_status); } && {
10565
 
         test -z "$ac_c_werror_flag" ||
10566
 
         test ! -s conftest.err
10567
 
       } && test -s conftest$ac_exeext && {
10568
 
         test "$cross_compiling" = yes ||
10569
 
         $as_test_x conftest$ac_exeext
10570
 
       }; then
10571
 
  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'
10572
 
 
10573
 
else
10574
 
  $as_echo "$as_me: failed program was:" >&5
10575
 
sed 's/^/| /' conftest.$ac_ext >&5
10576
 
 
10577
 
 
10578
 
fi
10579
 
 
10580
 
rm -rf conftest.dSYM
10581
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10582
 
      conftest$ac_exeext conftest.$ac_ext
10583
 
        LDFLAGS="$save_LDFLAGS"
 
10473
        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'
10584
10474
      else
10585
 
        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'
10586
 
        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'
 
10475
        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'
 
10476
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
10587
10477
      fi
10588
 
      archive_cmds_need_lc='no'
10589
10478
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10590
10479
      hardcode_libdir_separator=:
10591
 
      inherit_rpath=yes
10592
10480
      link_all_deplibs=yes
10593
10481
      ;;
10594
10482
 
10595
 
    netbsd* | netbsdelf*-gnu)
10596
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10483
    netbsd*)
 
10484
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10597
10485
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10598
10486
      else
10599
10487
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10611
10499
      hardcode_shlibpath_var=no
10612
10500
      ;;
10613
10501
 
10614
 
    *nto* | *qnx*)
10615
 
      ;;
10616
 
 
10617
10502
    openbsd*)
10618
10503
      if test -f /usr/libexec/ld.so; then
10619
10504
        hardcode_direct=yes
10620
10505
        hardcode_shlibpath_var=no
10621
 
        hardcode_direct_absolute=yes
10622
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10506
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10623
10507
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10624
10508
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10625
10509
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10635
10519
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10636
10520
             ;;
10637
10521
          esac
10638
 
        fi
 
10522
        fi
10639
10523
      else
10640
10524
        ld_shlibs=no
10641
10525
      fi
10645
10529
      hardcode_libdir_flag_spec='-L$libdir'
10646
10530
      hardcode_minus_L=yes
10647
10531
      allow_undefined_flag=unsupported
10648
 
      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'
10649
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
10532
      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'
 
10533
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10650
10534
      ;;
10651
10535
 
10652
10536
    osf3*)
10653
10537
      if test "$GCC" = yes; then
10654
10538
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10655
 
        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'
 
10539
        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'
10656
10540
      else
10657
10541
        allow_undefined_flag=' -expect_unresolved \*'
10658
 
        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'
 
10542
        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'
10659
10543
      fi
10660
 
      archive_cmds_need_lc='no'
10661
10544
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10662
10545
      hardcode_libdir_separator=:
10663
10546
      ;;
10665
10548
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10666
10549
      if test "$GCC" = yes; then
10667
10550
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10668
 
        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'
 
10551
        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'
10669
10552
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10670
10553
      else
10671
10554
        allow_undefined_flag=' -expect_unresolved \*'
10672
 
        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'
10673
 
        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~
10674
 
        $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'
 
10555
        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'
 
10556
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
 
10557
        $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'
10675
10558
 
10676
10559
        # Both c and cxx compiler support -rpath directly
10677
10560
        hardcode_libdir_flag_spec='-rpath $libdir'
10678
10561
      fi
10679
 
      archive_cmds_need_lc='no'
10680
10562
      hardcode_libdir_separator=:
10681
10563
      ;;
10682
10564
 
10683
10565
    solaris*)
10684
 
      no_undefined_flag=' -z defs'
 
10566
      no_undefined_flag=' -z text'
10685
10567
      if test "$GCC" = yes; then
10686
10568
        wlarc='${wl}'
10687
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10688
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10689
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10569
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10570
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
10571
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
10690
10572
      else
10691
 
        case `$CC -V 2>&1` in
10692
 
        *"Compilers 5.0"*)
10693
 
          wlarc=''
10694
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10695
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10696
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10697
 
          ;;
10698
 
        *)
10699
 
          wlarc='${wl}'
10700
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10701
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10702
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10703
 
          ;;
10704
 
        esac
 
10573
        wlarc=''
 
10574
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10575
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
10576
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10705
10577
      fi
10706
10578
      hardcode_libdir_flag_spec='-R$libdir'
10707
10579
      hardcode_shlibpath_var=no
10711
10583
        # The compiler driver will combine and reorder linker options,
10712
10584
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10713
10585
        # but is careful enough not to reorder.
10714
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10586
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10715
10587
        if test "$GCC" = yes; then
10716
10588
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10717
10589
        else
10800
10672
      allow_undefined_flag='${wl}-z,nodefs'
10801
10673
      archive_cmds_need_lc=no
10802
10674
      hardcode_shlibpath_var=no
10803
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
10675
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
10804
10676
      hardcode_libdir_separator=':'
10805
10677
      link_all_deplibs=yes
10806
10678
      export_dynamic_flag_spec='${wl}-Bexport'
10807
10679
      runpath_var='LD_RUN_PATH'
10808
10680
 
10809
10681
      if test "$GCC" = yes; then
10810
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10811
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10682
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10683
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10812
10684
      else
10813
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10814
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10685
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10686
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10815
10687
      fi
10816
10688
      ;;
10817
10689
 
10825
10697
      ld_shlibs=no
10826
10698
      ;;
10827
10699
    esac
10828
 
 
10829
 
    if test x$host_vendor = xsni; then
10830
 
      case $host in
10831
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10832
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10833
 
        ;;
10834
 
      esac
10835
 
    fi
10836
10700
  fi
10837
10701
 
10838
10702
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10839
10703
$as_echo "$ld_shlibs" >&6; }
10840
10704
test "$ld_shlibs" = no && can_build_shared=no
10841
10705
 
10842
 
with_gnu_ld=$with_gnu_ld
10843
 
 
10844
 
 
10845
 
 
10846
 
 
10847
 
 
10848
 
 
10849
 
 
10850
 
 
10851
 
 
10852
 
 
10853
 
 
10854
 
 
10855
 
 
10856
 
 
10857
 
 
10858
10706
#
10859
10707
# Do we need to explicitly link libc?
10860
10708
#
10874
10722
      # to ld, don't add -lc before -lgcc.
10875
10723
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10876
10724
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10877
 
      $RM conftest*
 
10725
      $rm conftest*
10878
10726
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10879
10727
 
10880
10728
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10895
10743
        libname=conftest
10896
10744
        lt_save_allow_undefined_flag=$allow_undefined_flag
10897
10745
        allow_undefined_flag=
10898
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10899
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10746
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10747
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10900
10748
  ac_status=$?
10901
10749
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902
10750
  (exit $ac_status); }
10909
10757
      else
10910
10758
        cat conftest.err 1>&5
10911
10759
      fi
10912
 
      $RM conftest*
 
10760
      $rm conftest*
10913
10761
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10914
10762
$as_echo "$archive_cmds_need_lc" >&6; }
10915
10763
      ;;
10918
10766
  ;;
10919
10767
esac
10920
10768
 
10921
 
 
10922
 
 
10923
 
 
10924
 
 
10925
 
 
10926
 
 
10927
 
 
10928
 
 
10929
 
 
10930
 
 
10931
 
 
10932
 
 
10933
 
 
10934
 
 
10935
 
 
10936
 
 
10937
 
 
10938
 
 
10939
 
 
10940
 
 
10941
 
 
10942
 
 
10943
 
 
10944
 
 
10945
 
 
10946
 
 
10947
 
 
10948
 
 
10949
 
 
10950
 
 
10951
 
 
10952
 
 
10953
 
 
10954
 
 
10955
 
 
10956
 
 
10957
 
 
10958
 
 
10959
 
 
10960
 
 
10961
 
 
10962
 
 
10963
 
 
10964
 
 
10965
 
 
10966
 
 
10967
 
 
10968
 
 
10969
 
 
10970
 
 
10971
 
 
10972
 
 
10973
 
 
10974
 
 
10975
 
 
10976
 
 
10977
 
 
10978
 
 
10979
 
 
10980
 
 
10981
 
 
10982
 
 
10983
 
 
10984
 
 
10985
 
 
10986
 
 
10987
 
 
10988
 
 
10989
 
 
10990
 
 
10991
 
 
10992
 
 
10993
 
 
10994
 
 
10995
 
 
10996
 
 
10997
 
 
10998
 
 
10999
 
 
11000
 
 
11001
 
 
11002
 
 
11003
 
 
11004
 
 
11005
 
 
11006
 
 
11007
 
 
11008
 
 
11009
 
 
11010
 
 
11011
 
 
11012
 
 
11013
 
 
11014
 
 
11015
 
 
11016
 
 
11017
 
 
11018
 
 
11019
 
 
11020
 
 
11021
 
 
11022
 
 
11023
 
 
11024
 
 
11025
 
 
11026
 
 
11027
 
 
11028
 
 
11029
 
 
11030
 
 
11031
 
 
11032
 
 
11033
 
 
11034
 
 
11035
 
 
11036
 
 
11037
 
 
11038
 
 
11039
 
 
11040
 
 
11041
 
 
11042
 
 
11043
 
 
11044
 
 
11045
 
 
11046
 
 
11047
 
 
11048
 
 
11049
 
 
11050
 
 
11051
 
 
11052
 
 
11053
 
 
11054
 
 
11055
 
 
11056
 
 
11057
 
 
11058
 
 
11059
 
 
11060
 
 
11061
 
 
11062
 
 
11063
 
 
11064
 
 
11065
 
 
11066
 
 
11067
 
 
11068
 
 
11069
 
 
11070
 
 
11071
 
 
11072
 
 
11073
 
 
11074
 
 
11075
 
 
11076
 
 
11077
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10769
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11078
10770
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
10771
library_names_spec=
 
10772
libname_spec='lib$name'
 
10773
soname_spec=
 
10774
shrext_cmds=".so"
 
10775
postinstall_cmds=
 
10776
postuninstall_cmds=
 
10777
finish_cmds=
 
10778
finish_eval=
 
10779
shlibpath_var=
 
10780
shlibpath_overrides_runpath=unknown
 
10781
version_type=none
 
10782
dynamic_linker="$host_os ld.so"
 
10783
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11079
10784
 
11080
10785
if test "$GCC" = yes; then
11081
10786
  case $host_os in
11083
10788
    *) lt_awk_arg="/^libraries:/" ;;
11084
10789
  esac
11085
10790
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11086
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10791
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
11087
10792
    # if the path contains ";" then we assume it to be the separator
11088
10793
    # otherwise default to the standard path separator (i.e. ":") - it is
11089
10794
    # assumed that no part of a normal pathname contains ";" but that should
11090
10795
    # okay in the real world where ";" in dirpaths is itself problematic.
11091
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
10796
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11092
10797
  else
11093
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10798
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11094
10799
  fi
11095
10800
  # Ok, now we have the path, separated by spaces, we can step through it
11096
10801
  # and add multilib dir if necessary.
11104
10809
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11105
10810
    fi
11106
10811
  done
11107
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10812
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
11108
10813
BEGIN {RS=" "; FS="/|\n";} {
11109
10814
  lt_foo="";
11110
10815
  lt_count=0;
11124
10829
  if (lt_foo != "") { lt_freq[lt_foo]++; }
11125
10830
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11126
10831
}'`
11127
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10832
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
11128
10833
else
11129
10834
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11130
10835
fi
11131
 
library_names_spec=
11132
 
libname_spec='lib$name'
11133
 
soname_spec=
11134
 
shrext_cmds=".so"
11135
 
postinstall_cmds=
11136
 
postuninstall_cmds=
11137
 
finish_cmds=
11138
 
finish_eval=
11139
 
shlibpath_var=
11140
 
shlibpath_overrides_runpath=unknown
11141
 
version_type=none
11142
 
dynamic_linker="$host_os ld.so"
11143
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11144
10836
need_lib_prefix=unknown
11145
10837
hardcode_into_libs=no
11146
10838
 
11177
10869
      aix4 | aix4.[01] | aix4.[01].*)
11178
10870
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11179
10871
           echo ' yes '
11180
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
10872
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11181
10873
        :
11182
10874
      else
11183
10875
        can_build_shared=no
11203
10895
  ;;
11204
10896
 
11205
10897
amigaos*)
11206
 
  case $host_cpu in
11207
 
  powerpc)
11208
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
11209
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11210
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11211
 
    ;;
11212
 
  m68k)
11213
 
    library_names_spec='$libname.ixlibrary $libname.a'
11214
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11215
 
    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'
11216
 
    ;;
11217
 
  esac
 
10898
  library_names_spec='$libname.ixlibrary $libname.a'
 
10899
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10900
  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'
11218
10901
  ;;
11219
10902
 
11220
10903
beos*)
11237
10920
  # libtool to hard-code these into programs
11238
10921
  ;;
11239
10922
 
11240
 
cygwin* | mingw* | pw32* | cegcc*)
 
10923
cygwin* | mingw* | pw32*)
11241
10924
  version_type=windows
11242
10925
  shrext_cmds=".dll"
11243
10926
  need_version=no
11244
10927
  need_lib_prefix=no
11245
10928
 
11246
10929
  case $GCC,$host_os in
11247
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10930
  yes,cygwin* | yes,mingw* | yes,pw32*)
11248
10931
    library_names_spec='$libname.dll.a'
11249
10932
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11250
10933
    postinstall_cmds='base_file=`basename \${file}`~
11251
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10934
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11252
10935
      dldir=$destdir/`dirname \$dlpath`~
11253
10936
      test -d \$dldir || mkdir -p \$dldir~
11254
10937
      $install_prog $dir/$dlname \$dldir/$dlname~
11255
 
      chmod a+x \$dldir/$dlname~
11256
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11257
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11258
 
      fi'
 
10938
      chmod a+x \$dldir/$dlname'
11259
10939
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11260
10940
      dlpath=$dir/\$dldll~
11261
 
       $RM \$dlpath'
 
10941
       $rm \$dlpath'
11262
10942
    shlibpath_overrides_runpath=yes
11263
10943
 
11264
10944
    case $host_os in
11267
10947
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11268
10948
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11269
10949
      ;;
11270
 
    mingw* | cegcc*)
 
10950
    mingw*)
11271
10951
      # MinGW DLLs use traditional 'lib' prefix
11272
10952
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11273
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11274
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10953
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10954
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11275
10955
        # It is most probably a Windows format PATH printed by
11276
10956
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11277
10957
        # path with ; separators, and with drive letters. We can handle the
11278
10958
        # drive letters (cygwin fileutils understands them), so leave them,
11279
10959
        # especially as we might pass files found there to a mingw objdump,
11280
10960
        # which wouldn't understand a cygwinified path. Ahh.
11281
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10961
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11282
10962
      else
11283
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10963
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11284
10964
      fi
11285
10965
      ;;
11286
10966
    pw32*)
11304
10984
  version_type=darwin
11305
10985
  need_lib_prefix=no
11306
10986
  need_version=no
11307
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10987
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11308
10988
  soname_spec='${libname}${release}${major}$shared_ext'
11309
10989
  shlibpath_overrides_runpath=yes
11310
10990
  shlibpath_var=DYLD_LIBRARY_PATH
11403
11083
    fi
11404
11084
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11405
11085
    ;;
11406
 
  hppa*64*)
11407
 
    shrext_cmds='.sl'
11408
 
    hardcode_into_libs=yes
11409
 
    dynamic_linker="$host_os dld.sl"
11410
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11411
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11412
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11413
 
    soname_spec='${libname}${release}${shared_ext}$major'
11414
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11415
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11416
 
    ;;
11417
 
  *)
 
11086
   hppa*64*)
 
11087
     shrext_cmds='.sl'
 
11088
     hardcode_into_libs=yes
 
11089
     dynamic_linker="$host_os dld.sl"
 
11090
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
11091
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
11092
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11093
     soname_spec='${libname}${release}${shared_ext}$major'
 
11094
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
11095
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
11096
     ;;
 
11097
   *)
11418
11098
    shrext_cmds='.sl'
11419
11099
    dynamic_linker="$host_os dld.sl"
11420
11100
    shlibpath_var=SHLIB_PATH
11491
11171
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11492
11172
  shlibpath_var=LD_LIBRARY_PATH
11493
11173
  shlibpath_overrides_runpath=no
11494
 
  # Some binutils ld are patched to set DT_RUNPATH
11495
 
  save_LDFLAGS=$LDFLAGS
11496
 
  save_libdir=$libdir
11497
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11498
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11499
 
  cat >conftest.$ac_ext <<_ACEOF
11500
 
/* confdefs.h.  */
11501
 
_ACEOF
11502
 
cat confdefs.h >>conftest.$ac_ext
11503
 
cat >>conftest.$ac_ext <<_ACEOF
11504
 
/* end confdefs.h.  */
11505
 
 
11506
 
int
11507
 
main ()
11508
 
{
11509
 
 
11510
 
  ;
11511
 
  return 0;
11512
 
}
11513
 
_ACEOF
11514
 
rm -f conftest.$ac_objext conftest$ac_exeext
11515
 
if { (ac_try="$ac_link"
11516
 
case "(($ac_try" in
11517
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11518
 
  *) ac_try_echo=$ac_try;;
11519
 
esac
11520
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11521
 
$as_echo "$ac_try_echo") >&5
11522
 
  (eval "$ac_link") 2>conftest.er1
11523
 
  ac_status=$?
11524
 
  grep -v '^ *+' conftest.er1 >conftest.err
11525
 
  rm -f conftest.er1
11526
 
  cat conftest.err >&5
11527
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528
 
  (exit $ac_status); } && {
11529
 
         test -z "$ac_c_werror_flag" ||
11530
 
         test ! -s conftest.err
11531
 
       } && test -s conftest$ac_exeext && {
11532
 
         test "$cross_compiling" = yes ||
11533
 
         $as_test_x conftest$ac_exeext
11534
 
       }; then
11535
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11536
 
  shlibpath_overrides_runpath=yes
11537
 
fi
11538
 
 
11539
 
else
11540
 
  $as_echo "$as_me: failed program was:" >&5
11541
 
sed 's/^/| /' conftest.$ac_ext >&5
11542
 
 
11543
 
 
11544
 
fi
11545
 
 
11546
 
rm -rf conftest.dSYM
11547
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11548
 
      conftest$ac_exeext conftest.$ac_ext
11549
 
  LDFLAGS=$save_LDFLAGS
11550
 
  libdir=$save_libdir
11551
 
 
11552
11174
  # This implies no fast_install, which is unacceptable.
11553
11175
  # Some rework will be needed to allow for fast_install
11554
11176
  # before this can be enabled.
11555
11177
  hardcode_into_libs=yes
 
11178
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
11179
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11556
11180
 
11557
11181
  # Append ld.so.conf contents to the search path
11558
11182
  if test -f /etc/ld.so.conf; then
11559
 
    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' ' '`
11560
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
11183
    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' ' '`
 
11184
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11561
11185
  fi
11562
11186
 
11563
11187
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11569
11193
  dynamic_linker='GNU/Linux ld.so'
11570
11194
  ;;
11571
11195
 
11572
 
netbsdelf*-gnu)
11573
 
  version_type=linux
11574
 
  need_lib_prefix=no
11575
 
  need_version=no
11576
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11577
 
  soname_spec='${libname}${release}${shared_ext}$major'
11578
 
  shlibpath_var=LD_LIBRARY_PATH
11579
 
  shlibpath_overrides_runpath=no
11580
 
  hardcode_into_libs=yes
11581
 
  dynamic_linker='NetBSD ld.elf_so'
11582
 
  ;;
11583
 
 
11584
11196
netbsd*)
11585
11197
  version_type=sunos
11586
11198
  need_lib_prefix=no
11587
11199
  need_version=no
11588
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11200
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11589
11201
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11590
11202
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11591
11203
    dynamic_linker='NetBSD (a.out) ld.so'
11606
11218
  shlibpath_overrides_runpath=yes
11607
11219
  ;;
11608
11220
 
11609
 
*nto* | *qnx*)
11610
 
  version_type=qnx
 
11221
nto-qnx*)
 
11222
  version_type=linux
11611
11223
  need_lib_prefix=no
11612
11224
  need_version=no
11613
11225
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11614
11226
  soname_spec='${libname}${release}${shared_ext}$major'
11615
11227
  shlibpath_var=LD_LIBRARY_PATH
11616
 
  shlibpath_overrides_runpath=no
11617
 
  hardcode_into_libs=yes
11618
 
  dynamic_linker='ldqnx.so'
 
11228
  shlibpath_overrides_runpath=yes
11619
11229
  ;;
11620
11230
 
11621
11231
openbsd*)
11624
11234
  need_lib_prefix=no
11625
11235
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11626
11236
  case $host_os in
11627
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11628
 
    *)                          need_version=no  ;;
 
11237
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
11238
    *)                         need_version=no  ;;
11629
11239
  esac
11630
11240
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11631
11241
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11632
11242
  shlibpath_var=LD_LIBRARY_PATH
11633
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11243
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11634
11244
    case $host_os in
11635
11245
      openbsd2.[89] | openbsd2.[89].*)
11636
11246
        shlibpath_overrides_runpath=no
11702
11312
    sni)
11703
11313
      shlibpath_overrides_runpath=no
11704
11314
      need_lib_prefix=no
 
11315
      export_dynamic_flag_spec='${wl}-Blargedynsym'
11705
11316
      runpath_var=LD_RUN_PATH
11706
11317
      ;;
11707
11318
    siemens)
11732
11343
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11733
11344
  soname_spec='${libname}${release}${shared_ext}$major'
11734
11345
  shlibpath_var=LD_LIBRARY_PATH
11735
 
  shlibpath_overrides_runpath=yes
11736
11346
  hardcode_into_libs=yes
11737
11347
  if test "$with_gnu_ld" = yes; then
11738
11348
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
11349
    shlibpath_overrides_runpath=no
11739
11350
  else
11740
11351
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
11352
    shlibpath_overrides_runpath=yes
11741
11353
    case $host_os in
11742
11354
      sco3.2v5*)
11743
11355
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11747
11359
  sys_lib_dlsearch_path_spec='/usr/lib'
11748
11360
  ;;
11749
11361
 
11750
 
tpf*)
11751
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11752
 
  version_type=linux
11753
 
  need_lib_prefix=no
11754
 
  need_version=no
11755
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11756
 
  shlibpath_var=LD_LIBRARY_PATH
11757
 
  shlibpath_overrides_runpath=no
11758
 
  hardcode_into_libs=yes
11759
 
  ;;
11760
 
 
11761
11362
uts4*)
11762
11363
  version_type=linux
11763
11364
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11773
11374
$as_echo "$dynamic_linker" >&6; }
11774
11375
test "$dynamic_linker" = no && can_build_shared=no
11775
11376
 
 
11377
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11378
  $as_echo_n "(cached) " >&6
 
11379
else
 
11380
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
11381
fi
 
11382
 
 
11383
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11384
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11385
  $as_echo_n "(cached) " >&6
 
11386
else
 
11387
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
11388
fi
 
11389
 
 
11390
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11391
 
11776
11392
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11777
11393
if test "$GCC" = yes; then
11778
11394
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11779
11395
fi
11780
11396
 
11781
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11782
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11783
 
fi
11784
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11785
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11786
 
fi
11787
 
 
11788
 
 
11789
 
 
11790
 
 
11791
 
 
11792
 
 
11793
 
 
11794
 
 
11795
 
 
11796
 
 
11797
 
 
11798
 
 
11799
 
 
11800
 
 
11801
 
 
11802
 
 
11803
 
 
11804
 
 
11805
 
 
11806
 
 
11807
 
 
11808
 
 
11809
 
 
11810
 
 
11811
 
 
11812
 
 
11813
 
 
11814
 
 
11815
 
 
11816
 
 
11817
 
 
11818
 
 
11819
 
 
11820
 
 
11821
 
 
11822
 
 
11823
 
 
11824
 
 
11825
 
 
11826
 
 
11827
 
 
11828
 
 
11829
 
 
11830
 
 
11831
 
 
11832
 
 
11833
 
 
11834
 
 
11835
 
 
11836
 
 
11837
 
 
11838
 
 
11839
 
 
11840
 
 
11841
 
 
11842
 
 
11843
 
 
11844
 
 
11845
 
 
11846
 
 
11847
 
 
11848
 
 
11849
 
 
11850
 
 
11851
 
 
11852
 
 
11853
 
 
11854
 
 
11855
 
 
11856
 
 
11857
 
 
11858
 
 
11859
 
 
11860
 
 
11861
 
 
11862
 
 
11863
 
 
11864
 
 
11865
 
 
11866
 
 
11867
 
 
11868
 
 
11869
 
 
11870
 
 
11871
 
 
11872
 
 
11873
 
 
11874
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11397
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11875
11398
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11876
11399
hardcode_action=
11877
 
if test -n "$hardcode_libdir_flag_spec" ||
11878
 
   test -n "$runpath_var" ||
 
11400
if test -n "$hardcode_libdir_flag_spec" || \
 
11401
   test -n "$runpath_var" || \
11879
11402
   test "X$hardcode_automatic" = "Xyes" ; then
11880
11403
 
11881
 
  # We can hardcode non-existent directories.
 
11404
  # We can hardcode non-existant directories.
11882
11405
  if test "$hardcode_direct" != no &&
11883
11406
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11884
11407
     # have to relink, otherwise we might link with an installed library
11885
11408
     # when we should be linking with a yet-to-be-installed one
11886
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11409
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11887
11410
     test "$hardcode_minus_L" != no; then
11888
11411
    # Linking always hardcodes the temporary library directory.
11889
11412
    hardcode_action=relink
11899
11422
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11900
11423
$as_echo "$hardcode_action" >&6; }
11901
11424
 
11902
 
if test "$hardcode_action" = relink ||
11903
 
   test "$inherit_rpath" = yes; then
 
11425
if test "$hardcode_action" = relink; then
11904
11426
  # Fast installation is not supported
11905
11427
  enable_fast_install=no
11906
11428
elif test "$shlibpath_overrides_runpath" = yes ||
11909
11431
  enable_fast_install=needless
11910
11432
fi
11911
11433
 
11912
 
 
11913
 
 
11914
 
 
11915
 
 
11916
 
 
11917
 
  if test "x$enable_dlopen" != xyes; then
 
11434
striplib=
 
11435
old_striplib=
 
11436
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11437
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11438
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 
11439
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11440
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11441
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11442
$as_echo "yes" >&6; }
 
11443
else
 
11444
# FIXME - insert some real tests, host_os isn't really good enough
 
11445
  case $host_os in
 
11446
   darwin*)
 
11447
       if test -n "$STRIP" ; then
 
11448
         striplib="$STRIP -x"
 
11449
         old_striplib="$STRIP -S"
 
11450
         { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11451
$as_echo "yes" >&6; }
 
11452
       else
 
11453
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11454
$as_echo "no" >&6; }
 
11455
fi
 
11456
       ;;
 
11457
   *)
 
11458
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11459
$as_echo "no" >&6; }
 
11460
    ;;
 
11461
  esac
 
11462
fi
 
11463
 
 
11464
if test "x$enable_dlopen" != xyes; then
11918
11465
  enable_dlopen=unknown
11919
11466
  enable_dlopen_self=unknown
11920
11467
  enable_dlopen_self_static=unknown
11929
11476
    lt_cv_dlopen_self=yes
11930
11477
    ;;
11931
11478
 
11932
 
  mingw* | pw32* | cegcc*)
 
11479
  mingw* | pw32*)
11933
11480
    lt_cv_dlopen="LoadLibrary"
11934
11481
    lt_cv_dlopen_libs=
11935
 
    ;;
 
11482
   ;;
11936
11483
 
11937
11484
  cygwin*)
11938
11485
    lt_cv_dlopen="dlopen"
11939
11486
    lt_cv_dlopen_libs=
11940
 
    ;;
 
11487
   ;;
11941
11488
 
11942
11489
  darwin*)
11943
11490
  # if libdl is installed we need to link against it
12006
11553
fi
12007
11554
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12008
11555
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12009
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11556
if test $ac_cv_lib_dl_dlopen = yes; then
12010
11557
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12011
11558
else
12012
11559
 
12016
11563
 
12017
11564
fi
12018
11565
 
12019
 
    ;;
 
11566
   ;;
12020
11567
 
12021
11568
  *)
12022
11569
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
12104
11651
fi
12105
11652
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12106
11653
$as_echo "$ac_cv_func_shl_load" >&6; }
12107
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
11654
if test $ac_cv_func_shl_load = yes; then
12108
11655
  lt_cv_dlopen="shl_load"
12109
11656
else
12110
11657
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12172
11719
fi
12173
11720
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12174
11721
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12175
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
11722
if test $ac_cv_lib_dld_shl_load = yes; then
12176
11723
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12177
11724
else
12178
11725
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12260
11807
fi
12261
11808
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12262
11809
$as_echo "$ac_cv_func_dlopen" >&6; }
12263
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
11810
if test $ac_cv_func_dlopen = yes; then
12264
11811
  lt_cv_dlopen="dlopen"
12265
11812
else
12266
11813
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12328
11875
fi
12329
11876
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12330
11877
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12331
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11878
if test $ac_cv_lib_dl_dlopen = yes; then
12332
11879
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12333
11880
else
12334
11881
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12396
11943
fi
12397
11944
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12398
11945
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12399
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
11946
if test $ac_cv_lib_svld_dlopen = yes; then
12400
11947
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12401
11948
else
12402
11949
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12464
12011
fi
12465
12012
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12466
12013
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12467
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
12014
if test $ac_cv_lib_dld_dld_link = yes; then
12468
12015
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12469
12016
fi
12470
12017
 
12513
12060
else
12514
12061
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12515
12062
  lt_status=$lt_dlunknown
12516
 
  cat > conftest.$ac_ext <<_LT_EOF
12517
 
#line 12517 "configure"
 
12063
  cat > conftest.$ac_ext <<EOF
 
12064
#line 12064 "configure"
12518
12065
#include "confdefs.h"
12519
12066
 
12520
12067
#if HAVE_DLFCN_H
12555
12102
#  endif
12556
12103
#endif
12557
12104
 
 
12105
#ifdef __cplusplus
 
12106
extern "C" void exit (int);
 
12107
#endif
 
12108
 
12558
12109
void fnord() { int i=42;}
12559
12110
int main ()
12560
12111
{
12570
12121
  else
12571
12122
    puts (dlerror ());
12572
12123
 
12573
 
  return status;
 
12124
    exit (status);
12574
12125
}
12575
 
_LT_EOF
 
12126
EOF
12576
12127
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12577
12128
  (eval $ac_link) 2>&5
12578
12129
  ac_status=$?
12609
12160
else
12610
12161
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12611
12162
  lt_status=$lt_dlunknown
12612
 
  cat > conftest.$ac_ext <<_LT_EOF
12613
 
#line 12613 "configure"
 
12163
  cat > conftest.$ac_ext <<EOF
 
12164
#line 12164 "configure"
12614
12165
#include "confdefs.h"
12615
12166
 
12616
12167
#if HAVE_DLFCN_H
12651
12202
#  endif
12652
12203
#endif
12653
12204
 
 
12205
#ifdef __cplusplus
 
12206
extern "C" void exit (int);
 
12207
#endif
 
12208
 
12654
12209
void fnord() { int i=42;}
12655
12210
int main ()
12656
12211
{
12666
12221
  else
12667
12222
    puts (dlerror ());
12668
12223
 
12669
 
  return status;
 
12224
    exit (status);
12670
12225
}
12671
 
_LT_EOF
 
12226
EOF
12672
12227
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12673
12228
  (eval $ac_link) 2>&5
12674
12229
  ac_status=$?
12712
12267
fi
12713
12268
 
12714
12269
 
12715
 
 
12716
 
 
12717
 
 
12718
 
 
12719
 
 
12720
 
 
12721
 
 
12722
 
 
12723
 
 
12724
 
 
12725
 
 
12726
 
 
12727
 
 
12728
 
 
12729
 
 
12730
 
striplib=
12731
 
old_striplib=
12732
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12733
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12734
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12735
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12736
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12737
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
12738
 
$as_echo "yes" >&6; }
12739
 
else
12740
 
# FIXME - insert some real tests, host_os isn't really good enough
12741
 
  case $host_os in
12742
 
  darwin*)
12743
 
    if test -n "$STRIP" ; then
12744
 
      striplib="$STRIP -x"
12745
 
      old_striplib="$STRIP -S"
12746
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
12747
 
$as_echo "yes" >&6; }
12748
 
    else
12749
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
12750
 
$as_echo "no" >&6; }
12751
 
    fi
12752
 
    ;;
12753
 
  *)
12754
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
12755
 
$as_echo "no" >&6; }
12756
 
    ;;
12757
 
  esac
12758
 
fi
12759
 
 
12760
 
 
12761
 
 
12762
 
 
12763
 
 
12764
 
 
12765
 
 
12766
 
 
12767
 
 
12768
 
 
12769
 
 
12770
 
 
12771
 
  # Report which library types will actually be built
12772
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12773
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12774
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12775
 
$as_echo "$can_build_shared" >&6; }
12776
 
 
12777
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12778
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
12779
 
  test "$can_build_shared" = "no" && enable_shared=no
12780
 
 
12781
 
  # On AIX, shared libraries and static libraries use the same namespace, and
12782
 
  # are all built from PIC.
12783
 
  case $host_os in
12784
 
  aix3*)
12785
 
    test "$enable_shared" = yes && enable_static=no
12786
 
    if test -n "$RANLIB"; then
12787
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12788
 
      postinstall_cmds='$RANLIB $lib'
12789
 
    fi
12790
 
    ;;
12791
 
 
12792
 
  aix[4-9]*)
12793
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12794
 
      test "$enable_shared" = yes && enable_static=no
12795
 
    fi
12796
 
    ;;
12797
 
  esac
12798
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12799
 
$as_echo "$enable_shared" >&6; }
12800
 
 
12801
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12802
 
$as_echo_n "checking whether to build static libraries... " >&6; }
12803
 
  # Make sure either enable_shared or enable_static is yes.
12804
 
  test "$enable_shared" = yes || enable_static=yes
12805
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12806
 
$as_echo "$enable_static" >&6; }
12807
 
 
12808
 
 
12809
 
 
12810
 
 
12811
 
fi
12812
 
ac_ext=c
12813
 
ac_cpp='$CPP $CPPFLAGS'
12814
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12815
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12816
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12817
 
 
12818
 
CC="$lt_save_CC"
12819
 
 
12820
 
 
12821
 
 
12822
 
 
12823
 
 
12824
 
 
12825
 
 
12826
 
 
12827
 
 
12828
 
 
12829
 
 
12830
 
 
12831
 
 
12832
 
        ac_config_commands="$ac_config_commands libtool"
12833
 
 
12834
 
 
12835
 
 
12836
 
 
12837
 
# Only expand once:
 
12270
# Report which library types will actually be built
 
12271
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12272
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
12273
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12274
$as_echo "$can_build_shared" >&6; }
 
12275
 
 
12276
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12277
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
12278
test "$can_build_shared" = "no" && enable_shared=no
 
12279
 
 
12280
# On AIX, shared libraries and static libraries use the same namespace, and
 
12281
# are all built from PIC.
 
12282
case $host_os in
 
12283
aix3*)
 
12284
  test "$enable_shared" = yes && enable_static=no
 
12285
  if test -n "$RANLIB"; then
 
12286
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
12287
    postinstall_cmds='$RANLIB $lib'
 
12288
  fi
 
12289
  ;;
 
12290
 
 
12291
aix[4-9]*)
 
12292
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12293
    test "$enable_shared" = yes && enable_static=no
 
12294
  fi
 
12295
    ;;
 
12296
esac
 
12297
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12298
$as_echo "$enable_shared" >&6; }
 
12299
 
 
12300
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12301
$as_echo_n "checking whether to build static libraries... " >&6; }
 
12302
# Make sure either enable_shared or enable_static is yes.
 
12303
test "$enable_shared" = yes || enable_static=yes
 
12304
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
12305
$as_echo "$enable_static" >&6; }
 
12306
 
 
12307
# The else clause should only fire when bootstrapping the
 
12308
# libtool distribution, otherwise you forgot to ship ltmain.sh
 
12309
# with your package, and you will get complaints that there are
 
12310
# no rules to generate ltmain.sh.
 
12311
if test -f "$ltmain"; then
 
12312
  # See if we are running on zsh, and set the options which allow our commands through
 
12313
  # without removal of \ escapes.
 
12314
  if test -n "${ZSH_VERSION+set}" ; then
 
12315
    setopt NO_GLOB_SUBST
 
12316
  fi
 
12317
  # Now quote all the things that may contain metacharacters while being
 
12318
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
12319
  # variables and quote the copies for generation of the libtool script.
 
12320
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 
12321
    SED SHELL STRIP \
 
12322
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
12323
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
12324
    deplibs_check_method reload_flag reload_cmds need_locks \
 
12325
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
12326
    lt_cv_sys_global_symbol_to_c_name_address \
 
12327
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
12328
    old_postinstall_cmds old_postuninstall_cmds \
 
12329
    compiler \
 
12330
    CC \
 
12331
    LD \
 
12332
    lt_prog_compiler_wl \
 
12333
    lt_prog_compiler_pic \
 
12334
    lt_prog_compiler_static \
 
12335
    lt_prog_compiler_no_builtin_flag \
 
12336
    export_dynamic_flag_spec \
 
12337
    thread_safe_flag_spec \
 
12338
    whole_archive_flag_spec \
 
12339
    enable_shared_with_static_runtimes \
 
12340
    old_archive_cmds \
 
12341
    old_archive_from_new_cmds \
 
12342
    predep_objects \
 
12343
    postdep_objects \
 
12344
    predeps \
 
12345
    postdeps \
 
12346
    compiler_lib_search_path \
 
12347
    compiler_lib_search_dirs \
 
12348
    archive_cmds \
 
12349
    archive_expsym_cmds \
 
12350
    postinstall_cmds \
 
12351
    postuninstall_cmds \
 
12352
    old_archive_from_expsyms_cmds \
 
12353
    allow_undefined_flag \
 
12354
    no_undefined_flag \
 
12355
    export_symbols_cmds \
 
12356
    hardcode_libdir_flag_spec \
 
12357
    hardcode_libdir_flag_spec_ld \
 
12358
    hardcode_libdir_separator \
 
12359
    hardcode_automatic \
 
12360
    module_cmds \
 
12361
    module_expsym_cmds \
 
12362
    lt_cv_prog_compiler_c_o \
 
12363
    fix_srcfile_path \
 
12364
    exclude_expsyms \
 
12365
    include_expsyms; do
 
12366
 
 
12367
    case $var in
 
12368
    old_archive_cmds | \
 
12369
    old_archive_from_new_cmds | \
 
12370
    archive_cmds | \
 
12371
    archive_expsym_cmds | \
 
12372
    module_cmds | \
 
12373
    module_expsym_cmds | \
 
12374
    old_archive_from_expsyms_cmds | \
 
12375
    export_symbols_cmds | \
 
12376
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
12377
    postinstall_cmds | postuninstall_cmds | \
 
12378
    old_postinstall_cmds | old_postuninstall_cmds | \
 
12379
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
12380
      # Double-quote double-evaled strings.
 
12381
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
12382
      ;;
 
12383
    *)
 
12384
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
12385
      ;;
 
12386
    esac
 
12387
  done
 
12388
 
 
12389
  case $lt_echo in
 
12390
  *'\$0 --fallback-echo"')
 
12391
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
12392
    ;;
 
12393
  esac
 
12394
 
 
12395
cfgfile="${ofile}T"
 
12396
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
 
12397
  $rm -f "$cfgfile"
 
12398
  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
 
12399
$as_echo "$as_me: creating $ofile" >&6;}
 
12400
 
 
12401
  cat <<__EOF__ >> "$cfgfile"
 
12402
#! $SHELL
 
12403
 
 
12404
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
12405
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
 
12406
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
12407
#
 
12408
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
 
12409
# Free Software Foundation, Inc.
 
12410
#
 
12411
# This file is part of GNU Libtool:
 
12412
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 
12413
#
 
12414
# This program is free software; you can redistribute it and/or modify
 
12415
# it under the terms of the GNU General Public License as published by
 
12416
# the Free Software Foundation; either version 2 of the License, or
 
12417
# (at your option) any later version.
 
12418
#
 
12419
# This program is distributed in the hope that it will be useful, but
 
12420
# WITHOUT ANY WARRANTY; without even the implied warranty of
 
12421
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12422
# General Public License for more details.
 
12423
#
 
12424
# You should have received a copy of the GNU General Public License
 
12425
# along with this program; if not, write to the Free Software
 
12426
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
12427
#
 
12428
# As a special exception to the GNU General Public License, if you
 
12429
# distribute this file as part of a program that contains a
 
12430
# configuration script generated by Autoconf, you may include it under
 
12431
# the same distribution terms that you use for the rest of that program.
 
12432
 
 
12433
# A sed program that does not truncate output.
 
12434
SED=$lt_SED
 
12435
 
 
12436
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
12437
Xsed="$SED -e 1s/^X//"
 
12438
 
 
12439
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
12440
# if CDPATH is set.
 
12441
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
12442
 
 
12443
# The names of the tagged configurations supported by this script.
 
12444
available_tags=
 
12445
 
 
12446
# ### BEGIN LIBTOOL CONFIG
 
12447
 
 
12448
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
12449
 
 
12450
# Shell to use when invoking shell scripts.
 
12451
SHELL=$lt_SHELL
 
12452
 
 
12453
# Whether or not to build shared libraries.
 
12454
build_libtool_libs=$enable_shared
 
12455
 
 
12456
# Whether or not to build static libraries.
 
12457
build_old_libs=$enable_static
 
12458
 
 
12459
# Whether or not to add -lc for building shared libraries.
 
12460
build_libtool_need_lc=$archive_cmds_need_lc
 
12461
 
 
12462
# Whether or not to disallow shared libs when runtime libs are static
 
12463
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
12464
 
 
12465
# Whether or not to optimize for fast installation.
 
12466
fast_install=$enable_fast_install
 
12467
 
 
12468
# The host system.
 
12469
host_alias=$host_alias
 
12470
host=$host
 
12471
host_os=$host_os
 
12472
 
 
12473
# The build system.
 
12474
build_alias=$build_alias
 
12475
build=$build
 
12476
build_os=$build_os
 
12477
 
 
12478
# An echo program that does not interpret backslashes.
 
12479
echo=$lt_echo
 
12480
 
 
12481
# The archiver.
 
12482
AR=$lt_AR
 
12483
AR_FLAGS=$lt_AR_FLAGS
 
12484
 
 
12485
# A C compiler.
 
12486
LTCC=$lt_LTCC
 
12487
 
 
12488
# LTCC compiler flags.
 
12489
LTCFLAGS=$lt_LTCFLAGS
 
12490
 
 
12491
# A language-specific compiler.
 
12492
CC=$lt_compiler
 
12493
 
 
12494
# Is the compiler the GNU C compiler?
 
12495
with_gcc=$GCC
 
12496
 
 
12497
# An ERE matcher.
 
12498
EGREP=$lt_EGREP
 
12499
 
 
12500
# The linker used to build libraries.
 
12501
LD=$lt_LD
 
12502
 
 
12503
# Whether we need hard or soft links.
 
12504
LN_S=$lt_LN_S
 
12505
 
 
12506
# A BSD-compatible nm program.
 
12507
NM=$lt_NM
 
12508
 
 
12509
# A symbol stripping program
 
12510
STRIP=$lt_STRIP
 
12511
 
 
12512
# Used to examine libraries when file_magic_cmd begins "file"
 
12513
MAGIC_CMD=$MAGIC_CMD
 
12514
 
 
12515
# Used on cygwin: DLL creation program.
 
12516
DLLTOOL="$DLLTOOL"
 
12517
 
 
12518
# Used on cygwin: object dumper.
 
12519
OBJDUMP="$OBJDUMP"
 
12520
 
 
12521
# Used on cygwin: assembler.
 
12522
AS="$AS"
 
12523
 
 
12524
# The name of the directory that contains temporary libtool files.
 
12525
objdir=$objdir
 
12526
 
 
12527
# How to create reloadable object files.
 
12528
reload_flag=$lt_reload_flag
 
12529
reload_cmds=$lt_reload_cmds
 
12530
 
 
12531
# How to pass a linker flag through the compiler.
 
12532
wl=$lt_lt_prog_compiler_wl
 
12533
 
 
12534
# Object file suffix (normally "o").
 
12535
objext="$ac_objext"
 
12536
 
 
12537
# Old archive suffix (normally "a").
 
12538
libext="$libext"
 
12539
 
 
12540
# Shared library suffix (normally ".so").
 
12541
shrext_cmds='$shrext_cmds'
 
12542
 
 
12543
# Executable file suffix (normally "").
 
12544
exeext="$exeext"
 
12545
 
 
12546
# Additional compiler flags for building library objects.
 
12547
pic_flag=$lt_lt_prog_compiler_pic
 
12548
pic_mode=$pic_mode
 
12549
 
 
12550
# What is the maximum length of a command?
 
12551
max_cmd_len=$lt_cv_sys_max_cmd_len
 
12552
 
 
12553
# Does compiler simultaneously support -c and -o options?
 
12554
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
12555
 
 
12556
# Must we lock files when doing compilation?
 
12557
need_locks=$lt_need_locks
 
12558
 
 
12559
# Do we need the lib prefix for modules?
 
12560
need_lib_prefix=$need_lib_prefix
 
12561
 
 
12562
# Do we need a version for libraries?
 
12563
need_version=$need_version
 
12564
 
 
12565
# Whether dlopen is supported.
 
12566
dlopen_support=$enable_dlopen
 
12567
 
 
12568
# Whether dlopen of programs is supported.
 
12569
dlopen_self=$enable_dlopen_self
 
12570
 
 
12571
# Whether dlopen of statically linked programs is supported.
 
12572
dlopen_self_static=$enable_dlopen_self_static
 
12573
 
 
12574
# Compiler flag to prevent dynamic linking.
 
12575
link_static_flag=$lt_lt_prog_compiler_static
 
12576
 
 
12577
# Compiler flag to turn off builtin functions.
 
12578
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
12579
 
 
12580
# Compiler flag to allow reflexive dlopens.
 
12581
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
12582
 
 
12583
# Compiler flag to generate shared objects directly from archives.
 
12584
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
12585
 
 
12586
# Compiler flag to generate thread-safe objects.
 
12587
thread_safe_flag_spec=$lt_thread_safe_flag_spec
 
12588
 
 
12589
# Library versioning type.
 
12590
version_type=$version_type
 
12591
 
 
12592
# Format of library name prefix.
 
12593
libname_spec=$lt_libname_spec
 
12594
 
 
12595
# List of archive names.  First name is the real one, the rest are links.
 
12596
# The last name is the one that the linker finds with -lNAME.
 
12597
library_names_spec=$lt_library_names_spec
 
12598
 
 
12599
# The coded name of the library, if different from the real name.
 
12600
soname_spec=$lt_soname_spec
 
12601
 
 
12602
# Commands used to build and install an old-style archive.
 
12603
RANLIB=$lt_RANLIB
 
12604
old_archive_cmds=$lt_old_archive_cmds
 
12605
old_postinstall_cmds=$lt_old_postinstall_cmds
 
12606
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
12607
 
 
12608
# Create an old-style archive from a shared archive.
 
12609
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
12610
 
 
12611
# Create a temporary old-style archive to link instead of a shared archive.
 
12612
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
12613
 
 
12614
# Commands used to build and install a shared archive.
 
12615
archive_cmds=$lt_archive_cmds
 
12616
archive_expsym_cmds=$lt_archive_expsym_cmds
 
12617
postinstall_cmds=$lt_postinstall_cmds
 
12618
postuninstall_cmds=$lt_postuninstall_cmds
 
12619
 
 
12620
# Commands used to build a loadable module (assumed same as above if empty)
 
12621
module_cmds=$lt_module_cmds
 
12622
module_expsym_cmds=$lt_module_expsym_cmds
 
12623
 
 
12624
# Commands to strip libraries.
 
12625
old_striplib=$lt_old_striplib
 
12626
striplib=$lt_striplib
 
12627
 
 
12628
# Dependencies to place before the objects being linked to create a
 
12629
# shared library.
 
12630
predep_objects=$lt_predep_objects
 
12631
 
 
12632
# Dependencies to place after the objects being linked to create a
 
12633
# shared library.
 
12634
postdep_objects=$lt_postdep_objects
 
12635
 
 
12636
# Dependencies to place before the objects being linked to create a
 
12637
# shared library.
 
12638
predeps=$lt_predeps
 
12639
 
 
12640
# Dependencies to place after the objects being linked to create a
 
12641
# shared library.
 
12642
postdeps=$lt_postdeps
 
12643
 
 
12644
# The directories searched by this compiler when creating a shared
 
12645
# library
 
12646
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
12647
 
 
12648
# The library search path used internally by the compiler when linking
 
12649
# a shared library.
 
12650
compiler_lib_search_path=$lt_compiler_lib_search_path
 
12651
 
 
12652
# Method to check whether dependent libraries are shared objects.
 
12653
deplibs_check_method=$lt_deplibs_check_method
 
12654
 
 
12655
# Command to use when deplibs_check_method == file_magic.
 
12656
file_magic_cmd=$lt_file_magic_cmd
 
12657
 
 
12658
# Flag that allows shared libraries with undefined symbols to be built.
 
12659
allow_undefined_flag=$lt_allow_undefined_flag
 
12660
 
 
12661
# Flag that forces no undefined symbols.
 
12662
no_undefined_flag=$lt_no_undefined_flag
 
12663
 
 
12664
# Commands used to finish a libtool library installation in a directory.
 
12665
finish_cmds=$lt_finish_cmds
 
12666
 
 
12667
# Same as above, but a single script fragment to be evaled but not shown.
 
12668
finish_eval=$lt_finish_eval
 
12669
 
 
12670
# Take the output of nm and produce a listing of raw symbols and C names.
 
12671
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
12672
 
 
12673
# Transform the output of nm in a proper C declaration
 
12674
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
12675
 
 
12676
# Transform the output of nm in a C name address pair
 
12677
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
12678
 
 
12679
# This is the shared library runtime path variable.
 
12680
runpath_var=$runpath_var
 
12681
 
 
12682
# This is the shared library path variable.
 
12683
shlibpath_var=$shlibpath_var
 
12684
 
 
12685
# Is shlibpath searched before the hard-coded library search path?
 
12686
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
12687
 
 
12688
# How to hardcode a shared library path into an executable.
 
12689
hardcode_action=$hardcode_action
 
12690
 
 
12691
# Whether we should hardcode library paths into libraries.
 
12692
hardcode_into_libs=$hardcode_into_libs
 
12693
 
 
12694
# Flag to hardcode \$libdir into a binary during linking.
 
12695
# This must work even if \$libdir does not exist.
 
12696
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
12697
 
 
12698
# If ld is used when linking, flag to hardcode \$libdir into
 
12699
# a binary during linking. This must work even if \$libdir does
 
12700
# not exist.
 
12701
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
12702
 
 
12703
# Whether we need a single -rpath flag with a separated argument.
 
12704
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
12705
 
 
12706
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
12707
# resulting binary.
 
12708
hardcode_direct=$hardcode_direct
 
12709
 
 
12710
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
12711
# resulting binary.
 
12712
hardcode_minus_L=$hardcode_minus_L
 
12713
 
 
12714
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
12715
# the resulting binary.
 
12716
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
12717
 
 
12718
# Set to yes if building a shared library automatically hardcodes DIR into the library
 
12719
# and all subsequent libraries and executables linked against it.
 
12720
hardcode_automatic=$hardcode_automatic
 
12721
 
 
12722
# Variables whose values should be saved in libtool wrapper scripts and
 
12723
# restored at relink time.
 
12724
variables_saved_for_relink="$variables_saved_for_relink"
 
12725
 
 
12726
# Whether libtool must link a program against all its dependency libraries.
 
12727
link_all_deplibs=$link_all_deplibs
 
12728
 
 
12729
# Compile-time system search path for libraries
 
12730
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
12731
 
 
12732
# Run-time system search path for libraries
 
12733
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
12734
 
 
12735
# Fix the shell variable \$srcfile for the compiler.
 
12736
fix_srcfile_path=$lt_fix_srcfile_path
 
12737
 
 
12738
# Set to yes if exported symbols are required.
 
12739
always_export_symbols=$always_export_symbols
 
12740
 
 
12741
# The commands to list exported symbols.
 
12742
export_symbols_cmds=$lt_export_symbols_cmds
 
12743
 
 
12744
# The commands to extract the exported symbol list from a shared archive.
 
12745
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
12746
 
 
12747
# Symbols that should not be listed in the preloaded symbols.
 
12748
exclude_expsyms=$lt_exclude_expsyms
 
12749
 
 
12750
# Symbols that must always be exported.
 
12751
include_expsyms=$lt_include_expsyms
 
12752
 
 
12753
# ### END LIBTOOL CONFIG
 
12754
 
 
12755
__EOF__
 
12756
 
 
12757
 
 
12758
  case $host_os in
 
12759
  aix3*)
 
12760
    cat <<\EOF >> "$cfgfile"
 
12761
 
 
12762
# AIX sometimes has problems with the GCC collect2 program.  For some
 
12763
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
12764
# vanish in a puff of smoke.
 
12765
if test "X${COLLECT_NAMES+set}" != Xset; then
 
12766
  COLLECT_NAMES=
 
12767
  export COLLECT_NAMES
 
12768
fi
 
12769
EOF
 
12770
    ;;
 
12771
  esac
 
12772
 
 
12773
  # We use sed instead of cat because bash on DJGPP gets confused if
 
12774
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
12775
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
12776
  # is reportedly fixed, but why not run on old versions too?
 
12777
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
 
12778
 
 
12779
  mv -f "$cfgfile" "$ofile" || \
 
12780
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
12781
  chmod +x "$ofile"
 
12782
 
 
12783
else
 
12784
  # If there is no Makefile yet, we rely on a make rule to execute
 
12785
  # `config.status --recheck' to rerun these tests and create the
 
12786
  # libtool script then.
 
12787
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
12788
  if test -f "$ltmain_in"; then
 
12789
    test -f Makefile && make "$ltmain"
 
12790
  fi
 
12791
fi
 
12792
 
 
12793
 
 
12794
ac_ext=c
 
12795
ac_cpp='$CPP $CPPFLAGS'
 
12796
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12797
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12798
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12799
 
 
12800
CC="$lt_save_CC"
 
12801
 
 
12802
 
 
12803
# Check whether --with-tags was given.
 
12804
if test "${with_tags+set}" = set; then
 
12805
  withval=$with_tags; tagnames="$withval"
 
12806
fi
 
12807
 
 
12808
 
 
12809
if test -f "$ltmain" && test -n "$tagnames"; then
 
12810
  if test ! -f "${ofile}"; then
 
12811
    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
 
12812
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
 
12813
  fi
 
12814
 
 
12815
  if test -z "$LTCC"; then
 
12816
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
 
12817
    if test -z "$LTCC"; then
 
12818
      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
 
12819
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
 
12820
    else
 
12821
      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
 
12822
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
 
12823
    fi
 
12824
  fi
 
12825
  if test -z "$LTCFLAGS"; then
 
12826
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
12827
  fi
 
12828
 
 
12829
  # Extract list of available tagged configurations in $ofile.
 
12830
  # Note that this assumes the entire list is on one line.
 
12831
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
 
12832
 
 
12833
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
12834
  for tagname in $tagnames; do
 
12835
    IFS="$lt_save_ifs"
 
12836
    # Check whether tagname contains only valid characters
 
12837
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
 
12838
    "") ;;
 
12839
    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
 
12840
$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
 
12841
   { (exit 1); exit 1; }; }
 
12842
        ;;
 
12843
    esac
 
12844
 
 
12845
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
 
12846
    then
 
12847
      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
 
12848
$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
 
12849
   { (exit 1); exit 1; }; }
 
12850
    fi
 
12851
 
 
12852
    # Update the list of available tags.
 
12853
    if test -n "$tagname"; then
 
12854
      echo appending configuration tag \"$tagname\" to $ofile
 
12855
 
 
12856
      case $tagname in
 
12857
      CXX)
 
12858
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
12859
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
12860
            (test "X$CXX" != "Xg++"))) ; then
 
12861
          ac_ext=cpp
 
12862
ac_cpp='$CXXCPP $CPPFLAGS'
 
12863
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12864
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12865
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
12866
 
 
12867
 
 
12868
 
 
12869
 
 
12870
archive_cmds_need_lc_CXX=no
 
12871
allow_undefined_flag_CXX=
 
12872
always_export_symbols_CXX=no
 
12873
archive_expsym_cmds_CXX=
 
12874
export_dynamic_flag_spec_CXX=
 
12875
hardcode_direct_CXX=no
 
12876
hardcode_libdir_flag_spec_CXX=
 
12877
hardcode_libdir_flag_spec_ld_CXX=
 
12878
hardcode_libdir_separator_CXX=
 
12879
hardcode_minus_L_CXX=no
 
12880
hardcode_shlibpath_var_CXX=unsupported
 
12881
hardcode_automatic_CXX=no
 
12882
module_cmds_CXX=
 
12883
module_expsym_cmds_CXX=
 
12884
link_all_deplibs_CXX=unknown
 
12885
old_archive_cmds_CXX=$old_archive_cmds
 
12886
no_undefined_flag_CXX=
 
12887
whole_archive_flag_spec_CXX=
 
12888
enable_shared_with_static_runtimes_CXX=no
 
12889
 
 
12890
# Dependencies to place before and after the object being linked:
 
12891
predep_objects_CXX=
 
12892
postdep_objects_CXX=
 
12893
predeps_CXX=
 
12894
postdeps_CXX=
 
12895
compiler_lib_search_path_CXX=
 
12896
compiler_lib_search_dirs_CXX=
 
12897
 
 
12898
# Source file extension for C++ test sources.
 
12899
ac_ext=cpp
 
12900
 
 
12901
# Object file extension for compiled C++ test sources.
 
12902
objext=o
 
12903
objext_CXX=$objext
 
12904
 
 
12905
# Code to be used in simple compile tests
 
12906
lt_simple_compile_test_code="int some_variable = 0;"
 
12907
 
 
12908
# Code to be used in simple link tests
 
12909
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
12910
 
 
12911
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
12912
 
 
12913
# If no C compiler was specified, use CC.
 
12914
LTCC=${LTCC-"$CC"}
 
12915
 
 
12916
# If no C compiler flags were specified, use CFLAGS.
 
12917
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
12918
 
 
12919
# Allow CC to be a program name with arguments.
 
12920
compiler=$CC
 
12921
 
 
12922
 
 
12923
# save warnings/boilerplate of simple test code
 
12924
ac_outfile=conftest.$ac_objext
 
12925
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
12926
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
12927
_lt_compiler_boilerplate=`cat conftest.err`
 
12928
$rm conftest*
 
12929
 
 
12930
ac_outfile=conftest.$ac_objext
 
12931
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
12932
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
12933
_lt_linker_boilerplate=`cat conftest.err`
 
12934
$rm -r conftest*
 
12935
 
 
12936
 
 
12937
# Allow CC to be a program name with arguments.
 
12938
lt_save_CC=$CC
 
12939
lt_save_LD=$LD
 
12940
lt_save_GCC=$GCC
 
12941
GCC=$GXX
 
12942
lt_save_with_gnu_ld=$with_gnu_ld
 
12943
lt_save_path_LD=$lt_cv_path_LD
 
12944
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
12945
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
12946
else
 
12947
  $as_unset lt_cv_prog_gnu_ld
 
12948
fi
 
12949
if test -n "${lt_cv_path_LDCXX+set}"; then
 
12950
  lt_cv_path_LD=$lt_cv_path_LDCXX
 
12951
else
 
12952
  $as_unset lt_cv_path_LD
 
12953
fi
 
12954
test -z "${LDCXX+set}" || LD=$LDCXX
 
12955
CC=${CXX-"c++"}
 
12956
compiler=$CC
 
12957
compiler_CXX=$CC
 
12958
for cc_temp in $compiler""; do
 
12959
  case $cc_temp in
 
12960
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
12961
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
12962
    \-*) ;;
 
12963
    *) break;;
 
12964
  esac
 
12965
done
 
12966
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
12967
 
 
12968
 
 
12969
# We don't want -fno-exception wen compiling C++ code, so set the
 
12970
# no_builtin_flag separately
 
12971
if test "$GXX" = yes; then
 
12972
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
12973
else
 
12974
  lt_prog_compiler_no_builtin_flag_CXX=
 
12975
fi
 
12976
 
 
12977
if test "$GXX" = yes; then
 
12978
  # Set up default GNU C++ configuration
 
12979
 
 
12980
 
 
12981
# Check whether --with-gnu-ld was given.
 
12982
if test "${with_gnu_ld+set}" = set; then
 
12983
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
12984
else
 
12985
  with_gnu_ld=no
 
12986
fi
 
12987
 
 
12988
ac_prog=ld
 
12989
if test "$GCC" = yes; then
 
12990
  # Check if gcc -print-prog-name=ld gives a path.
 
12991
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
12992
$as_echo_n "checking for ld used by $CC... " >&6; }
 
12993
  case $host in
 
12994
  *-*-mingw*)
 
12995
    # gcc leaves a trailing carriage return which upsets mingw
 
12996
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
12997
  *)
 
12998
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
12999
  esac
 
13000
  case $ac_prog in
 
13001
    # Accept absolute paths.
 
13002
    [\\/]* | ?:[\\/]*)
 
13003
      re_direlt='/[^/][^/]*/\.\./'
 
13004
      # Canonicalize the pathname of ld
 
13005
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 
13006
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
13007
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
13008
      done
 
13009
      test -z "$LD" && LD="$ac_prog"
 
13010
      ;;
 
13011
  "")
 
13012
    # If it fails, then pretend we aren't using GCC.
 
13013
    ac_prog=ld
 
13014
    ;;
 
13015
  *)
 
13016
    # If it is relative, then search for the first ld in PATH.
 
13017
    with_gnu_ld=unknown
 
13018
    ;;
 
13019
  esac
 
13020
elif test "$with_gnu_ld" = yes; then
 
13021
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
13022
$as_echo_n "checking for GNU ld... " >&6; }
 
13023
else
 
13024
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
13025
$as_echo_n "checking for non-GNU ld... " >&6; }
 
13026
fi
 
13027
if test "${lt_cv_path_LD+set}" = set; then
 
13028
  $as_echo_n "(cached) " >&6
 
13029
else
 
13030
  if test -z "$LD"; then
 
13031
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
13032
  for ac_dir in $PATH; do
 
13033
    IFS="$lt_save_ifs"
 
13034
    test -z "$ac_dir" && ac_dir=.
 
13035
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
13036
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
13037
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
13038
      # but apparently some variants of GNU ld only accept -v.
 
13039
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
13040
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
13041
      *GNU* | *'with BFD'*)
 
13042
        test "$with_gnu_ld" != no && break
 
13043
        ;;
 
13044
      *)
 
13045
        test "$with_gnu_ld" != yes && break
 
13046
        ;;
 
13047
      esac
 
13048
    fi
 
13049
  done
 
13050
  IFS="$lt_save_ifs"
 
13051
else
 
13052
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
13053
fi
 
13054
fi
 
13055
 
 
13056
LD="$lt_cv_path_LD"
 
13057
if test -n "$LD"; then
 
13058
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
13059
$as_echo "$LD" >&6; }
 
13060
else
 
13061
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13062
$as_echo "no" >&6; }
 
13063
fi
 
13064
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
13065
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
13066
   { (exit 1); exit 1; }; }
 
13067
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
13068
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
13069
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
13070
  $as_echo_n "(cached) " >&6
 
13071
else
 
13072
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
13073
case `$LD -v 2>&1 </dev/null` in
 
13074
*GNU* | *'with BFD'*)
 
13075
  lt_cv_prog_gnu_ld=yes
 
13076
  ;;
 
13077
*)
 
13078
  lt_cv_prog_gnu_ld=no
 
13079
  ;;
 
13080
esac
 
13081
fi
 
13082
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
13083
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
13084
with_gnu_ld=$lt_cv_prog_gnu_ld
 
13085
 
 
13086
 
 
13087
 
 
13088
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
13089
  # archiving commands below assume that GNU ld is being used.
 
13090
  if test "$with_gnu_ld" = yes; then
 
13091
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13092
    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'
 
13093
 
 
13094
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
13095
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13096
 
 
13097
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
13098
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
13099
    #     investigate it a little bit more. (MM)
 
13100
    wlarc='${wl}'
 
13101
 
 
13102
    # ancient GNU ld didn't support --whole-archive et. al.
 
13103
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
 
13104
        grep 'no-whole-archive' > /dev/null; then
 
13105
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13106
    else
 
13107
      whole_archive_flag_spec_CXX=
 
13108
    fi
 
13109
  else
 
13110
    with_gnu_ld=no
 
13111
    wlarc=
 
13112
 
 
13113
    # A generic and very simple default shared library creation
 
13114
    # command for GNU C++ for the case where it uses the native
 
13115
    # linker, instead of GNU ld.  If possible, this setting should
 
13116
    # overridden to take advantage of the native linker features on
 
13117
    # the platform it is being used on.
 
13118
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13119
  fi
 
13120
 
 
13121
  # Commands to make compiler produce verbose output that lists
 
13122
  # what "hidden" libraries, object files and flags are used when
 
13123
  # linking a shared library.
 
13124
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
13125
 
 
13126
else
 
13127
  GXX=no
 
13128
  with_gnu_ld=no
 
13129
  wlarc=
 
13130
fi
 
13131
 
 
13132
# PORTME: fill in a description of your system's C++ link characteristics
 
13133
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13134
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
13135
ld_shlibs_CXX=yes
 
13136
case $host_os in
 
13137
  aix3*)
 
13138
    # FIXME: insert proper C++ library support
 
13139
    ld_shlibs_CXX=no
 
13140
    ;;
 
13141
  aix[4-9]*)
 
13142
    if test "$host_cpu" = ia64; then
 
13143
      # On IA64, the linker does run time linking by default, so we don't
 
13144
      # have to do anything special.
 
13145
      aix_use_runtimelinking=no
 
13146
      exp_sym_flag='-Bexport'
 
13147
      no_entry_flag=""
 
13148
    else
 
13149
      aix_use_runtimelinking=no
 
13150
 
 
13151
      # Test if we are trying to use run time linking or normal
 
13152
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
13153
      # need to do runtime linking.
 
13154
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
13155
        for ld_flag in $LDFLAGS; do
 
13156
          case $ld_flag in
 
13157
          *-brtl*)
 
13158
            aix_use_runtimelinking=yes
 
13159
            break
 
13160
            ;;
 
13161
          esac
 
13162
        done
 
13163
        ;;
 
13164
      esac
 
13165
 
 
13166
      exp_sym_flag='-bexport'
 
13167
      no_entry_flag='-bnoentry'
 
13168
    fi
 
13169
 
 
13170
    # When large executables or shared objects are built, AIX ld can
 
13171
    # have problems creating the table of contents.  If linking a library
 
13172
    # or program results in "error TOC overflow" add -mminimal-toc to
 
13173
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
13174
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
13175
 
 
13176
    archive_cmds_CXX=''
 
13177
    hardcode_direct_CXX=yes
 
13178
    hardcode_libdir_separator_CXX=':'
 
13179
    link_all_deplibs_CXX=yes
 
13180
 
 
13181
    if test "$GXX" = yes; then
 
13182
      case $host_os in aix4.[012]|aix4.[012].*)
 
13183
      # We only want to do this on AIX 4.2 and lower, the check
 
13184
      # below for broken collect2 doesn't work under 4.3+
 
13185
        collect2name=`${CC} -print-prog-name=collect2`
 
13186
        if test -f "$collect2name" && \
 
13187
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
13188
        then
 
13189
          # We have reworked collect2
 
13190
          :
 
13191
        else
 
13192
          # We have old collect2
 
13193
          hardcode_direct_CXX=unsupported
 
13194
          # It fails to find uninstalled libraries when the uninstalled
 
13195
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
13196
          # to unsupported forces relinking
 
13197
          hardcode_minus_L_CXX=yes
 
13198
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
13199
          hardcode_libdir_separator_CXX=
 
13200
        fi
 
13201
        ;;
 
13202
      esac
 
13203
      shared_flag='-shared'
 
13204
      if test "$aix_use_runtimelinking" = yes; then
 
13205
        shared_flag="$shared_flag "'${wl}-G'
 
13206
      fi
 
13207
    else
 
13208
      # not using gcc
 
13209
      if test "$host_cpu" = ia64; then
 
13210
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
13211
        # chokes on -Wl,-G. The following line is correct:
 
13212
        shared_flag='-G'
 
13213
      else
 
13214
        if test "$aix_use_runtimelinking" = yes; then
 
13215
          shared_flag='${wl}-G'
 
13216
        else
 
13217
          shared_flag='${wl}-bM:SRE'
 
13218
        fi
 
13219
      fi
 
13220
    fi
 
13221
 
 
13222
    # It seems that -bexpall does not export symbols beginning with
 
13223
    # underscore (_), so it is better to generate a list of symbols to export.
 
13224
    always_export_symbols_CXX=yes
 
13225
    if test "$aix_use_runtimelinking" = yes; then
 
13226
      # Warning - without using the other runtime loading flags (-brtl),
 
13227
      # -berok will link without error, but may produce a broken library.
 
13228
      allow_undefined_flag_CXX='-berok'
 
13229
      # Determine the default libpath from the value encoded in an empty executable.
 
13230
      cat >conftest.$ac_ext <<_ACEOF
 
13231
/* confdefs.h.  */
 
13232
_ACEOF
 
13233
cat confdefs.h >>conftest.$ac_ext
 
13234
cat >>conftest.$ac_ext <<_ACEOF
 
13235
/* end confdefs.h.  */
 
13236
 
 
13237
int
 
13238
main ()
 
13239
{
 
13240
 
 
13241
  ;
 
13242
  return 0;
 
13243
}
 
13244
_ACEOF
 
13245
rm -f conftest.$ac_objext conftest$ac_exeext
 
13246
if { (ac_try="$ac_link"
 
13247
case "(($ac_try" in
 
13248
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13249
  *) ac_try_echo=$ac_try;;
 
13250
esac
 
13251
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13252
$as_echo "$ac_try_echo") >&5
 
13253
  (eval "$ac_link") 2>conftest.er1
 
13254
  ac_status=$?
 
13255
  grep -v '^ *+' conftest.er1 >conftest.err
 
13256
  rm -f conftest.er1
 
13257
  cat conftest.err >&5
 
13258
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13259
  (exit $ac_status); } && {
 
13260
         test -z "$ac_cxx_werror_flag" ||
 
13261
         test ! -s conftest.err
 
13262
       } && test -s conftest$ac_exeext && {
 
13263
         test "$cross_compiling" = yes ||
 
13264
         $as_test_x conftest$ac_exeext
 
13265
       }; then
 
13266
 
 
13267
lt_aix_libpath_sed='
 
13268
    /Import File Strings/,/^$/ {
 
13269
        /^0/ {
 
13270
            s/^0  *\(.*\)$/\1/
 
13271
            p
 
13272
        }
 
13273
    }'
 
13274
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13275
# Check for a 64-bit object if we didn't find anything.
 
13276
if test -z "$aix_libpath"; then
 
13277
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13278
fi
 
13279
else
 
13280
  $as_echo "$as_me: failed program was:" >&5
 
13281
sed 's/^/| /' conftest.$ac_ext >&5
 
13282
 
 
13283
 
 
13284
fi
 
13285
 
 
13286
rm -rf conftest.dSYM
 
13287
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13288
      conftest$ac_exeext conftest.$ac_ext
 
13289
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
13290
 
 
13291
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
13292
 
 
13293
      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"
 
13294
     else
 
13295
      if test "$host_cpu" = ia64; then
 
13296
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
13297
        allow_undefined_flag_CXX="-z nodefs"
 
13298
        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"
 
13299
      else
 
13300
        # Determine the default libpath from the value encoded in an empty executable.
 
13301
        cat >conftest.$ac_ext <<_ACEOF
 
13302
/* confdefs.h.  */
 
13303
_ACEOF
 
13304
cat confdefs.h >>conftest.$ac_ext
 
13305
cat >>conftest.$ac_ext <<_ACEOF
 
13306
/* end confdefs.h.  */
 
13307
 
 
13308
int
 
13309
main ()
 
13310
{
 
13311
 
 
13312
  ;
 
13313
  return 0;
 
13314
}
 
13315
_ACEOF
 
13316
rm -f conftest.$ac_objext conftest$ac_exeext
 
13317
if { (ac_try="$ac_link"
 
13318
case "(($ac_try" in
 
13319
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13320
  *) ac_try_echo=$ac_try;;
 
13321
esac
 
13322
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13323
$as_echo "$ac_try_echo") >&5
 
13324
  (eval "$ac_link") 2>conftest.er1
 
13325
  ac_status=$?
 
13326
  grep -v '^ *+' conftest.er1 >conftest.err
 
13327
  rm -f conftest.er1
 
13328
  cat conftest.err >&5
 
13329
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13330
  (exit $ac_status); } && {
 
13331
         test -z "$ac_cxx_werror_flag" ||
 
13332
         test ! -s conftest.err
 
13333
       } && test -s conftest$ac_exeext && {
 
13334
         test "$cross_compiling" = yes ||
 
13335
         $as_test_x conftest$ac_exeext
 
13336
       }; then
 
13337
 
 
13338
lt_aix_libpath_sed='
 
13339
    /Import File Strings/,/^$/ {
 
13340
        /^0/ {
 
13341
            s/^0  *\(.*\)$/\1/
 
13342
            p
 
13343
        }
 
13344
    }'
 
13345
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13346
# Check for a 64-bit object if we didn't find anything.
 
13347
if test -z "$aix_libpath"; then
 
13348
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13349
fi
 
13350
else
 
13351
  $as_echo "$as_me: failed program was:" >&5
 
13352
sed 's/^/| /' conftest.$ac_ext >&5
 
13353
 
 
13354
 
 
13355
fi
 
13356
 
 
13357
rm -rf conftest.dSYM
 
13358
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13359
      conftest$ac_exeext conftest.$ac_ext
 
13360
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
13361
 
 
13362
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
13363
        # Warning - without using the other run time loading flags,
 
13364
        # -berok will link without error, but may produce a broken library.
 
13365
        no_undefined_flag_CXX=' ${wl}-bernotok'
 
13366
        allow_undefined_flag_CXX=' ${wl}-berok'
 
13367
        # Exported symbols can be pulled into shared objects from archives
 
13368
        whole_archive_flag_spec_CXX='$convenience'
 
13369
        archive_cmds_need_lc_CXX=yes
 
13370
        # This is similar to how AIX traditionally builds its shared libraries.
 
13371
        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'
 
13372
      fi
 
13373
    fi
 
13374
    ;;
 
13375
 
 
13376
  beos*)
 
13377
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
13378
      allow_undefined_flag_CXX=unsupported
 
13379
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
13380
      # support --undefined.  This deserves some investigation.  FIXME
 
13381
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13382
    else
 
13383
      ld_shlibs_CXX=no
 
13384
    fi
 
13385
    ;;
 
13386
 
 
13387
  chorus*)
 
13388
    case $cc_basename in
 
13389
      *)
 
13390
        # FIXME: insert proper C++ library support
 
13391
        ld_shlibs_CXX=no
 
13392
        ;;
 
13393
    esac
 
13394
    ;;
 
13395
 
 
13396
  cygwin* | mingw* | pw32*)
 
13397
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
13398
    # as there is no search path for DLLs.
 
13399
    hardcode_libdir_flag_spec_CXX='-L$libdir'
 
13400
    allow_undefined_flag_CXX=unsupported
 
13401
    always_export_symbols_CXX=no
 
13402
    enable_shared_with_static_runtimes_CXX=yes
 
13403
 
 
13404
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
13405
      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'
 
13406
      # If the export-symbols file already is a .def file (1st line
 
13407
      # is EXPORTS), use it as is; otherwise, prepend...
 
13408
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13409
        cp $export_symbols $output_objdir/$soname.def;
 
13410
      else
 
13411
        echo EXPORTS > $output_objdir/$soname.def;
 
13412
        cat $export_symbols >> $output_objdir/$soname.def;
 
13413
      fi~
 
13414
      $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'
 
13415
    else
 
13416
      ld_shlibs_CXX=no
 
13417
    fi
 
13418
  ;;
 
13419
      darwin* | rhapsody*)
 
13420
      archive_cmds_need_lc_CXX=no
 
13421
      hardcode_direct_CXX=no
 
13422
      hardcode_automatic_CXX=yes
 
13423
      hardcode_shlibpath_var_CXX=unsupported
 
13424
      whole_archive_flag_spec_CXX=''
 
13425
      link_all_deplibs_CXX=yes
 
13426
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
13427
      if test "$GXX" = yes ; then
 
13428
      output_verbose_link_cmd='echo'
 
13429
      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}"
 
13430
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
13431
      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}"
 
13432
      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}"
 
13433
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
13434
        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}"
 
13435
        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}"
 
13436
      fi
 
13437
      else
 
13438
      case $cc_basename in
 
13439
        xlc*)
 
13440
         output_verbose_link_cmd='echo'
 
13441
          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'
 
13442
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
13443
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
13444
          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}'
 
13445
          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}'
 
13446
          ;;
 
13447
       *)
 
13448
         ld_shlibs_CXX=no
 
13449
          ;;
 
13450
      esac
 
13451
      fi
 
13452
        ;;
 
13453
 
 
13454
  dgux*)
 
13455
    case $cc_basename in
 
13456
      ec++*)
 
13457
        # FIXME: insert proper C++ library support
 
13458
        ld_shlibs_CXX=no
 
13459
        ;;
 
13460
      ghcx*)
 
13461
        # Green Hills C++ Compiler
 
13462
        # FIXME: insert proper C++ library support
 
13463
        ld_shlibs_CXX=no
 
13464
        ;;
 
13465
      *)
 
13466
        # FIXME: insert proper C++ library support
 
13467
        ld_shlibs_CXX=no
 
13468
        ;;
 
13469
    esac
 
13470
    ;;
 
13471
  freebsd[12]*)
 
13472
    # C++ shared libraries reported to be fairly broken before switch to ELF
 
13473
    ld_shlibs_CXX=no
 
13474
    ;;
 
13475
  freebsd-elf*)
 
13476
    archive_cmds_need_lc_CXX=no
 
13477
    ;;
 
13478
  freebsd* | dragonfly*)
 
13479
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
13480
    # conventions
 
13481
    ld_shlibs_CXX=yes
 
13482
    ;;
 
13483
  gnu*)
 
13484
    ;;
 
13485
  hpux9*)
 
13486
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
13487
    hardcode_libdir_separator_CXX=:
 
13488
    export_dynamic_flag_spec_CXX='${wl}-E'
 
13489
    hardcode_direct_CXX=yes
 
13490
    hardcode_minus_L_CXX=yes # Not in the search PATH,
 
13491
                                # but as the default
 
13492
                                # location of the library.
 
13493
 
 
13494
    case $cc_basename in
 
13495
    CC*)
 
13496
      # FIXME: insert proper C++ library support
 
13497
      ld_shlibs_CXX=no
 
13498
      ;;
 
13499
    aCC*)
 
13500
      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'
 
13501
      # Commands to make compiler produce verbose output that lists
 
13502
      # what "hidden" libraries, object files and flags are used when
 
13503
      # linking a shared library.
 
13504
      #
 
13505
      # There doesn't appear to be a way to prevent this compiler from
 
13506
      # explicitly linking system object files so we need to strip them
 
13507
      # from the output so that they don't get included in the library
 
13508
      # dependencies.
 
13509
      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'
 
13510
      ;;
 
13511
    *)
 
13512
      if test "$GXX" = yes; then
 
13513
        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'
 
13514
      else
 
13515
        # FIXME: insert proper C++ library support
 
13516
        ld_shlibs_CXX=no
 
13517
      fi
 
13518
      ;;
 
13519
    esac
 
13520
    ;;
 
13521
  hpux10*|hpux11*)
 
13522
    if test $with_gnu_ld = no; then
 
13523
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
13524
      hardcode_libdir_separator_CXX=:
 
13525
 
 
13526
      case $host_cpu in
 
13527
      hppa*64*|ia64*) ;;
 
13528
      *)
 
13529
        export_dynamic_flag_spec_CXX='${wl}-E'
 
13530
        ;;
 
13531
      esac
 
13532
    fi
 
13533
    case $host_cpu in
 
13534
    hppa*64*|ia64*)
 
13535
      hardcode_direct_CXX=no
 
13536
      hardcode_shlibpath_var_CXX=no
 
13537
      ;;
 
13538
    *)
 
13539
      hardcode_direct_CXX=yes
 
13540
      hardcode_minus_L_CXX=yes # Not in the search PATH,
 
13541
                                              # but as the default
 
13542
                                              # location of the library.
 
13543
      ;;
 
13544
    esac
 
13545
 
 
13546
    case $cc_basename in
 
13547
      CC*)
 
13548
        # FIXME: insert proper C++ library support
 
13549
        ld_shlibs_CXX=no
 
13550
        ;;
 
13551
      aCC*)
 
13552
        case $host_cpu in
 
13553
        hppa*64*)
 
13554
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13555
          ;;
 
13556
        ia64*)
 
13557
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13558
          ;;
 
13559
        *)
 
13560
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13561
          ;;
 
13562
        esac
 
13563
        # Commands to make compiler produce verbose output that lists
 
13564
        # what "hidden" libraries, object files and flags are used when
 
13565
        # linking a shared library.
 
13566
        #
 
13567
        # There doesn't appear to be a way to prevent this compiler from
 
13568
        # explicitly linking system object files so we need to strip them
 
13569
        # from the output so that they don't get included in the library
 
13570
        # dependencies.
 
13571
        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'
 
13572
        ;;
 
13573
      *)
 
13574
        if test "$GXX" = yes; then
 
13575
          if test $with_gnu_ld = no; then
 
13576
            case $host_cpu in
 
13577
            hppa*64*)
 
13578
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13579
              ;;
 
13580
            ia64*)
 
13581
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13582
              ;;
 
13583
            *)
 
13584
              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'
 
13585
              ;;
 
13586
            esac
 
13587
          fi
 
13588
        else
 
13589
          # FIXME: insert proper C++ library support
 
13590
          ld_shlibs_CXX=no
 
13591
        fi
 
13592
        ;;
 
13593
    esac
 
13594
    ;;
 
13595
  interix[3-9]*)
 
13596
    hardcode_direct_CXX=no
 
13597
    hardcode_shlibpath_var_CXX=no
 
13598
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13599
    export_dynamic_flag_spec_CXX='${wl}-E'
 
13600
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
13601
    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
13602
    # default) and relocated if they conflict, which is a slow very memory
 
13603
    # consuming and fragmenting process.  To avoid this, we pick a random,
 
13604
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
13605
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
13606
    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'
 
13607
    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'
 
13608
    ;;
 
13609
  irix5* | irix6*)
 
13610
    case $cc_basename in
 
13611
      CC*)
 
13612
        # SGI C++
 
13613
        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'
 
13614
 
 
13615
        # Archives containing C++ object files must be created using
 
13616
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
13617
        # necessary to make sure instantiated templates are included
 
13618
        # in the archive.
 
13619
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
13620
        ;;
 
13621
      *)
 
13622
        if test "$GXX" = yes; then
 
13623
          if test "$with_gnu_ld" = no; then
 
13624
            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'
 
13625
          else
 
13626
            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'
 
13627
          fi
 
13628
        fi
 
13629
        link_all_deplibs_CXX=yes
 
13630
        ;;
 
13631
    esac
 
13632
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13633
    hardcode_libdir_separator_CXX=:
 
13634
    ;;
 
13635
  linux* | k*bsd*-gnu)
 
13636
    case $cc_basename in
 
13637
      KCC*)
 
13638
        # Kuck and Associates, Inc. (KAI) C++ Compiler
 
13639
 
 
13640
        # KCC will only create a shared library if the output file
 
13641
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
13642
        # to its proper name (with version) after linking.
 
13643
        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'
 
13644
        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'
 
13645
        # Commands to make compiler produce verbose output that lists
 
13646
        # what "hidden" libraries, object files and flags are used when
 
13647
        # linking a shared library.
 
13648
        #
 
13649
        # There doesn't appear to be a way to prevent this compiler from
 
13650
        # explicitly linking system object files so we need to strip them
 
13651
        # from the output so that they don't get included in the library
 
13652
        # dependencies.
 
13653
        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'
 
13654
 
 
13655
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
 
13656
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13657
 
 
13658
        # Archives containing C++ object files must be created using
 
13659
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
13660
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
13661
        ;;
 
13662
      icpc*)
 
13663
        # Intel C++
 
13664
        with_gnu_ld=yes
 
13665
        # version 8.0 and above of icpc choke on multiply defined symbols
 
13666
        # if we add $predep_objects and $postdep_objects, however 7.1 and
 
13667
        # earlier do not add the objects themselves.
 
13668
        case `$CC -V 2>&1` in
 
13669
        *"Version 7."*)
 
13670
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13671
          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'
 
13672
          ;;
 
13673
        *)  # Version 8.0 or newer
 
13674
          tmp_idyn=
 
13675
          case $host_cpu in
 
13676
            ia64*) tmp_idyn=' -i_dynamic';;
 
13677
          esac
 
13678
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13679
          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'
 
13680
          ;;
 
13681
        esac
 
13682
        archive_cmds_need_lc_CXX=no
 
13683
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13684
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13685
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
13686
        ;;
 
13687
      pgCC* | pgcpp*)
 
13688
        # Portland Group C++ compiler
 
13689
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
13690
        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'
 
13691
 
 
13692
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
13693
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13694
        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'
 
13695
        ;;
 
13696
      cxx*)
 
13697
        # Compaq C++
 
13698
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13699
        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'
 
13700
 
 
13701
        runpath_var=LD_RUN_PATH
 
13702
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
13703
        hardcode_libdir_separator_CXX=:
 
13704
 
 
13705
        # Commands to make compiler produce verbose output that lists
 
13706
        # what "hidden" libraries, object files and flags are used when
 
13707
        # linking a shared library.
 
13708
        #
 
13709
        # There doesn't appear to be a way to prevent this compiler from
 
13710
        # explicitly linking system object files so we need to strip them
 
13711
        # from the output so that they don't get included in the library
 
13712
        # dependencies.
 
13713
        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'
 
13714
        ;;
 
13715
      *)
 
13716
        case `$CC -V 2>&1 | sed 5q` in
 
13717
        *Sun\ C*)
 
13718
          # Sun C++ 5.9
 
13719
          no_undefined_flag_CXX=' -zdefs'
 
13720
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13721
          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'
 
13722
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13723
          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'
 
13724
 
 
13725
          # Not sure whether something based on
 
13726
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
13727
          # would be better.
 
13728
          output_verbose_link_cmd='echo'
 
13729
 
 
13730
          # Archives containing C++ object files must be created using
 
13731
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13732
          # necessary to make sure instantiated templates are included
 
13733
          # in the archive.
 
13734
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13735
          ;;
 
13736
        esac
 
13737
        ;;
 
13738
    esac
 
13739
    ;;
 
13740
  lynxos*)
 
13741
    # FIXME: insert proper C++ library support
 
13742
    ld_shlibs_CXX=no
 
13743
    ;;
 
13744
  m88k*)
 
13745
    # FIXME: insert proper C++ library support
 
13746
    ld_shlibs_CXX=no
 
13747
    ;;
 
13748
  mvs*)
 
13749
    case $cc_basename in
 
13750
      cxx*)
 
13751
        # FIXME: insert proper C++ library support
 
13752
        ld_shlibs_CXX=no
 
13753
        ;;
 
13754
      *)
 
13755
        # FIXME: insert proper C++ library support
 
13756
        ld_shlibs_CXX=no
 
13757
        ;;
 
13758
    esac
 
13759
    ;;
 
13760
  netbsd*)
 
13761
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
13762
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
13763
      wlarc=
 
13764
      hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13765
      hardcode_direct_CXX=yes
 
13766
      hardcode_shlibpath_var_CXX=no
 
13767
    fi
 
13768
    # Workaround some broken pre-1.5 toolchains
 
13769
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
13770
    ;;
 
13771
  openbsd2*)
 
13772
    # C++ shared libraries are fairly broken
 
13773
    ld_shlibs_CXX=no
 
13774
    ;;
 
13775
  openbsd*)
 
13776
    if test -f /usr/libexec/ld.so; then
 
13777
      hardcode_direct_CXX=yes
 
13778
      hardcode_shlibpath_var_CXX=no
 
13779
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13780
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13781
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13782
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
13783
        export_dynamic_flag_spec_CXX='${wl}-E'
 
13784
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13785
      fi
 
13786
      output_verbose_link_cmd='echo'
 
13787
    else
 
13788
      ld_shlibs_CXX=no
 
13789
    fi
 
13790
    ;;
 
13791
  osf3*)
 
13792
    case $cc_basename in
 
13793
      KCC*)
 
13794
        # Kuck and Associates, Inc. (KAI) C++ Compiler
 
13795
 
 
13796
        # KCC will only create a shared library if the output file
 
13797
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
13798
        # to its proper name (with version) after linking.
 
13799
        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'
 
13800
 
 
13801
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13802
        hardcode_libdir_separator_CXX=:
 
13803
 
 
13804
        # Archives containing C++ object files must be created using
 
13805
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
13806
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
13807
 
 
13808
        ;;
 
13809
      RCC*)
 
13810
        # Rational C++ 2.4.1
 
13811
        # FIXME: insert proper C++ library support
 
13812
        ld_shlibs_CXX=no
 
13813
        ;;
 
13814
      cxx*)
 
13815
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
13816
        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'
 
13817
 
 
13818
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13819
        hardcode_libdir_separator_CXX=:
 
13820
 
 
13821
        # Commands to make compiler produce verbose output that lists
 
13822
        # what "hidden" libraries, object files and flags are used when
 
13823
        # linking a shared library.
 
13824
        #
 
13825
        # There doesn't appear to be a way to prevent this compiler from
 
13826
        # explicitly linking system object files so we need to strip them
 
13827
        # from the output so that they don't get included in the library
 
13828
        # dependencies.
 
13829
        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'
 
13830
        ;;
 
13831
      *)
 
13832
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
13833
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
13834
          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'
 
13835
 
 
13836
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13837
          hardcode_libdir_separator_CXX=:
 
13838
 
 
13839
          # Commands to make compiler produce verbose output that lists
 
13840
          # what "hidden" libraries, object files and flags are used when
 
13841
          # linking a shared library.
 
13842
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
13843
 
 
13844
        else
 
13845
          # FIXME: insert proper C++ library support
 
13846
          ld_shlibs_CXX=no
 
13847
        fi
 
13848
        ;;
 
13849
    esac
 
13850
    ;;
 
13851
  osf4* | osf5*)
 
13852
    case $cc_basename in
 
13853
      KCC*)
 
13854
        # Kuck and Associates, Inc. (KAI) C++ Compiler
 
13855
 
 
13856
        # KCC will only create a shared library if the output file
 
13857
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
13858
        # to its proper name (with version) after linking.
 
13859
        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'
 
13860
 
 
13861
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13862
        hardcode_libdir_separator_CXX=:
 
13863
 
 
13864
        # Archives containing C++ object files must be created using
 
13865
        # the KAI C++ compiler.
 
13866
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
 
13867
        ;;
 
13868
      RCC*)
 
13869
        # Rational C++ 2.4.1
 
13870
        # FIXME: insert proper C++ library support
 
13871
        ld_shlibs_CXX=no
 
13872
        ;;
 
13873
      cxx*)
 
13874
        allow_undefined_flag_CXX=' -expect_unresolved \*'
 
13875
        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'
 
13876
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
13877
          echo "-hidden">> $lib.exp~
 
13878
          $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~
 
13879
          $rm $lib.exp'
 
13880
 
 
13881
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
13882
        hardcode_libdir_separator_CXX=:
 
13883
 
 
13884
        # Commands to make compiler produce verbose output that lists
 
13885
        # what "hidden" libraries, object files and flags are used when
 
13886
        # linking a shared library.
 
13887
        #
 
13888
        # There doesn't appear to be a way to prevent this compiler from
 
13889
        # explicitly linking system object files so we need to strip them
 
13890
        # from the output so that they don't get included in the library
 
13891
        # dependencies.
 
13892
        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'
 
13893
        ;;
 
13894
      *)
 
13895
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
13896
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
13897
         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'
 
13898
 
 
13899
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13900
          hardcode_libdir_separator_CXX=:
 
13901
 
 
13902
          # Commands to make compiler produce verbose output that lists
 
13903
          # what "hidden" libraries, object files and flags are used when
 
13904
          # linking a shared library.
 
13905
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
13906
 
 
13907
        else
 
13908
          # FIXME: insert proper C++ library support
 
13909
          ld_shlibs_CXX=no
 
13910
        fi
 
13911
        ;;
 
13912
    esac
 
13913
    ;;
 
13914
  psos*)
 
13915
    # FIXME: insert proper C++ library support
 
13916
    ld_shlibs_CXX=no
 
13917
    ;;
 
13918
  sunos4*)
 
13919
    case $cc_basename in
 
13920
      CC*)
 
13921
        # Sun C++ 4.x
 
13922
        # FIXME: insert proper C++ library support
 
13923
        ld_shlibs_CXX=no
 
13924
        ;;
 
13925
      lcc*)
 
13926
        # Lucid
 
13927
        # FIXME: insert proper C++ library support
 
13928
        ld_shlibs_CXX=no
 
13929
        ;;
 
13930
      *)
 
13931
        # FIXME: insert proper C++ library support
 
13932
        ld_shlibs_CXX=no
 
13933
        ;;
 
13934
    esac
 
13935
    ;;
 
13936
  solaris*)
 
13937
    case $cc_basename in
 
13938
      CC*)
 
13939
        # Sun C++ 4.2, 5.x and Centerline C++
 
13940
        archive_cmds_need_lc_CXX=yes
 
13941
        no_undefined_flag_CXX=' -zdefs'
 
13942
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13943
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
13944
        $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'
 
13945
 
 
13946
        hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13947
        hardcode_shlibpath_var_CXX=no
 
13948
        case $host_os in
 
13949
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13950
          *)
 
13951
            # The compiler driver will combine and reorder linker options,
 
13952
            # but understands `-z linker_flag'.
 
13953
            # Supported since Solaris 2.6 (maybe 2.5.1?)
 
13954
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
13955
            ;;
 
13956
        esac
 
13957
        link_all_deplibs_CXX=yes
 
13958
 
 
13959
        output_verbose_link_cmd='echo'
 
13960
 
 
13961
        # Archives containing C++ object files must be created using
 
13962
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13963
        # necessary to make sure instantiated templates are included
 
13964
        # in the archive.
 
13965
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13966
        ;;
 
13967
      gcx*)
 
13968
        # Green Hills C++ Compiler
 
13969
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13970
 
 
13971
        # The C++ compiler must be used to create the archive.
 
13972
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
13973
        ;;
 
13974
      *)
 
13975
        # GNU C++ compiler with Solaris linker
 
13976
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
13977
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
13978
          if $CC --version | grep -v '^2\.7' > /dev/null; then
 
13979
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13980
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
13981
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
13982
 
 
13983
            # Commands to make compiler produce verbose output that lists
 
13984
            # what "hidden" libraries, object files and flags are used when
 
13985
            # linking a shared library.
 
13986
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 
13987
          else
 
13988
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
13989
            # platform.
 
13990
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13991
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
13992
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
13993
 
 
13994
            # Commands to make compiler produce verbose output that lists
 
13995
            # what "hidden" libraries, object files and flags are used when
 
13996
            # linking a shared library.
 
13997
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 
13998
          fi
 
13999
 
 
14000
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
14001
          case $host_os in
 
14002
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
14003
          *)
 
14004
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
14005
            ;;
 
14006
          esac
 
14007
        fi
 
14008
        ;;
 
14009
    esac
 
14010
    ;;
 
14011
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
14012
    no_undefined_flag_CXX='${wl}-z,text'
 
14013
    archive_cmds_need_lc_CXX=no
 
14014
    hardcode_shlibpath_var_CXX=no
 
14015
    runpath_var='LD_RUN_PATH'
 
14016
 
 
14017
    case $cc_basename in
 
14018
      CC*)
 
14019
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14020
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14021
        ;;
 
14022
      *)
 
14023
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14024
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14025
        ;;
 
14026
    esac
 
14027
    ;;
 
14028
  sysv5* | sco3.2v5* | sco5v6*)
 
14029
    # Note: We can NOT use -z defs as we might desire, because we do not
 
14030
    # link with -lc, and that would cause any symbols used from libc to
 
14031
    # always be unresolved, which means just about no library would
 
14032
    # ever link correctly.  If we're not using GNU ld we use -z text
 
14033
    # though, which does catch some bad symbols but isn't as heavy-handed
 
14034
    # as -z defs.
 
14035
    # For security reasons, it is highly recommended that you always
 
14036
    # use absolute paths for naming shared libraries, and exclude the
 
14037
    # DT_RUNPATH tag from executables and libraries.  But doing so
 
14038
    # requires that you compile everything twice, which is a pain.
 
14039
    # So that behaviour is only enabled if SCOABSPATH is set to a
 
14040
    # non-empty value in the environment.  Most likely only useful for
 
14041
    # creating official distributions of packages.
 
14042
    # This is a hack until libtool officially supports absolute path
 
14043
    # names for shared libraries.
 
14044
    no_undefined_flag_CXX='${wl}-z,text'
 
14045
    allow_undefined_flag_CXX='${wl}-z,nodefs'
 
14046
    archive_cmds_need_lc_CXX=no
 
14047
    hardcode_shlibpath_var_CXX=no
 
14048
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
14049
    hardcode_libdir_separator_CXX=':'
 
14050
    link_all_deplibs_CXX=yes
 
14051
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
14052
    runpath_var='LD_RUN_PATH'
 
14053
 
 
14054
    case $cc_basename in
 
14055
      CC*)
 
14056
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14057
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14058
        ;;
 
14059
      *)
 
14060
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14061
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14062
        ;;
 
14063
    esac
 
14064
    ;;
 
14065
  tandem*)
 
14066
    case $cc_basename in
 
14067
      NCC*)
 
14068
        # NonStop-UX NCC 3.20
 
14069
        # FIXME: insert proper C++ library support
 
14070
        ld_shlibs_CXX=no
 
14071
        ;;
 
14072
      *)
 
14073
        # FIXME: insert proper C++ library support
 
14074
        ld_shlibs_CXX=no
 
14075
        ;;
 
14076
    esac
 
14077
    ;;
 
14078
  vxworks*)
 
14079
    # FIXME: insert proper C++ library support
 
14080
    ld_shlibs_CXX=no
 
14081
    ;;
 
14082
  *)
 
14083
    # FIXME: insert proper C++ library support
 
14084
    ld_shlibs_CXX=no
 
14085
    ;;
 
14086
esac
 
14087
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14088
$as_echo "$ld_shlibs_CXX" >&6; }
 
14089
test "$ld_shlibs_CXX" = no && can_build_shared=no
 
14090
 
 
14091
GCC_CXX="$GXX"
 
14092
LD_CXX="$LD"
 
14093
 
 
14094
cat > conftest.$ac_ext <<EOF
 
14095
class Foo
 
14096
{
 
14097
public:
 
14098
  Foo (void) { a = 0; }
 
14099
private:
 
14100
  int a;
 
14101
};
 
14102
EOF
 
14103
 
 
14104
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14105
  (eval $ac_compile) 2>&5
 
14106
  ac_status=$?
 
14107
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14108
  (exit $ac_status); }; then
 
14109
  # Parse the compiler output and extract the necessary
 
14110
  # objects, libraries and library flags.
 
14111
 
 
14112
  # Sentinel used to keep track of whether or not we are before
 
14113
  # the conftest object file.
 
14114
  pre_test_object_deps_done=no
 
14115
 
 
14116
  # The `*' in the case matches for architectures that use `case' in
 
14117
  # $output_verbose_cmd can trigger glob expansion during the loop
 
14118
  # eval without this substitution.
 
14119
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
 
14120
 
 
14121
  for p in `eval $output_verbose_link_cmd`; do
 
14122
    case $p in
 
14123
 
 
14124
    -L* | -R* | -l*)
 
14125
       # Some compilers place space between "-{L,R}" and the path.
 
14126
       # Remove the space.
 
14127
       if test $p = "-L" \
 
14128
          || test $p = "-R"; then
 
14129
         prev=$p
 
14130
         continue
 
14131
       else
 
14132
         prev=
 
14133
       fi
 
14134
 
 
14135
       if test "$pre_test_object_deps_done" = no; then
 
14136
         case $p in
 
14137
         -L* | -R*)
 
14138
           # Internal compiler library paths should come after those
 
14139
           # provided the user.  The postdeps already come after the
 
14140
           # user supplied libs so there is no need to process them.
 
14141
           if test -z "$compiler_lib_search_path_CXX"; then
 
14142
             compiler_lib_search_path_CXX="${prev}${p}"
 
14143
           else
 
14144
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 
14145
           fi
 
14146
           ;;
 
14147
         # The "-l" case would never come before the object being
 
14148
         # linked, so don't bother handling this case.
 
14149
         esac
 
14150
       else
 
14151
         if test -z "$postdeps_CXX"; then
 
14152
           postdeps_CXX="${prev}${p}"
 
14153
         else
 
14154
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 
14155
         fi
 
14156
       fi
 
14157
       ;;
 
14158
 
 
14159
    *.$objext)
 
14160
       # This assumes that the test object file only shows up
 
14161
       # once in the compiler output.
 
14162
       if test "$p" = "conftest.$objext"; then
 
14163
         pre_test_object_deps_done=yes
 
14164
         continue
 
14165
       fi
 
14166
 
 
14167
       if test "$pre_test_object_deps_done" = no; then
 
14168
         if test -z "$predep_objects_CXX"; then
 
14169
           predep_objects_CXX="$p"
 
14170
         else
 
14171
           predep_objects_CXX="$predep_objects_CXX $p"
 
14172
         fi
 
14173
       else
 
14174
         if test -z "$postdep_objects_CXX"; then
 
14175
           postdep_objects_CXX="$p"
 
14176
         else
 
14177
           postdep_objects_CXX="$postdep_objects_CXX $p"
 
14178
         fi
 
14179
       fi
 
14180
       ;;
 
14181
 
 
14182
    *) ;; # Ignore the rest.
 
14183
 
 
14184
    esac
 
14185
  done
 
14186
 
 
14187
  # Clean up.
 
14188
  rm -f a.out a.exe
 
14189
else
 
14190
  echo "libtool.m4: error: problem compiling CXX test program"
 
14191
fi
 
14192
 
 
14193
$rm -f confest.$objext
 
14194
 
 
14195
compiler_lib_search_dirs_CXX=
 
14196
if test -n "$compiler_lib_search_path_CXX"; then
 
14197
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
14198
fi
 
14199
 
 
14200
# PORTME: override above test on systems where it is broken
 
14201
case $host_os in
 
14202
interix[3-9]*)
 
14203
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
14204
  # hack all around it, let's just trust "g++" to DTRT.
 
14205
  predep_objects_CXX=
 
14206
  postdep_objects_CXX=
 
14207
  postdeps_CXX=
 
14208
  ;;
 
14209
 
 
14210
linux*)
 
14211
  case `$CC -V 2>&1 | sed 5q` in
 
14212
  *Sun\ C*)
 
14213
    # Sun C++ 5.9
 
14214
    #
 
14215
    # The more standards-conforming stlport4 library is
 
14216
    # incompatible with the Cstd library. Avoid specifying
 
14217
    # it if it's in CXXFLAGS. Ignore libCrun as
 
14218
    # -library=stlport4 depends on it.
 
14219
    case " $CXX $CXXFLAGS " in
 
14220
    *" -library=stlport4 "*)
 
14221
      solaris_use_stlport4=yes
 
14222
      ;;
 
14223
    esac
 
14224
    if test "$solaris_use_stlport4" != yes; then
 
14225
      postdeps_CXX='-library=Cstd -library=Crun'
 
14226
    fi
 
14227
    ;;
 
14228
  esac
 
14229
  ;;
 
14230
 
 
14231
solaris*)
 
14232
  case $cc_basename in
 
14233
  CC*)
 
14234
    # The more standards-conforming stlport4 library is
 
14235
    # incompatible with the Cstd library. Avoid specifying
 
14236
    # it if it's in CXXFLAGS. Ignore libCrun as
 
14237
    # -library=stlport4 depends on it.
 
14238
    case " $CXX $CXXFLAGS " in
 
14239
    *" -library=stlport4 "*)
 
14240
      solaris_use_stlport4=yes
 
14241
      ;;
 
14242
    esac
 
14243
 
 
14244
    # Adding this requires a known-good setup of shared libraries for
 
14245
    # Sun compiler versions before 5.6, else PIC objects from an old
 
14246
    # archive will be linked into the output, leading to subtle bugs.
 
14247
    if test "$solaris_use_stlport4" != yes; then
 
14248
      postdeps_CXX='-library=Cstd -library=Crun'
 
14249
    fi
 
14250
    ;;
 
14251
  esac
 
14252
  ;;
 
14253
esac
 
14254
 
 
14255
case " $postdeps_CXX " in
 
14256
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
 
14257
esac
 
14258
 
 
14259
lt_prog_compiler_wl_CXX=
 
14260
lt_prog_compiler_pic_CXX=
 
14261
lt_prog_compiler_static_CXX=
 
14262
 
 
14263
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14264
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
14265
 
 
14266
  # C++ specific cases for pic, static, wl, etc.
 
14267
  if test "$GXX" = yes; then
 
14268
    lt_prog_compiler_wl_CXX='-Wl,'
 
14269
    lt_prog_compiler_static_CXX='-static'
 
14270
 
 
14271
    case $host_os in
 
14272
    aix*)
 
14273
      # All AIX code is PIC.
 
14274
      if test "$host_cpu" = ia64; then
 
14275
        # AIX 5 now supports IA64 processor
 
14276
        lt_prog_compiler_static_CXX='-Bstatic'
 
14277
      fi
 
14278
      ;;
 
14279
    amigaos*)
 
14280
      # FIXME: we need at least 68020 code to build shared libraries, but
 
14281
      # adding the `-m68020' flag to GCC prevents building anything better,
 
14282
      # like `-m68040'.
 
14283
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
14284
      ;;
 
14285
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14286
      # PIC is the default for these OSes.
 
14287
      ;;
 
14288
    mingw* | cygwin* | os2* | pw32*)
 
14289
      # This hack is so that the source file can tell whether it is being
 
14290
      # built for inclusion in a dll (and should export symbols for example).
 
14291
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14292
      # (--disable-auto-import) libraries
 
14293
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
14294
      ;;
 
14295
    darwin* | rhapsody*)
 
14296
      # PIC is the default on this platform
 
14297
      # Common symbols not allowed in MH_DYLIB files
 
14298
      lt_prog_compiler_pic_CXX='-fno-common'
 
14299
      ;;
 
14300
    *djgpp*)
 
14301
      # DJGPP does not support shared libraries at all
 
14302
      lt_prog_compiler_pic_CXX=
 
14303
      ;;
 
14304
    interix[3-9]*)
 
14305
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
14306
      # Instead, we relocate shared libraries at runtime.
 
14307
      ;;
 
14308
    sysv4*MP*)
 
14309
      if test -d /usr/nec; then
 
14310
        lt_prog_compiler_pic_CXX=-Kconform_pic
 
14311
      fi
 
14312
      ;;
 
14313
    hpux*)
 
14314
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
14315
      # not for PA HP-UX.
 
14316
      case $host_cpu in
 
14317
      hppa*64*|ia64*)
 
14318
        ;;
 
14319
      *)
 
14320
        lt_prog_compiler_pic_CXX='-fPIC'
 
14321
        ;;
 
14322
      esac
 
14323
      ;;
 
14324
    *)
 
14325
      lt_prog_compiler_pic_CXX='-fPIC'
 
14326
      ;;
 
14327
    esac
 
14328
  else
 
14329
    case $host_os in
 
14330
      aix[4-9]*)
 
14331
        # All AIX code is PIC.
 
14332
        if test "$host_cpu" = ia64; then
 
14333
          # AIX 5 now supports IA64 processor
 
14334
          lt_prog_compiler_static_CXX='-Bstatic'
 
14335
        else
 
14336
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 
14337
        fi
 
14338
        ;;
 
14339
      chorus*)
 
14340
        case $cc_basename in
 
14341
        cxch68*)
 
14342
          # Green Hills C++ Compiler
 
14343
          # _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"
 
14344
          ;;
 
14345
        esac
 
14346
        ;;
 
14347
       darwin*)
 
14348
         # PIC is the default on this platform
 
14349
         # Common symbols not allowed in MH_DYLIB files
 
14350
         case $cc_basename in
 
14351
           xlc*)
 
14352
           lt_prog_compiler_pic_CXX='-qnocommon'
 
14353
           lt_prog_compiler_wl_CXX='-Wl,'
 
14354
           ;;
 
14355
         esac
 
14356
       ;;
 
14357
      dgux*)
 
14358
        case $cc_basename in
 
14359
          ec++*)
 
14360
            lt_prog_compiler_pic_CXX='-KPIC'
 
14361
            ;;
 
14362
          ghcx*)
 
14363
            # Green Hills C++ Compiler
 
14364
            lt_prog_compiler_pic_CXX='-pic'
 
14365
            ;;
 
14366
          *)
 
14367
            ;;
 
14368
        esac
 
14369
        ;;
 
14370
      freebsd* | dragonfly*)
 
14371
        # FreeBSD uses GNU C++
 
14372
        ;;
 
14373
      hpux9* | hpux10* | hpux11*)
 
14374
        case $cc_basename in
 
14375
          CC*)
 
14376
            lt_prog_compiler_wl_CXX='-Wl,'
 
14377
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
14378
            if test "$host_cpu" != ia64; then
 
14379
              lt_prog_compiler_pic_CXX='+Z'
 
14380
            fi
 
14381
            ;;
 
14382
          aCC*)
 
14383
            lt_prog_compiler_wl_CXX='-Wl,'
 
14384
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
14385
            case $host_cpu in
 
14386
            hppa*64*|ia64*)
 
14387
              # +Z the default
 
14388
              ;;
 
14389
            *)
 
14390
              lt_prog_compiler_pic_CXX='+Z'
 
14391
              ;;
 
14392
            esac
 
14393
            ;;
 
14394
          *)
 
14395
            ;;
 
14396
        esac
 
14397
        ;;
 
14398
      interix*)
 
14399
        # This is c89, which is MS Visual C++ (no shared libs)
 
14400
        # Anyone wants to do a port?
 
14401
        ;;
 
14402
      irix5* | irix6* | nonstopux*)
 
14403
        case $cc_basename in
 
14404
          CC*)
 
14405
            lt_prog_compiler_wl_CXX='-Wl,'
 
14406
            lt_prog_compiler_static_CXX='-non_shared'
 
14407
            # CC pic flag -KPIC is the default.
 
14408
            ;;
 
14409
          *)
 
14410
            ;;
 
14411
        esac
 
14412
        ;;
 
14413
      linux* | k*bsd*-gnu)
 
14414
        case $cc_basename in
 
14415
          KCC*)
 
14416
            # KAI C++ Compiler
 
14417
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
14418
            lt_prog_compiler_pic_CXX='-fPIC'
 
14419
            ;;
 
14420
          icpc* | ecpc*)
 
14421
            # Intel C++
 
14422
            lt_prog_compiler_wl_CXX='-Wl,'
 
14423
            lt_prog_compiler_pic_CXX='-KPIC'
 
14424
            lt_prog_compiler_static_CXX='-static'
 
14425
            ;;
 
14426
          pgCC* | pgcpp*)
 
14427
            # Portland Group C++ compiler.
 
14428
            lt_prog_compiler_wl_CXX='-Wl,'
 
14429
            lt_prog_compiler_pic_CXX='-fpic'
 
14430
            lt_prog_compiler_static_CXX='-Bstatic'
 
14431
            ;;
 
14432
          cxx*)
 
14433
            # Compaq C++
 
14434
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
14435
            # Linux and Compaq Tru64 Unix objects are PIC.
 
14436
            lt_prog_compiler_pic_CXX=
 
14437
            lt_prog_compiler_static_CXX='-non_shared'
 
14438
            ;;
 
14439
          *)
 
14440
            case `$CC -V 2>&1 | sed 5q` in
 
14441
            *Sun\ C*)
 
14442
              # Sun C++ 5.9
 
14443
              lt_prog_compiler_pic_CXX='-KPIC'
 
14444
              lt_prog_compiler_static_CXX='-Bstatic'
 
14445
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
14446
              ;;
 
14447
            esac
 
14448
            ;;
 
14449
        esac
 
14450
        ;;
 
14451
      lynxos*)
 
14452
        ;;
 
14453
      m88k*)
 
14454
        ;;
 
14455
      mvs*)
 
14456
        case $cc_basename in
 
14457
          cxx*)
 
14458
            lt_prog_compiler_pic_CXX='-W c,exportall'
 
14459
            ;;
 
14460
          *)
 
14461
            ;;
 
14462
        esac
 
14463
        ;;
 
14464
      netbsd*)
 
14465
        ;;
 
14466
      osf3* | osf4* | osf5*)
 
14467
        case $cc_basename in
 
14468
          KCC*)
 
14469
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
14470
            ;;
 
14471
          RCC*)
 
14472
            # Rational C++ 2.4.1
 
14473
            lt_prog_compiler_pic_CXX='-pic'
 
14474
            ;;
 
14475
          cxx*)
 
14476
            # Digital/Compaq C++
 
14477
            lt_prog_compiler_wl_CXX='-Wl,'
 
14478
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
14479
            # Linux and Compaq Tru64 Unix objects are PIC.
 
14480
            lt_prog_compiler_pic_CXX=
 
14481
            lt_prog_compiler_static_CXX='-non_shared'
 
14482
            ;;
 
14483
          *)
 
14484
            ;;
 
14485
        esac
 
14486
        ;;
 
14487
      psos*)
 
14488
        ;;
 
14489
      solaris*)
 
14490
        case $cc_basename in
 
14491
          CC*)
 
14492
            # Sun C++ 4.2, 5.x and Centerline C++
 
14493
            lt_prog_compiler_pic_CXX='-KPIC'
 
14494
            lt_prog_compiler_static_CXX='-Bstatic'
 
14495
            lt_prog_compiler_wl_CXX='-Qoption ld '
 
14496
            ;;
 
14497
          gcx*)
 
14498
            # Green Hills C++ Compiler
 
14499
            lt_prog_compiler_pic_CXX='-PIC'
 
14500
            ;;
 
14501
          *)
 
14502
            ;;
 
14503
        esac
 
14504
        ;;
 
14505
      sunos4*)
 
14506
        case $cc_basename in
 
14507
          CC*)
 
14508
            # Sun C++ 4.x
 
14509
            lt_prog_compiler_pic_CXX='-pic'
 
14510
            lt_prog_compiler_static_CXX='-Bstatic'
 
14511
            ;;
 
14512
          lcc*)
 
14513
            # Lucid
 
14514
            lt_prog_compiler_pic_CXX='-pic'
 
14515
            ;;
 
14516
          *)
 
14517
            ;;
 
14518
        esac
 
14519
        ;;
 
14520
      tandem*)
 
14521
        case $cc_basename in
 
14522
          NCC*)
 
14523
            # NonStop-UX NCC 3.20
 
14524
            lt_prog_compiler_pic_CXX='-KPIC'
 
14525
            ;;
 
14526
          *)
 
14527
            ;;
 
14528
        esac
 
14529
        ;;
 
14530
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
14531
        case $cc_basename in
 
14532
          CC*)
 
14533
            lt_prog_compiler_wl_CXX='-Wl,'
 
14534
            lt_prog_compiler_pic_CXX='-KPIC'
 
14535
            lt_prog_compiler_static_CXX='-Bstatic'
 
14536
            ;;
 
14537
        esac
 
14538
        ;;
 
14539
      vxworks*)
 
14540
        ;;
 
14541
      *)
 
14542
        lt_prog_compiler_can_build_shared_CXX=no
 
14543
        ;;
 
14544
    esac
 
14545
  fi
 
14546
 
 
14547
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
14548
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 
14549
 
 
14550
#
 
14551
# Check to make sure the PIC flag actually works.
 
14552
#
 
14553
if test -n "$lt_prog_compiler_pic_CXX"; then
 
14554
 
 
14555
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
14556
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
14557
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
 
14558
  $as_echo_n "(cached) " >&6
 
14559
else
 
14560
  lt_cv_prog_compiler_pic_works_CXX=no
 
14561
  ac_outfile=conftest.$ac_objext
 
14562
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14563
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
 
14564
   # Insert the option either (1) after the last *FLAGS variable, or
 
14565
   # (2) before a word containing "conftest.", or (3) at the end.
 
14566
   # Note that $ac_compile itself does not contain backslashes and begins
 
14567
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14568
   # The option is referenced via a variable to avoid confusing sed.
 
14569
   lt_compile=`echo "$ac_compile" | $SED \
 
14570
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14571
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14572
   -e 's:$: $lt_compiler_flag:'`
 
14573
   (eval echo "\"\$as_me:14573: $lt_compile\"" >&5)
 
14574
   (eval "$lt_compile" 2>conftest.err)
 
14575
   ac_status=$?
 
14576
   cat conftest.err >&5
 
14577
   echo "$as_me:14577: \$? = $ac_status" >&5
 
14578
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
14579
     # The compiler can only warn and ignore the option if not recognized
 
14580
     # So say no if there are warnings other than the usual output.
 
14581
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
14582
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14583
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
14584
       lt_cv_prog_compiler_pic_works_CXX=yes
 
14585
     fi
 
14586
   fi
 
14587
   $rm conftest*
 
14588
 
 
14589
fi
 
14590
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
14591
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 
14592
 
 
14593
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
 
14594
    case $lt_prog_compiler_pic_CXX in
 
14595
     "" | " "*) ;;
 
14596
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 
14597
     esac
 
14598
else
 
14599
    lt_prog_compiler_pic_CXX=
 
14600
     lt_prog_compiler_can_build_shared_CXX=no
 
14601
fi
 
14602
 
 
14603
fi
 
14604
case $host_os in
 
14605
  # For platforms which do not support PIC, -DPIC is meaningless:
 
14606
  *djgpp*)
 
14607
    lt_prog_compiler_pic_CXX=
 
14608
    ;;
 
14609
  *)
 
14610
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 
14611
    ;;
 
14612
esac
 
14613
 
 
14614
#
 
14615
# Check to make sure the static flag actually works.
 
14616
#
 
14617
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
14618
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14619
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
14620
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
 
14621
  $as_echo_n "(cached) " >&6
 
14622
else
 
14623
  lt_cv_prog_compiler_static_works_CXX=no
 
14624
   save_LDFLAGS="$LDFLAGS"
 
14625
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
14626
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
14627
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
14628
     # The linker can only warn and ignore the option if not recognized
 
14629
     # So say no if there are warnings
 
14630
     if test -s conftest.err; then
 
14631
       # Append any errors to the config.log.
 
14632
       cat conftest.err 1>&5
 
14633
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
14634
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14635
       if diff conftest.exp conftest.er2 >/dev/null; then
 
14636
         lt_cv_prog_compiler_static_works_CXX=yes
 
14637
       fi
 
14638
     else
 
14639
       lt_cv_prog_compiler_static_works_CXX=yes
 
14640
     fi
 
14641
   fi
 
14642
   $rm -r conftest*
 
14643
   LDFLAGS="$save_LDFLAGS"
 
14644
 
 
14645
fi
 
14646
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
14647
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
14648
 
 
14649
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
 
14650
    :
 
14651
else
 
14652
    lt_prog_compiler_static_CXX=
 
14653
fi
 
14654
 
 
14655
 
 
14656
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14657
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
14658
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
14659
  $as_echo_n "(cached) " >&6
 
14660
else
 
14661
  lt_cv_prog_compiler_c_o_CXX=no
 
14662
   $rm -r conftest 2>/dev/null
 
14663
   mkdir conftest
 
14664
   cd conftest
 
14665
   mkdir out
 
14666
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14667
 
 
14668
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
14669
   # Insert the option either (1) after the last *FLAGS variable, or
 
14670
   # (2) before a word containing "conftest.", or (3) at the end.
 
14671
   # Note that $ac_compile itself does not contain backslashes and begins
 
14672
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14673
   lt_compile=`echo "$ac_compile" | $SED \
 
14674
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14675
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14676
   -e 's:$: $lt_compiler_flag:'`
 
14677
   (eval echo "\"\$as_me:14677: $lt_compile\"" >&5)
 
14678
   (eval "$lt_compile" 2>out/conftest.err)
 
14679
   ac_status=$?
 
14680
   cat out/conftest.err >&5
 
14681
   echo "$as_me:14681: \$? = $ac_status" >&5
 
14682
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14683
   then
 
14684
     # The compiler can only warn and ignore the option if not recognized
 
14685
     # So say no if there are warnings
 
14686
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14687
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14688
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14689
       lt_cv_prog_compiler_c_o_CXX=yes
 
14690
     fi
 
14691
   fi
 
14692
   chmod u+w . 2>&5
 
14693
   $rm conftest*
 
14694
   # SGI C++ compiler will create directory out/ii_files/ for
 
14695
   # template instantiation
 
14696
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
14697
   $rm out/* && rmdir out
 
14698
   cd ..
 
14699
   rmdir conftest
 
14700
   $rm conftest*
 
14701
 
 
14702
fi
 
14703
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14704
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14705
 
 
14706
 
 
14707
hard_links="nottested"
 
14708
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 
14709
  # do not overwrite the value of need_locks provided by the user
 
14710
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14711
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
14712
  hard_links=yes
 
14713
  $rm conftest*
 
14714
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
14715
  touch conftest.a
 
14716
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
14717
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
14718
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
14719
$as_echo "$hard_links" >&6; }
 
14720
  if test "$hard_links" = no; then
 
14721
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
14722
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
14723
    need_locks=warn
 
14724
  fi
 
14725
else
 
14726
  need_locks=no
 
14727
fi
 
14728
 
 
14729
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14730
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
14731
 
 
14732
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
14733
  case $host_os in
 
14734
  aix[4-9]*)
 
14735
    # If we're using GNU nm, then we don't want the "-C" option.
 
14736
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
14737
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
14738
      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'
 
14739
    else
 
14740
      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'
 
14741
    fi
 
14742
    ;;
 
14743
  pw32*)
 
14744
    export_symbols_cmds_CXX="$ltdll_cmds"
 
14745
  ;;
 
14746
  cygwin* | mingw*)
 
14747
    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'
 
14748
  ;;
 
14749
  *)
 
14750
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
14751
  ;;
 
14752
  esac
 
14753
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
14754
 
 
14755
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14756
$as_echo "$ld_shlibs_CXX" >&6; }
 
14757
test "$ld_shlibs_CXX" = no && can_build_shared=no
 
14758
 
 
14759
#
 
14760
# Do we need to explicitly link libc?
 
14761
#
 
14762
case "x$archive_cmds_need_lc_CXX" in
 
14763
x|xyes)
 
14764
  # Assume -lc should be added
 
14765
  archive_cmds_need_lc_CXX=yes
 
14766
 
 
14767
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
14768
    case $archive_cmds_CXX in
 
14769
    *'~'*)
 
14770
      # FIXME: we may have to deal with multi-command sequences.
 
14771
      ;;
 
14772
    '$CC '*)
 
14773
      # Test whether the compiler implicitly links with -lc since on some
 
14774
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
14775
      # to ld, don't add -lc before -lgcc.
 
14776
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
14777
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
14778
      $rm conftest*
 
14779
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14780
 
 
14781
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14782
  (eval $ac_compile) 2>&5
 
14783
  ac_status=$?
 
14784
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14785
  (exit $ac_status); } 2>conftest.err; then
 
14786
        soname=conftest
 
14787
        lib=conftest
 
14788
        libobjs=conftest.$ac_objext
 
14789
        deplibs=
 
14790
        wl=$lt_prog_compiler_wl_CXX
 
14791
        pic_flag=$lt_prog_compiler_pic_CXX
 
14792
        compiler_flags=-v
 
14793
        linker_flags=-v
 
14794
        verstring=
 
14795
        output_objdir=.
 
14796
        libname=conftest
 
14797
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
14798
        allow_undefined_flag_CXX=
 
14799
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
14800
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
14801
  ac_status=$?
 
14802
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14803
  (exit $ac_status); }
 
14804
        then
 
14805
          archive_cmds_need_lc_CXX=no
 
14806
        else
 
14807
          archive_cmds_need_lc_CXX=yes
 
14808
        fi
 
14809
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
14810
      else
 
14811
        cat conftest.err 1>&5
 
14812
      fi
 
14813
      $rm conftest*
 
14814
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
14815
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
 
14816
      ;;
 
14817
    esac
 
14818
  fi
 
14819
  ;;
 
14820
esac
 
14821
 
 
14822
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
14823
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
14824
library_names_spec=
 
14825
libname_spec='lib$name'
 
14826
soname_spec=
 
14827
shrext_cmds=".so"
 
14828
postinstall_cmds=
 
14829
postuninstall_cmds=
 
14830
finish_cmds=
 
14831
finish_eval=
 
14832
shlibpath_var=
 
14833
shlibpath_overrides_runpath=unknown
 
14834
version_type=none
 
14835
dynamic_linker="$host_os ld.so"
 
14836
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
14837
 
 
14838
need_lib_prefix=unknown
 
14839
hardcode_into_libs=no
 
14840
 
 
14841
# when you set need_version to no, make sure it does not cause -set_version
 
14842
# flags to be left without arguments
 
14843
need_version=unknown
 
14844
 
 
14845
case $host_os in
 
14846
aix3*)
 
14847
  version_type=linux
 
14848
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
14849
  shlibpath_var=LIBPATH
 
14850
 
 
14851
  # AIX 3 has no versioning support, so we append a major version to the name.
 
14852
  soname_spec='${libname}${release}${shared_ext}$major'
 
14853
  ;;
 
14854
 
 
14855
aix[4-9]*)
 
14856
  version_type=linux
 
14857
  need_lib_prefix=no
 
14858
  need_version=no
 
14859
  hardcode_into_libs=yes
 
14860
  if test "$host_cpu" = ia64; then
 
14861
    # AIX 5 supports IA64
 
14862
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
14863
    shlibpath_var=LD_LIBRARY_PATH
 
14864
  else
 
14865
    # With GCC up to 2.95.x, collect2 would create an import file
 
14866
    # for dependence libraries.  The import file would start with
 
14867
    # the line `#! .'.  This would cause the generated library to
 
14868
    # depend on `.', always an invalid library.  This was fixed in
 
14869
    # development snapshots of GCC prior to 3.0.
 
14870
    case $host_os in
 
14871
      aix4 | aix4.[01] | aix4.[01].*)
 
14872
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
14873
           echo ' yes '
 
14874
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
14875
        :
 
14876
      else
 
14877
        can_build_shared=no
 
14878
      fi
 
14879
      ;;
 
14880
    esac
 
14881
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
14882
    # soname into executable. Probably we can add versioning support to
 
14883
    # collect2, so additional links can be useful in future.
 
14884
    if test "$aix_use_runtimelinking" = yes; then
 
14885
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
14886
      # instead of lib<name>.a to let people know that these are not
 
14887
      # typical AIX shared libraries.
 
14888
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14889
    else
 
14890
      # We preserve .a as extension for shared libraries through AIX4.2
 
14891
      # and later when we are not doing run time linking.
 
14892
      library_names_spec='${libname}${release}.a $libname.a'
 
14893
      soname_spec='${libname}${release}${shared_ext}$major'
 
14894
    fi
 
14895
    shlibpath_var=LIBPATH
 
14896
  fi
 
14897
  ;;
 
14898
 
 
14899
amigaos*)
 
14900
  library_names_spec='$libname.ixlibrary $libname.a'
 
14901
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
14902
  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'
 
14903
  ;;
 
14904
 
 
14905
beos*)
 
14906
  library_names_spec='${libname}${shared_ext}'
 
14907
  dynamic_linker="$host_os ld.so"
 
14908
  shlibpath_var=LIBRARY_PATH
 
14909
  ;;
 
14910
 
 
14911
bsdi[45]*)
 
14912
  version_type=linux
 
14913
  need_version=no
 
14914
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14915
  soname_spec='${libname}${release}${shared_ext}$major'
 
14916
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
14917
  shlibpath_var=LD_LIBRARY_PATH
 
14918
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
14919
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
14920
  # the default ld.so.conf also contains /usr/contrib/lib and
 
14921
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
14922
  # libtool to hard-code these into programs
 
14923
  ;;
 
14924
 
 
14925
cygwin* | mingw* | pw32*)
 
14926
  version_type=windows
 
14927
  shrext_cmds=".dll"
 
14928
  need_version=no
 
14929
  need_lib_prefix=no
 
14930
 
 
14931
  case $GCC,$host_os in
 
14932
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
14933
    library_names_spec='$libname.dll.a'
 
14934
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
14935
    postinstall_cmds='base_file=`basename \${file}`~
 
14936
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
14937
      dldir=$destdir/`dirname \$dlpath`~
 
14938
      test -d \$dldir || mkdir -p \$dldir~
 
14939
      $install_prog $dir/$dlname \$dldir/$dlname~
 
14940
      chmod a+x \$dldir/$dlname'
 
14941
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
14942
      dlpath=$dir/\$dldll~
 
14943
       $rm \$dlpath'
 
14944
    shlibpath_overrides_runpath=yes
 
14945
 
 
14946
    case $host_os in
 
14947
    cygwin*)
 
14948
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
14949
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14950
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
14951
      ;;
 
14952
    mingw*)
 
14953
      # MinGW DLLs use traditional 'lib' prefix
 
14954
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14955
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
14956
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
14957
        # It is most probably a Windows format PATH printed by
 
14958
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
14959
        # path with ; separators, and with drive letters. We can handle the
 
14960
        # drive letters (cygwin fileutils understands them), so leave them,
 
14961
        # especially as we might pass files found there to a mingw objdump,
 
14962
        # which wouldn't understand a cygwinified path. Ahh.
 
14963
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
14964
      else
 
14965
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
14966
      fi
 
14967
      ;;
 
14968
    pw32*)
 
14969
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
14970
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14971
      ;;
 
14972
    esac
 
14973
    ;;
 
14974
 
 
14975
  *)
 
14976
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
14977
    ;;
 
14978
  esac
 
14979
  dynamic_linker='Win32 ld.exe'
 
14980
  # FIXME: first we should search . and the directory the executable is in
 
14981
  shlibpath_var=PATH
 
14982
  ;;
 
14983
 
 
14984
darwin* | rhapsody*)
 
14985
  dynamic_linker="$host_os dyld"
 
14986
  version_type=darwin
 
14987
  need_lib_prefix=no
 
14988
  need_version=no
 
14989
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
14990
  soname_spec='${libname}${release}${major}$shared_ext'
 
14991
  shlibpath_overrides_runpath=yes
 
14992
  shlibpath_var=DYLD_LIBRARY_PATH
 
14993
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
14994
 
 
14995
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
14996
  ;;
 
14997
 
 
14998
dgux*)
 
14999
  version_type=linux
 
15000
  need_lib_prefix=no
 
15001
  need_version=no
 
15002
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
15003
  soname_spec='${libname}${release}${shared_ext}$major'
 
15004
  shlibpath_var=LD_LIBRARY_PATH
 
15005
  ;;
 
15006
 
 
15007
freebsd1*)
 
15008
  dynamic_linker=no
 
15009
  ;;
 
15010
 
 
15011
freebsd* | dragonfly*)
 
15012
  # DragonFly does not have aout.  When/if they implement a new
 
15013
  # versioning mechanism, adjust this.
 
15014
  if test -x /usr/bin/objformat; then
 
15015
    objformat=`/usr/bin/objformat`
 
15016
  else
 
15017
    case $host_os in
 
15018
    freebsd[123]*) objformat=aout ;;
 
15019
    *) objformat=elf ;;
 
15020
    esac
 
15021
  fi
 
15022
  version_type=freebsd-$objformat
 
15023
  case $version_type in
 
15024
    freebsd-elf*)
 
15025
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
15026
      need_version=no
 
15027
      need_lib_prefix=no
 
15028
      ;;
 
15029
    freebsd-*)
 
15030
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
15031
      need_version=yes
 
15032
      ;;
 
15033
  esac
 
15034
  shlibpath_var=LD_LIBRARY_PATH
 
15035
  case $host_os in
 
15036
  freebsd2*)
 
15037
    shlibpath_overrides_runpath=yes
 
15038
    ;;
 
15039
  freebsd3.[01]* | freebsdelf3.[01]*)
 
15040
    shlibpath_overrides_runpath=yes
 
15041
    hardcode_into_libs=yes
 
15042
    ;;
 
15043
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
15044
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
15045
    shlibpath_overrides_runpath=no
 
15046
    hardcode_into_libs=yes
 
15047
    ;;
 
15048
  *) # from 4.6 on, and DragonFly
 
15049
    shlibpath_overrides_runpath=yes
 
15050
    hardcode_into_libs=yes
 
15051
    ;;
 
15052
  esac
 
15053
  ;;
 
15054
 
 
15055
gnu*)
 
15056
  version_type=linux
 
15057
  need_lib_prefix=no
 
15058
  need_version=no
 
15059
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
15060
  soname_spec='${libname}${release}${shared_ext}$major'
 
15061
  shlibpath_var=LD_LIBRARY_PATH
 
15062
  hardcode_into_libs=yes
 
15063
  ;;
 
15064
 
 
15065
hpux9* | hpux10* | hpux11*)
 
15066
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
15067
  # link against other versions.
 
15068
  version_type=sunos
 
15069
  need_lib_prefix=no
 
15070
  need_version=no
 
15071
  case $host_cpu in
 
15072
  ia64*)
 
15073
    shrext_cmds='.so'
 
15074
    hardcode_into_libs=yes
 
15075
    dynamic_linker="$host_os dld.so"
 
15076
    shlibpath_var=LD_LIBRARY_PATH
 
15077
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
15078
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15079
    soname_spec='${libname}${release}${shared_ext}$major'
 
15080
    if test "X$HPUX_IA64_MODE" = X32; then
 
15081
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
15082
    else
 
15083
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
15084
    fi
 
15085
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
15086
    ;;
 
15087
   hppa*64*)
 
15088
     shrext_cmds='.sl'
 
15089
     hardcode_into_libs=yes
 
15090
     dynamic_linker="$host_os dld.sl"
 
15091
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
15092
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
15093
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15094
     soname_spec='${libname}${release}${shared_ext}$major'
 
15095
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
15096
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
15097
     ;;
 
15098
   *)
 
15099
    shrext_cmds='.sl'
 
15100
    dynamic_linker="$host_os dld.sl"
 
15101
    shlibpath_var=SHLIB_PATH
 
15102
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
15103
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15104
    soname_spec='${libname}${release}${shared_ext}$major'
 
15105
    ;;
 
15106
  esac
 
15107
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
15108
  postinstall_cmds='chmod 555 $lib'
 
15109
  ;;
 
15110
 
 
15111
interix[3-9]*)
 
15112
  version_type=linux
 
15113
  need_lib_prefix=no
 
15114
  need_version=no
 
15115
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
15116
  soname_spec='${libname}${release}${shared_ext}$major'
 
15117
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
15118
  shlibpath_var=LD_LIBRARY_PATH
 
15119
  shlibpath_overrides_runpath=no
 
15120
  hardcode_into_libs=yes
 
15121
  ;;
 
15122
 
 
15123
irix5* | irix6* | nonstopux*)
 
15124
  case $host_os in
 
15125
    nonstopux*) version_type=nonstopux ;;
 
15126
    *)
 
15127
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
15128
                version_type=linux
 
15129
        else
 
15130
                version_type=irix
 
15131
        fi ;;
 
15132
  esac
 
15133
  need_lib_prefix=no
 
15134
  need_version=no
 
15135
  soname_spec='${libname}${release}${shared_ext}$major'
 
15136
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
15137
  case $host_os in
 
15138
  irix5* | nonstopux*)
 
15139
    libsuff= shlibsuff=
 
15140
    ;;
 
15141
  *)
 
15142
    case $LD in # libtool.m4 will add one of these switches to LD
 
15143
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
15144
      libsuff= shlibsuff= libmagic=32-bit;;
 
15145
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
15146
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
15147
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
15148
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
15149
    *) libsuff= shlibsuff= libmagic=never-match;;
 
15150
    esac
 
15151
    ;;
 
15152
  esac
 
15153
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
15154
  shlibpath_overrides_runpath=no
 
15155
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
15156
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
15157
  hardcode_into_libs=yes
 
15158
  ;;
 
15159
 
 
15160
# No shared lib support for Linux oldld, aout, or coff.
 
15161
linux*oldld* | linux*aout* | linux*coff*)
 
15162
  dynamic_linker=no
 
15163
  ;;
 
15164
 
 
15165
# This must be Linux ELF.
 
15166
linux* | k*bsd*-gnu)
 
15167
  version_type=linux
 
15168
  need_lib_prefix=no
 
15169
  need_version=no
 
15170
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15171
  soname_spec='${libname}${release}${shared_ext}$major'
 
15172
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
15173
  shlibpath_var=LD_LIBRARY_PATH
 
15174
  shlibpath_overrides_runpath=no
 
15175
  # This implies no fast_install, which is unacceptable.
 
15176
  # Some rework will be needed to allow for fast_install
 
15177
  # before this can be enabled.
 
15178
  hardcode_into_libs=yes
 
15179
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
15180
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
15181
 
 
15182
  # Append ld.so.conf contents to the search path
 
15183
  if test -f /etc/ld.so.conf; then
 
15184
    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' ' '`
 
15185
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
15186
  fi
 
15187
 
 
15188
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
15189
  # powerpc, because MkLinux only supported shared libraries with the
 
15190
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
15191
  # most powerpc-linux boxes support dynamic linking these days and
 
15192
  # people can always --disable-shared, the test was removed, and we
 
15193
  # assume the GNU/Linux dynamic linker is in use.
 
15194
  dynamic_linker='GNU/Linux ld.so'
 
15195
  ;;
 
15196
 
 
15197
netbsd*)
 
15198
  version_type=sunos
 
15199
  need_lib_prefix=no
 
15200
  need_version=no
 
15201
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
15202
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
15203
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
15204
    dynamic_linker='NetBSD (a.out) ld.so'
 
15205
  else
 
15206
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
15207
    soname_spec='${libname}${release}${shared_ext}$major'
 
15208
    dynamic_linker='NetBSD ld.elf_so'
 
15209
  fi
 
15210
  shlibpath_var=LD_LIBRARY_PATH
 
15211
  shlibpath_overrides_runpath=yes
 
15212
  hardcode_into_libs=yes
 
15213
  ;;
 
15214
 
 
15215
newsos6)
 
15216
  version_type=linux
 
15217
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15218
  shlibpath_var=LD_LIBRARY_PATH
 
15219
  shlibpath_overrides_runpath=yes
 
15220
  ;;
 
15221
 
 
15222
nto-qnx*)
 
15223
  version_type=linux
 
15224
  need_lib_prefix=no
 
15225
  need_version=no
 
15226
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15227
  soname_spec='${libname}${release}${shared_ext}$major'
 
15228
  shlibpath_var=LD_LIBRARY_PATH
 
15229
  shlibpath_overrides_runpath=yes
 
15230
  ;;
 
15231
 
 
15232
openbsd*)
 
15233
  version_type=sunos
 
15234
  sys_lib_dlsearch_path_spec="/usr/lib"
 
15235
  need_lib_prefix=no
 
15236
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
15237
  case $host_os in
 
15238
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
15239
    *)                         need_version=no  ;;
 
15240
  esac
 
15241
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
15242
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
15243
  shlibpath_var=LD_LIBRARY_PATH
 
15244
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15245
    case $host_os in
 
15246
      openbsd2.[89] | openbsd2.[89].*)
 
15247
        shlibpath_overrides_runpath=no
 
15248
        ;;
 
15249
      *)
 
15250
        shlibpath_overrides_runpath=yes
 
15251
        ;;
 
15252
      esac
 
15253
  else
 
15254
    shlibpath_overrides_runpath=yes
 
15255
  fi
 
15256
  ;;
 
15257
 
 
15258
os2*)
 
15259
  libname_spec='$name'
 
15260
  shrext_cmds=".dll"
 
15261
  need_lib_prefix=no
 
15262
  library_names_spec='$libname${shared_ext} $libname.a'
 
15263
  dynamic_linker='OS/2 ld.exe'
 
15264
  shlibpath_var=LIBPATH
 
15265
  ;;
 
15266
 
 
15267
osf3* | osf4* | osf5*)
 
15268
  version_type=osf
 
15269
  need_lib_prefix=no
 
15270
  need_version=no
 
15271
  soname_spec='${libname}${release}${shared_ext}$major'
 
15272
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15273
  shlibpath_var=LD_LIBRARY_PATH
 
15274
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
15275
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
15276
  ;;
 
15277
 
 
15278
rdos*)
 
15279
  dynamic_linker=no
 
15280
  ;;
 
15281
 
 
15282
solaris*)
 
15283
  version_type=linux
 
15284
  need_lib_prefix=no
 
15285
  need_version=no
 
15286
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15287
  soname_spec='${libname}${release}${shared_ext}$major'
 
15288
  shlibpath_var=LD_LIBRARY_PATH
 
15289
  shlibpath_overrides_runpath=yes
 
15290
  hardcode_into_libs=yes
 
15291
  # ldd complains unless libraries are executable
 
15292
  postinstall_cmds='chmod +x $lib'
 
15293
  ;;
 
15294
 
 
15295
sunos4*)
 
15296
  version_type=sunos
 
15297
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
15298
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
15299
  shlibpath_var=LD_LIBRARY_PATH
 
15300
  shlibpath_overrides_runpath=yes
 
15301
  if test "$with_gnu_ld" = yes; then
 
15302
    need_lib_prefix=no
 
15303
  fi
 
15304
  need_version=yes
 
15305
  ;;
 
15306
 
 
15307
sysv4 | sysv4.3*)
 
15308
  version_type=linux
 
15309
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15310
  soname_spec='${libname}${release}${shared_ext}$major'
 
15311
  shlibpath_var=LD_LIBRARY_PATH
 
15312
  case $host_vendor in
 
15313
    sni)
 
15314
      shlibpath_overrides_runpath=no
 
15315
      need_lib_prefix=no
 
15316
      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
15317
      runpath_var=LD_RUN_PATH
 
15318
      ;;
 
15319
    siemens)
 
15320
      need_lib_prefix=no
 
15321
      ;;
 
15322
    motorola)
 
15323
      need_lib_prefix=no
 
15324
      need_version=no
 
15325
      shlibpath_overrides_runpath=no
 
15326
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
15327
      ;;
 
15328
  esac
 
15329
  ;;
 
15330
 
 
15331
sysv4*MP*)
 
15332
  if test -d /usr/nec ;then
 
15333
    version_type=linux
 
15334
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
15335
    soname_spec='$libname${shared_ext}.$major'
 
15336
    shlibpath_var=LD_LIBRARY_PATH
 
15337
  fi
 
15338
  ;;
 
15339
 
 
15340
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
15341
  version_type=freebsd-elf
 
15342
  need_lib_prefix=no
 
15343
  need_version=no
 
15344
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
15345
  soname_spec='${libname}${release}${shared_ext}$major'
 
15346
  shlibpath_var=LD_LIBRARY_PATH
 
15347
  hardcode_into_libs=yes
 
15348
  if test "$with_gnu_ld" = yes; then
 
15349
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
15350
    shlibpath_overrides_runpath=no
 
15351
  else
 
15352
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
15353
    shlibpath_overrides_runpath=yes
 
15354
    case $host_os in
 
15355
      sco3.2v5*)
 
15356
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
15357
        ;;
 
15358
    esac
 
15359
  fi
 
15360
  sys_lib_dlsearch_path_spec='/usr/lib'
 
15361
  ;;
 
15362
 
 
15363
uts4*)
 
15364
  version_type=linux
 
15365
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15366
  soname_spec='${libname}${release}${shared_ext}$major'
 
15367
  shlibpath_var=LD_LIBRARY_PATH
 
15368
  ;;
 
15369
 
 
15370
*)
 
15371
  dynamic_linker=no
 
15372
  ;;
 
15373
esac
 
15374
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
15375
$as_echo "$dynamic_linker" >&6; }
 
15376
test "$dynamic_linker" = no && can_build_shared=no
 
15377
 
 
15378
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
15379
  $as_echo_n "(cached) " >&6
 
15380
else
 
15381
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
15382
fi
 
15383
 
 
15384
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
15385
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
15386
  $as_echo_n "(cached) " >&6
 
15387
else
 
15388
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
15389
fi
 
15390
 
 
15391
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
15392
 
 
15393
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
15394
if test "$GCC" = yes; then
 
15395
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
15396
fi
 
15397
 
 
15398
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
15399
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
15400
hardcode_action_CXX=
 
15401
if test -n "$hardcode_libdir_flag_spec_CXX" || \
 
15402
   test -n "$runpath_var_CXX" || \
 
15403
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
 
15404
 
 
15405
  # We can hardcode non-existant directories.
 
15406
  if test "$hardcode_direct_CXX" != no &&
 
15407
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
15408
     # have to relink, otherwise we might link with an installed library
 
15409
     # when we should be linking with a yet-to-be-installed one
 
15410
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
15411
     test "$hardcode_minus_L_CXX" != no; then
 
15412
    # Linking always hardcodes the temporary library directory.
 
15413
    hardcode_action_CXX=relink
 
15414
  else
 
15415
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
15416
    hardcode_action_CXX=immediate
 
15417
  fi
 
15418
else
 
15419
  # We cannot hardcode anything, or else we can only hardcode existing
 
15420
  # directories.
 
15421
  hardcode_action_CXX=unsupported
 
15422
fi
 
15423
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
15424
$as_echo "$hardcode_action_CXX" >&6; }
 
15425
 
 
15426
if test "$hardcode_action_CXX" = relink; then
 
15427
  # Fast installation is not supported
 
15428
  enable_fast_install=no
 
15429
elif test "$shlibpath_overrides_runpath" = yes ||
 
15430
     test "$enable_shared" = no; then
 
15431
  # Fast installation is not necessary
 
15432
  enable_fast_install=needless
 
15433
fi
 
15434
 
 
15435
 
 
15436
# The else clause should only fire when bootstrapping the
 
15437
# libtool distribution, otherwise you forgot to ship ltmain.sh
 
15438
# with your package, and you will get complaints that there are
 
15439
# no rules to generate ltmain.sh.
 
15440
if test -f "$ltmain"; then
 
15441
  # See if we are running on zsh, and set the options which allow our commands through
 
15442
  # without removal of \ escapes.
 
15443
  if test -n "${ZSH_VERSION+set}" ; then
 
15444
    setopt NO_GLOB_SUBST
 
15445
  fi
 
15446
  # Now quote all the things that may contain metacharacters while being
 
15447
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
15448
  # variables and quote the copies for generation of the libtool script.
 
15449
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 
15450
    SED SHELL STRIP \
 
15451
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
15452
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
15453
    deplibs_check_method reload_flag reload_cmds need_locks \
 
15454
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
15455
    lt_cv_sys_global_symbol_to_c_name_address \
 
15456
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
15457
    old_postinstall_cmds old_postuninstall_cmds \
 
15458
    compiler_CXX \
 
15459
    CC_CXX \
 
15460
    LD_CXX \
 
15461
    lt_prog_compiler_wl_CXX \
 
15462
    lt_prog_compiler_pic_CXX \
 
15463
    lt_prog_compiler_static_CXX \
 
15464
    lt_prog_compiler_no_builtin_flag_CXX \
 
15465
    export_dynamic_flag_spec_CXX \
 
15466
    thread_safe_flag_spec_CXX \
 
15467
    whole_archive_flag_spec_CXX \
 
15468
    enable_shared_with_static_runtimes_CXX \
 
15469
    old_archive_cmds_CXX \
 
15470
    old_archive_from_new_cmds_CXX \
 
15471
    predep_objects_CXX \
 
15472
    postdep_objects_CXX \
 
15473
    predeps_CXX \
 
15474
    postdeps_CXX \
 
15475
    compiler_lib_search_path_CXX \
 
15476
    compiler_lib_search_dirs_CXX \
 
15477
    archive_cmds_CXX \
 
15478
    archive_expsym_cmds_CXX \
 
15479
    postinstall_cmds_CXX \
 
15480
    postuninstall_cmds_CXX \
 
15481
    old_archive_from_expsyms_cmds_CXX \
 
15482
    allow_undefined_flag_CXX \
 
15483
    no_undefined_flag_CXX \
 
15484
    export_symbols_cmds_CXX \
 
15485
    hardcode_libdir_flag_spec_CXX \
 
15486
    hardcode_libdir_flag_spec_ld_CXX \
 
15487
    hardcode_libdir_separator_CXX \
 
15488
    hardcode_automatic_CXX \
 
15489
    module_cmds_CXX \
 
15490
    module_expsym_cmds_CXX \
 
15491
    lt_cv_prog_compiler_c_o_CXX \
 
15492
    fix_srcfile_path_CXX \
 
15493
    exclude_expsyms_CXX \
 
15494
    include_expsyms_CXX; do
 
15495
 
 
15496
    case $var in
 
15497
    old_archive_cmds_CXX | \
 
15498
    old_archive_from_new_cmds_CXX | \
 
15499
    archive_cmds_CXX | \
 
15500
    archive_expsym_cmds_CXX | \
 
15501
    module_cmds_CXX | \
 
15502
    module_expsym_cmds_CXX | \
 
15503
    old_archive_from_expsyms_cmds_CXX | \
 
15504
    export_symbols_cmds_CXX | \
 
15505
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
15506
    postinstall_cmds | postuninstall_cmds | \
 
15507
    old_postinstall_cmds | old_postuninstall_cmds | \
 
15508
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
15509
      # Double-quote double-evaled strings.
 
15510
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
15511
      ;;
 
15512
    *)
 
15513
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
15514
      ;;
 
15515
    esac
 
15516
  done
 
15517
 
 
15518
  case $lt_echo in
 
15519
  *'\$0 --fallback-echo"')
 
15520
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
15521
    ;;
 
15522
  esac
 
15523
 
 
15524
cfgfile="$ofile"
 
15525
 
 
15526
  cat <<__EOF__ >> "$cfgfile"
 
15527
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 
15528
 
 
15529
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
15530
 
 
15531
# Shell to use when invoking shell scripts.
 
15532
SHELL=$lt_SHELL
 
15533
 
 
15534
# Whether or not to build shared libraries.
 
15535
build_libtool_libs=$enable_shared
 
15536
 
 
15537
# Whether or not to build static libraries.
 
15538
build_old_libs=$enable_static
 
15539
 
 
15540
# Whether or not to add -lc for building shared libraries.
 
15541
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
15542
 
 
15543
# Whether or not to disallow shared libs when runtime libs are static
 
15544
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
15545
 
 
15546
# Whether or not to optimize for fast installation.
 
15547
fast_install=$enable_fast_install
 
15548
 
 
15549
# The host system.
 
15550
host_alias=$host_alias
 
15551
host=$host
 
15552
host_os=$host_os
 
15553
 
 
15554
# The build system.
 
15555
build_alias=$build_alias
 
15556
build=$build
 
15557
build_os=$build_os
 
15558
 
 
15559
# An echo program that does not interpret backslashes.
 
15560
echo=$lt_echo
 
15561
 
 
15562
# The archiver.
 
15563
AR=$lt_AR
 
15564
AR_FLAGS=$lt_AR_FLAGS
 
15565
 
 
15566
# A C compiler.
 
15567
LTCC=$lt_LTCC
 
15568
 
 
15569
# LTCC compiler flags.
 
15570
LTCFLAGS=$lt_LTCFLAGS
 
15571
 
 
15572
# A language-specific compiler.
 
15573
CC=$lt_compiler_CXX
 
15574
 
 
15575
# Is the compiler the GNU C compiler?
 
15576
with_gcc=$GCC_CXX
 
15577
 
 
15578
# An ERE matcher.
 
15579
EGREP=$lt_EGREP
 
15580
 
 
15581
# The linker used to build libraries.
 
15582
LD=$lt_LD_CXX
 
15583
 
 
15584
# Whether we need hard or soft links.
 
15585
LN_S=$lt_LN_S
 
15586
 
 
15587
# A BSD-compatible nm program.
 
15588
NM=$lt_NM
 
15589
 
 
15590
# A symbol stripping program
 
15591
STRIP=$lt_STRIP
 
15592
 
 
15593
# Used to examine libraries when file_magic_cmd begins "file"
 
15594
MAGIC_CMD=$MAGIC_CMD
 
15595
 
 
15596
# Used on cygwin: DLL creation program.
 
15597
DLLTOOL="$DLLTOOL"
 
15598
 
 
15599
# Used on cygwin: object dumper.
 
15600
OBJDUMP="$OBJDUMP"
 
15601
 
 
15602
# Used on cygwin: assembler.
 
15603
AS="$AS"
 
15604
 
 
15605
# The name of the directory that contains temporary libtool files.
 
15606
objdir=$objdir
 
15607
 
 
15608
# How to create reloadable object files.
 
15609
reload_flag=$lt_reload_flag
 
15610
reload_cmds=$lt_reload_cmds
 
15611
 
 
15612
# How to pass a linker flag through the compiler.
 
15613
wl=$lt_lt_prog_compiler_wl_CXX
 
15614
 
 
15615
# Object file suffix (normally "o").
 
15616
objext="$ac_objext"
 
15617
 
 
15618
# Old archive suffix (normally "a").
 
15619
libext="$libext"
 
15620
 
 
15621
# Shared library suffix (normally ".so").
 
15622
shrext_cmds='$shrext_cmds'
 
15623
 
 
15624
# Executable file suffix (normally "").
 
15625
exeext="$exeext"
 
15626
 
 
15627
# Additional compiler flags for building library objects.
 
15628
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
15629
pic_mode=$pic_mode
 
15630
 
 
15631
# What is the maximum length of a command?
 
15632
max_cmd_len=$lt_cv_sys_max_cmd_len
 
15633
 
 
15634
# Does compiler simultaneously support -c and -o options?
 
15635
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
15636
 
 
15637
# Must we lock files when doing compilation?
 
15638
need_locks=$lt_need_locks
 
15639
 
 
15640
# Do we need the lib prefix for modules?
 
15641
need_lib_prefix=$need_lib_prefix
 
15642
 
 
15643
# Do we need a version for libraries?
 
15644
need_version=$need_version
 
15645
 
 
15646
# Whether dlopen is supported.
 
15647
dlopen_support=$enable_dlopen
 
15648
 
 
15649
# Whether dlopen of programs is supported.
 
15650
dlopen_self=$enable_dlopen_self
 
15651
 
 
15652
# Whether dlopen of statically linked programs is supported.
 
15653
dlopen_self_static=$enable_dlopen_self_static
 
15654
 
 
15655
# Compiler flag to prevent dynamic linking.
 
15656
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
15657
 
 
15658
# Compiler flag to turn off builtin functions.
 
15659
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
15660
 
 
15661
# Compiler flag to allow reflexive dlopens.
 
15662
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
15663
 
 
15664
# Compiler flag to generate shared objects directly from archives.
 
15665
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
15666
 
 
15667
# Compiler flag to generate thread-safe objects.
 
15668
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
 
15669
 
 
15670
# Library versioning type.
 
15671
version_type=$version_type
 
15672
 
 
15673
# Format of library name prefix.
 
15674
libname_spec=$lt_libname_spec
 
15675
 
 
15676
# List of archive names.  First name is the real one, the rest are links.
 
15677
# The last name is the one that the linker finds with -lNAME.
 
15678
library_names_spec=$lt_library_names_spec
 
15679
 
 
15680
# The coded name of the library, if different from the real name.
 
15681
soname_spec=$lt_soname_spec
 
15682
 
 
15683
# Commands used to build and install an old-style archive.
 
15684
RANLIB=$lt_RANLIB
 
15685
old_archive_cmds=$lt_old_archive_cmds_CXX
 
15686
old_postinstall_cmds=$lt_old_postinstall_cmds
 
15687
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
15688
 
 
15689
# Create an old-style archive from a shared archive.
 
15690
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
15691
 
 
15692
# Create a temporary old-style archive to link instead of a shared archive.
 
15693
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
15694
 
 
15695
# Commands used to build and install a shared archive.
 
15696
archive_cmds=$lt_archive_cmds_CXX
 
15697
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
15698
postinstall_cmds=$lt_postinstall_cmds
 
15699
postuninstall_cmds=$lt_postuninstall_cmds
 
15700
 
 
15701
# Commands used to build a loadable module (assumed same as above if empty)
 
15702
module_cmds=$lt_module_cmds_CXX
 
15703
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
15704
 
 
15705
# Commands to strip libraries.
 
15706
old_striplib=$lt_old_striplib
 
15707
striplib=$lt_striplib
 
15708
 
 
15709
# Dependencies to place before the objects being linked to create a
 
15710
# shared library.
 
15711
predep_objects=$lt_predep_objects_CXX
 
15712
 
 
15713
# Dependencies to place after the objects being linked to create a
 
15714
# shared library.
 
15715
postdep_objects=$lt_postdep_objects_CXX
 
15716
 
 
15717
# Dependencies to place before the objects being linked to create a
 
15718
# shared library.
 
15719
predeps=$lt_predeps_CXX
 
15720
 
 
15721
# Dependencies to place after the objects being linked to create a
 
15722
# shared library.
 
15723
postdeps=$lt_postdeps_CXX
 
15724
 
 
15725
# The directories searched by this compiler when creating a shared
 
15726
# library
 
15727
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
15728
 
 
15729
# The library search path used internally by the compiler when linking
 
15730
# a shared library.
 
15731
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
15732
 
 
15733
# Method to check whether dependent libraries are shared objects.
 
15734
deplibs_check_method=$lt_deplibs_check_method
 
15735
 
 
15736
# Command to use when deplibs_check_method == file_magic.
 
15737
file_magic_cmd=$lt_file_magic_cmd
 
15738
 
 
15739
# Flag that allows shared libraries with undefined symbols to be built.
 
15740
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
15741
 
 
15742
# Flag that forces no undefined symbols.
 
15743
no_undefined_flag=$lt_no_undefined_flag_CXX
 
15744
 
 
15745
# Commands used to finish a libtool library installation in a directory.
 
15746
finish_cmds=$lt_finish_cmds
 
15747
 
 
15748
# Same as above, but a single script fragment to be evaled but not shown.
 
15749
finish_eval=$lt_finish_eval
 
15750
 
 
15751
# Take the output of nm and produce a listing of raw symbols and C names.
 
15752
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
15753
 
 
15754
# Transform the output of nm in a proper C declaration
 
15755
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
15756
 
 
15757
# Transform the output of nm in a C name address pair
 
15758
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
15759
 
 
15760
# This is the shared library runtime path variable.
 
15761
runpath_var=$runpath_var
 
15762
 
 
15763
# This is the shared library path variable.
 
15764
shlibpath_var=$shlibpath_var
 
15765
 
 
15766
# Is shlibpath searched before the hard-coded library search path?
 
15767
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
15768
 
 
15769
# How to hardcode a shared library path into an executable.
 
15770
hardcode_action=$hardcode_action_CXX
 
15771
 
 
15772
# Whether we should hardcode library paths into libraries.
 
15773
hardcode_into_libs=$hardcode_into_libs
 
15774
 
 
15775
# Flag to hardcode \$libdir into a binary during linking.
 
15776
# This must work even if \$libdir does not exist.
 
15777
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
15778
 
 
15779
# If ld is used when linking, flag to hardcode \$libdir into
 
15780
# a binary during linking. This must work even if \$libdir does
 
15781
# not exist.
 
15782
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
15783
 
 
15784
# Whether we need a single -rpath flag with a separated argument.
 
15785
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
15786
 
 
15787
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
15788
# resulting binary.
 
15789
hardcode_direct=$hardcode_direct_CXX
 
15790
 
 
15791
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
15792
# resulting binary.
 
15793
hardcode_minus_L=$hardcode_minus_L_CXX
 
15794
 
 
15795
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
15796
# the resulting binary.
 
15797
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
15798
 
 
15799
# Set to yes if building a shared library automatically hardcodes DIR into the library
 
15800
# and all subsequent libraries and executables linked against it.
 
15801
hardcode_automatic=$hardcode_automatic_CXX
 
15802
 
 
15803
# Variables whose values should be saved in libtool wrapper scripts and
 
15804
# restored at relink time.
 
15805
variables_saved_for_relink="$variables_saved_for_relink"
 
15806
 
 
15807
# Whether libtool must link a program against all its dependency libraries.
 
15808
link_all_deplibs=$link_all_deplibs_CXX
 
15809
 
 
15810
# Compile-time system search path for libraries
 
15811
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
15812
 
 
15813
# Run-time system search path for libraries
 
15814
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
15815
 
 
15816
# Fix the shell variable \$srcfile for the compiler.
 
15817
fix_srcfile_path=$lt_fix_srcfile_path
 
15818
 
 
15819
# Set to yes if exported symbols are required.
 
15820
always_export_symbols=$always_export_symbols_CXX
 
15821
 
 
15822
# The commands to list exported symbols.
 
15823
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
15824
 
 
15825
# The commands to extract the exported symbol list from a shared archive.
 
15826
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
15827
 
 
15828
# Symbols that should not be listed in the preloaded symbols.
 
15829
exclude_expsyms=$lt_exclude_expsyms_CXX
 
15830
 
 
15831
# Symbols that must always be exported.
 
15832
include_expsyms=$lt_include_expsyms_CXX
 
15833
 
 
15834
# ### END LIBTOOL TAG CONFIG: $tagname
 
15835
 
 
15836
__EOF__
 
15837
 
 
15838
 
 
15839
else
 
15840
  # If there is no Makefile yet, we rely on a make rule to execute
 
15841
  # `config.status --recheck' to rerun these tests and create the
 
15842
  # libtool script then.
 
15843
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
15844
  if test -f "$ltmain_in"; then
 
15845
    test -f Makefile && make "$ltmain"
 
15846
  fi
 
15847
fi
 
15848
 
 
15849
 
 
15850
ac_ext=c
 
15851
ac_cpp='$CPP $CPPFLAGS'
 
15852
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15853
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15854
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15855
 
 
15856
CC=$lt_save_CC
 
15857
LDCXX=$LD
 
15858
LD=$lt_save_LD
 
15859
GCC=$lt_save_GCC
 
15860
with_gnu_ldcxx=$with_gnu_ld
 
15861
with_gnu_ld=$lt_save_with_gnu_ld
 
15862
lt_cv_path_LDCXX=$lt_cv_path_LD
 
15863
lt_cv_path_LD=$lt_save_path_LD
 
15864
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
15865
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
15866
 
 
15867
        else
 
15868
          tagname=""
 
15869
        fi
 
15870
        ;;
 
15871
 
 
15872
      F77)
 
15873
        if test -n "$F77" && test "X$F77" != "Xno"; then
 
15874
 
 
15875
ac_ext=f
 
15876
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 
15877
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15878
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 
15879
 
 
15880
 
 
15881
archive_cmds_need_lc_F77=no
 
15882
allow_undefined_flag_F77=
 
15883
always_export_symbols_F77=no
 
15884
archive_expsym_cmds_F77=
 
15885
export_dynamic_flag_spec_F77=
 
15886
hardcode_direct_F77=no
 
15887
hardcode_libdir_flag_spec_F77=
 
15888
hardcode_libdir_flag_spec_ld_F77=
 
15889
hardcode_libdir_separator_F77=
 
15890
hardcode_minus_L_F77=no
 
15891
hardcode_automatic_F77=no
 
15892
module_cmds_F77=
 
15893
module_expsym_cmds_F77=
 
15894
link_all_deplibs_F77=unknown
 
15895
old_archive_cmds_F77=$old_archive_cmds
 
15896
no_undefined_flag_F77=
 
15897
whole_archive_flag_spec_F77=
 
15898
enable_shared_with_static_runtimes_F77=no
 
15899
 
 
15900
# Source file extension for f77 test sources.
 
15901
ac_ext=f
 
15902
 
 
15903
# Object file extension for compiled f77 test sources.
 
15904
objext=o
 
15905
objext_F77=$objext
 
15906
 
 
15907
# Code to be used in simple compile tests
 
15908
lt_simple_compile_test_code="\
 
15909
      subroutine t
 
15910
      return
 
15911
      end
 
15912
"
 
15913
 
 
15914
# Code to be used in simple link tests
 
15915
lt_simple_link_test_code="\
 
15916
      program t
 
15917
      end
 
15918
"
 
15919
 
 
15920
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
15921
 
 
15922
# If no C compiler was specified, use CC.
 
15923
LTCC=${LTCC-"$CC"}
 
15924
 
 
15925
# If no C compiler flags were specified, use CFLAGS.
 
15926
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
15927
 
 
15928
# Allow CC to be a program name with arguments.
 
15929
compiler=$CC
 
15930
 
 
15931
 
 
15932
# save warnings/boilerplate of simple test code
 
15933
ac_outfile=conftest.$ac_objext
 
15934
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
15935
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
15936
_lt_compiler_boilerplate=`cat conftest.err`
 
15937
$rm conftest*
 
15938
 
 
15939
ac_outfile=conftest.$ac_objext
 
15940
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
15941
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
15942
_lt_linker_boilerplate=`cat conftest.err`
 
15943
$rm -r conftest*
 
15944
 
 
15945
 
 
15946
# Allow CC to be a program name with arguments.
 
15947
lt_save_CC="$CC"
 
15948
CC=${F77-"f77"}
 
15949
compiler=$CC
 
15950
compiler_F77=$CC
 
15951
for cc_temp in $compiler""; do
 
15952
  case $cc_temp in
 
15953
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
15954
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
15955
    \-*) ;;
 
15956
    *) break;;
 
15957
  esac
 
15958
done
 
15959
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
15960
 
 
15961
 
 
15962
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
15963
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
15964
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
15965
$as_echo "$can_build_shared" >&6; }
 
15966
 
 
15967
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
15968
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
15969
test "$can_build_shared" = "no" && enable_shared=no
 
15970
 
 
15971
# On AIX, shared libraries and static libraries use the same namespace, and
 
15972
# are all built from PIC.
 
15973
case $host_os in
 
15974
aix3*)
 
15975
  test "$enable_shared" = yes && enable_static=no
 
15976
  if test -n "$RANLIB"; then
 
15977
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
15978
    postinstall_cmds='$RANLIB $lib'
 
15979
  fi
 
15980
  ;;
 
15981
aix[4-9]*)
 
15982
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
15983
    test "$enable_shared" = yes && enable_static=no
 
15984
  fi
 
15985
  ;;
 
15986
esac
 
15987
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
15988
$as_echo "$enable_shared" >&6; }
 
15989
 
 
15990
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
15991
$as_echo_n "checking whether to build static libraries... " >&6; }
 
15992
# Make sure either enable_shared or enable_static is yes.
 
15993
test "$enable_shared" = yes || enable_static=yes
 
15994
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
15995
$as_echo "$enable_static" >&6; }
 
15996
 
 
15997
GCC_F77="$G77"
 
15998
LD_F77="$LD"
 
15999
 
 
16000
lt_prog_compiler_wl_F77=
 
16001
lt_prog_compiler_pic_F77=
 
16002
lt_prog_compiler_static_F77=
 
16003
 
 
16004
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16005
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
16006
 
 
16007
  if test "$GCC" = yes; then
 
16008
    lt_prog_compiler_wl_F77='-Wl,'
 
16009
    lt_prog_compiler_static_F77='-static'
 
16010
 
 
16011
    case $host_os in
 
16012
      aix*)
 
16013
      # All AIX code is PIC.
 
16014
      if test "$host_cpu" = ia64; then
 
16015
        # AIX 5 now supports IA64 processor
 
16016
        lt_prog_compiler_static_F77='-Bstatic'
 
16017
      fi
 
16018
      ;;
 
16019
 
 
16020
    amigaos*)
 
16021
      # FIXME: we need at least 68020 code to build shared libraries, but
 
16022
      # adding the `-m68020' flag to GCC prevents building anything better,
 
16023
      # like `-m68040'.
 
16024
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
 
16025
      ;;
 
16026
 
 
16027
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
16028
      # PIC is the default for these OSes.
 
16029
      ;;
 
16030
 
 
16031
    mingw* | cygwin* | pw32* | os2*)
 
16032
      # This hack is so that the source file can tell whether it is being
 
16033
      # built for inclusion in a dll (and should export symbols for example).
 
16034
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
16035
      # (--disable-auto-import) libraries
 
16036
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
 
16037
      ;;
 
16038
 
 
16039
    darwin* | rhapsody*)
 
16040
      # PIC is the default on this platform
 
16041
      # Common symbols not allowed in MH_DYLIB files
 
16042
      lt_prog_compiler_pic_F77='-fno-common'
 
16043
      ;;
 
16044
 
 
16045
    interix[3-9]*)
 
16046
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
16047
      # Instead, we relocate shared libraries at runtime.
 
16048
      ;;
 
16049
 
 
16050
    msdosdjgpp*)
 
16051
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
16052
      # on systems that don't support them.
 
16053
      lt_prog_compiler_can_build_shared_F77=no
 
16054
      enable_shared=no
 
16055
      ;;
 
16056
 
 
16057
    sysv4*MP*)
 
16058
      if test -d /usr/nec; then
 
16059
        lt_prog_compiler_pic_F77=-Kconform_pic
 
16060
      fi
 
16061
      ;;
 
16062
 
 
16063
    hpux*)
 
16064
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
16065
      # not for PA HP-UX.
 
16066
      case $host_cpu in
 
16067
      hppa*64*|ia64*)
 
16068
        # +Z the default
 
16069
        ;;
 
16070
      *)
 
16071
        lt_prog_compiler_pic_F77='-fPIC'
 
16072
        ;;
 
16073
      esac
 
16074
      ;;
 
16075
 
 
16076
    *)
 
16077
      lt_prog_compiler_pic_F77='-fPIC'
 
16078
      ;;
 
16079
    esac
 
16080
  else
 
16081
    # PORTME Check for flag to pass linker flags through the system compiler.
 
16082
    case $host_os in
 
16083
    aix*)
 
16084
      lt_prog_compiler_wl_F77='-Wl,'
 
16085
      if test "$host_cpu" = ia64; then
 
16086
        # AIX 5 now supports IA64 processor
 
16087
        lt_prog_compiler_static_F77='-Bstatic'
 
16088
      else
 
16089
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
 
16090
      fi
 
16091
      ;;
 
16092
      darwin*)
 
16093
        # PIC is the default on this platform
 
16094
        # Common symbols not allowed in MH_DYLIB files
 
16095
       case $cc_basename in
 
16096
         xlc*)
 
16097
         lt_prog_compiler_pic_F77='-qnocommon'
 
16098
         lt_prog_compiler_wl_F77='-Wl,'
 
16099
         ;;
 
16100
       esac
 
16101
       ;;
 
16102
 
 
16103
    mingw* | cygwin* | pw32* | os2*)
 
16104
      # This hack is so that the source file can tell whether it is being
 
16105
      # built for inclusion in a dll (and should export symbols for example).
 
16106
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
 
16107
      ;;
 
16108
 
 
16109
    hpux9* | hpux10* | hpux11*)
 
16110
      lt_prog_compiler_wl_F77='-Wl,'
 
16111
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
16112
      # not for PA HP-UX.
 
16113
      case $host_cpu in
 
16114
      hppa*64*|ia64*)
 
16115
        # +Z the default
 
16116
        ;;
 
16117
      *)
 
16118
        lt_prog_compiler_pic_F77='+Z'
 
16119
        ;;
 
16120
      esac
 
16121
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
16122
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
 
16123
      ;;
 
16124
 
 
16125
    irix5* | irix6* | nonstopux*)
 
16126
      lt_prog_compiler_wl_F77='-Wl,'
 
16127
      # PIC (with -KPIC) is the default.
 
16128
      lt_prog_compiler_static_F77='-non_shared'
 
16129
      ;;
 
16130
 
 
16131
    newsos6)
 
16132
      lt_prog_compiler_pic_F77='-KPIC'
 
16133
      lt_prog_compiler_static_F77='-Bstatic'
 
16134
      ;;
 
16135
 
 
16136
    linux* | k*bsd*-gnu)
 
16137
      case $cc_basename in
 
16138
      icc* | ecc*)
 
16139
        lt_prog_compiler_wl_F77='-Wl,'
 
16140
        lt_prog_compiler_pic_F77='-KPIC'
 
16141
        lt_prog_compiler_static_F77='-static'
 
16142
        ;;
 
16143
      pgcc* | pgf77* | pgf90* | pgf95*)
 
16144
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
16145
        # which looks to be a dead project)
 
16146
        lt_prog_compiler_wl_F77='-Wl,'
 
16147
        lt_prog_compiler_pic_F77='-fpic'
 
16148
        lt_prog_compiler_static_F77='-Bstatic'
 
16149
        ;;
 
16150
      ccc*)
 
16151
        lt_prog_compiler_wl_F77='-Wl,'
 
16152
        # All Alpha code is PIC.
 
16153
        lt_prog_compiler_static_F77='-non_shared'
 
16154
        ;;
 
16155
      *)
 
16156
        case `$CC -V 2>&1 | sed 5q` in
 
16157
        *Sun\ C*)
 
16158
          # Sun C 5.9
 
16159
          lt_prog_compiler_pic_F77='-KPIC'
 
16160
          lt_prog_compiler_static_F77='-Bstatic'
 
16161
          lt_prog_compiler_wl_F77='-Wl,'
 
16162
          ;;
 
16163
        *Sun\ F*)
 
16164
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
16165
          lt_prog_compiler_pic_F77='-KPIC'
 
16166
          lt_prog_compiler_static_F77='-Bstatic'
 
16167
          lt_prog_compiler_wl_F77=''
 
16168
          ;;
 
16169
        esac
 
16170
        ;;
 
16171
      esac
 
16172
      ;;
 
16173
 
 
16174
    osf3* | osf4* | osf5*)
 
16175
      lt_prog_compiler_wl_F77='-Wl,'
 
16176
      # All OSF/1 code is PIC.
 
16177
      lt_prog_compiler_static_F77='-non_shared'
 
16178
      ;;
 
16179
 
 
16180
    rdos*)
 
16181
      lt_prog_compiler_static_F77='-non_shared'
 
16182
      ;;
 
16183
 
 
16184
    solaris*)
 
16185
      lt_prog_compiler_pic_F77='-KPIC'
 
16186
      lt_prog_compiler_static_F77='-Bstatic'
 
16187
      case $cc_basename in
 
16188
      f77* | f90* | f95*)
 
16189
        lt_prog_compiler_wl_F77='-Qoption ld ';;
 
16190
      *)
 
16191
        lt_prog_compiler_wl_F77='-Wl,';;
 
16192
      esac
 
16193
      ;;
 
16194
 
 
16195
    sunos4*)
 
16196
      lt_prog_compiler_wl_F77='-Qoption ld '
 
16197
      lt_prog_compiler_pic_F77='-PIC'
 
16198
      lt_prog_compiler_static_F77='-Bstatic'
 
16199
      ;;
 
16200
 
 
16201
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
16202
      lt_prog_compiler_wl_F77='-Wl,'
 
16203
      lt_prog_compiler_pic_F77='-KPIC'
 
16204
      lt_prog_compiler_static_F77='-Bstatic'
 
16205
      ;;
 
16206
 
 
16207
    sysv4*MP*)
 
16208
      if test -d /usr/nec ;then
 
16209
        lt_prog_compiler_pic_F77='-Kconform_pic'
 
16210
        lt_prog_compiler_static_F77='-Bstatic'
 
16211
      fi
 
16212
      ;;
 
16213
 
 
16214
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
16215
      lt_prog_compiler_wl_F77='-Wl,'
 
16216
      lt_prog_compiler_pic_F77='-KPIC'
 
16217
      lt_prog_compiler_static_F77='-Bstatic'
 
16218
      ;;
 
16219
 
 
16220
    unicos*)
 
16221
      lt_prog_compiler_wl_F77='-Wl,'
 
16222
      lt_prog_compiler_can_build_shared_F77=no
 
16223
      ;;
 
16224
 
 
16225
    uts4*)
 
16226
      lt_prog_compiler_pic_F77='-pic'
 
16227
      lt_prog_compiler_static_F77='-Bstatic'
 
16228
      ;;
 
16229
 
 
16230
    *)
 
16231
      lt_prog_compiler_can_build_shared_F77=no
 
16232
      ;;
 
16233
    esac
 
16234
  fi
 
16235
 
 
16236
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
16237
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
 
16238
 
 
16239
#
 
16240
# Check to make sure the PIC flag actually works.
 
16241
#
 
16242
if test -n "$lt_prog_compiler_pic_F77"; then
 
16243
 
 
16244
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
16245
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
 
16246
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
 
16247
  $as_echo_n "(cached) " >&6
 
16248
else
 
16249
  lt_cv_prog_compiler_pic_works_F77=no
 
16250
  ac_outfile=conftest.$ac_objext
 
16251
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16252
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
 
16253
   # Insert the option either (1) after the last *FLAGS variable, or
 
16254
   # (2) before a word containing "conftest.", or (3) at the end.
 
16255
   # Note that $ac_compile itself does not contain backslashes and begins
 
16256
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
16257
   # The option is referenced via a variable to avoid confusing sed.
 
16258
   lt_compile=`echo "$ac_compile" | $SED \
 
16259
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
16260
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
16261
   -e 's:$: $lt_compiler_flag:'`
 
16262
   (eval echo "\"\$as_me:16262: $lt_compile\"" >&5)
 
16263
   (eval "$lt_compile" 2>conftest.err)
 
16264
   ac_status=$?
 
16265
   cat conftest.err >&5
 
16266
   echo "$as_me:16266: \$? = $ac_status" >&5
 
16267
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
16268
     # The compiler can only warn and ignore the option if not recognized
 
16269
     # So say no if there are warnings other than the usual output.
 
16270
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16271
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16272
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
16273
       lt_cv_prog_compiler_pic_works_F77=yes
 
16274
     fi
 
16275
   fi
 
16276
   $rm conftest*
 
16277
 
 
16278
fi
 
16279
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
16280
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
 
16281
 
 
16282
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
 
16283
    case $lt_prog_compiler_pic_F77 in
 
16284
     "" | " "*) ;;
 
16285
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
 
16286
     esac
 
16287
else
 
16288
    lt_prog_compiler_pic_F77=
 
16289
     lt_prog_compiler_can_build_shared_F77=no
 
16290
fi
 
16291
 
 
16292
fi
 
16293
case $host_os in
 
16294
  # For platforms which do not support PIC, -DPIC is meaningless:
 
16295
  *djgpp*)
 
16296
    lt_prog_compiler_pic_F77=
 
16297
    ;;
 
16298
  *)
 
16299
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
 
16300
    ;;
 
16301
esac
 
16302
 
 
16303
#
 
16304
# Check to make sure the static flag actually works.
 
16305
#
 
16306
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 
16307
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16308
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
16309
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
 
16310
  $as_echo_n "(cached) " >&6
 
16311
else
 
16312
  lt_cv_prog_compiler_static_works_F77=no
 
16313
   save_LDFLAGS="$LDFLAGS"
 
16314
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
16315
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
16316
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
16317
     # The linker can only warn and ignore the option if not recognized
 
16318
     # So say no if there are warnings
 
16319
     if test -s conftest.err; then
 
16320
       # Append any errors to the config.log.
 
16321
       cat conftest.err 1>&5
 
16322
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
16323
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16324
       if diff conftest.exp conftest.er2 >/dev/null; then
 
16325
         lt_cv_prog_compiler_static_works_F77=yes
 
16326
       fi
 
16327
     else
 
16328
       lt_cv_prog_compiler_static_works_F77=yes
 
16329
     fi
 
16330
   fi
 
16331
   $rm -r conftest*
 
16332
   LDFLAGS="$save_LDFLAGS"
 
16333
 
 
16334
fi
 
16335
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
16336
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
 
16337
 
 
16338
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
 
16339
    :
 
16340
else
 
16341
    lt_prog_compiler_static_F77=
 
16342
fi
 
16343
 
 
16344
 
 
16345
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16346
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
16347
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
 
16348
  $as_echo_n "(cached) " >&6
 
16349
else
 
16350
  lt_cv_prog_compiler_c_o_F77=no
 
16351
   $rm -r conftest 2>/dev/null
 
16352
   mkdir conftest
 
16353
   cd conftest
 
16354
   mkdir out
 
16355
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16356
 
 
16357
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
16358
   # Insert the option either (1) after the last *FLAGS variable, or
 
16359
   # (2) before a word containing "conftest.", or (3) at the end.
 
16360
   # Note that $ac_compile itself does not contain backslashes and begins
 
16361
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
16362
   lt_compile=`echo "$ac_compile" | $SED \
 
16363
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
16364
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
16365
   -e 's:$: $lt_compiler_flag:'`
 
16366
   (eval echo "\"\$as_me:16366: $lt_compile\"" >&5)
 
16367
   (eval "$lt_compile" 2>out/conftest.err)
 
16368
   ac_status=$?
 
16369
   cat out/conftest.err >&5
 
16370
   echo "$as_me:16370: \$? = $ac_status" >&5
 
16371
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
16372
   then
 
16373
     # The compiler can only warn and ignore the option if not recognized
 
16374
     # So say no if there are warnings
 
16375
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
16376
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
16377
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
16378
       lt_cv_prog_compiler_c_o_F77=yes
 
16379
     fi
 
16380
   fi
 
16381
   chmod u+w . 2>&5
 
16382
   $rm conftest*
 
16383
   # SGI C++ compiler will create directory out/ii_files/ for
 
16384
   # template instantiation
 
16385
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
16386
   $rm out/* && rmdir out
 
16387
   cd ..
 
16388
   rmdir conftest
 
16389
   $rm conftest*
 
16390
 
 
16391
fi
 
16392
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
16393
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
 
16394
 
 
16395
 
 
16396
hard_links="nottested"
 
16397
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
 
16398
  # do not overwrite the value of need_locks provided by the user
 
16399
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
16400
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
16401
  hard_links=yes
 
16402
  $rm conftest*
 
16403
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
16404
  touch conftest.a
 
16405
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
16406
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
16407
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
16408
$as_echo "$hard_links" >&6; }
 
16409
  if test "$hard_links" = no; then
 
16410
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
16411
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
16412
    need_locks=warn
 
16413
  fi
 
16414
else
 
16415
  need_locks=no
 
16416
fi
 
16417
 
 
16418
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16419
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
16420
 
 
16421
  runpath_var=
 
16422
  allow_undefined_flag_F77=
 
16423
  enable_shared_with_static_runtimes_F77=no
 
16424
  archive_cmds_F77=
 
16425
  archive_expsym_cmds_F77=
 
16426
  old_archive_From_new_cmds_F77=
 
16427
  old_archive_from_expsyms_cmds_F77=
 
16428
  export_dynamic_flag_spec_F77=
 
16429
  whole_archive_flag_spec_F77=
 
16430
  thread_safe_flag_spec_F77=
 
16431
  hardcode_libdir_flag_spec_F77=
 
16432
  hardcode_libdir_flag_spec_ld_F77=
 
16433
  hardcode_libdir_separator_F77=
 
16434
  hardcode_direct_F77=no
 
16435
  hardcode_minus_L_F77=no
 
16436
  hardcode_shlibpath_var_F77=unsupported
 
16437
  link_all_deplibs_F77=unknown
 
16438
  hardcode_automatic_F77=no
 
16439
  module_cmds_F77=
 
16440
  module_expsym_cmds_F77=
 
16441
  always_export_symbols_F77=no
 
16442
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
16443
  # include_expsyms should be a list of space-separated symbols to be *always*
 
16444
  # included in the symbol list
 
16445
  include_expsyms_F77=
 
16446
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
16447
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
16448
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
16449
  # as well as any symbol that contains `d'.
 
16450
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
16451
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
16452
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
16453
  # the symbol is explicitly referenced.  Since portable code cannot
 
16454
  # rely on this symbol name, it's probably fine to never include it in
 
16455
  # preloaded symbol tables.
 
16456
  # Exclude shared library initialization/finalization symbols.
 
16457
  extract_expsyms_cmds=
 
16458
  # Just being paranoid about ensuring that cc_basename is set.
 
16459
  for cc_temp in $compiler""; do
 
16460
  case $cc_temp in
 
16461
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
16462
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
16463
    \-*) ;;
 
16464
    *) break;;
 
16465
  esac
 
16466
done
 
16467
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
16468
 
 
16469
  case $host_os in
 
16470
  cygwin* | mingw* | pw32*)
 
16471
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
16472
    # When not using gcc, we currently assume that we are using
 
16473
    # Microsoft Visual C++.
 
16474
    if test "$GCC" != yes; then
 
16475
      with_gnu_ld=no
 
16476
    fi
 
16477
    ;;
 
16478
  interix*)
 
16479
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
16480
    with_gnu_ld=yes
 
16481
    ;;
 
16482
  openbsd*)
 
16483
    with_gnu_ld=no
 
16484
    ;;
 
16485
  esac
 
16486
 
 
16487
  ld_shlibs_F77=yes
 
16488
  if test "$with_gnu_ld" = yes; then
 
16489
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
16490
    wlarc='${wl}'
 
16491
 
 
16492
    # Set some defaults for GNU ld with shared library support. These
 
16493
    # are reset later if shared libraries are not supported. Putting them
 
16494
    # here allows them to be overridden if necessary.
 
16495
    runpath_var=LD_RUN_PATH
 
16496
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 
16497
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 
16498
    # ancient GNU ld didn't support --whole-archive et. al.
 
16499
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
16500
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
16501
      else
 
16502
        whole_archive_flag_spec_F77=
 
16503
    fi
 
16504
    supports_anon_versioning=no
 
16505
    case `$LD -v 2>/dev/null` in
 
16506
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
16507
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
16508
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
16509
      *\ 2.11.*) ;; # other 2.11 versions
 
16510
      *) supports_anon_versioning=yes ;;
 
16511
    esac
 
16512
 
 
16513
    # See if GNU ld supports shared libraries.
 
16514
    case $host_os in
 
16515
    aix[3-9]*)
 
16516
      # On AIX/PPC, the GNU linker is very broken
 
16517
      if test "$host_cpu" != ia64; then
 
16518
        ld_shlibs_F77=no
 
16519
        cat <<EOF 1>&2
 
16520
 
 
16521
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
16522
*** to be unable to reliably create shared libraries on AIX.
 
16523
*** Therefore, libtool is disabling shared libraries support.  If you
 
16524
*** really care for shared libraries, you may want to modify your PATH
 
16525
*** so that a non-GNU linker is found, and then restart.
 
16526
 
 
16527
EOF
 
16528
      fi
 
16529
      ;;
 
16530
 
 
16531
    amigaos*)
 
16532
      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)'
 
16533
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
16534
      hardcode_minus_L_F77=yes
 
16535
 
 
16536
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 
16537
      # that the semantics of dynamic libraries on AmigaOS, at least up
 
16538
      # to version 4, is to share data among multiple programs linked
 
16539
      # with the same dynamic library.  Since this doesn't match the
 
16540
      # behavior of shared libraries on other platforms, we can't use
 
16541
      # them.
 
16542
      ld_shlibs_F77=no
 
16543
      ;;
 
16544
 
 
16545
    beos*)
 
16546
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
16547
        allow_undefined_flag_F77=unsupported
 
16548
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
16549
        # support --undefined.  This deserves some investigation.  FIXME
 
16550
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16551
      else
 
16552
        ld_shlibs_F77=no
 
16553
      fi
 
16554
      ;;
 
16555
 
 
16556
    cygwin* | mingw* | pw32*)
 
16557
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
 
16558
      # as there is no search path for DLLs.
 
16559
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
16560
      allow_undefined_flag_F77=unsupported
 
16561
      always_export_symbols_F77=no
 
16562
      enable_shared_with_static_runtimes_F77=yes
 
16563
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
16564
 
 
16565
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
16566
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
16567
        # If the export-symbols file already is a .def file (1st line
 
16568
        # is EXPORTS), use it as is; otherwise, prepend...
 
16569
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
16570
          cp $export_symbols $output_objdir/$soname.def;
 
16571
        else
 
16572
          echo EXPORTS > $output_objdir/$soname.def;
 
16573
          cat $export_symbols >> $output_objdir/$soname.def;
 
16574
        fi~
 
16575
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
16576
      else
 
16577
        ld_shlibs_F77=no
 
16578
      fi
 
16579
      ;;
 
16580
 
 
16581
    interix[3-9]*)
 
16582
      hardcode_direct_F77=no
 
16583
      hardcode_shlibpath_var_F77=no
 
16584
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
16585
      export_dynamic_flag_spec_F77='${wl}-E'
 
16586
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
16587
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
16588
      # default) and relocated if they conflict, which is a slow very memory
 
16589
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
16590
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
16591
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
16592
      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'
 
16593
      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'
 
16594
      ;;
 
16595
 
 
16596
    gnu* | linux* | k*bsd*-gnu)
 
16597
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
16598
        tmp_addflag=
 
16599
        case $cc_basename,$host_cpu in
 
16600
        pgcc*)                          # Portland Group C compiler
 
16601
          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'
 
16602
          tmp_addflag=' $pic_flag'
 
16603
          ;;
 
16604
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
16605
          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'
 
16606
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
16607
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
16608
          tmp_addflag=' -i_dynamic' ;;
 
16609
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
16610
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
16611
        ifc* | ifort*)                  # Intel Fortran compiler
 
16612
          tmp_addflag=' -nofor_main' ;;
 
16613
        esac
 
16614
        case `$CC -V 2>&1 | sed 5q` in
 
16615
        *Sun\ C*)                       # Sun C 5.9
 
16616
          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'
 
16617
          tmp_sharedflag='-G' ;;
 
16618
        *Sun\ F*)                       # Sun Fortran 8.3
 
16619
          tmp_sharedflag='-G' ;;
 
16620
        *)
 
16621
          tmp_sharedflag='-shared' ;;
 
16622
        esac
 
16623
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16624
 
 
16625
        if test $supports_anon_versioning = yes; then
 
16626
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 
16627
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
16628
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
16629
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
16630
        fi
 
16631
      else
 
16632
        ld_shlibs_F77=no
 
16633
      fi
 
16634
      ;;
 
16635
 
 
16636
    netbsd*)
 
16637
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
16638
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
16639
        wlarc=
 
16640
      else
 
16641
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16642
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
16643
      fi
 
16644
      ;;
 
16645
 
 
16646
    solaris*)
 
16647
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
16648
        ld_shlibs_F77=no
 
16649
        cat <<EOF 1>&2
 
16650
 
 
16651
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
16652
*** create shared libraries on Solaris systems.  Therefore, libtool
 
16653
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
16654
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
16655
*** your PATH or compiler configuration so that the native linker is
 
16656
*** used, and then restart.
 
16657
 
 
16658
EOF
 
16659
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
16660
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16661
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
16662
      else
 
16663
        ld_shlibs_F77=no
 
16664
      fi
 
16665
      ;;
 
16666
 
 
16667
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
16668
      case `$LD -v 2>&1` in
 
16669
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
16670
        ld_shlibs_F77=no
 
16671
        cat <<_LT_EOF 1>&2
 
16672
 
 
16673
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
16674
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
16675
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
16676
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
16677
*** your PATH or compiler configuration so that the native linker is
 
16678
*** used, and then restart.
 
16679
 
 
16680
_LT_EOF
 
16681
        ;;
 
16682
        *)
 
16683
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
16684
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
16685
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
16686
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
16687
          else
 
16688
            ld_shlibs_F77=no
 
16689
          fi
 
16690
        ;;
 
16691
      esac
 
16692
      ;;
 
16693
 
 
16694
    sunos4*)
 
16695
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
16696
      wlarc=
 
16697
      hardcode_direct_F77=yes
 
16698
      hardcode_shlibpath_var_F77=no
 
16699
      ;;
 
16700
 
 
16701
    *)
 
16702
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
16703
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16704
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
16705
      else
 
16706
        ld_shlibs_F77=no
 
16707
      fi
 
16708
      ;;
 
16709
    esac
 
16710
 
 
16711
    if test "$ld_shlibs_F77" = no; then
 
16712
      runpath_var=
 
16713
      hardcode_libdir_flag_spec_F77=
 
16714
      export_dynamic_flag_spec_F77=
 
16715
      whole_archive_flag_spec_F77=
 
16716
    fi
 
16717
  else
 
16718
    # PORTME fill in a description of your system's linker (not GNU ld)
 
16719
    case $host_os in
 
16720
    aix3*)
 
16721
      allow_undefined_flag_F77=unsupported
 
16722
      always_export_symbols_F77=yes
 
16723
      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'
 
16724
      # Note: this linker hardcodes the directories in LIBPATH if there
 
16725
      # are no directories specified by -L.
 
16726
      hardcode_minus_L_F77=yes
 
16727
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
16728
        # Neither direct hardcoding nor static linking is supported with a
 
16729
        # broken collect2.
 
16730
        hardcode_direct_F77=unsupported
 
16731
      fi
 
16732
      ;;
 
16733
 
 
16734
    aix[4-9]*)
 
16735
      if test "$host_cpu" = ia64; then
 
16736
        # On IA64, the linker does run time linking by default, so we don't
 
16737
        # have to do anything special.
 
16738
        aix_use_runtimelinking=no
 
16739
        exp_sym_flag='-Bexport'
 
16740
        no_entry_flag=""
 
16741
      else
 
16742
        # If we're using GNU nm, then we don't want the "-C" option.
 
16743
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
16744
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
16745
          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'
 
16746
        else
 
16747
          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'
 
16748
        fi
 
16749
        aix_use_runtimelinking=no
 
16750
 
 
16751
        # Test if we are trying to use run time linking or normal
 
16752
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
16753
        # need to do runtime linking.
 
16754
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
16755
          for ld_flag in $LDFLAGS; do
 
16756
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
16757
            aix_use_runtimelinking=yes
 
16758
            break
 
16759
          fi
 
16760
          done
 
16761
          ;;
 
16762
        esac
 
16763
 
 
16764
        exp_sym_flag='-bexport'
 
16765
        no_entry_flag='-bnoentry'
 
16766
      fi
 
16767
 
 
16768
      # When large executables or shared objects are built, AIX ld can
 
16769
      # have problems creating the table of contents.  If linking a library
 
16770
      # or program results in "error TOC overflow" add -mminimal-toc to
 
16771
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
16772
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
16773
 
 
16774
      archive_cmds_F77=''
 
16775
      hardcode_direct_F77=yes
 
16776
      hardcode_libdir_separator_F77=':'
 
16777
      link_all_deplibs_F77=yes
 
16778
 
 
16779
      if test "$GCC" = yes; then
 
16780
        case $host_os in aix4.[012]|aix4.[012].*)
 
16781
        # We only want to do this on AIX 4.2 and lower, the check
 
16782
        # below for broken collect2 doesn't work under 4.3+
 
16783
          collect2name=`${CC} -print-prog-name=collect2`
 
16784
          if test -f "$collect2name" && \
 
16785
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
16786
          then
 
16787
          # We have reworked collect2
 
16788
          :
 
16789
          else
 
16790
          # We have old collect2
 
16791
          hardcode_direct_F77=unsupported
 
16792
          # It fails to find uninstalled libraries when the uninstalled
 
16793
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
16794
          # to unsupported forces relinking
 
16795
          hardcode_minus_L_F77=yes
 
16796
          hardcode_libdir_flag_spec_F77='-L$libdir'
 
16797
          hardcode_libdir_separator_F77=
 
16798
          fi
 
16799
          ;;
 
16800
        esac
 
16801
        shared_flag='-shared'
 
16802
        if test "$aix_use_runtimelinking" = yes; then
 
16803
          shared_flag="$shared_flag "'${wl}-G'
 
16804
        fi
 
16805
      else
 
16806
        # not using gcc
 
16807
        if test "$host_cpu" = ia64; then
 
16808
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
16809
        # chokes on -Wl,-G. The following line is correct:
 
16810
          shared_flag='-G'
 
16811
        else
 
16812
          if test "$aix_use_runtimelinking" = yes; then
 
16813
            shared_flag='${wl}-G'
 
16814
          else
 
16815
            shared_flag='${wl}-bM:SRE'
 
16816
          fi
 
16817
        fi
 
16818
      fi
 
16819
 
 
16820
      # It seems that -bexpall does not export symbols beginning with
 
16821
      # underscore (_), so it is better to generate a list of symbols to export.
 
16822
      always_export_symbols_F77=yes
 
16823
      if test "$aix_use_runtimelinking" = yes; then
 
16824
        # Warning - without using the other runtime loading flags (-brtl),
 
16825
        # -berok will link without error, but may produce a broken library.
 
16826
        allow_undefined_flag_F77='-berok'
 
16827
       # Determine the default libpath from the value encoded in an empty executable.
 
16828
       cat >conftest.$ac_ext <<_ACEOF
 
16829
      program main
 
16830
 
 
16831
      end
 
16832
_ACEOF
 
16833
rm -f conftest.$ac_objext conftest$ac_exeext
 
16834
if { (ac_try="$ac_link"
 
16835
case "(($ac_try" in
 
16836
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16837
  *) ac_try_echo=$ac_try;;
 
16838
esac
 
16839
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16840
$as_echo "$ac_try_echo") >&5
 
16841
  (eval "$ac_link") 2>conftest.er1
 
16842
  ac_status=$?
 
16843
  grep -v '^ *+' conftest.er1 >conftest.err
 
16844
  rm -f conftest.er1
 
16845
  cat conftest.err >&5
 
16846
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16847
  (exit $ac_status); } && {
 
16848
         test -z "$ac_f77_werror_flag" ||
 
16849
         test ! -s conftest.err
 
16850
       } && test -s conftest$ac_exeext && {
 
16851
         test "$cross_compiling" = yes ||
 
16852
         $as_test_x conftest$ac_exeext
 
16853
       }; then
 
16854
 
 
16855
lt_aix_libpath_sed='
 
16856
    /Import File Strings/,/^$/ {
 
16857
        /^0/ {
 
16858
            s/^0  *\(.*\)$/\1/
 
16859
            p
 
16860
        }
 
16861
    }'
 
16862
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16863
# Check for a 64-bit object if we didn't find anything.
 
16864
if test -z "$aix_libpath"; then
 
16865
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16866
fi
 
16867
else
 
16868
  $as_echo "$as_me: failed program was:" >&5
 
16869
sed 's/^/| /' conftest.$ac_ext >&5
 
16870
 
 
16871
 
 
16872
fi
 
16873
 
 
16874
rm -rf conftest.dSYM
 
16875
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16876
      conftest$ac_exeext conftest.$ac_ext
 
16877
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
16878
 
 
16879
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 
16880
        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"
 
16881
       else
 
16882
        if test "$host_cpu" = ia64; then
 
16883
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
 
16884
          allow_undefined_flag_F77="-z nodefs"
 
16885
          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"
 
16886
        else
 
16887
         # Determine the default libpath from the value encoded in an empty executable.
 
16888
         cat >conftest.$ac_ext <<_ACEOF
 
16889
      program main
 
16890
 
 
16891
      end
 
16892
_ACEOF
 
16893
rm -f conftest.$ac_objext conftest$ac_exeext
 
16894
if { (ac_try="$ac_link"
 
16895
case "(($ac_try" in
 
16896
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16897
  *) ac_try_echo=$ac_try;;
 
16898
esac
 
16899
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16900
$as_echo "$ac_try_echo") >&5
 
16901
  (eval "$ac_link") 2>conftest.er1
 
16902
  ac_status=$?
 
16903
  grep -v '^ *+' conftest.er1 >conftest.err
 
16904
  rm -f conftest.er1
 
16905
  cat conftest.err >&5
 
16906
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16907
  (exit $ac_status); } && {
 
16908
         test -z "$ac_f77_werror_flag" ||
 
16909
         test ! -s conftest.err
 
16910
       } && test -s conftest$ac_exeext && {
 
16911
         test "$cross_compiling" = yes ||
 
16912
         $as_test_x conftest$ac_exeext
 
16913
       }; then
 
16914
 
 
16915
lt_aix_libpath_sed='
 
16916
    /Import File Strings/,/^$/ {
 
16917
        /^0/ {
 
16918
            s/^0  *\(.*\)$/\1/
 
16919
            p
 
16920
        }
 
16921
    }'
 
16922
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16923
# Check for a 64-bit object if we didn't find anything.
 
16924
if test -z "$aix_libpath"; then
 
16925
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16926
fi
 
16927
else
 
16928
  $as_echo "$as_me: failed program was:" >&5
 
16929
sed 's/^/| /' conftest.$ac_ext >&5
 
16930
 
 
16931
 
 
16932
fi
 
16933
 
 
16934
rm -rf conftest.dSYM
 
16935
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16936
      conftest$ac_exeext conftest.$ac_ext
 
16937
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
16938
 
 
16939
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 
16940
          # Warning - without using the other run time loading flags,
 
16941
          # -berok will link without error, but may produce a broken library.
 
16942
          no_undefined_flag_F77=' ${wl}-bernotok'
 
16943
          allow_undefined_flag_F77=' ${wl}-berok'
 
16944
          # Exported symbols can be pulled into shared objects from archives
 
16945
          whole_archive_flag_spec_F77='$convenience'
 
16946
          archive_cmds_need_lc_F77=yes
 
16947
          # This is similar to how AIX traditionally builds its shared libraries.
 
16948
          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'
 
16949
        fi
 
16950
      fi
 
16951
      ;;
 
16952
 
 
16953
    amigaos*)
 
16954
      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)'
 
16955
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
16956
      hardcode_minus_L_F77=yes
 
16957
      # see comment about different semantics on the GNU ld section
 
16958
      ld_shlibs_F77=no
 
16959
      ;;
 
16960
 
 
16961
    bsdi[45]*)
 
16962
      export_dynamic_flag_spec_F77=-rdynamic
 
16963
      ;;
 
16964
 
 
16965
    cygwin* | mingw* | pw32*)
 
16966
      # When not using gcc, we currently assume that we are using
 
16967
      # Microsoft Visual C++.
 
16968
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
16969
      # no search path for DLLs.
 
16970
      hardcode_libdir_flag_spec_F77=' '
 
16971
      allow_undefined_flag_F77=unsupported
 
16972
      # Tell ltmain to make .lib files, not .a files.
 
16973
      libext=lib
 
16974
      # Tell ltmain to make .dll files, not .so files.
 
16975
      shrext_cmds=".dll"
 
16976
      # FIXME: Setting linknames here is a bad hack.
 
16977
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
16978
      # The linker will automatically build a .lib file if we build a DLL.
 
16979
      old_archive_From_new_cmds_F77='true'
 
16980
      # FIXME: Should let the user specify the lib program.
 
16981
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
16982
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
 
16983
      enable_shared_with_static_runtimes_F77=yes
 
16984
      ;;
 
16985
 
 
16986
    darwin* | rhapsody*)
 
16987
      case $host_os in
 
16988
        rhapsody* | darwin1.[012])
 
16989
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
 
16990
         ;;
 
16991
       *) # Darwin 1.3 on
 
16992
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
16993
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
16994
         else
 
16995
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
16996
             10.[012])
 
16997
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
16998
               ;;
 
16999
             10.*)
 
17000
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
 
17001
               ;;
 
17002
           esac
 
17003
         fi
 
17004
         ;;
 
17005
      esac
 
17006
      archive_cmds_need_lc_F77=no
 
17007
      hardcode_direct_F77=no
 
17008
      hardcode_automatic_F77=yes
 
17009
      hardcode_shlibpath_var_F77=unsupported
 
17010
      whole_archive_flag_spec_F77=''
 
17011
      link_all_deplibs_F77=yes
 
17012
    if test "$GCC" = yes ; then
 
17013
        output_verbose_link_cmd='echo'
 
17014
        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}"
 
17015
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
17016
        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}"
 
17017
        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}"
 
17018
    else
 
17019
      case $cc_basename in
 
17020
        xlc*)
 
17021
         output_verbose_link_cmd='echo'
 
17022
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 
17023
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
17024
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
17025
         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}'
 
17026
          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}'
 
17027
          ;;
 
17028
       *)
 
17029
         ld_shlibs_F77=no
 
17030
          ;;
 
17031
      esac
 
17032
    fi
 
17033
      ;;
 
17034
 
 
17035
    dgux*)
 
17036
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17037
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
17038
      hardcode_shlibpath_var_F77=no
 
17039
      ;;
 
17040
 
 
17041
    freebsd1*)
 
17042
      ld_shlibs_F77=no
 
17043
      ;;
 
17044
 
 
17045
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
17046
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
17047
    # does not break anything, and helps significantly (at the cost of a little
 
17048
    # extra space).
 
17049
    freebsd2.2*)
 
17050
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
17051
      hardcode_libdir_flag_spec_F77='-R$libdir'
 
17052
      hardcode_direct_F77=yes
 
17053
      hardcode_shlibpath_var_F77=no
 
17054
      ;;
 
17055
 
 
17056
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
17057
    freebsd2*)
 
17058
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
17059
      hardcode_direct_F77=yes
 
17060
      hardcode_minus_L_F77=yes
 
17061
      hardcode_shlibpath_var_F77=no
 
17062
      ;;
 
17063
 
 
17064
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
17065
    freebsd* | dragonfly*)
 
17066
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
17067
      hardcode_libdir_flag_spec_F77='-R$libdir'
 
17068
      hardcode_direct_F77=yes
 
17069
      hardcode_shlibpath_var_F77=no
 
17070
      ;;
 
17071
 
 
17072
    hpux9*)
 
17073
      if test "$GCC" = yes; then
 
17074
        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'
 
17075
      else
 
17076
        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'
 
17077
      fi
 
17078
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
17079
      hardcode_libdir_separator_F77=:
 
17080
      hardcode_direct_F77=yes
 
17081
 
 
17082
      # hardcode_minus_L: Not really in the search PATH,
 
17083
      # but as the default location of the library.
 
17084
      hardcode_minus_L_F77=yes
 
17085
      export_dynamic_flag_spec_F77='${wl}-E'
 
17086
      ;;
 
17087
 
 
17088
    hpux10*)
 
17089
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
17090
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
17091
      else
 
17092
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17093
      fi
 
17094
      if test "$with_gnu_ld" = no; then
 
17095
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
17096
        hardcode_libdir_separator_F77=:
 
17097
 
 
17098
        hardcode_direct_F77=yes
 
17099
        export_dynamic_flag_spec_F77='${wl}-E'
 
17100
 
 
17101
        # hardcode_minus_L: Not really in the search PATH,
 
17102
        # but as the default location of the library.
 
17103
        hardcode_minus_L_F77=yes
 
17104
      fi
 
17105
      ;;
 
17106
 
 
17107
    hpux11*)
 
17108
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
17109
        case $host_cpu in
 
17110
        hppa*64*)
 
17111
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17112
          ;;
 
17113
        ia64*)
 
17114
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
17115
          ;;
 
17116
        *)
 
17117
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
17118
          ;;
 
17119
        esac
 
17120
      else
 
17121
        case $host_cpu in
 
17122
        hppa*64*)
 
17123
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17124
          ;;
 
17125
        ia64*)
 
17126
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
17127
          ;;
 
17128
        *)
 
17129
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
17130
          ;;
 
17131
        esac
 
17132
      fi
 
17133
      if test "$with_gnu_ld" = no; then
 
17134
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
17135
        hardcode_libdir_separator_F77=:
 
17136
 
 
17137
        case $host_cpu in
 
17138
        hppa*64*|ia64*)
 
17139
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
 
17140
          hardcode_direct_F77=no
 
17141
          hardcode_shlibpath_var_F77=no
 
17142
          ;;
 
17143
        *)
 
17144
          hardcode_direct_F77=yes
 
17145
          export_dynamic_flag_spec_F77='${wl}-E'
 
17146
 
 
17147
          # hardcode_minus_L: Not really in the search PATH,
 
17148
          # but as the default location of the library.
 
17149
          hardcode_minus_L_F77=yes
 
17150
          ;;
 
17151
        esac
 
17152
      fi
 
17153
      ;;
 
17154
 
 
17155
    irix5* | irix6* | nonstopux*)
 
17156
      if test "$GCC" = yes; then
 
17157
        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'
 
17158
      else
 
17159
        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'
 
17160
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
 
17161
      fi
 
17162
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 
17163
      hardcode_libdir_separator_F77=:
 
17164
      link_all_deplibs_F77=yes
 
17165
      ;;
 
17166
 
 
17167
    netbsd*)
 
17168
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
17169
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
17170
      else
 
17171
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
17172
      fi
 
17173
      hardcode_libdir_flag_spec_F77='-R$libdir'
 
17174
      hardcode_direct_F77=yes
 
17175
      hardcode_shlibpath_var_F77=no
 
17176
      ;;
 
17177
 
 
17178
    newsos6)
 
17179
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17180
      hardcode_direct_F77=yes
 
17181
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 
17182
      hardcode_libdir_separator_F77=:
 
17183
      hardcode_shlibpath_var_F77=no
 
17184
      ;;
 
17185
 
 
17186
    openbsd*)
 
17187
      if test -f /usr/libexec/ld.so; then
 
17188
        hardcode_direct_F77=yes
 
17189
        hardcode_shlibpath_var_F77=no
 
17190
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17191
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17192
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
17193
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
17194
          export_dynamic_flag_spec_F77='${wl}-E'
 
17195
        else
 
17196
          case $host_os in
 
17197
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
17198
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
17199
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
17200
             ;;
 
17201
           *)
 
17202
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17203
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
17204
             ;;
 
17205
          esac
 
17206
        fi
 
17207
      else
 
17208
        ld_shlibs_F77=no
 
17209
      fi
 
17210
      ;;
 
17211
 
 
17212
    os2*)
 
17213
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
17214
      hardcode_minus_L_F77=yes
 
17215
      allow_undefined_flag_F77=unsupported
 
17216
      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'
 
17217
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
17218
      ;;
 
17219
 
 
17220
    osf3*)
 
17221
      if test "$GCC" = yes; then
 
17222
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
 
17223
        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'
 
17224
      else
 
17225
        allow_undefined_flag_F77=' -expect_unresolved \*'
 
17226
        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'
 
17227
      fi
 
17228
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 
17229
      hardcode_libdir_separator_F77=:
 
17230
      ;;
 
17231
 
 
17232
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
17233
      if test "$GCC" = yes; then
 
17234
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
 
17235
        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'
 
17236
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 
17237
      else
 
17238
        allow_undefined_flag_F77=' -expect_unresolved \*'
 
17239
        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'
 
17240
        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~
 
17241
        $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'
 
17242
 
 
17243
        # Both c and cxx compiler support -rpath directly
 
17244
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
 
17245
      fi
 
17246
      hardcode_libdir_separator_F77=:
 
17247
      ;;
 
17248
 
 
17249
    solaris*)
 
17250
      no_undefined_flag_F77=' -z text'
 
17251
      if test "$GCC" = yes; then
 
17252
        wlarc='${wl}'
 
17253
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17254
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
17255
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
17256
      else
 
17257
        wlarc=''
 
17258
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17259
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
17260
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
17261
      fi
 
17262
      hardcode_libdir_flag_spec_F77='-R$libdir'
 
17263
      hardcode_shlibpath_var_F77=no
 
17264
      case $host_os in
 
17265
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
17266
      *)
 
17267
        # The compiler driver will combine and reorder linker options,
 
17268
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
17269
        # but is careful enough not to reorder.
 
17270
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
17271
        if test "$GCC" = yes; then
 
17272
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
17273
        else
 
17274
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
17275
        fi
 
17276
        ;;
 
17277
      esac
 
17278
      link_all_deplibs_F77=yes
 
17279
      ;;
 
17280
 
 
17281
    sunos4*)
 
17282
      if test "x$host_vendor" = xsequent; then
 
17283
        # Use $CC to link under sequent, because it throws in some extra .o
 
17284
        # files that make .init and .fini sections work.
 
17285
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
17286
      else
 
17287
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
17288
      fi
 
17289
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
17290
      hardcode_direct_F77=yes
 
17291
      hardcode_minus_L_F77=yes
 
17292
      hardcode_shlibpath_var_F77=no
 
17293
      ;;
 
17294
 
 
17295
    sysv4)
 
17296
      case $host_vendor in
 
17297
        sni)
 
17298
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17299
          hardcode_direct_F77=yes # is this really true???
 
17300
        ;;
 
17301
        siemens)
 
17302
          ## LD is ld it makes a PLAMLIB
 
17303
          ## CC just makes a GrossModule.
 
17304
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
17305
          reload_cmds_F77='$CC -r -o $output$reload_objs'
 
17306
          hardcode_direct_F77=no
 
17307
        ;;
 
17308
        motorola)
 
17309
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17310
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
 
17311
        ;;
 
17312
      esac
 
17313
      runpath_var='LD_RUN_PATH'
 
17314
      hardcode_shlibpath_var_F77=no
 
17315
      ;;
 
17316
 
 
17317
    sysv4.3*)
 
17318
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17319
      hardcode_shlibpath_var_F77=no
 
17320
      export_dynamic_flag_spec_F77='-Bexport'
 
17321
      ;;
 
17322
 
 
17323
    sysv4*MP*)
 
17324
      if test -d /usr/nec; then
 
17325
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17326
        hardcode_shlibpath_var_F77=no
 
17327
        runpath_var=LD_RUN_PATH
 
17328
        hardcode_runpath_var=yes
 
17329
        ld_shlibs_F77=yes
 
17330
      fi
 
17331
      ;;
 
17332
 
 
17333
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
17334
      no_undefined_flag_F77='${wl}-z,text'
 
17335
      archive_cmds_need_lc_F77=no
 
17336
      hardcode_shlibpath_var_F77=no
 
17337
      runpath_var='LD_RUN_PATH'
 
17338
 
 
17339
      if test "$GCC" = yes; then
 
17340
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17341
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17342
      else
 
17343
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17344
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17345
      fi
 
17346
      ;;
 
17347
 
 
17348
    sysv5* | sco3.2v5* | sco5v6*)
 
17349
      # Note: We can NOT use -z defs as we might desire, because we do not
 
17350
      # link with -lc, and that would cause any symbols used from libc to
 
17351
      # always be unresolved, which means just about no library would
 
17352
      # ever link correctly.  If we're not using GNU ld we use -z text
 
17353
      # though, which does catch some bad symbols but isn't as heavy-handed
 
17354
      # as -z defs.
 
17355
      no_undefined_flag_F77='${wl}-z,text'
 
17356
      allow_undefined_flag_F77='${wl}-z,nodefs'
 
17357
      archive_cmds_need_lc_F77=no
 
17358
      hardcode_shlibpath_var_F77=no
 
17359
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
17360
      hardcode_libdir_separator_F77=':'
 
17361
      link_all_deplibs_F77=yes
 
17362
      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
17363
      runpath_var='LD_RUN_PATH'
 
17364
 
 
17365
      if test "$GCC" = yes; then
 
17366
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17367
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17368
      else
 
17369
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17370
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17371
      fi
 
17372
      ;;
 
17373
 
 
17374
    uts4*)
 
17375
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17376
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
17377
      hardcode_shlibpath_var_F77=no
 
17378
      ;;
 
17379
 
 
17380
    *)
 
17381
      ld_shlibs_F77=no
 
17382
      ;;
 
17383
    esac
 
17384
  fi
 
17385
 
 
17386
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
17387
$as_echo "$ld_shlibs_F77" >&6; }
 
17388
test "$ld_shlibs_F77" = no && can_build_shared=no
 
17389
 
 
17390
#
 
17391
# Do we need to explicitly link libc?
 
17392
#
 
17393
case "x$archive_cmds_need_lc_F77" in
 
17394
x|xyes)
 
17395
  # Assume -lc should be added
 
17396
  archive_cmds_need_lc_F77=yes
 
17397
 
 
17398
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
17399
    case $archive_cmds_F77 in
 
17400
    *'~'*)
 
17401
      # FIXME: we may have to deal with multi-command sequences.
 
17402
      ;;
 
17403
    '$CC '*)
 
17404
      # Test whether the compiler implicitly links with -lc since on some
 
17405
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
17406
      # to ld, don't add -lc before -lgcc.
 
17407
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
17408
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
17409
      $rm conftest*
 
17410
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17411
 
 
17412
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
17413
  (eval $ac_compile) 2>&5
 
17414
  ac_status=$?
 
17415
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17416
  (exit $ac_status); } 2>conftest.err; then
 
17417
        soname=conftest
 
17418
        lib=conftest
 
17419
        libobjs=conftest.$ac_objext
 
17420
        deplibs=
 
17421
        wl=$lt_prog_compiler_wl_F77
 
17422
        pic_flag=$lt_prog_compiler_pic_F77
 
17423
        compiler_flags=-v
 
17424
        linker_flags=-v
 
17425
        verstring=
 
17426
        output_objdir=.
 
17427
        libname=conftest
 
17428
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
 
17429
        allow_undefined_flag_F77=
 
17430
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
17431
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
17432
  ac_status=$?
 
17433
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17434
  (exit $ac_status); }
 
17435
        then
 
17436
          archive_cmds_need_lc_F77=no
 
17437
        else
 
17438
          archive_cmds_need_lc_F77=yes
 
17439
        fi
 
17440
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
 
17441
      else
 
17442
        cat conftest.err 1>&5
 
17443
      fi
 
17444
      $rm conftest*
 
17445
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
17446
$as_echo "$archive_cmds_need_lc_F77" >&6; }
 
17447
      ;;
 
17448
    esac
 
17449
  fi
 
17450
  ;;
 
17451
esac
 
17452
 
 
17453
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
17454
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
17455
library_names_spec=
 
17456
libname_spec='lib$name'
 
17457
soname_spec=
 
17458
shrext_cmds=".so"
 
17459
postinstall_cmds=
 
17460
postuninstall_cmds=
 
17461
finish_cmds=
 
17462
finish_eval=
 
17463
shlibpath_var=
 
17464
shlibpath_overrides_runpath=unknown
 
17465
version_type=none
 
17466
dynamic_linker="$host_os ld.so"
 
17467
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
17468
 
 
17469
need_lib_prefix=unknown
 
17470
hardcode_into_libs=no
 
17471
 
 
17472
# when you set need_version to no, make sure it does not cause -set_version
 
17473
# flags to be left without arguments
 
17474
need_version=unknown
 
17475
 
 
17476
case $host_os in
 
17477
aix3*)
 
17478
  version_type=linux
 
17479
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
17480
  shlibpath_var=LIBPATH
 
17481
 
 
17482
  # AIX 3 has no versioning support, so we append a major version to the name.
 
17483
  soname_spec='${libname}${release}${shared_ext}$major'
 
17484
  ;;
 
17485
 
 
17486
aix[4-9]*)
 
17487
  version_type=linux
 
17488
  need_lib_prefix=no
 
17489
  need_version=no
 
17490
  hardcode_into_libs=yes
 
17491
  if test "$host_cpu" = ia64; then
 
17492
    # AIX 5 supports IA64
 
17493
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
17494
    shlibpath_var=LD_LIBRARY_PATH
 
17495
  else
 
17496
    # With GCC up to 2.95.x, collect2 would create an import file
 
17497
    # for dependence libraries.  The import file would start with
 
17498
    # the line `#! .'.  This would cause the generated library to
 
17499
    # depend on `.', always an invalid library.  This was fixed in
 
17500
    # development snapshots of GCC prior to 3.0.
 
17501
    case $host_os in
 
17502
      aix4 | aix4.[01] | aix4.[01].*)
 
17503
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
17504
           echo ' yes '
 
17505
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
17506
        :
 
17507
      else
 
17508
        can_build_shared=no
 
17509
      fi
 
17510
      ;;
 
17511
    esac
 
17512
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
17513
    # soname into executable. Probably we can add versioning support to
 
17514
    # collect2, so additional links can be useful in future.
 
17515
    if test "$aix_use_runtimelinking" = yes; then
 
17516
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
17517
      # instead of lib<name>.a to let people know that these are not
 
17518
      # typical AIX shared libraries.
 
17519
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17520
    else
 
17521
      # We preserve .a as extension for shared libraries through AIX4.2
 
17522
      # and later when we are not doing run time linking.
 
17523
      library_names_spec='${libname}${release}.a $libname.a'
 
17524
      soname_spec='${libname}${release}${shared_ext}$major'
 
17525
    fi
 
17526
    shlibpath_var=LIBPATH
 
17527
  fi
 
17528
  ;;
 
17529
 
 
17530
amigaos*)
 
17531
  library_names_spec='$libname.ixlibrary $libname.a'
 
17532
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
17533
  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'
 
17534
  ;;
 
17535
 
 
17536
beos*)
 
17537
  library_names_spec='${libname}${shared_ext}'
 
17538
  dynamic_linker="$host_os ld.so"
 
17539
  shlibpath_var=LIBRARY_PATH
 
17540
  ;;
 
17541
 
 
17542
bsdi[45]*)
 
17543
  version_type=linux
 
17544
  need_version=no
 
17545
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17546
  soname_spec='${libname}${release}${shared_ext}$major'
 
17547
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
17548
  shlibpath_var=LD_LIBRARY_PATH
 
17549
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
17550
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
17551
  # the default ld.so.conf also contains /usr/contrib/lib and
 
17552
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
17553
  # libtool to hard-code these into programs
 
17554
  ;;
 
17555
 
 
17556
cygwin* | mingw* | pw32*)
 
17557
  version_type=windows
 
17558
  shrext_cmds=".dll"
 
17559
  need_version=no
 
17560
  need_lib_prefix=no
 
17561
 
 
17562
  case $GCC,$host_os in
 
17563
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
17564
    library_names_spec='$libname.dll.a'
 
17565
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
17566
    postinstall_cmds='base_file=`basename \${file}`~
 
17567
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
17568
      dldir=$destdir/`dirname \$dlpath`~
 
17569
      test -d \$dldir || mkdir -p \$dldir~
 
17570
      $install_prog $dir/$dlname \$dldir/$dlname~
 
17571
      chmod a+x \$dldir/$dlname'
 
17572
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
17573
      dlpath=$dir/\$dldll~
 
17574
       $rm \$dlpath'
 
17575
    shlibpath_overrides_runpath=yes
 
17576
 
 
17577
    case $host_os in
 
17578
    cygwin*)
 
17579
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
17580
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
17581
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
17582
      ;;
 
17583
    mingw*)
 
17584
      # MinGW DLLs use traditional 'lib' prefix
 
17585
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
17586
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
17587
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
17588
        # It is most probably a Windows format PATH printed by
 
17589
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
17590
        # path with ; separators, and with drive letters. We can handle the
 
17591
        # drive letters (cygwin fileutils understands them), so leave them,
 
17592
        # especially as we might pass files found there to a mingw objdump,
 
17593
        # which wouldn't understand a cygwinified path. Ahh.
 
17594
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
17595
      else
 
17596
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
17597
      fi
 
17598
      ;;
 
17599
    pw32*)
 
17600
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
17601
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
17602
      ;;
 
17603
    esac
 
17604
    ;;
 
17605
 
 
17606
  *)
 
17607
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
17608
    ;;
 
17609
  esac
 
17610
  dynamic_linker='Win32 ld.exe'
 
17611
  # FIXME: first we should search . and the directory the executable is in
 
17612
  shlibpath_var=PATH
 
17613
  ;;
 
17614
 
 
17615
darwin* | rhapsody*)
 
17616
  dynamic_linker="$host_os dyld"
 
17617
  version_type=darwin
 
17618
  need_lib_prefix=no
 
17619
  need_version=no
 
17620
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
17621
  soname_spec='${libname}${release}${major}$shared_ext'
 
17622
  shlibpath_overrides_runpath=yes
 
17623
  shlibpath_var=DYLD_LIBRARY_PATH
 
17624
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
17625
 
 
17626
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
17627
  ;;
 
17628
 
 
17629
dgux*)
 
17630
  version_type=linux
 
17631
  need_lib_prefix=no
 
17632
  need_version=no
 
17633
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
17634
  soname_spec='${libname}${release}${shared_ext}$major'
 
17635
  shlibpath_var=LD_LIBRARY_PATH
 
17636
  ;;
 
17637
 
 
17638
freebsd1*)
 
17639
  dynamic_linker=no
 
17640
  ;;
 
17641
 
 
17642
freebsd* | dragonfly*)
 
17643
  # DragonFly does not have aout.  When/if they implement a new
 
17644
  # versioning mechanism, adjust this.
 
17645
  if test -x /usr/bin/objformat; then
 
17646
    objformat=`/usr/bin/objformat`
 
17647
  else
 
17648
    case $host_os in
 
17649
    freebsd[123]*) objformat=aout ;;
 
17650
    *) objformat=elf ;;
 
17651
    esac
 
17652
  fi
 
17653
  version_type=freebsd-$objformat
 
17654
  case $version_type in
 
17655
    freebsd-elf*)
 
17656
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
17657
      need_version=no
 
17658
      need_lib_prefix=no
 
17659
      ;;
 
17660
    freebsd-*)
 
17661
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
17662
      need_version=yes
 
17663
      ;;
 
17664
  esac
 
17665
  shlibpath_var=LD_LIBRARY_PATH
 
17666
  case $host_os in
 
17667
  freebsd2*)
 
17668
    shlibpath_overrides_runpath=yes
 
17669
    ;;
 
17670
  freebsd3.[01]* | freebsdelf3.[01]*)
 
17671
    shlibpath_overrides_runpath=yes
 
17672
    hardcode_into_libs=yes
 
17673
    ;;
 
17674
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
17675
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
17676
    shlibpath_overrides_runpath=no
 
17677
    hardcode_into_libs=yes
 
17678
    ;;
 
17679
  *) # from 4.6 on, and DragonFly
 
17680
    shlibpath_overrides_runpath=yes
 
17681
    hardcode_into_libs=yes
 
17682
    ;;
 
17683
  esac
 
17684
  ;;
 
17685
 
 
17686
gnu*)
 
17687
  version_type=linux
 
17688
  need_lib_prefix=no
 
17689
  need_version=no
 
17690
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
17691
  soname_spec='${libname}${release}${shared_ext}$major'
 
17692
  shlibpath_var=LD_LIBRARY_PATH
 
17693
  hardcode_into_libs=yes
 
17694
  ;;
 
17695
 
 
17696
hpux9* | hpux10* | hpux11*)
 
17697
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
17698
  # link against other versions.
 
17699
  version_type=sunos
 
17700
  need_lib_prefix=no
 
17701
  need_version=no
 
17702
  case $host_cpu in
 
17703
  ia64*)
 
17704
    shrext_cmds='.so'
 
17705
    hardcode_into_libs=yes
 
17706
    dynamic_linker="$host_os dld.so"
 
17707
    shlibpath_var=LD_LIBRARY_PATH
 
17708
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
17709
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17710
    soname_spec='${libname}${release}${shared_ext}$major'
 
17711
    if test "X$HPUX_IA64_MODE" = X32; then
 
17712
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
17713
    else
 
17714
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
17715
    fi
 
17716
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
17717
    ;;
 
17718
   hppa*64*)
 
17719
     shrext_cmds='.sl'
 
17720
     hardcode_into_libs=yes
 
17721
     dynamic_linker="$host_os dld.sl"
 
17722
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
17723
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
17724
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17725
     soname_spec='${libname}${release}${shared_ext}$major'
 
17726
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
17727
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
17728
     ;;
 
17729
   *)
 
17730
    shrext_cmds='.sl'
 
17731
    dynamic_linker="$host_os dld.sl"
 
17732
    shlibpath_var=SHLIB_PATH
 
17733
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
17734
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17735
    soname_spec='${libname}${release}${shared_ext}$major'
 
17736
    ;;
 
17737
  esac
 
17738
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
17739
  postinstall_cmds='chmod 555 $lib'
 
17740
  ;;
 
17741
 
 
17742
interix[3-9]*)
 
17743
  version_type=linux
 
17744
  need_lib_prefix=no
 
17745
  need_version=no
 
17746
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
17747
  soname_spec='${libname}${release}${shared_ext}$major'
 
17748
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
17749
  shlibpath_var=LD_LIBRARY_PATH
 
17750
  shlibpath_overrides_runpath=no
 
17751
  hardcode_into_libs=yes
 
17752
  ;;
 
17753
 
 
17754
irix5* | irix6* | nonstopux*)
 
17755
  case $host_os in
 
17756
    nonstopux*) version_type=nonstopux ;;
 
17757
    *)
 
17758
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
17759
                version_type=linux
 
17760
        else
 
17761
                version_type=irix
 
17762
        fi ;;
 
17763
  esac
 
17764
  need_lib_prefix=no
 
17765
  need_version=no
 
17766
  soname_spec='${libname}${release}${shared_ext}$major'
 
17767
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
17768
  case $host_os in
 
17769
  irix5* | nonstopux*)
 
17770
    libsuff= shlibsuff=
 
17771
    ;;
 
17772
  *)
 
17773
    case $LD in # libtool.m4 will add one of these switches to LD
 
17774
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
17775
      libsuff= shlibsuff= libmagic=32-bit;;
 
17776
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
17777
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
17778
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
17779
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
17780
    *) libsuff= shlibsuff= libmagic=never-match;;
 
17781
    esac
 
17782
    ;;
 
17783
  esac
 
17784
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
17785
  shlibpath_overrides_runpath=no
 
17786
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
17787
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
17788
  hardcode_into_libs=yes
 
17789
  ;;
 
17790
 
 
17791
# No shared lib support for Linux oldld, aout, or coff.
 
17792
linux*oldld* | linux*aout* | linux*coff*)
 
17793
  dynamic_linker=no
 
17794
  ;;
 
17795
 
 
17796
# This must be Linux ELF.
 
17797
linux* | k*bsd*-gnu)
 
17798
  version_type=linux
 
17799
  need_lib_prefix=no
 
17800
  need_version=no
 
17801
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17802
  soname_spec='${libname}${release}${shared_ext}$major'
 
17803
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
17804
  shlibpath_var=LD_LIBRARY_PATH
 
17805
  shlibpath_overrides_runpath=no
 
17806
  # This implies no fast_install, which is unacceptable.
 
17807
  # Some rework will be needed to allow for fast_install
 
17808
  # before this can be enabled.
 
17809
  hardcode_into_libs=yes
 
17810
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
17811
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
17812
 
 
17813
  # Append ld.so.conf contents to the search path
 
17814
  if test -f /etc/ld.so.conf; then
 
17815
    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' ' '`
 
17816
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
17817
  fi
 
17818
 
 
17819
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
17820
  # powerpc, because MkLinux only supported shared libraries with the
 
17821
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
17822
  # most powerpc-linux boxes support dynamic linking these days and
 
17823
  # people can always --disable-shared, the test was removed, and we
 
17824
  # assume the GNU/Linux dynamic linker is in use.
 
17825
  dynamic_linker='GNU/Linux ld.so'
 
17826
  ;;
 
17827
 
 
17828
netbsd*)
 
17829
  version_type=sunos
 
17830
  need_lib_prefix=no
 
17831
  need_version=no
 
17832
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
17833
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
17834
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
17835
    dynamic_linker='NetBSD (a.out) ld.so'
 
17836
  else
 
17837
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
17838
    soname_spec='${libname}${release}${shared_ext}$major'
 
17839
    dynamic_linker='NetBSD ld.elf_so'
 
17840
  fi
 
17841
  shlibpath_var=LD_LIBRARY_PATH
 
17842
  shlibpath_overrides_runpath=yes
 
17843
  hardcode_into_libs=yes
 
17844
  ;;
 
17845
 
 
17846
newsos6)
 
17847
  version_type=linux
 
17848
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17849
  shlibpath_var=LD_LIBRARY_PATH
 
17850
  shlibpath_overrides_runpath=yes
 
17851
  ;;
 
17852
 
 
17853
nto-qnx*)
 
17854
  version_type=linux
 
17855
  need_lib_prefix=no
 
17856
  need_version=no
 
17857
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17858
  soname_spec='${libname}${release}${shared_ext}$major'
 
17859
  shlibpath_var=LD_LIBRARY_PATH
 
17860
  shlibpath_overrides_runpath=yes
 
17861
  ;;
 
17862
 
 
17863
openbsd*)
 
17864
  version_type=sunos
 
17865
  sys_lib_dlsearch_path_spec="/usr/lib"
 
17866
  need_lib_prefix=no
 
17867
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
17868
  case $host_os in
 
17869
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
17870
    *)                         need_version=no  ;;
 
17871
  esac
 
17872
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
17873
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
17874
  shlibpath_var=LD_LIBRARY_PATH
 
17875
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17876
    case $host_os in
 
17877
      openbsd2.[89] | openbsd2.[89].*)
 
17878
        shlibpath_overrides_runpath=no
 
17879
        ;;
 
17880
      *)
 
17881
        shlibpath_overrides_runpath=yes
 
17882
        ;;
 
17883
      esac
 
17884
  else
 
17885
    shlibpath_overrides_runpath=yes
 
17886
  fi
 
17887
  ;;
 
17888
 
 
17889
os2*)
 
17890
  libname_spec='$name'
 
17891
  shrext_cmds=".dll"
 
17892
  need_lib_prefix=no
 
17893
  library_names_spec='$libname${shared_ext} $libname.a'
 
17894
  dynamic_linker='OS/2 ld.exe'
 
17895
  shlibpath_var=LIBPATH
 
17896
  ;;
 
17897
 
 
17898
osf3* | osf4* | osf5*)
 
17899
  version_type=osf
 
17900
  need_lib_prefix=no
 
17901
  need_version=no
 
17902
  soname_spec='${libname}${release}${shared_ext}$major'
 
17903
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17904
  shlibpath_var=LD_LIBRARY_PATH
 
17905
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
17906
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
17907
  ;;
 
17908
 
 
17909
rdos*)
 
17910
  dynamic_linker=no
 
17911
  ;;
 
17912
 
 
17913
solaris*)
 
17914
  version_type=linux
 
17915
  need_lib_prefix=no
 
17916
  need_version=no
 
17917
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17918
  soname_spec='${libname}${release}${shared_ext}$major'
 
17919
  shlibpath_var=LD_LIBRARY_PATH
 
17920
  shlibpath_overrides_runpath=yes
 
17921
  hardcode_into_libs=yes
 
17922
  # ldd complains unless libraries are executable
 
17923
  postinstall_cmds='chmod +x $lib'
 
17924
  ;;
 
17925
 
 
17926
sunos4*)
 
17927
  version_type=sunos
 
17928
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
17929
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
17930
  shlibpath_var=LD_LIBRARY_PATH
 
17931
  shlibpath_overrides_runpath=yes
 
17932
  if test "$with_gnu_ld" = yes; then
 
17933
    need_lib_prefix=no
 
17934
  fi
 
17935
  need_version=yes
 
17936
  ;;
 
17937
 
 
17938
sysv4 | sysv4.3*)
 
17939
  version_type=linux
 
17940
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17941
  soname_spec='${libname}${release}${shared_ext}$major'
 
17942
  shlibpath_var=LD_LIBRARY_PATH
 
17943
  case $host_vendor in
 
17944
    sni)
 
17945
      shlibpath_overrides_runpath=no
 
17946
      need_lib_prefix=no
 
17947
      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
17948
      runpath_var=LD_RUN_PATH
 
17949
      ;;
 
17950
    siemens)
 
17951
      need_lib_prefix=no
 
17952
      ;;
 
17953
    motorola)
 
17954
      need_lib_prefix=no
 
17955
      need_version=no
 
17956
      shlibpath_overrides_runpath=no
 
17957
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
17958
      ;;
 
17959
  esac
 
17960
  ;;
 
17961
 
 
17962
sysv4*MP*)
 
17963
  if test -d /usr/nec ;then
 
17964
    version_type=linux
 
17965
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
17966
    soname_spec='$libname${shared_ext}.$major'
 
17967
    shlibpath_var=LD_LIBRARY_PATH
 
17968
  fi
 
17969
  ;;
 
17970
 
 
17971
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
17972
  version_type=freebsd-elf
 
17973
  need_lib_prefix=no
 
17974
  need_version=no
 
17975
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
17976
  soname_spec='${libname}${release}${shared_ext}$major'
 
17977
  shlibpath_var=LD_LIBRARY_PATH
 
17978
  hardcode_into_libs=yes
 
17979
  if test "$with_gnu_ld" = yes; then
 
17980
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
17981
    shlibpath_overrides_runpath=no
 
17982
  else
 
17983
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
17984
    shlibpath_overrides_runpath=yes
 
17985
    case $host_os in
 
17986
      sco3.2v5*)
 
17987
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
17988
        ;;
 
17989
    esac
 
17990
  fi
 
17991
  sys_lib_dlsearch_path_spec='/usr/lib'
 
17992
  ;;
 
17993
 
 
17994
uts4*)
 
17995
  version_type=linux
 
17996
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17997
  soname_spec='${libname}${release}${shared_ext}$major'
 
17998
  shlibpath_var=LD_LIBRARY_PATH
 
17999
  ;;
 
18000
 
 
18001
*)
 
18002
  dynamic_linker=no
 
18003
  ;;
 
18004
esac
 
18005
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18006
$as_echo "$dynamic_linker" >&6; }
 
18007
test "$dynamic_linker" = no && can_build_shared=no
 
18008
 
 
18009
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
18010
  $as_echo_n "(cached) " >&6
 
18011
else
 
18012
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
18013
fi
 
18014
 
 
18015
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
18016
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
18017
  $as_echo_n "(cached) " >&6
 
18018
else
 
18019
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
18020
fi
 
18021
 
 
18022
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
18023
 
 
18024
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
18025
if test "$GCC" = yes; then
 
18026
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
18027
fi
 
18028
 
 
18029
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18030
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
18031
hardcode_action_F77=
 
18032
if test -n "$hardcode_libdir_flag_spec_F77" || \
 
18033
   test -n "$runpath_var_F77" || \
 
18034
   test "X$hardcode_automatic_F77" = "Xyes" ; then
 
18035
 
 
18036
  # We can hardcode non-existant directories.
 
18037
  if test "$hardcode_direct_F77" != no &&
 
18038
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
18039
     # have to relink, otherwise we might link with an installed library
 
18040
     # when we should be linking with a yet-to-be-installed one
 
18041
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
 
18042
     test "$hardcode_minus_L_F77" != no; then
 
18043
    # Linking always hardcodes the temporary library directory.
 
18044
    hardcode_action_F77=relink
 
18045
  else
 
18046
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
18047
    hardcode_action_F77=immediate
 
18048
  fi
 
18049
else
 
18050
  # We cannot hardcode anything, or else we can only hardcode existing
 
18051
  # directories.
 
18052
  hardcode_action_F77=unsupported
 
18053
fi
 
18054
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
18055
$as_echo "$hardcode_action_F77" >&6; }
 
18056
 
 
18057
if test "$hardcode_action_F77" = relink; then
 
18058
  # Fast installation is not supported
 
18059
  enable_fast_install=no
 
18060
elif test "$shlibpath_overrides_runpath" = yes ||
 
18061
     test "$enable_shared" = no; then
 
18062
  # Fast installation is not necessary
 
18063
  enable_fast_install=needless
 
18064
fi
 
18065
 
 
18066
 
 
18067
# The else clause should only fire when bootstrapping the
 
18068
# libtool distribution, otherwise you forgot to ship ltmain.sh
 
18069
# with your package, and you will get complaints that there are
 
18070
# no rules to generate ltmain.sh.
 
18071
if test -f "$ltmain"; then
 
18072
  # See if we are running on zsh, and set the options which allow our commands through
 
18073
  # without removal of \ escapes.
 
18074
  if test -n "${ZSH_VERSION+set}" ; then
 
18075
    setopt NO_GLOB_SUBST
 
18076
  fi
 
18077
  # Now quote all the things that may contain metacharacters while being
 
18078
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
18079
  # variables and quote the copies for generation of the libtool script.
 
18080
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 
18081
    SED SHELL STRIP \
 
18082
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
18083
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
18084
    deplibs_check_method reload_flag reload_cmds need_locks \
 
18085
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
18086
    lt_cv_sys_global_symbol_to_c_name_address \
 
18087
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
18088
    old_postinstall_cmds old_postuninstall_cmds \
 
18089
    compiler_F77 \
 
18090
    CC_F77 \
 
18091
    LD_F77 \
 
18092
    lt_prog_compiler_wl_F77 \
 
18093
    lt_prog_compiler_pic_F77 \
 
18094
    lt_prog_compiler_static_F77 \
 
18095
    lt_prog_compiler_no_builtin_flag_F77 \
 
18096
    export_dynamic_flag_spec_F77 \
 
18097
    thread_safe_flag_spec_F77 \
 
18098
    whole_archive_flag_spec_F77 \
 
18099
    enable_shared_with_static_runtimes_F77 \
 
18100
    old_archive_cmds_F77 \
 
18101
    old_archive_from_new_cmds_F77 \
 
18102
    predep_objects_F77 \
 
18103
    postdep_objects_F77 \
 
18104
    predeps_F77 \
 
18105
    postdeps_F77 \
 
18106
    compiler_lib_search_path_F77 \
 
18107
    compiler_lib_search_dirs_F77 \
 
18108
    archive_cmds_F77 \
 
18109
    archive_expsym_cmds_F77 \
 
18110
    postinstall_cmds_F77 \
 
18111
    postuninstall_cmds_F77 \
 
18112
    old_archive_from_expsyms_cmds_F77 \
 
18113
    allow_undefined_flag_F77 \
 
18114
    no_undefined_flag_F77 \
 
18115
    export_symbols_cmds_F77 \
 
18116
    hardcode_libdir_flag_spec_F77 \
 
18117
    hardcode_libdir_flag_spec_ld_F77 \
 
18118
    hardcode_libdir_separator_F77 \
 
18119
    hardcode_automatic_F77 \
 
18120
    module_cmds_F77 \
 
18121
    module_expsym_cmds_F77 \
 
18122
    lt_cv_prog_compiler_c_o_F77 \
 
18123
    fix_srcfile_path_F77 \
 
18124
    exclude_expsyms_F77 \
 
18125
    include_expsyms_F77; do
 
18126
 
 
18127
    case $var in
 
18128
    old_archive_cmds_F77 | \
 
18129
    old_archive_from_new_cmds_F77 | \
 
18130
    archive_cmds_F77 | \
 
18131
    archive_expsym_cmds_F77 | \
 
18132
    module_cmds_F77 | \
 
18133
    module_expsym_cmds_F77 | \
 
18134
    old_archive_from_expsyms_cmds_F77 | \
 
18135
    export_symbols_cmds_F77 | \
 
18136
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
18137
    postinstall_cmds | postuninstall_cmds | \
 
18138
    old_postinstall_cmds | old_postuninstall_cmds | \
 
18139
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
18140
      # Double-quote double-evaled strings.
 
18141
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
18142
      ;;
 
18143
    *)
 
18144
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
18145
      ;;
 
18146
    esac
 
18147
  done
 
18148
 
 
18149
  case $lt_echo in
 
18150
  *'\$0 --fallback-echo"')
 
18151
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
18152
    ;;
 
18153
  esac
 
18154
 
 
18155
cfgfile="$ofile"
 
18156
 
 
18157
  cat <<__EOF__ >> "$cfgfile"
 
18158
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 
18159
 
 
18160
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
18161
 
 
18162
# Shell to use when invoking shell scripts.
 
18163
SHELL=$lt_SHELL
 
18164
 
 
18165
# Whether or not to build shared libraries.
 
18166
build_libtool_libs=$enable_shared
 
18167
 
 
18168
# Whether or not to build static libraries.
 
18169
build_old_libs=$enable_static
 
18170
 
 
18171
# Whether or not to add -lc for building shared libraries.
 
18172
build_libtool_need_lc=$archive_cmds_need_lc_F77
 
18173
 
 
18174
# Whether or not to disallow shared libs when runtime libs are static
 
18175
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
 
18176
 
 
18177
# Whether or not to optimize for fast installation.
 
18178
fast_install=$enable_fast_install
 
18179
 
 
18180
# The host system.
 
18181
host_alias=$host_alias
 
18182
host=$host
 
18183
host_os=$host_os
 
18184
 
 
18185
# The build system.
 
18186
build_alias=$build_alias
 
18187
build=$build
 
18188
build_os=$build_os
 
18189
 
 
18190
# An echo program that does not interpret backslashes.
 
18191
echo=$lt_echo
 
18192
 
 
18193
# The archiver.
 
18194
AR=$lt_AR
 
18195
AR_FLAGS=$lt_AR_FLAGS
 
18196
 
 
18197
# A C compiler.
 
18198
LTCC=$lt_LTCC
 
18199
 
 
18200
# LTCC compiler flags.
 
18201
LTCFLAGS=$lt_LTCFLAGS
 
18202
 
 
18203
# A language-specific compiler.
 
18204
CC=$lt_compiler_F77
 
18205
 
 
18206
# Is the compiler the GNU C compiler?
 
18207
with_gcc=$GCC_F77
 
18208
 
 
18209
# An ERE matcher.
 
18210
EGREP=$lt_EGREP
 
18211
 
 
18212
# The linker used to build libraries.
 
18213
LD=$lt_LD_F77
 
18214
 
 
18215
# Whether we need hard or soft links.
 
18216
LN_S=$lt_LN_S
 
18217
 
 
18218
# A BSD-compatible nm program.
 
18219
NM=$lt_NM
 
18220
 
 
18221
# A symbol stripping program
 
18222
STRIP=$lt_STRIP
 
18223
 
 
18224
# Used to examine libraries when file_magic_cmd begins "file"
 
18225
MAGIC_CMD=$MAGIC_CMD
 
18226
 
 
18227
# Used on cygwin: DLL creation program.
 
18228
DLLTOOL="$DLLTOOL"
 
18229
 
 
18230
# Used on cygwin: object dumper.
 
18231
OBJDUMP="$OBJDUMP"
 
18232
 
 
18233
# Used on cygwin: assembler.
 
18234
AS="$AS"
 
18235
 
 
18236
# The name of the directory that contains temporary libtool files.
 
18237
objdir=$objdir
 
18238
 
 
18239
# How to create reloadable object files.
 
18240
reload_flag=$lt_reload_flag
 
18241
reload_cmds=$lt_reload_cmds
 
18242
 
 
18243
# How to pass a linker flag through the compiler.
 
18244
wl=$lt_lt_prog_compiler_wl_F77
 
18245
 
 
18246
# Object file suffix (normally "o").
 
18247
objext="$ac_objext"
 
18248
 
 
18249
# Old archive suffix (normally "a").
 
18250
libext="$libext"
 
18251
 
 
18252
# Shared library suffix (normally ".so").
 
18253
shrext_cmds='$shrext_cmds'
 
18254
 
 
18255
# Executable file suffix (normally "").
 
18256
exeext="$exeext"
 
18257
 
 
18258
# Additional compiler flags for building library objects.
 
18259
pic_flag=$lt_lt_prog_compiler_pic_F77
 
18260
pic_mode=$pic_mode
 
18261
 
 
18262
# What is the maximum length of a command?
 
18263
max_cmd_len=$lt_cv_sys_max_cmd_len
 
18264
 
 
18265
# Does compiler simultaneously support -c and -o options?
 
18266
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
 
18267
 
 
18268
# Must we lock files when doing compilation?
 
18269
need_locks=$lt_need_locks
 
18270
 
 
18271
# Do we need the lib prefix for modules?
 
18272
need_lib_prefix=$need_lib_prefix
 
18273
 
 
18274
# Do we need a version for libraries?
 
18275
need_version=$need_version
 
18276
 
 
18277
# Whether dlopen is supported.
 
18278
dlopen_support=$enable_dlopen
 
18279
 
 
18280
# Whether dlopen of programs is supported.
 
18281
dlopen_self=$enable_dlopen_self
 
18282
 
 
18283
# Whether dlopen of statically linked programs is supported.
 
18284
dlopen_self_static=$enable_dlopen_self_static
 
18285
 
 
18286
# Compiler flag to prevent dynamic linking.
 
18287
link_static_flag=$lt_lt_prog_compiler_static_F77
 
18288
 
 
18289
# Compiler flag to turn off builtin functions.
 
18290
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
 
18291
 
 
18292
# Compiler flag to allow reflexive dlopens.
 
18293
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
 
18294
 
 
18295
# Compiler flag to generate shared objects directly from archives.
 
18296
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
 
18297
 
 
18298
# Compiler flag to generate thread-safe objects.
 
18299
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
 
18300
 
 
18301
# Library versioning type.
 
18302
version_type=$version_type
 
18303
 
 
18304
# Format of library name prefix.
 
18305
libname_spec=$lt_libname_spec
 
18306
 
 
18307
# List of archive names.  First name is the real one, the rest are links.
 
18308
# The last name is the one that the linker finds with -lNAME.
 
18309
library_names_spec=$lt_library_names_spec
 
18310
 
 
18311
# The coded name of the library, if different from the real name.
 
18312
soname_spec=$lt_soname_spec
 
18313
 
 
18314
# Commands used to build and install an old-style archive.
 
18315
RANLIB=$lt_RANLIB
 
18316
old_archive_cmds=$lt_old_archive_cmds_F77
 
18317
old_postinstall_cmds=$lt_old_postinstall_cmds
 
18318
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
18319
 
 
18320
# Create an old-style archive from a shared archive.
 
18321
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
 
18322
 
 
18323
# Create a temporary old-style archive to link instead of a shared archive.
 
18324
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
 
18325
 
 
18326
# Commands used to build and install a shared archive.
 
18327
archive_cmds=$lt_archive_cmds_F77
 
18328
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
 
18329
postinstall_cmds=$lt_postinstall_cmds
 
18330
postuninstall_cmds=$lt_postuninstall_cmds
 
18331
 
 
18332
# Commands used to build a loadable module (assumed same as above if empty)
 
18333
module_cmds=$lt_module_cmds_F77
 
18334
module_expsym_cmds=$lt_module_expsym_cmds_F77
 
18335
 
 
18336
# Commands to strip libraries.
 
18337
old_striplib=$lt_old_striplib
 
18338
striplib=$lt_striplib
 
18339
 
 
18340
# Dependencies to place before the objects being linked to create a
 
18341
# shared library.
 
18342
predep_objects=$lt_predep_objects_F77
 
18343
 
 
18344
# Dependencies to place after the objects being linked to create a
 
18345
# shared library.
 
18346
postdep_objects=$lt_postdep_objects_F77
 
18347
 
 
18348
# Dependencies to place before the objects being linked to create a
 
18349
# shared library.
 
18350
predeps=$lt_predeps_F77
 
18351
 
 
18352
# Dependencies to place after the objects being linked to create a
 
18353
# shared library.
 
18354
postdeps=$lt_postdeps_F77
 
18355
 
 
18356
# The directories searched by this compiler when creating a shared
 
18357
# library
 
18358
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
18359
 
 
18360
# The library search path used internally by the compiler when linking
 
18361
# a shared library.
 
18362
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
 
18363
 
 
18364
# Method to check whether dependent libraries are shared objects.
 
18365
deplibs_check_method=$lt_deplibs_check_method
 
18366
 
 
18367
# Command to use when deplibs_check_method == file_magic.
 
18368
file_magic_cmd=$lt_file_magic_cmd
 
18369
 
 
18370
# Flag that allows shared libraries with undefined symbols to be built.
 
18371
allow_undefined_flag=$lt_allow_undefined_flag_F77
 
18372
 
 
18373
# Flag that forces no undefined symbols.
 
18374
no_undefined_flag=$lt_no_undefined_flag_F77
 
18375
 
 
18376
# Commands used to finish a libtool library installation in a directory.
 
18377
finish_cmds=$lt_finish_cmds
 
18378
 
 
18379
# Same as above, but a single script fragment to be evaled but not shown.
 
18380
finish_eval=$lt_finish_eval
 
18381
 
 
18382
# Take the output of nm and produce a listing of raw symbols and C names.
 
18383
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
18384
 
 
18385
# Transform the output of nm in a proper C declaration
 
18386
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
18387
 
 
18388
# Transform the output of nm in a C name address pair
 
18389
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
18390
 
 
18391
# This is the shared library runtime path variable.
 
18392
runpath_var=$runpath_var
 
18393
 
 
18394
# This is the shared library path variable.
 
18395
shlibpath_var=$shlibpath_var
 
18396
 
 
18397
# Is shlibpath searched before the hard-coded library search path?
 
18398
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
18399
 
 
18400
# How to hardcode a shared library path into an executable.
 
18401
hardcode_action=$hardcode_action_F77
 
18402
 
 
18403
# Whether we should hardcode library paths into libraries.
 
18404
hardcode_into_libs=$hardcode_into_libs
 
18405
 
 
18406
# Flag to hardcode \$libdir into a binary during linking.
 
18407
# This must work even if \$libdir does not exist.
 
18408
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
 
18409
 
 
18410
# If ld is used when linking, flag to hardcode \$libdir into
 
18411
# a binary during linking. This must work even if \$libdir does
 
18412
# not exist.
 
18413
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
 
18414
 
 
18415
# Whether we need a single -rpath flag with a separated argument.
 
18416
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
 
18417
 
 
18418
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
18419
# resulting binary.
 
18420
hardcode_direct=$hardcode_direct_F77
 
18421
 
 
18422
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
18423
# resulting binary.
 
18424
hardcode_minus_L=$hardcode_minus_L_F77
 
18425
 
 
18426
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
18427
# the resulting binary.
 
18428
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
 
18429
 
 
18430
# Set to yes if building a shared library automatically hardcodes DIR into the library
 
18431
# and all subsequent libraries and executables linked against it.
 
18432
hardcode_automatic=$hardcode_automatic_F77
 
18433
 
 
18434
# Variables whose values should be saved in libtool wrapper scripts and
 
18435
# restored at relink time.
 
18436
variables_saved_for_relink="$variables_saved_for_relink"
 
18437
 
 
18438
# Whether libtool must link a program against all its dependency libraries.
 
18439
link_all_deplibs=$link_all_deplibs_F77
 
18440
 
 
18441
# Compile-time system search path for libraries
 
18442
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
18443
 
 
18444
# Run-time system search path for libraries
 
18445
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
18446
 
 
18447
# Fix the shell variable \$srcfile for the compiler.
 
18448
fix_srcfile_path=$lt_fix_srcfile_path
 
18449
 
 
18450
# Set to yes if exported symbols are required.
 
18451
always_export_symbols=$always_export_symbols_F77
 
18452
 
 
18453
# The commands to list exported symbols.
 
18454
export_symbols_cmds=$lt_export_symbols_cmds_F77
 
18455
 
 
18456
# The commands to extract the exported symbol list from a shared archive.
 
18457
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
18458
 
 
18459
# Symbols that should not be listed in the preloaded symbols.
 
18460
exclude_expsyms=$lt_exclude_expsyms_F77
 
18461
 
 
18462
# Symbols that must always be exported.
 
18463
include_expsyms=$lt_include_expsyms_F77
 
18464
 
 
18465
# ### END LIBTOOL TAG CONFIG: $tagname
 
18466
 
 
18467
__EOF__
 
18468
 
 
18469
 
 
18470
else
 
18471
  # If there is no Makefile yet, we rely on a make rule to execute
 
18472
  # `config.status --recheck' to rerun these tests and create the
 
18473
  # libtool script then.
 
18474
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
18475
  if test -f "$ltmain_in"; then
 
18476
    test -f Makefile && make "$ltmain"
 
18477
  fi
 
18478
fi
 
18479
 
 
18480
 
 
18481
ac_ext=c
 
18482
ac_cpp='$CPP $CPPFLAGS'
 
18483
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
18484
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
18485
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
18486
 
 
18487
CC="$lt_save_CC"
 
18488
 
 
18489
        else
 
18490
          tagname=""
 
18491
        fi
 
18492
        ;;
 
18493
 
 
18494
      GCJ)
 
18495
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
 
18496
 
 
18497
 
 
18498
# Source file extension for Java test sources.
 
18499
ac_ext=java
 
18500
 
 
18501
# Object file extension for compiled Java test sources.
 
18502
objext=o
 
18503
objext_GCJ=$objext
 
18504
 
 
18505
# Code to be used in simple compile tests
 
18506
lt_simple_compile_test_code="class foo {}"
 
18507
 
 
18508
# Code to be used in simple link tests
 
18509
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
 
18510
 
 
18511
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
18512
 
 
18513
# If no C compiler was specified, use CC.
 
18514
LTCC=${LTCC-"$CC"}
 
18515
 
 
18516
# If no C compiler flags were specified, use CFLAGS.
 
18517
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
18518
 
 
18519
# Allow CC to be a program name with arguments.
 
18520
compiler=$CC
 
18521
 
 
18522
 
 
18523
# save warnings/boilerplate of simple test code
 
18524
ac_outfile=conftest.$ac_objext
 
18525
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
18526
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
18527
_lt_compiler_boilerplate=`cat conftest.err`
 
18528
$rm conftest*
 
18529
 
 
18530
ac_outfile=conftest.$ac_objext
 
18531
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
18532
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
18533
_lt_linker_boilerplate=`cat conftest.err`
 
18534
$rm -r conftest*
 
18535
 
 
18536
 
 
18537
# Allow CC to be a program name with arguments.
 
18538
lt_save_CC="$CC"
 
18539
CC=${GCJ-"gcj"}
 
18540
compiler=$CC
 
18541
compiler_GCJ=$CC
 
18542
for cc_temp in $compiler""; do
 
18543
  case $cc_temp in
 
18544
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
18545
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
18546
    \-*) ;;
 
18547
    *) break;;
 
18548
  esac
 
18549
done
 
18550
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
18551
 
 
18552
 
 
18553
# GCJ did not exist at the time GCC didn't implicitly link libc in.
 
18554
archive_cmds_need_lc_GCJ=no
 
18555
 
 
18556
old_archive_cmds_GCJ=$old_archive_cmds
 
18557
 
 
18558
 
 
18559
lt_prog_compiler_no_builtin_flag_GCJ=
 
18560
 
 
18561
if test "$GCC" = yes; then
 
18562
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
 
18563
 
 
18564
 
 
18565
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
18566
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
18567
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
18568
  $as_echo_n "(cached) " >&6
 
18569
else
 
18570
  lt_cv_prog_compiler_rtti_exceptions=no
 
18571
  ac_outfile=conftest.$ac_objext
 
18572
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18573
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
18574
   # Insert the option either (1) after the last *FLAGS variable, or
 
18575
   # (2) before a word containing "conftest.", or (3) at the end.
 
18576
   # Note that $ac_compile itself does not contain backslashes and begins
 
18577
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
18578
   # The option is referenced via a variable to avoid confusing sed.
 
18579
   lt_compile=`echo "$ac_compile" | $SED \
 
18580
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
18581
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
18582
   -e 's:$: $lt_compiler_flag:'`
 
18583
   (eval echo "\"\$as_me:18583: $lt_compile\"" >&5)
 
18584
   (eval "$lt_compile" 2>conftest.err)
 
18585
   ac_status=$?
 
18586
   cat conftest.err >&5
 
18587
   echo "$as_me:18587: \$? = $ac_status" >&5
 
18588
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
18589
     # The compiler can only warn and ignore the option if not recognized
 
18590
     # So say no if there are warnings other than the usual output.
 
18591
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
18592
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
18593
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
18594
       lt_cv_prog_compiler_rtti_exceptions=yes
 
18595
     fi
 
18596
   fi
 
18597
   $rm conftest*
 
18598
 
 
18599
fi
 
18600
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
18601
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
18602
 
 
18603
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
18604
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
 
18605
else
 
18606
    :
 
18607
fi
 
18608
 
 
18609
fi
 
18610
 
 
18611
lt_prog_compiler_wl_GCJ=
 
18612
lt_prog_compiler_pic_GCJ=
 
18613
lt_prog_compiler_static_GCJ=
 
18614
 
 
18615
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
18616
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
18617
 
 
18618
  if test "$GCC" = yes; then
 
18619
    lt_prog_compiler_wl_GCJ='-Wl,'
 
18620
    lt_prog_compiler_static_GCJ='-static'
 
18621
 
 
18622
    case $host_os in
 
18623
      aix*)
 
18624
      # All AIX code is PIC.
 
18625
      if test "$host_cpu" = ia64; then
 
18626
        # AIX 5 now supports IA64 processor
 
18627
        lt_prog_compiler_static_GCJ='-Bstatic'
 
18628
      fi
 
18629
      ;;
 
18630
 
 
18631
    amigaos*)
 
18632
      # FIXME: we need at least 68020 code to build shared libraries, but
 
18633
      # adding the `-m68020' flag to GCC prevents building anything better,
 
18634
      # like `-m68040'.
 
18635
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
 
18636
      ;;
 
18637
 
 
18638
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
18639
      # PIC is the default for these OSes.
 
18640
      ;;
 
18641
 
 
18642
    mingw* | cygwin* | pw32* | os2*)
 
18643
      # This hack is so that the source file can tell whether it is being
 
18644
      # built for inclusion in a dll (and should export symbols for example).
 
18645
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
18646
      # (--disable-auto-import) libraries
 
18647
 
 
18648
      ;;
 
18649
 
 
18650
    darwin* | rhapsody*)
 
18651
      # PIC is the default on this platform
 
18652
      # Common symbols not allowed in MH_DYLIB files
 
18653
      lt_prog_compiler_pic_GCJ='-fno-common'
 
18654
      ;;
 
18655
 
 
18656
    interix[3-9]*)
 
18657
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
18658
      # Instead, we relocate shared libraries at runtime.
 
18659
      ;;
 
18660
 
 
18661
    msdosdjgpp*)
 
18662
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
18663
      # on systems that don't support them.
 
18664
      lt_prog_compiler_can_build_shared_GCJ=no
 
18665
      enable_shared=no
 
18666
      ;;
 
18667
 
 
18668
    sysv4*MP*)
 
18669
      if test -d /usr/nec; then
 
18670
        lt_prog_compiler_pic_GCJ=-Kconform_pic
 
18671
      fi
 
18672
      ;;
 
18673
 
 
18674
    hpux*)
 
18675
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
18676
      # not for PA HP-UX.
 
18677
      case $host_cpu in
 
18678
      hppa*64*|ia64*)
 
18679
        # +Z the default
 
18680
        ;;
 
18681
      *)
 
18682
        lt_prog_compiler_pic_GCJ='-fPIC'
 
18683
        ;;
 
18684
      esac
 
18685
      ;;
 
18686
 
 
18687
    *)
 
18688
      lt_prog_compiler_pic_GCJ='-fPIC'
 
18689
      ;;
 
18690
    esac
 
18691
  else
 
18692
    # PORTME Check for flag to pass linker flags through the system compiler.
 
18693
    case $host_os in
 
18694
    aix*)
 
18695
      lt_prog_compiler_wl_GCJ='-Wl,'
 
18696
      if test "$host_cpu" = ia64; then
 
18697
        # AIX 5 now supports IA64 processor
 
18698
        lt_prog_compiler_static_GCJ='-Bstatic'
 
18699
      else
 
18700
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
 
18701
      fi
 
18702
      ;;
 
18703
      darwin*)
 
18704
        # PIC is the default on this platform
 
18705
        # Common symbols not allowed in MH_DYLIB files
 
18706
       case $cc_basename in
 
18707
         xlc*)
 
18708
         lt_prog_compiler_pic_GCJ='-qnocommon'
 
18709
         lt_prog_compiler_wl_GCJ='-Wl,'
 
18710
         ;;
 
18711
       esac
 
18712
       ;;
 
18713
 
 
18714
    mingw* | cygwin* | pw32* | os2*)
 
18715
      # This hack is so that the source file can tell whether it is being
 
18716
      # built for inclusion in a dll (and should export symbols for example).
 
18717
 
 
18718
      ;;
 
18719
 
 
18720
    hpux9* | hpux10* | hpux11*)
 
18721
      lt_prog_compiler_wl_GCJ='-Wl,'
 
18722
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
18723
      # not for PA HP-UX.
 
18724
      case $host_cpu in
 
18725
      hppa*64*|ia64*)
 
18726
        # +Z the default
 
18727
        ;;
 
18728
      *)
 
18729
        lt_prog_compiler_pic_GCJ='+Z'
 
18730
        ;;
 
18731
      esac
 
18732
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
18733
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
 
18734
      ;;
 
18735
 
 
18736
    irix5* | irix6* | nonstopux*)
 
18737
      lt_prog_compiler_wl_GCJ='-Wl,'
 
18738
      # PIC (with -KPIC) is the default.
 
18739
      lt_prog_compiler_static_GCJ='-non_shared'
 
18740
      ;;
 
18741
 
 
18742
    newsos6)
 
18743
      lt_prog_compiler_pic_GCJ='-KPIC'
 
18744
      lt_prog_compiler_static_GCJ='-Bstatic'
 
18745
      ;;
 
18746
 
 
18747
    linux* | k*bsd*-gnu)
 
18748
      case $cc_basename in
 
18749
      icc* | ecc*)
 
18750
        lt_prog_compiler_wl_GCJ='-Wl,'
 
18751
        lt_prog_compiler_pic_GCJ='-KPIC'
 
18752
        lt_prog_compiler_static_GCJ='-static'
 
18753
        ;;
 
18754
      pgcc* | pgf77* | pgf90* | pgf95*)
 
18755
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
18756
        # which looks to be a dead project)
 
18757
        lt_prog_compiler_wl_GCJ='-Wl,'
 
18758
        lt_prog_compiler_pic_GCJ='-fpic'
 
18759
        lt_prog_compiler_static_GCJ='-Bstatic'
 
18760
        ;;
 
18761
      ccc*)
 
18762
        lt_prog_compiler_wl_GCJ='-Wl,'
 
18763
        # All Alpha code is PIC.
 
18764
        lt_prog_compiler_static_GCJ='-non_shared'
 
18765
        ;;
 
18766
      *)
 
18767
        case `$CC -V 2>&1 | sed 5q` in
 
18768
        *Sun\ C*)
 
18769
          # Sun C 5.9
 
18770
          lt_prog_compiler_pic_GCJ='-KPIC'
 
18771
          lt_prog_compiler_static_GCJ='-Bstatic'
 
18772
          lt_prog_compiler_wl_GCJ='-Wl,'
 
18773
          ;;
 
18774
        *Sun\ F*)
 
18775
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
18776
          lt_prog_compiler_pic_GCJ='-KPIC'
 
18777
          lt_prog_compiler_static_GCJ='-Bstatic'
 
18778
          lt_prog_compiler_wl_GCJ=''
 
18779
          ;;
 
18780
        esac
 
18781
        ;;
 
18782
      esac
 
18783
      ;;
 
18784
 
 
18785
    osf3* | osf4* | osf5*)
 
18786
      lt_prog_compiler_wl_GCJ='-Wl,'
 
18787
      # All OSF/1 code is PIC.
 
18788
      lt_prog_compiler_static_GCJ='-non_shared'
 
18789
      ;;
 
18790
 
 
18791
    rdos*)
 
18792
      lt_prog_compiler_static_GCJ='-non_shared'
 
18793
      ;;
 
18794
 
 
18795
    solaris*)
 
18796
      lt_prog_compiler_pic_GCJ='-KPIC'
 
18797
      lt_prog_compiler_static_GCJ='-Bstatic'
 
18798
      case $cc_basename in
 
18799
      f77* | f90* | f95*)
 
18800
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
 
18801
      *)
 
18802
        lt_prog_compiler_wl_GCJ='-Wl,';;
 
18803
      esac
 
18804
      ;;
 
18805
 
 
18806
    sunos4*)
 
18807
      lt_prog_compiler_wl_GCJ='-Qoption ld '
 
18808
      lt_prog_compiler_pic_GCJ='-PIC'
 
18809
      lt_prog_compiler_static_GCJ='-Bstatic'
 
18810
      ;;
 
18811
 
 
18812
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
18813
      lt_prog_compiler_wl_GCJ='-Wl,'
 
18814
      lt_prog_compiler_pic_GCJ='-KPIC'
 
18815
      lt_prog_compiler_static_GCJ='-Bstatic'
 
18816
      ;;
 
18817
 
 
18818
    sysv4*MP*)
 
18819
      if test -d /usr/nec ;then
 
18820
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
 
18821
        lt_prog_compiler_static_GCJ='-Bstatic'
 
18822
      fi
 
18823
      ;;
 
18824
 
 
18825
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
18826
      lt_prog_compiler_wl_GCJ='-Wl,'
 
18827
      lt_prog_compiler_pic_GCJ='-KPIC'
 
18828
      lt_prog_compiler_static_GCJ='-Bstatic'
 
18829
      ;;
 
18830
 
 
18831
    unicos*)
 
18832
      lt_prog_compiler_wl_GCJ='-Wl,'
 
18833
      lt_prog_compiler_can_build_shared_GCJ=no
 
18834
      ;;
 
18835
 
 
18836
    uts4*)
 
18837
      lt_prog_compiler_pic_GCJ='-pic'
 
18838
      lt_prog_compiler_static_GCJ='-Bstatic'
 
18839
      ;;
 
18840
 
 
18841
    *)
 
18842
      lt_prog_compiler_can_build_shared_GCJ=no
 
18843
      ;;
 
18844
    esac
 
18845
  fi
 
18846
 
 
18847
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
18848
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
 
18849
 
 
18850
#
 
18851
# Check to make sure the PIC flag actually works.
 
18852
#
 
18853
if test -n "$lt_prog_compiler_pic_GCJ"; then
 
18854
 
 
18855
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
18856
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
 
18857
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
 
18858
  $as_echo_n "(cached) " >&6
 
18859
else
 
18860
  lt_cv_prog_compiler_pic_works_GCJ=no
 
18861
  ac_outfile=conftest.$ac_objext
 
18862
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18863
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
 
18864
   # Insert the option either (1) after the last *FLAGS variable, or
 
18865
   # (2) before a word containing "conftest.", or (3) at the end.
 
18866
   # Note that $ac_compile itself does not contain backslashes and begins
 
18867
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
18868
   # The option is referenced via a variable to avoid confusing sed.
 
18869
   lt_compile=`echo "$ac_compile" | $SED \
 
18870
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
18871
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
18872
   -e 's:$: $lt_compiler_flag:'`
 
18873
   (eval echo "\"\$as_me:18873: $lt_compile\"" >&5)
 
18874
   (eval "$lt_compile" 2>conftest.err)
 
18875
   ac_status=$?
 
18876
   cat conftest.err >&5
 
18877
   echo "$as_me:18877: \$? = $ac_status" >&5
 
18878
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
18879
     # The compiler can only warn and ignore the option if not recognized
 
18880
     # So say no if there are warnings other than the usual output.
 
18881
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
18882
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
18883
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
18884
       lt_cv_prog_compiler_pic_works_GCJ=yes
 
18885
     fi
 
18886
   fi
 
18887
   $rm conftest*
 
18888
 
 
18889
fi
 
18890
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
18891
$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
 
18892
 
 
18893
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
 
18894
    case $lt_prog_compiler_pic_GCJ in
 
18895
     "" | " "*) ;;
 
18896
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
 
18897
     esac
 
18898
else
 
18899
    lt_prog_compiler_pic_GCJ=
 
18900
     lt_prog_compiler_can_build_shared_GCJ=no
 
18901
fi
 
18902
 
 
18903
fi
 
18904
case $host_os in
 
18905
  # For platforms which do not support PIC, -DPIC is meaningless:
 
18906
  *djgpp*)
 
18907
    lt_prog_compiler_pic_GCJ=
 
18908
    ;;
 
18909
  *)
 
18910
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
 
18911
    ;;
 
18912
esac
 
18913
 
 
18914
#
 
18915
# Check to make sure the static flag actually works.
 
18916
#
 
18917
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 
18918
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
18919
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
18920
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
 
18921
  $as_echo_n "(cached) " >&6
 
18922
else
 
18923
  lt_cv_prog_compiler_static_works_GCJ=no
 
18924
   save_LDFLAGS="$LDFLAGS"
 
18925
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
18926
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
18927
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
18928
     # The linker can only warn and ignore the option if not recognized
 
18929
     # So say no if there are warnings
 
18930
     if test -s conftest.err; then
 
18931
       # Append any errors to the config.log.
 
18932
       cat conftest.err 1>&5
 
18933
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
18934
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
18935
       if diff conftest.exp conftest.er2 >/dev/null; then
 
18936
         lt_cv_prog_compiler_static_works_GCJ=yes
 
18937
       fi
 
18938
     else
 
18939
       lt_cv_prog_compiler_static_works_GCJ=yes
 
18940
     fi
 
18941
   fi
 
18942
   $rm -r conftest*
 
18943
   LDFLAGS="$save_LDFLAGS"
 
18944
 
 
18945
fi
 
18946
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
18947
$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
 
18948
 
 
18949
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
 
18950
    :
 
18951
else
 
18952
    lt_prog_compiler_static_GCJ=
 
18953
fi
 
18954
 
 
18955
 
 
18956
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
18957
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
18958
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
 
18959
  $as_echo_n "(cached) " >&6
 
18960
else
 
18961
  lt_cv_prog_compiler_c_o_GCJ=no
 
18962
   $rm -r conftest 2>/dev/null
 
18963
   mkdir conftest
 
18964
   cd conftest
 
18965
   mkdir out
 
18966
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18967
 
 
18968
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
18969
   # Insert the option either (1) after the last *FLAGS variable, or
 
18970
   # (2) before a word containing "conftest.", or (3) at the end.
 
18971
   # Note that $ac_compile itself does not contain backslashes and begins
 
18972
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
18973
   lt_compile=`echo "$ac_compile" | $SED \
 
18974
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
18975
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
18976
   -e 's:$: $lt_compiler_flag:'`
 
18977
   (eval echo "\"\$as_me:18977: $lt_compile\"" >&5)
 
18978
   (eval "$lt_compile" 2>out/conftest.err)
 
18979
   ac_status=$?
 
18980
   cat out/conftest.err >&5
 
18981
   echo "$as_me:18981: \$? = $ac_status" >&5
 
18982
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
18983
   then
 
18984
     # The compiler can only warn and ignore the option if not recognized
 
18985
     # So say no if there are warnings
 
18986
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
18987
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
18988
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
18989
       lt_cv_prog_compiler_c_o_GCJ=yes
 
18990
     fi
 
18991
   fi
 
18992
   chmod u+w . 2>&5
 
18993
   $rm conftest*
 
18994
   # SGI C++ compiler will create directory out/ii_files/ for
 
18995
   # template instantiation
 
18996
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
18997
   $rm out/* && rmdir out
 
18998
   cd ..
 
18999
   rmdir conftest
 
19000
   $rm conftest*
 
19001
 
 
19002
fi
 
19003
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
19004
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
 
19005
 
 
19006
 
 
19007
hard_links="nottested"
 
19008
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
 
19009
  # do not overwrite the value of need_locks provided by the user
 
19010
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
19011
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
19012
  hard_links=yes
 
19013
  $rm conftest*
 
19014
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
19015
  touch conftest.a
 
19016
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
19017
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
19018
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
19019
$as_echo "$hard_links" >&6; }
 
19020
  if test "$hard_links" = no; then
 
19021
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
19022
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
19023
    need_locks=warn
 
19024
  fi
 
19025
else
 
19026
  need_locks=no
 
19027
fi
 
19028
 
 
19029
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
19030
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
19031
 
 
19032
  runpath_var=
 
19033
  allow_undefined_flag_GCJ=
 
19034
  enable_shared_with_static_runtimes_GCJ=no
 
19035
  archive_cmds_GCJ=
 
19036
  archive_expsym_cmds_GCJ=
 
19037
  old_archive_From_new_cmds_GCJ=
 
19038
  old_archive_from_expsyms_cmds_GCJ=
 
19039
  export_dynamic_flag_spec_GCJ=
 
19040
  whole_archive_flag_spec_GCJ=
 
19041
  thread_safe_flag_spec_GCJ=
 
19042
  hardcode_libdir_flag_spec_GCJ=
 
19043
  hardcode_libdir_flag_spec_ld_GCJ=
 
19044
  hardcode_libdir_separator_GCJ=
 
19045
  hardcode_direct_GCJ=no
 
19046
  hardcode_minus_L_GCJ=no
 
19047
  hardcode_shlibpath_var_GCJ=unsupported
 
19048
  link_all_deplibs_GCJ=unknown
 
19049
  hardcode_automatic_GCJ=no
 
19050
  module_cmds_GCJ=
 
19051
  module_expsym_cmds_GCJ=
 
19052
  always_export_symbols_GCJ=no
 
19053
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
19054
  # include_expsyms should be a list of space-separated symbols to be *always*
 
19055
  # included in the symbol list
 
19056
  include_expsyms_GCJ=
 
19057
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
19058
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
19059
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
19060
  # as well as any symbol that contains `d'.
 
19061
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
19062
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
19063
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
19064
  # the symbol is explicitly referenced.  Since portable code cannot
 
19065
  # rely on this symbol name, it's probably fine to never include it in
 
19066
  # preloaded symbol tables.
 
19067
  # Exclude shared library initialization/finalization symbols.
 
19068
  extract_expsyms_cmds=
 
19069
  # Just being paranoid about ensuring that cc_basename is set.
 
19070
  for cc_temp in $compiler""; do
 
19071
  case $cc_temp in
 
19072
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
19073
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
19074
    \-*) ;;
 
19075
    *) break;;
 
19076
  esac
 
19077
done
 
19078
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
19079
 
 
19080
  case $host_os in
 
19081
  cygwin* | mingw* | pw32*)
 
19082
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
19083
    # When not using gcc, we currently assume that we are using
 
19084
    # Microsoft Visual C++.
 
19085
    if test "$GCC" != yes; then
 
19086
      with_gnu_ld=no
 
19087
    fi
 
19088
    ;;
 
19089
  interix*)
 
19090
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
19091
    with_gnu_ld=yes
 
19092
    ;;
 
19093
  openbsd*)
 
19094
    with_gnu_ld=no
 
19095
    ;;
 
19096
  esac
 
19097
 
 
19098
  ld_shlibs_GCJ=yes
 
19099
  if test "$with_gnu_ld" = yes; then
 
19100
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
19101
    wlarc='${wl}'
 
19102
 
 
19103
    # Set some defaults for GNU ld with shared library support. These
 
19104
    # are reset later if shared libraries are not supported. Putting them
 
19105
    # here allows them to be overridden if necessary.
 
19106
    runpath_var=LD_RUN_PATH
 
19107
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 
19108
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 
19109
    # ancient GNU ld didn't support --whole-archive et. al.
 
19110
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
19111
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
19112
      else
 
19113
        whole_archive_flag_spec_GCJ=
 
19114
    fi
 
19115
    supports_anon_versioning=no
 
19116
    case `$LD -v 2>/dev/null` in
 
19117
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
19118
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
19119
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
19120
      *\ 2.11.*) ;; # other 2.11 versions
 
19121
      *) supports_anon_versioning=yes ;;
 
19122
    esac
 
19123
 
 
19124
    # See if GNU ld supports shared libraries.
 
19125
    case $host_os in
 
19126
    aix[3-9]*)
 
19127
      # On AIX/PPC, the GNU linker is very broken
 
19128
      if test "$host_cpu" != ia64; then
 
19129
        ld_shlibs_GCJ=no
 
19130
        cat <<EOF 1>&2
 
19131
 
 
19132
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
19133
*** to be unable to reliably create shared libraries on AIX.
 
19134
*** Therefore, libtool is disabling shared libraries support.  If you
 
19135
*** really care for shared libraries, you may want to modify your PATH
 
19136
*** so that a non-GNU linker is found, and then restart.
 
19137
 
 
19138
EOF
 
19139
      fi
 
19140
      ;;
 
19141
 
 
19142
    amigaos*)
 
19143
      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)'
 
19144
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
19145
      hardcode_minus_L_GCJ=yes
 
19146
 
 
19147
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 
19148
      # that the semantics of dynamic libraries on AmigaOS, at least up
 
19149
      # to version 4, is to share data among multiple programs linked
 
19150
      # with the same dynamic library.  Since this doesn't match the
 
19151
      # behavior of shared libraries on other platforms, we can't use
 
19152
      # them.
 
19153
      ld_shlibs_GCJ=no
 
19154
      ;;
 
19155
 
 
19156
    beos*)
 
19157
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
19158
        allow_undefined_flag_GCJ=unsupported
 
19159
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
19160
        # support --undefined.  This deserves some investigation.  FIXME
 
19161
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
19162
      else
 
19163
        ld_shlibs_GCJ=no
 
19164
      fi
 
19165
      ;;
 
19166
 
 
19167
    cygwin* | mingw* | pw32*)
 
19168
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
 
19169
      # as there is no search path for DLLs.
 
19170
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
19171
      allow_undefined_flag_GCJ=unsupported
 
19172
      always_export_symbols_GCJ=no
 
19173
      enable_shared_with_static_runtimes_GCJ=yes
 
19174
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
19175
 
 
19176
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
19177
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
19178
        # If the export-symbols file already is a .def file (1st line
 
19179
        # is EXPORTS), use it as is; otherwise, prepend...
 
19180
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
19181
          cp $export_symbols $output_objdir/$soname.def;
 
19182
        else
 
19183
          echo EXPORTS > $output_objdir/$soname.def;
 
19184
          cat $export_symbols >> $output_objdir/$soname.def;
 
19185
        fi~
 
19186
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
19187
      else
 
19188
        ld_shlibs_GCJ=no
 
19189
      fi
 
19190
      ;;
 
19191
 
 
19192
    interix[3-9]*)
 
19193
      hardcode_direct_GCJ=no
 
19194
      hardcode_shlibpath_var_GCJ=no
 
19195
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19196
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
19197
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
19198
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
19199
      # default) and relocated if they conflict, which is a slow very memory
 
19200
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
19201
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
19202
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
19203
      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'
 
19204
      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'
 
19205
      ;;
 
19206
 
 
19207
    gnu* | linux* | k*bsd*-gnu)
 
19208
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
19209
        tmp_addflag=
 
19210
        case $cc_basename,$host_cpu in
 
19211
        pgcc*)                          # Portland Group C compiler
 
19212
          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'
 
19213
          tmp_addflag=' $pic_flag'
 
19214
          ;;
 
19215
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
19216
          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'
 
19217
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
19218
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
19219
          tmp_addflag=' -i_dynamic' ;;
 
19220
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
19221
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
19222
        ifc* | ifort*)                  # Intel Fortran compiler
 
19223
          tmp_addflag=' -nofor_main' ;;
 
19224
        esac
 
19225
        case `$CC -V 2>&1 | sed 5q` in
 
19226
        *Sun\ C*)                       # Sun C 5.9
 
19227
          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'
 
19228
          tmp_sharedflag='-G' ;;
 
19229
        *Sun\ F*)                       # Sun Fortran 8.3
 
19230
          tmp_sharedflag='-G' ;;
 
19231
        *)
 
19232
          tmp_sharedflag='-shared' ;;
 
19233
        esac
 
19234
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
19235
 
 
19236
        if test $supports_anon_versioning = yes; then
 
19237
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 
19238
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
19239
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
19240
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
19241
        fi
 
19242
      else
 
19243
        ld_shlibs_GCJ=no
 
19244
      fi
 
19245
      ;;
 
19246
 
 
19247
    netbsd*)
 
19248
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
19249
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
19250
        wlarc=
 
19251
      else
 
19252
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
19253
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
19254
      fi
 
19255
      ;;
 
19256
 
 
19257
    solaris*)
 
19258
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
19259
        ld_shlibs_GCJ=no
 
19260
        cat <<EOF 1>&2
 
19261
 
 
19262
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
19263
*** create shared libraries on Solaris systems.  Therefore, libtool
 
19264
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
19265
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
19266
*** your PATH or compiler configuration so that the native linker is
 
19267
*** used, and then restart.
 
19268
 
 
19269
EOF
 
19270
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
19271
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
19272
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
19273
      else
 
19274
        ld_shlibs_GCJ=no
 
19275
      fi
 
19276
      ;;
 
19277
 
 
19278
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
19279
      case `$LD -v 2>&1` in
 
19280
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
19281
        ld_shlibs_GCJ=no
 
19282
        cat <<_LT_EOF 1>&2
 
19283
 
 
19284
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
19285
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
19286
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
19287
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
19288
*** your PATH or compiler configuration so that the native linker is
 
19289
*** used, and then restart.
 
19290
 
 
19291
_LT_EOF
 
19292
        ;;
 
19293
        *)
 
19294
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
19295
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
19296
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
19297
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
19298
          else
 
19299
            ld_shlibs_GCJ=no
 
19300
          fi
 
19301
        ;;
 
19302
      esac
 
19303
      ;;
 
19304
 
 
19305
    sunos4*)
 
19306
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
19307
      wlarc=
 
19308
      hardcode_direct_GCJ=yes
 
19309
      hardcode_shlibpath_var_GCJ=no
 
19310
      ;;
 
19311
 
 
19312
    *)
 
19313
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
19314
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
19315
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
19316
      else
 
19317
        ld_shlibs_GCJ=no
 
19318
      fi
 
19319
      ;;
 
19320
    esac
 
19321
 
 
19322
    if test "$ld_shlibs_GCJ" = no; then
 
19323
      runpath_var=
 
19324
      hardcode_libdir_flag_spec_GCJ=
 
19325
      export_dynamic_flag_spec_GCJ=
 
19326
      whole_archive_flag_spec_GCJ=
 
19327
    fi
 
19328
  else
 
19329
    # PORTME fill in a description of your system's linker (not GNU ld)
 
19330
    case $host_os in
 
19331
    aix3*)
 
19332
      allow_undefined_flag_GCJ=unsupported
 
19333
      always_export_symbols_GCJ=yes
 
19334
      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'
 
19335
      # Note: this linker hardcodes the directories in LIBPATH if there
 
19336
      # are no directories specified by -L.
 
19337
      hardcode_minus_L_GCJ=yes
 
19338
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
19339
        # Neither direct hardcoding nor static linking is supported with a
 
19340
        # broken collect2.
 
19341
        hardcode_direct_GCJ=unsupported
 
19342
      fi
 
19343
      ;;
 
19344
 
 
19345
    aix[4-9]*)
 
19346
      if test "$host_cpu" = ia64; then
 
19347
        # On IA64, the linker does run time linking by default, so we don't
 
19348
        # have to do anything special.
 
19349
        aix_use_runtimelinking=no
 
19350
        exp_sym_flag='-Bexport'
 
19351
        no_entry_flag=""
 
19352
      else
 
19353
        # If we're using GNU nm, then we don't want the "-C" option.
 
19354
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
19355
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
19356
          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'
 
19357
        else
 
19358
          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'
 
19359
        fi
 
19360
        aix_use_runtimelinking=no
 
19361
 
 
19362
        # Test if we are trying to use run time linking or normal
 
19363
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
19364
        # need to do runtime linking.
 
19365
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
19366
          for ld_flag in $LDFLAGS; do
 
19367
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
19368
            aix_use_runtimelinking=yes
 
19369
            break
 
19370
          fi
 
19371
          done
 
19372
          ;;
 
19373
        esac
 
19374
 
 
19375
        exp_sym_flag='-bexport'
 
19376
        no_entry_flag='-bnoentry'
 
19377
      fi
 
19378
 
 
19379
      # When large executables or shared objects are built, AIX ld can
 
19380
      # have problems creating the table of contents.  If linking a library
 
19381
      # or program results in "error TOC overflow" add -mminimal-toc to
 
19382
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
19383
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
19384
 
 
19385
      archive_cmds_GCJ=''
 
19386
      hardcode_direct_GCJ=yes
 
19387
      hardcode_libdir_separator_GCJ=':'
 
19388
      link_all_deplibs_GCJ=yes
 
19389
 
 
19390
      if test "$GCC" = yes; then
 
19391
        case $host_os in aix4.[012]|aix4.[012].*)
 
19392
        # We only want to do this on AIX 4.2 and lower, the check
 
19393
        # below for broken collect2 doesn't work under 4.3+
 
19394
          collect2name=`${CC} -print-prog-name=collect2`
 
19395
          if test -f "$collect2name" && \
 
19396
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
19397
          then
 
19398
          # We have reworked collect2
 
19399
          :
 
19400
          else
 
19401
          # We have old collect2
 
19402
          hardcode_direct_GCJ=unsupported
 
19403
          # It fails to find uninstalled libraries when the uninstalled
 
19404
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
19405
          # to unsupported forces relinking
 
19406
          hardcode_minus_L_GCJ=yes
 
19407
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
19408
          hardcode_libdir_separator_GCJ=
 
19409
          fi
 
19410
          ;;
 
19411
        esac
 
19412
        shared_flag='-shared'
 
19413
        if test "$aix_use_runtimelinking" = yes; then
 
19414
          shared_flag="$shared_flag "'${wl}-G'
 
19415
        fi
 
19416
      else
 
19417
        # not using gcc
 
19418
        if test "$host_cpu" = ia64; then
 
19419
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
19420
        # chokes on -Wl,-G. The following line is correct:
 
19421
          shared_flag='-G'
 
19422
        else
 
19423
          if test "$aix_use_runtimelinking" = yes; then
 
19424
            shared_flag='${wl}-G'
 
19425
          else
 
19426
            shared_flag='${wl}-bM:SRE'
 
19427
          fi
 
19428
        fi
 
19429
      fi
 
19430
 
 
19431
      # It seems that -bexpall does not export symbols beginning with
 
19432
      # underscore (_), so it is better to generate a list of symbols to export.
 
19433
      always_export_symbols_GCJ=yes
 
19434
      if test "$aix_use_runtimelinking" = yes; then
 
19435
        # Warning - without using the other runtime loading flags (-brtl),
 
19436
        # -berok will link without error, but may produce a broken library.
 
19437
        allow_undefined_flag_GCJ='-berok'
 
19438
       # Determine the default libpath from the value encoded in an empty executable.
 
19439
       cat >conftest.$ac_ext <<_ACEOF
 
19440
/* confdefs.h.  */
 
19441
_ACEOF
 
19442
cat confdefs.h >>conftest.$ac_ext
 
19443
cat >>conftest.$ac_ext <<_ACEOF
 
19444
/* end confdefs.h.  */
 
19445
 
 
19446
int
 
19447
main ()
 
19448
{
 
19449
 
 
19450
  ;
 
19451
  return 0;
 
19452
}
 
19453
_ACEOF
 
19454
rm -f conftest.$ac_objext conftest$ac_exeext
 
19455
if { (ac_try="$ac_link"
 
19456
case "(($ac_try" in
 
19457
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19458
  *) ac_try_echo=$ac_try;;
 
19459
esac
 
19460
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19461
$as_echo "$ac_try_echo") >&5
 
19462
  (eval "$ac_link") 2>conftest.er1
 
19463
  ac_status=$?
 
19464
  grep -v '^ *+' conftest.er1 >conftest.err
 
19465
  rm -f conftest.er1
 
19466
  cat conftest.err >&5
 
19467
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19468
  (exit $ac_status); } && {
 
19469
         test -z "$ac_c_werror_flag" ||
 
19470
         test ! -s conftest.err
 
19471
       } && test -s conftest$ac_exeext && {
 
19472
         test "$cross_compiling" = yes ||
 
19473
         $as_test_x conftest$ac_exeext
 
19474
       }; then
 
19475
 
 
19476
lt_aix_libpath_sed='
 
19477
    /Import File Strings/,/^$/ {
 
19478
        /^0/ {
 
19479
            s/^0  *\(.*\)$/\1/
 
19480
            p
 
19481
        }
 
19482
    }'
 
19483
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
19484
# Check for a 64-bit object if we didn't find anything.
 
19485
if test -z "$aix_libpath"; then
 
19486
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
19487
fi
 
19488
else
 
19489
  $as_echo "$as_me: failed program was:" >&5
 
19490
sed 's/^/| /' conftest.$ac_ext >&5
 
19491
 
 
19492
 
 
19493
fi
 
19494
 
 
19495
rm -rf conftest.dSYM
 
19496
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
19497
      conftest$ac_exeext conftest.$ac_ext
 
19498
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
19499
 
 
19500
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 
19501
        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"
 
19502
       else
 
19503
        if test "$host_cpu" = ia64; then
 
19504
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
 
19505
          allow_undefined_flag_GCJ="-z nodefs"
 
19506
          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"
 
19507
        else
 
19508
         # Determine the default libpath from the value encoded in an empty executable.
 
19509
         cat >conftest.$ac_ext <<_ACEOF
 
19510
/* confdefs.h.  */
 
19511
_ACEOF
 
19512
cat confdefs.h >>conftest.$ac_ext
 
19513
cat >>conftest.$ac_ext <<_ACEOF
 
19514
/* end confdefs.h.  */
 
19515
 
 
19516
int
 
19517
main ()
 
19518
{
 
19519
 
 
19520
  ;
 
19521
  return 0;
 
19522
}
 
19523
_ACEOF
 
19524
rm -f conftest.$ac_objext conftest$ac_exeext
 
19525
if { (ac_try="$ac_link"
 
19526
case "(($ac_try" in
 
19527
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19528
  *) ac_try_echo=$ac_try;;
 
19529
esac
 
19530
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19531
$as_echo "$ac_try_echo") >&5
 
19532
  (eval "$ac_link") 2>conftest.er1
 
19533
  ac_status=$?
 
19534
  grep -v '^ *+' conftest.er1 >conftest.err
 
19535
  rm -f conftest.er1
 
19536
  cat conftest.err >&5
 
19537
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19538
  (exit $ac_status); } && {
 
19539
         test -z "$ac_c_werror_flag" ||
 
19540
         test ! -s conftest.err
 
19541
       } && test -s conftest$ac_exeext && {
 
19542
         test "$cross_compiling" = yes ||
 
19543
         $as_test_x conftest$ac_exeext
 
19544
       }; then
 
19545
 
 
19546
lt_aix_libpath_sed='
 
19547
    /Import File Strings/,/^$/ {
 
19548
        /^0/ {
 
19549
            s/^0  *\(.*\)$/\1/
 
19550
            p
 
19551
        }
 
19552
    }'
 
19553
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
19554
# Check for a 64-bit object if we didn't find anything.
 
19555
if test -z "$aix_libpath"; then
 
19556
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
19557
fi
 
19558
else
 
19559
  $as_echo "$as_me: failed program was:" >&5
 
19560
sed 's/^/| /' conftest.$ac_ext >&5
 
19561
 
 
19562
 
 
19563
fi
 
19564
 
 
19565
rm -rf conftest.dSYM
 
19566
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
19567
      conftest$ac_exeext conftest.$ac_ext
 
19568
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
19569
 
 
19570
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 
19571
          # Warning - without using the other run time loading flags,
 
19572
          # -berok will link without error, but may produce a broken library.
 
19573
          no_undefined_flag_GCJ=' ${wl}-bernotok'
 
19574
          allow_undefined_flag_GCJ=' ${wl}-berok'
 
19575
          # Exported symbols can be pulled into shared objects from archives
 
19576
          whole_archive_flag_spec_GCJ='$convenience'
 
19577
          archive_cmds_need_lc_GCJ=yes
 
19578
          # This is similar to how AIX traditionally builds its shared libraries.
 
19579
          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'
 
19580
        fi
 
19581
      fi
 
19582
      ;;
 
19583
 
 
19584
    amigaos*)
 
19585
      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)'
 
19586
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
19587
      hardcode_minus_L_GCJ=yes
 
19588
      # see comment about different semantics on the GNU ld section
 
19589
      ld_shlibs_GCJ=no
 
19590
      ;;
 
19591
 
 
19592
    bsdi[45]*)
 
19593
      export_dynamic_flag_spec_GCJ=-rdynamic
 
19594
      ;;
 
19595
 
 
19596
    cygwin* | mingw* | pw32*)
 
19597
      # When not using gcc, we currently assume that we are using
 
19598
      # Microsoft Visual C++.
 
19599
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
19600
      # no search path for DLLs.
 
19601
      hardcode_libdir_flag_spec_GCJ=' '
 
19602
      allow_undefined_flag_GCJ=unsupported
 
19603
      # Tell ltmain to make .lib files, not .a files.
 
19604
      libext=lib
 
19605
      # Tell ltmain to make .dll files, not .so files.
 
19606
      shrext_cmds=".dll"
 
19607
      # FIXME: Setting linknames here is a bad hack.
 
19608
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
19609
      # The linker will automatically build a .lib file if we build a DLL.
 
19610
      old_archive_From_new_cmds_GCJ='true'
 
19611
      # FIXME: Should let the user specify the lib program.
 
19612
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
19613
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
 
19614
      enable_shared_with_static_runtimes_GCJ=yes
 
19615
      ;;
 
19616
 
 
19617
    darwin* | rhapsody*)
 
19618
      case $host_os in
 
19619
        rhapsody* | darwin1.[012])
 
19620
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
 
19621
         ;;
 
19622
       *) # Darwin 1.3 on
 
19623
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
19624
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
19625
         else
 
19626
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
19627
             10.[012])
 
19628
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
19629
               ;;
 
19630
             10.*)
 
19631
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
 
19632
               ;;
 
19633
           esac
 
19634
         fi
 
19635
         ;;
 
19636
      esac
 
19637
      archive_cmds_need_lc_GCJ=no
 
19638
      hardcode_direct_GCJ=no
 
19639
      hardcode_automatic_GCJ=yes
 
19640
      hardcode_shlibpath_var_GCJ=unsupported
 
19641
      whole_archive_flag_spec_GCJ=''
 
19642
      link_all_deplibs_GCJ=yes
 
19643
    if test "$GCC" = yes ; then
 
19644
        output_verbose_link_cmd='echo'
 
19645
        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}"
 
19646
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
19647
        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}"
 
19648
        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}"
 
19649
    else
 
19650
      case $cc_basename in
 
19651
        xlc*)
 
19652
         output_verbose_link_cmd='echo'
 
19653
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 
19654
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
19655
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
19656
         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}'
 
19657
          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}'
 
19658
          ;;
 
19659
       *)
 
19660
         ld_shlibs_GCJ=no
 
19661
          ;;
 
19662
      esac
 
19663
    fi
 
19664
      ;;
 
19665
 
 
19666
    dgux*)
 
19667
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
19668
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
19669
      hardcode_shlibpath_var_GCJ=no
 
19670
      ;;
 
19671
 
 
19672
    freebsd1*)
 
19673
      ld_shlibs_GCJ=no
 
19674
      ;;
 
19675
 
 
19676
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
19677
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
19678
    # does not break anything, and helps significantly (at the cost of a little
 
19679
    # extra space).
 
19680
    freebsd2.2*)
 
19681
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
19682
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
19683
      hardcode_direct_GCJ=yes
 
19684
      hardcode_shlibpath_var_GCJ=no
 
19685
      ;;
 
19686
 
 
19687
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
19688
    freebsd2*)
 
19689
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
19690
      hardcode_direct_GCJ=yes
 
19691
      hardcode_minus_L_GCJ=yes
 
19692
      hardcode_shlibpath_var_GCJ=no
 
19693
      ;;
 
19694
 
 
19695
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
19696
    freebsd* | dragonfly*)
 
19697
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
19698
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
19699
      hardcode_direct_GCJ=yes
 
19700
      hardcode_shlibpath_var_GCJ=no
 
19701
      ;;
 
19702
 
 
19703
    hpux9*)
 
19704
      if test "$GCC" = yes; then
 
19705
        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'
 
19706
      else
 
19707
        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'
 
19708
      fi
 
19709
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
19710
      hardcode_libdir_separator_GCJ=:
 
19711
      hardcode_direct_GCJ=yes
 
19712
 
 
19713
      # hardcode_minus_L: Not really in the search PATH,
 
19714
      # but as the default location of the library.
 
19715
      hardcode_minus_L_GCJ=yes
 
19716
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
19717
      ;;
 
19718
 
 
19719
    hpux10*)
 
19720
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
19721
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
19722
      else
 
19723
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
19724
      fi
 
19725
      if test "$with_gnu_ld" = no; then
 
19726
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
19727
        hardcode_libdir_separator_GCJ=:
 
19728
 
 
19729
        hardcode_direct_GCJ=yes
 
19730
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
19731
 
 
19732
        # hardcode_minus_L: Not really in the search PATH,
 
19733
        # but as the default location of the library.
 
19734
        hardcode_minus_L_GCJ=yes
 
19735
      fi
 
19736
      ;;
 
19737
 
 
19738
    hpux11*)
 
19739
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
19740
        case $host_cpu in
 
19741
        hppa*64*)
 
19742
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19743
          ;;
 
19744
        ia64*)
 
19745
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
19746
          ;;
 
19747
        *)
 
19748
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
19749
          ;;
 
19750
        esac
 
19751
      else
 
19752
        case $host_cpu in
 
19753
        hppa*64*)
 
19754
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19755
          ;;
 
19756
        ia64*)
 
19757
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
19758
          ;;
 
19759
        *)
 
19760
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
19761
          ;;
 
19762
        esac
 
19763
      fi
 
19764
      if test "$with_gnu_ld" = no; then
 
19765
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
19766
        hardcode_libdir_separator_GCJ=:
 
19767
 
 
19768
        case $host_cpu in
 
19769
        hppa*64*|ia64*)
 
19770
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
 
19771
          hardcode_direct_GCJ=no
 
19772
          hardcode_shlibpath_var_GCJ=no
 
19773
          ;;
 
19774
        *)
 
19775
          hardcode_direct_GCJ=yes
 
19776
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
19777
 
 
19778
          # hardcode_minus_L: Not really in the search PATH,
 
19779
          # but as the default location of the library.
 
19780
          hardcode_minus_L_GCJ=yes
 
19781
          ;;
 
19782
        esac
 
19783
      fi
 
19784
      ;;
 
19785
 
 
19786
    irix5* | irix6* | nonstopux*)
 
19787
      if test "$GCC" = yes; then
 
19788
        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'
 
19789
      else
 
19790
        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'
 
19791
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
 
19792
      fi
 
19793
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 
19794
      hardcode_libdir_separator_GCJ=:
 
19795
      link_all_deplibs_GCJ=yes
 
19796
      ;;
 
19797
 
 
19798
    netbsd*)
 
19799
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
19800
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
19801
      else
 
19802
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
19803
      fi
 
19804
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
19805
      hardcode_direct_GCJ=yes
 
19806
      hardcode_shlibpath_var_GCJ=no
 
19807
      ;;
 
19808
 
 
19809
    newsos6)
 
19810
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
19811
      hardcode_direct_GCJ=yes
 
19812
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 
19813
      hardcode_libdir_separator_GCJ=:
 
19814
      hardcode_shlibpath_var_GCJ=no
 
19815
      ;;
 
19816
 
 
19817
    openbsd*)
 
19818
      if test -f /usr/libexec/ld.so; then
 
19819
        hardcode_direct_GCJ=yes
 
19820
        hardcode_shlibpath_var_GCJ=no
 
19821
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
19822
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19823
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
19824
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19825
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
19826
        else
 
19827
          case $host_os in
 
19828
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
19829
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
19830
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
19831
             ;;
 
19832
           *)
 
19833
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19834
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19835
             ;;
 
19836
          esac
 
19837
        fi
 
19838
      else
 
19839
        ld_shlibs_GCJ=no
 
19840
      fi
 
19841
      ;;
 
19842
 
 
19843
    os2*)
 
19844
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
19845
      hardcode_minus_L_GCJ=yes
 
19846
      allow_undefined_flag_GCJ=unsupported
 
19847
      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'
 
19848
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
19849
      ;;
 
19850
 
 
19851
    osf3*)
 
19852
      if test "$GCC" = yes; then
 
19853
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
 
19854
        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'
 
19855
      else
 
19856
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
 
19857
        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'
 
19858
      fi
 
19859
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 
19860
      hardcode_libdir_separator_GCJ=:
 
19861
      ;;
 
19862
 
 
19863
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
19864
      if test "$GCC" = yes; then
 
19865
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
 
19866
        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'
 
19867
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 
19868
      else
 
19869
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
 
19870
        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'
 
19871
        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~
 
19872
        $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'
 
19873
 
 
19874
        # Both c and cxx compiler support -rpath directly
 
19875
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
 
19876
      fi
 
19877
      hardcode_libdir_separator_GCJ=:
 
19878
      ;;
 
19879
 
 
19880
    solaris*)
 
19881
      no_undefined_flag_GCJ=' -z text'
 
19882
      if test "$GCC" = yes; then
 
19883
        wlarc='${wl}'
 
19884
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19885
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
19886
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
19887
      else
 
19888
        wlarc=''
 
19889
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
19890
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
19891
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
19892
      fi
 
19893
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
19894
      hardcode_shlibpath_var_GCJ=no
 
19895
      case $host_os in
 
19896
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
19897
      *)
 
19898
        # The compiler driver will combine and reorder linker options,
 
19899
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
19900
        # but is careful enough not to reorder.
 
19901
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
19902
        if test "$GCC" = yes; then
 
19903
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
19904
        else
 
19905
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
19906
        fi
 
19907
        ;;
 
19908
      esac
 
19909
      link_all_deplibs_GCJ=yes
 
19910
      ;;
 
19911
 
 
19912
    sunos4*)
 
19913
      if test "x$host_vendor" = xsequent; then
 
19914
        # Use $CC to link under sequent, because it throws in some extra .o
 
19915
        # files that make .init and .fini sections work.
 
19916
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
19917
      else
 
19918
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
19919
      fi
 
19920
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
19921
      hardcode_direct_GCJ=yes
 
19922
      hardcode_minus_L_GCJ=yes
 
19923
      hardcode_shlibpath_var_GCJ=no
 
19924
      ;;
 
19925
 
 
19926
    sysv4)
 
19927
      case $host_vendor in
 
19928
        sni)
 
19929
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
19930
          hardcode_direct_GCJ=yes # is this really true???
 
19931
        ;;
 
19932
        siemens)
 
19933
          ## LD is ld it makes a PLAMLIB
 
19934
          ## CC just makes a GrossModule.
 
19935
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
19936
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
 
19937
          hardcode_direct_GCJ=no
 
19938
        ;;
 
19939
        motorola)
 
19940
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
19941
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
 
19942
        ;;
 
19943
      esac
 
19944
      runpath_var='LD_RUN_PATH'
 
19945
      hardcode_shlibpath_var_GCJ=no
 
19946
      ;;
 
19947
 
 
19948
    sysv4.3*)
 
19949
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
19950
      hardcode_shlibpath_var_GCJ=no
 
19951
      export_dynamic_flag_spec_GCJ='-Bexport'
 
19952
      ;;
 
19953
 
 
19954
    sysv4*MP*)
 
19955
      if test -d /usr/nec; then
 
19956
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
19957
        hardcode_shlibpath_var_GCJ=no
 
19958
        runpath_var=LD_RUN_PATH
 
19959
        hardcode_runpath_var=yes
 
19960
        ld_shlibs_GCJ=yes
 
19961
      fi
 
19962
      ;;
 
19963
 
 
19964
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
19965
      no_undefined_flag_GCJ='${wl}-z,text'
 
19966
      archive_cmds_need_lc_GCJ=no
 
19967
      hardcode_shlibpath_var_GCJ=no
 
19968
      runpath_var='LD_RUN_PATH'
 
19969
 
 
19970
      if test "$GCC" = yes; then
 
19971
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19972
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19973
      else
 
19974
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19975
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19976
      fi
 
19977
      ;;
 
19978
 
 
19979
    sysv5* | sco3.2v5* | sco5v6*)
 
19980
      # Note: We can NOT use -z defs as we might desire, because we do not
 
19981
      # link with -lc, and that would cause any symbols used from libc to
 
19982
      # always be unresolved, which means just about no library would
 
19983
      # ever link correctly.  If we're not using GNU ld we use -z text
 
19984
      # though, which does catch some bad symbols but isn't as heavy-handed
 
19985
      # as -z defs.
 
19986
      no_undefined_flag_GCJ='${wl}-z,text'
 
19987
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 
19988
      archive_cmds_need_lc_GCJ=no
 
19989
      hardcode_shlibpath_var_GCJ=no
 
19990
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
19991
      hardcode_libdir_separator_GCJ=':'
 
19992
      link_all_deplibs_GCJ=yes
 
19993
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
19994
      runpath_var='LD_RUN_PATH'
 
19995
 
 
19996
      if test "$GCC" = yes; then
 
19997
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19998
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19999
      else
 
20000
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
20001
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
20002
      fi
 
20003
      ;;
 
20004
 
 
20005
    uts4*)
 
20006
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
20007
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
 
20008
      hardcode_shlibpath_var_GCJ=no
 
20009
      ;;
 
20010
 
 
20011
    *)
 
20012
      ld_shlibs_GCJ=no
 
20013
      ;;
 
20014
    esac
 
20015
  fi
 
20016
 
 
20017
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
20018
$as_echo "$ld_shlibs_GCJ" >&6; }
 
20019
test "$ld_shlibs_GCJ" = no && can_build_shared=no
 
20020
 
 
20021
#
 
20022
# Do we need to explicitly link libc?
 
20023
#
 
20024
case "x$archive_cmds_need_lc_GCJ" in
 
20025
x|xyes)
 
20026
  # Assume -lc should be added
 
20027
  archive_cmds_need_lc_GCJ=yes
 
20028
 
 
20029
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
20030
    case $archive_cmds_GCJ in
 
20031
    *'~'*)
 
20032
      # FIXME: we may have to deal with multi-command sequences.
 
20033
      ;;
 
20034
    '$CC '*)
 
20035
      # Test whether the compiler implicitly links with -lc since on some
 
20036
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
20037
      # to ld, don't add -lc before -lgcc.
 
20038
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
20039
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
20040
      $rm conftest*
 
20041
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
20042
 
 
20043
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
20044
  (eval $ac_compile) 2>&5
 
20045
  ac_status=$?
 
20046
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20047
  (exit $ac_status); } 2>conftest.err; then
 
20048
        soname=conftest
 
20049
        lib=conftest
 
20050
        libobjs=conftest.$ac_objext
 
20051
        deplibs=
 
20052
        wl=$lt_prog_compiler_wl_GCJ
 
20053
        pic_flag=$lt_prog_compiler_pic_GCJ
 
20054
        compiler_flags=-v
 
20055
        linker_flags=-v
 
20056
        verstring=
 
20057
        output_objdir=.
 
20058
        libname=conftest
 
20059
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
 
20060
        allow_undefined_flag_GCJ=
 
20061
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
20062
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
20063
  ac_status=$?
 
20064
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20065
  (exit $ac_status); }
 
20066
        then
 
20067
          archive_cmds_need_lc_GCJ=no
 
20068
        else
 
20069
          archive_cmds_need_lc_GCJ=yes
 
20070
        fi
 
20071
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
 
20072
      else
 
20073
        cat conftest.err 1>&5
 
20074
      fi
 
20075
      $rm conftest*
 
20076
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
20077
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
 
20078
      ;;
 
20079
    esac
 
20080
  fi
 
20081
  ;;
 
20082
esac
 
20083
 
 
20084
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
20085
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
20086
library_names_spec=
 
20087
libname_spec='lib$name'
 
20088
soname_spec=
 
20089
shrext_cmds=".so"
 
20090
postinstall_cmds=
 
20091
postuninstall_cmds=
 
20092
finish_cmds=
 
20093
finish_eval=
 
20094
shlibpath_var=
 
20095
shlibpath_overrides_runpath=unknown
 
20096
version_type=none
 
20097
dynamic_linker="$host_os ld.so"
 
20098
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
20099
 
 
20100
need_lib_prefix=unknown
 
20101
hardcode_into_libs=no
 
20102
 
 
20103
# when you set need_version to no, make sure it does not cause -set_version
 
20104
# flags to be left without arguments
 
20105
need_version=unknown
 
20106
 
 
20107
case $host_os in
 
20108
aix3*)
 
20109
  version_type=linux
 
20110
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
20111
  shlibpath_var=LIBPATH
 
20112
 
 
20113
  # AIX 3 has no versioning support, so we append a major version to the name.
 
20114
  soname_spec='${libname}${release}${shared_ext}$major'
 
20115
  ;;
 
20116
 
 
20117
aix[4-9]*)
 
20118
  version_type=linux
 
20119
  need_lib_prefix=no
 
20120
  need_version=no
 
20121
  hardcode_into_libs=yes
 
20122
  if test "$host_cpu" = ia64; then
 
20123
    # AIX 5 supports IA64
 
20124
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
20125
    shlibpath_var=LD_LIBRARY_PATH
 
20126
  else
 
20127
    # With GCC up to 2.95.x, collect2 would create an import file
 
20128
    # for dependence libraries.  The import file would start with
 
20129
    # the line `#! .'.  This would cause the generated library to
 
20130
    # depend on `.', always an invalid library.  This was fixed in
 
20131
    # development snapshots of GCC prior to 3.0.
 
20132
    case $host_os in
 
20133
      aix4 | aix4.[01] | aix4.[01].*)
 
20134
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
20135
           echo ' yes '
 
20136
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
20137
        :
 
20138
      else
 
20139
        can_build_shared=no
 
20140
      fi
 
20141
      ;;
 
20142
    esac
 
20143
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
20144
    # soname into executable. Probably we can add versioning support to
 
20145
    # collect2, so additional links can be useful in future.
 
20146
    if test "$aix_use_runtimelinking" = yes; then
 
20147
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
20148
      # instead of lib<name>.a to let people know that these are not
 
20149
      # typical AIX shared libraries.
 
20150
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20151
    else
 
20152
      # We preserve .a as extension for shared libraries through AIX4.2
 
20153
      # and later when we are not doing run time linking.
 
20154
      library_names_spec='${libname}${release}.a $libname.a'
 
20155
      soname_spec='${libname}${release}${shared_ext}$major'
 
20156
    fi
 
20157
    shlibpath_var=LIBPATH
 
20158
  fi
 
20159
  ;;
 
20160
 
 
20161
amigaos*)
 
20162
  library_names_spec='$libname.ixlibrary $libname.a'
 
20163
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
20164
  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'
 
20165
  ;;
 
20166
 
 
20167
beos*)
 
20168
  library_names_spec='${libname}${shared_ext}'
 
20169
  dynamic_linker="$host_os ld.so"
 
20170
  shlibpath_var=LIBRARY_PATH
 
20171
  ;;
 
20172
 
 
20173
bsdi[45]*)
 
20174
  version_type=linux
 
20175
  need_version=no
 
20176
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20177
  soname_spec='${libname}${release}${shared_ext}$major'
 
20178
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
20179
  shlibpath_var=LD_LIBRARY_PATH
 
20180
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
20181
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
20182
  # the default ld.so.conf also contains /usr/contrib/lib and
 
20183
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
20184
  # libtool to hard-code these into programs
 
20185
  ;;
 
20186
 
 
20187
cygwin* | mingw* | pw32*)
 
20188
  version_type=windows
 
20189
  shrext_cmds=".dll"
 
20190
  need_version=no
 
20191
  need_lib_prefix=no
 
20192
 
 
20193
  case $GCC,$host_os in
 
20194
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
20195
    library_names_spec='$libname.dll.a'
 
20196
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
20197
    postinstall_cmds='base_file=`basename \${file}`~
 
20198
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
20199
      dldir=$destdir/`dirname \$dlpath`~
 
20200
      test -d \$dldir || mkdir -p \$dldir~
 
20201
      $install_prog $dir/$dlname \$dldir/$dlname~
 
20202
      chmod a+x \$dldir/$dlname'
 
20203
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
20204
      dlpath=$dir/\$dldll~
 
20205
       $rm \$dlpath'
 
20206
    shlibpath_overrides_runpath=yes
 
20207
 
 
20208
    case $host_os in
 
20209
    cygwin*)
 
20210
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
20211
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
20212
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
20213
      ;;
 
20214
    mingw*)
 
20215
      # MinGW DLLs use traditional 'lib' prefix
 
20216
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
20217
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
20218
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
20219
        # It is most probably a Windows format PATH printed by
 
20220
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
20221
        # path with ; separators, and with drive letters. We can handle the
 
20222
        # drive letters (cygwin fileutils understands them), so leave them,
 
20223
        # especially as we might pass files found there to a mingw objdump,
 
20224
        # which wouldn't understand a cygwinified path. Ahh.
 
20225
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
20226
      else
 
20227
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
20228
      fi
 
20229
      ;;
 
20230
    pw32*)
 
20231
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
20232
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
20233
      ;;
 
20234
    esac
 
20235
    ;;
 
20236
 
 
20237
  *)
 
20238
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
20239
    ;;
 
20240
  esac
 
20241
  dynamic_linker='Win32 ld.exe'
 
20242
  # FIXME: first we should search . and the directory the executable is in
 
20243
  shlibpath_var=PATH
 
20244
  ;;
 
20245
 
 
20246
darwin* | rhapsody*)
 
20247
  dynamic_linker="$host_os dyld"
 
20248
  version_type=darwin
 
20249
  need_lib_prefix=no
 
20250
  need_version=no
 
20251
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
20252
  soname_spec='${libname}${release}${major}$shared_ext'
 
20253
  shlibpath_overrides_runpath=yes
 
20254
  shlibpath_var=DYLD_LIBRARY_PATH
 
20255
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
20256
 
 
20257
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
20258
  ;;
 
20259
 
 
20260
dgux*)
 
20261
  version_type=linux
 
20262
  need_lib_prefix=no
 
20263
  need_version=no
 
20264
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
20265
  soname_spec='${libname}${release}${shared_ext}$major'
 
20266
  shlibpath_var=LD_LIBRARY_PATH
 
20267
  ;;
 
20268
 
 
20269
freebsd1*)
 
20270
  dynamic_linker=no
 
20271
  ;;
 
20272
 
 
20273
freebsd* | dragonfly*)
 
20274
  # DragonFly does not have aout.  When/if they implement a new
 
20275
  # versioning mechanism, adjust this.
 
20276
  if test -x /usr/bin/objformat; then
 
20277
    objformat=`/usr/bin/objformat`
 
20278
  else
 
20279
    case $host_os in
 
20280
    freebsd[123]*) objformat=aout ;;
 
20281
    *) objformat=elf ;;
 
20282
    esac
 
20283
  fi
 
20284
  version_type=freebsd-$objformat
 
20285
  case $version_type in
 
20286
    freebsd-elf*)
 
20287
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
20288
      need_version=no
 
20289
      need_lib_prefix=no
 
20290
      ;;
 
20291
    freebsd-*)
 
20292
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
20293
      need_version=yes
 
20294
      ;;
 
20295
  esac
 
20296
  shlibpath_var=LD_LIBRARY_PATH
 
20297
  case $host_os in
 
20298
  freebsd2*)
 
20299
    shlibpath_overrides_runpath=yes
 
20300
    ;;
 
20301
  freebsd3.[01]* | freebsdelf3.[01]*)
 
20302
    shlibpath_overrides_runpath=yes
 
20303
    hardcode_into_libs=yes
 
20304
    ;;
 
20305
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
20306
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
20307
    shlibpath_overrides_runpath=no
 
20308
    hardcode_into_libs=yes
 
20309
    ;;
 
20310
  *) # from 4.6 on, and DragonFly
 
20311
    shlibpath_overrides_runpath=yes
 
20312
    hardcode_into_libs=yes
 
20313
    ;;
 
20314
  esac
 
20315
  ;;
 
20316
 
 
20317
gnu*)
 
20318
  version_type=linux
 
20319
  need_lib_prefix=no
 
20320
  need_version=no
 
20321
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
20322
  soname_spec='${libname}${release}${shared_ext}$major'
 
20323
  shlibpath_var=LD_LIBRARY_PATH
 
20324
  hardcode_into_libs=yes
 
20325
  ;;
 
20326
 
 
20327
hpux9* | hpux10* | hpux11*)
 
20328
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
20329
  # link against other versions.
 
20330
  version_type=sunos
 
20331
  need_lib_prefix=no
 
20332
  need_version=no
 
20333
  case $host_cpu in
 
20334
  ia64*)
 
20335
    shrext_cmds='.so'
 
20336
    hardcode_into_libs=yes
 
20337
    dynamic_linker="$host_os dld.so"
 
20338
    shlibpath_var=LD_LIBRARY_PATH
 
20339
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
20340
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20341
    soname_spec='${libname}${release}${shared_ext}$major'
 
20342
    if test "X$HPUX_IA64_MODE" = X32; then
 
20343
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
20344
    else
 
20345
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
20346
    fi
 
20347
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
20348
    ;;
 
20349
   hppa*64*)
 
20350
     shrext_cmds='.sl'
 
20351
     hardcode_into_libs=yes
 
20352
     dynamic_linker="$host_os dld.sl"
 
20353
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
20354
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
20355
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20356
     soname_spec='${libname}${release}${shared_ext}$major'
 
20357
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
20358
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
20359
     ;;
 
20360
   *)
 
20361
    shrext_cmds='.sl'
 
20362
    dynamic_linker="$host_os dld.sl"
 
20363
    shlibpath_var=SHLIB_PATH
 
20364
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
20365
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20366
    soname_spec='${libname}${release}${shared_ext}$major'
 
20367
    ;;
 
20368
  esac
 
20369
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
20370
  postinstall_cmds='chmod 555 $lib'
 
20371
  ;;
 
20372
 
 
20373
interix[3-9]*)
 
20374
  version_type=linux
 
20375
  need_lib_prefix=no
 
20376
  need_version=no
 
20377
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
20378
  soname_spec='${libname}${release}${shared_ext}$major'
 
20379
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
20380
  shlibpath_var=LD_LIBRARY_PATH
 
20381
  shlibpath_overrides_runpath=no
 
20382
  hardcode_into_libs=yes
 
20383
  ;;
 
20384
 
 
20385
irix5* | irix6* | nonstopux*)
 
20386
  case $host_os in
 
20387
    nonstopux*) version_type=nonstopux ;;
 
20388
    *)
 
20389
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
20390
                version_type=linux
 
20391
        else
 
20392
                version_type=irix
 
20393
        fi ;;
 
20394
  esac
 
20395
  need_lib_prefix=no
 
20396
  need_version=no
 
20397
  soname_spec='${libname}${release}${shared_ext}$major'
 
20398
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
20399
  case $host_os in
 
20400
  irix5* | nonstopux*)
 
20401
    libsuff= shlibsuff=
 
20402
    ;;
 
20403
  *)
 
20404
    case $LD in # libtool.m4 will add one of these switches to LD
 
20405
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
20406
      libsuff= shlibsuff= libmagic=32-bit;;
 
20407
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
20408
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
20409
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
20410
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
20411
    *) libsuff= shlibsuff= libmagic=never-match;;
 
20412
    esac
 
20413
    ;;
 
20414
  esac
 
20415
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
20416
  shlibpath_overrides_runpath=no
 
20417
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
20418
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
20419
  hardcode_into_libs=yes
 
20420
  ;;
 
20421
 
 
20422
# No shared lib support for Linux oldld, aout, or coff.
 
20423
linux*oldld* | linux*aout* | linux*coff*)
 
20424
  dynamic_linker=no
 
20425
  ;;
 
20426
 
 
20427
# This must be Linux ELF.
 
20428
linux* | k*bsd*-gnu)
 
20429
  version_type=linux
 
20430
  need_lib_prefix=no
 
20431
  need_version=no
 
20432
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20433
  soname_spec='${libname}${release}${shared_ext}$major'
 
20434
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
20435
  shlibpath_var=LD_LIBRARY_PATH
 
20436
  shlibpath_overrides_runpath=no
 
20437
  # This implies no fast_install, which is unacceptable.
 
20438
  # Some rework will be needed to allow for fast_install
 
20439
  # before this can be enabled.
 
20440
  hardcode_into_libs=yes
 
20441
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
20442
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
20443
 
 
20444
  # Append ld.so.conf contents to the search path
 
20445
  if test -f /etc/ld.so.conf; then
 
20446
    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' ' '`
 
20447
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
20448
  fi
 
20449
 
 
20450
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
20451
  # powerpc, because MkLinux only supported shared libraries with the
 
20452
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
20453
  # most powerpc-linux boxes support dynamic linking these days and
 
20454
  # people can always --disable-shared, the test was removed, and we
 
20455
  # assume the GNU/Linux dynamic linker is in use.
 
20456
  dynamic_linker='GNU/Linux ld.so'
 
20457
  ;;
 
20458
 
 
20459
netbsd*)
 
20460
  version_type=sunos
 
20461
  need_lib_prefix=no
 
20462
  need_version=no
 
20463
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
20464
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
20465
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
20466
    dynamic_linker='NetBSD (a.out) ld.so'
 
20467
  else
 
20468
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
20469
    soname_spec='${libname}${release}${shared_ext}$major'
 
20470
    dynamic_linker='NetBSD ld.elf_so'
 
20471
  fi
 
20472
  shlibpath_var=LD_LIBRARY_PATH
 
20473
  shlibpath_overrides_runpath=yes
 
20474
  hardcode_into_libs=yes
 
20475
  ;;
 
20476
 
 
20477
newsos6)
 
20478
  version_type=linux
 
20479
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20480
  shlibpath_var=LD_LIBRARY_PATH
 
20481
  shlibpath_overrides_runpath=yes
 
20482
  ;;
 
20483
 
 
20484
nto-qnx*)
 
20485
  version_type=linux
 
20486
  need_lib_prefix=no
 
20487
  need_version=no
 
20488
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20489
  soname_spec='${libname}${release}${shared_ext}$major'
 
20490
  shlibpath_var=LD_LIBRARY_PATH
 
20491
  shlibpath_overrides_runpath=yes
 
20492
  ;;
 
20493
 
 
20494
openbsd*)
 
20495
  version_type=sunos
 
20496
  sys_lib_dlsearch_path_spec="/usr/lib"
 
20497
  need_lib_prefix=no
 
20498
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
20499
  case $host_os in
 
20500
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
20501
    *)                         need_version=no  ;;
 
20502
  esac
 
20503
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
20504
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
20505
  shlibpath_var=LD_LIBRARY_PATH
 
20506
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
20507
    case $host_os in
 
20508
      openbsd2.[89] | openbsd2.[89].*)
 
20509
        shlibpath_overrides_runpath=no
 
20510
        ;;
 
20511
      *)
 
20512
        shlibpath_overrides_runpath=yes
 
20513
        ;;
 
20514
      esac
 
20515
  else
 
20516
    shlibpath_overrides_runpath=yes
 
20517
  fi
 
20518
  ;;
 
20519
 
 
20520
os2*)
 
20521
  libname_spec='$name'
 
20522
  shrext_cmds=".dll"
 
20523
  need_lib_prefix=no
 
20524
  library_names_spec='$libname${shared_ext} $libname.a'
 
20525
  dynamic_linker='OS/2 ld.exe'
 
20526
  shlibpath_var=LIBPATH
 
20527
  ;;
 
20528
 
 
20529
osf3* | osf4* | osf5*)
 
20530
  version_type=osf
 
20531
  need_lib_prefix=no
 
20532
  need_version=no
 
20533
  soname_spec='${libname}${release}${shared_ext}$major'
 
20534
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20535
  shlibpath_var=LD_LIBRARY_PATH
 
20536
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
20537
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
20538
  ;;
 
20539
 
 
20540
rdos*)
 
20541
  dynamic_linker=no
 
20542
  ;;
 
20543
 
 
20544
solaris*)
 
20545
  version_type=linux
 
20546
  need_lib_prefix=no
 
20547
  need_version=no
 
20548
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20549
  soname_spec='${libname}${release}${shared_ext}$major'
 
20550
  shlibpath_var=LD_LIBRARY_PATH
 
20551
  shlibpath_overrides_runpath=yes
 
20552
  hardcode_into_libs=yes
 
20553
  # ldd complains unless libraries are executable
 
20554
  postinstall_cmds='chmod +x $lib'
 
20555
  ;;
 
20556
 
 
20557
sunos4*)
 
20558
  version_type=sunos
 
20559
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
20560
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
20561
  shlibpath_var=LD_LIBRARY_PATH
 
20562
  shlibpath_overrides_runpath=yes
 
20563
  if test "$with_gnu_ld" = yes; then
 
20564
    need_lib_prefix=no
 
20565
  fi
 
20566
  need_version=yes
 
20567
  ;;
 
20568
 
 
20569
sysv4 | sysv4.3*)
 
20570
  version_type=linux
 
20571
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20572
  soname_spec='${libname}${release}${shared_ext}$major'
 
20573
  shlibpath_var=LD_LIBRARY_PATH
 
20574
  case $host_vendor in
 
20575
    sni)
 
20576
      shlibpath_overrides_runpath=no
 
20577
      need_lib_prefix=no
 
20578
      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
20579
      runpath_var=LD_RUN_PATH
 
20580
      ;;
 
20581
    siemens)
 
20582
      need_lib_prefix=no
 
20583
      ;;
 
20584
    motorola)
 
20585
      need_lib_prefix=no
 
20586
      need_version=no
 
20587
      shlibpath_overrides_runpath=no
 
20588
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
20589
      ;;
 
20590
  esac
 
20591
  ;;
 
20592
 
 
20593
sysv4*MP*)
 
20594
  if test -d /usr/nec ;then
 
20595
    version_type=linux
 
20596
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
20597
    soname_spec='$libname${shared_ext}.$major'
 
20598
    shlibpath_var=LD_LIBRARY_PATH
 
20599
  fi
 
20600
  ;;
 
20601
 
 
20602
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
20603
  version_type=freebsd-elf
 
20604
  need_lib_prefix=no
 
20605
  need_version=no
 
20606
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
20607
  soname_spec='${libname}${release}${shared_ext}$major'
 
20608
  shlibpath_var=LD_LIBRARY_PATH
 
20609
  hardcode_into_libs=yes
 
20610
  if test "$with_gnu_ld" = yes; then
 
20611
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
20612
    shlibpath_overrides_runpath=no
 
20613
  else
 
20614
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
20615
    shlibpath_overrides_runpath=yes
 
20616
    case $host_os in
 
20617
      sco3.2v5*)
 
20618
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
20619
        ;;
 
20620
    esac
 
20621
  fi
 
20622
  sys_lib_dlsearch_path_spec='/usr/lib'
 
20623
  ;;
 
20624
 
 
20625
uts4*)
 
20626
  version_type=linux
 
20627
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20628
  soname_spec='${libname}${release}${shared_ext}$major'
 
20629
  shlibpath_var=LD_LIBRARY_PATH
 
20630
  ;;
 
20631
 
 
20632
*)
 
20633
  dynamic_linker=no
 
20634
  ;;
 
20635
esac
 
20636
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
20637
$as_echo "$dynamic_linker" >&6; }
 
20638
test "$dynamic_linker" = no && can_build_shared=no
 
20639
 
 
20640
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
20641
  $as_echo_n "(cached) " >&6
 
20642
else
 
20643
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
20644
fi
 
20645
 
 
20646
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
20647
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
20648
  $as_echo_n "(cached) " >&6
 
20649
else
 
20650
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
20651
fi
 
20652
 
 
20653
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
20654
 
 
20655
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
20656
if test "$GCC" = yes; then
 
20657
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
20658
fi
 
20659
 
 
20660
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
20661
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
20662
hardcode_action_GCJ=
 
20663
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
 
20664
   test -n "$runpath_var_GCJ" || \
 
20665
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
 
20666
 
 
20667
  # We can hardcode non-existant directories.
 
20668
  if test "$hardcode_direct_GCJ" != no &&
 
20669
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
20670
     # have to relink, otherwise we might link with an installed library
 
20671
     # when we should be linking with a yet-to-be-installed one
 
20672
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
 
20673
     test "$hardcode_minus_L_GCJ" != no; then
 
20674
    # Linking always hardcodes the temporary library directory.
 
20675
    hardcode_action_GCJ=relink
 
20676
  else
 
20677
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
20678
    hardcode_action_GCJ=immediate
 
20679
  fi
 
20680
else
 
20681
  # We cannot hardcode anything, or else we can only hardcode existing
 
20682
  # directories.
 
20683
  hardcode_action_GCJ=unsupported
 
20684
fi
 
20685
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
20686
$as_echo "$hardcode_action_GCJ" >&6; }
 
20687
 
 
20688
if test "$hardcode_action_GCJ" = relink; then
 
20689
  # Fast installation is not supported
 
20690
  enable_fast_install=no
 
20691
elif test "$shlibpath_overrides_runpath" = yes ||
 
20692
     test "$enable_shared" = no; then
 
20693
  # Fast installation is not necessary
 
20694
  enable_fast_install=needless
 
20695
fi
 
20696
 
 
20697
 
 
20698
# The else clause should only fire when bootstrapping the
 
20699
# libtool distribution, otherwise you forgot to ship ltmain.sh
 
20700
# with your package, and you will get complaints that there are
 
20701
# no rules to generate ltmain.sh.
 
20702
if test -f "$ltmain"; then
 
20703
  # See if we are running on zsh, and set the options which allow our commands through
 
20704
  # without removal of \ escapes.
 
20705
  if test -n "${ZSH_VERSION+set}" ; then
 
20706
    setopt NO_GLOB_SUBST
 
20707
  fi
 
20708
  # Now quote all the things that may contain metacharacters while being
 
20709
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
20710
  # variables and quote the copies for generation of the libtool script.
 
20711
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 
20712
    SED SHELL STRIP \
 
20713
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
20714
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
20715
    deplibs_check_method reload_flag reload_cmds need_locks \
 
20716
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
20717
    lt_cv_sys_global_symbol_to_c_name_address \
 
20718
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
20719
    old_postinstall_cmds old_postuninstall_cmds \
 
20720
    compiler_GCJ \
 
20721
    CC_GCJ \
 
20722
    LD_GCJ \
 
20723
    lt_prog_compiler_wl_GCJ \
 
20724
    lt_prog_compiler_pic_GCJ \
 
20725
    lt_prog_compiler_static_GCJ \
 
20726
    lt_prog_compiler_no_builtin_flag_GCJ \
 
20727
    export_dynamic_flag_spec_GCJ \
 
20728
    thread_safe_flag_spec_GCJ \
 
20729
    whole_archive_flag_spec_GCJ \
 
20730
    enable_shared_with_static_runtimes_GCJ \
 
20731
    old_archive_cmds_GCJ \
 
20732
    old_archive_from_new_cmds_GCJ \
 
20733
    predep_objects_GCJ \
 
20734
    postdep_objects_GCJ \
 
20735
    predeps_GCJ \
 
20736
    postdeps_GCJ \
 
20737
    compiler_lib_search_path_GCJ \
 
20738
    compiler_lib_search_dirs_GCJ \
 
20739
    archive_cmds_GCJ \
 
20740
    archive_expsym_cmds_GCJ \
 
20741
    postinstall_cmds_GCJ \
 
20742
    postuninstall_cmds_GCJ \
 
20743
    old_archive_from_expsyms_cmds_GCJ \
 
20744
    allow_undefined_flag_GCJ \
 
20745
    no_undefined_flag_GCJ \
 
20746
    export_symbols_cmds_GCJ \
 
20747
    hardcode_libdir_flag_spec_GCJ \
 
20748
    hardcode_libdir_flag_spec_ld_GCJ \
 
20749
    hardcode_libdir_separator_GCJ \
 
20750
    hardcode_automatic_GCJ \
 
20751
    module_cmds_GCJ \
 
20752
    module_expsym_cmds_GCJ \
 
20753
    lt_cv_prog_compiler_c_o_GCJ \
 
20754
    fix_srcfile_path_GCJ \
 
20755
    exclude_expsyms_GCJ \
 
20756
    include_expsyms_GCJ; do
 
20757
 
 
20758
    case $var in
 
20759
    old_archive_cmds_GCJ | \
 
20760
    old_archive_from_new_cmds_GCJ | \
 
20761
    archive_cmds_GCJ | \
 
20762
    archive_expsym_cmds_GCJ | \
 
20763
    module_cmds_GCJ | \
 
20764
    module_expsym_cmds_GCJ | \
 
20765
    old_archive_from_expsyms_cmds_GCJ | \
 
20766
    export_symbols_cmds_GCJ | \
 
20767
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
20768
    postinstall_cmds | postuninstall_cmds | \
 
20769
    old_postinstall_cmds | old_postuninstall_cmds | \
 
20770
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
20771
      # Double-quote double-evaled strings.
 
20772
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
20773
      ;;
 
20774
    *)
 
20775
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
20776
      ;;
 
20777
    esac
 
20778
  done
 
20779
 
 
20780
  case $lt_echo in
 
20781
  *'\$0 --fallback-echo"')
 
20782
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
20783
    ;;
 
20784
  esac
 
20785
 
 
20786
cfgfile="$ofile"
 
20787
 
 
20788
  cat <<__EOF__ >> "$cfgfile"
 
20789
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 
20790
 
 
20791
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
20792
 
 
20793
# Shell to use when invoking shell scripts.
 
20794
SHELL=$lt_SHELL
 
20795
 
 
20796
# Whether or not to build shared libraries.
 
20797
build_libtool_libs=$enable_shared
 
20798
 
 
20799
# Whether or not to build static libraries.
 
20800
build_old_libs=$enable_static
 
20801
 
 
20802
# Whether or not to add -lc for building shared libraries.
 
20803
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
 
20804
 
 
20805
# Whether or not to disallow shared libs when runtime libs are static
 
20806
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
 
20807
 
 
20808
# Whether or not to optimize for fast installation.
 
20809
fast_install=$enable_fast_install
 
20810
 
 
20811
# The host system.
 
20812
host_alias=$host_alias
 
20813
host=$host
 
20814
host_os=$host_os
 
20815
 
 
20816
# The build system.
 
20817
build_alias=$build_alias
 
20818
build=$build
 
20819
build_os=$build_os
 
20820
 
 
20821
# An echo program that does not interpret backslashes.
 
20822
echo=$lt_echo
 
20823
 
 
20824
# The archiver.
 
20825
AR=$lt_AR
 
20826
AR_FLAGS=$lt_AR_FLAGS
 
20827
 
 
20828
# A C compiler.
 
20829
LTCC=$lt_LTCC
 
20830
 
 
20831
# LTCC compiler flags.
 
20832
LTCFLAGS=$lt_LTCFLAGS
 
20833
 
 
20834
# A language-specific compiler.
 
20835
CC=$lt_compiler_GCJ
 
20836
 
 
20837
# Is the compiler the GNU C compiler?
 
20838
with_gcc=$GCC_GCJ
 
20839
 
 
20840
# An ERE matcher.
 
20841
EGREP=$lt_EGREP
 
20842
 
 
20843
# The linker used to build libraries.
 
20844
LD=$lt_LD_GCJ
 
20845
 
 
20846
# Whether we need hard or soft links.
 
20847
LN_S=$lt_LN_S
 
20848
 
 
20849
# A BSD-compatible nm program.
 
20850
NM=$lt_NM
 
20851
 
 
20852
# A symbol stripping program
 
20853
STRIP=$lt_STRIP
 
20854
 
 
20855
# Used to examine libraries when file_magic_cmd begins "file"
 
20856
MAGIC_CMD=$MAGIC_CMD
 
20857
 
 
20858
# Used on cygwin: DLL creation program.
 
20859
DLLTOOL="$DLLTOOL"
 
20860
 
 
20861
# Used on cygwin: object dumper.
 
20862
OBJDUMP="$OBJDUMP"
 
20863
 
 
20864
# Used on cygwin: assembler.
 
20865
AS="$AS"
 
20866
 
 
20867
# The name of the directory that contains temporary libtool files.
 
20868
objdir=$objdir
 
20869
 
 
20870
# How to create reloadable object files.
 
20871
reload_flag=$lt_reload_flag
 
20872
reload_cmds=$lt_reload_cmds
 
20873
 
 
20874
# How to pass a linker flag through the compiler.
 
20875
wl=$lt_lt_prog_compiler_wl_GCJ
 
20876
 
 
20877
# Object file suffix (normally "o").
 
20878
objext="$ac_objext"
 
20879
 
 
20880
# Old archive suffix (normally "a").
 
20881
libext="$libext"
 
20882
 
 
20883
# Shared library suffix (normally ".so").
 
20884
shrext_cmds='$shrext_cmds'
 
20885
 
 
20886
# Executable file suffix (normally "").
 
20887
exeext="$exeext"
 
20888
 
 
20889
# Additional compiler flags for building library objects.
 
20890
pic_flag=$lt_lt_prog_compiler_pic_GCJ
 
20891
pic_mode=$pic_mode
 
20892
 
 
20893
# What is the maximum length of a command?
 
20894
max_cmd_len=$lt_cv_sys_max_cmd_len
 
20895
 
 
20896
# Does compiler simultaneously support -c and -o options?
 
20897
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
 
20898
 
 
20899
# Must we lock files when doing compilation?
 
20900
need_locks=$lt_need_locks
 
20901
 
 
20902
# Do we need the lib prefix for modules?
 
20903
need_lib_prefix=$need_lib_prefix
 
20904
 
 
20905
# Do we need a version for libraries?
 
20906
need_version=$need_version
 
20907
 
 
20908
# Whether dlopen is supported.
 
20909
dlopen_support=$enable_dlopen
 
20910
 
 
20911
# Whether dlopen of programs is supported.
 
20912
dlopen_self=$enable_dlopen_self
 
20913
 
 
20914
# Whether dlopen of statically linked programs is supported.
 
20915
dlopen_self_static=$enable_dlopen_self_static
 
20916
 
 
20917
# Compiler flag to prevent dynamic linking.
 
20918
link_static_flag=$lt_lt_prog_compiler_static_GCJ
 
20919
 
 
20920
# Compiler flag to turn off builtin functions.
 
20921
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
 
20922
 
 
20923
# Compiler flag to allow reflexive dlopens.
 
20924
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
 
20925
 
 
20926
# Compiler flag to generate shared objects directly from archives.
 
20927
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
 
20928
 
 
20929
# Compiler flag to generate thread-safe objects.
 
20930
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
 
20931
 
 
20932
# Library versioning type.
 
20933
version_type=$version_type
 
20934
 
 
20935
# Format of library name prefix.
 
20936
libname_spec=$lt_libname_spec
 
20937
 
 
20938
# List of archive names.  First name is the real one, the rest are links.
 
20939
# The last name is the one that the linker finds with -lNAME.
 
20940
library_names_spec=$lt_library_names_spec
 
20941
 
 
20942
# The coded name of the library, if different from the real name.
 
20943
soname_spec=$lt_soname_spec
 
20944
 
 
20945
# Commands used to build and install an old-style archive.
 
20946
RANLIB=$lt_RANLIB
 
20947
old_archive_cmds=$lt_old_archive_cmds_GCJ
 
20948
old_postinstall_cmds=$lt_old_postinstall_cmds
 
20949
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
20950
 
 
20951
# Create an old-style archive from a shared archive.
 
20952
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
 
20953
 
 
20954
# Create a temporary old-style archive to link instead of a shared archive.
 
20955
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
 
20956
 
 
20957
# Commands used to build and install a shared archive.
 
20958
archive_cmds=$lt_archive_cmds_GCJ
 
20959
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
 
20960
postinstall_cmds=$lt_postinstall_cmds
 
20961
postuninstall_cmds=$lt_postuninstall_cmds
 
20962
 
 
20963
# Commands used to build a loadable module (assumed same as above if empty)
 
20964
module_cmds=$lt_module_cmds_GCJ
 
20965
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
 
20966
 
 
20967
# Commands to strip libraries.
 
20968
old_striplib=$lt_old_striplib
 
20969
striplib=$lt_striplib
 
20970
 
 
20971
# Dependencies to place before the objects being linked to create a
 
20972
# shared library.
 
20973
predep_objects=$lt_predep_objects_GCJ
 
20974
 
 
20975
# Dependencies to place after the objects being linked to create a
 
20976
# shared library.
 
20977
postdep_objects=$lt_postdep_objects_GCJ
 
20978
 
 
20979
# Dependencies to place before the objects being linked to create a
 
20980
# shared library.
 
20981
predeps=$lt_predeps_GCJ
 
20982
 
 
20983
# Dependencies to place after the objects being linked to create a
 
20984
# shared library.
 
20985
postdeps=$lt_postdeps_GCJ
 
20986
 
 
20987
# The directories searched by this compiler when creating a shared
 
20988
# library
 
20989
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
20990
 
 
20991
# The library search path used internally by the compiler when linking
 
20992
# a shared library.
 
20993
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
 
20994
 
 
20995
# Method to check whether dependent libraries are shared objects.
 
20996
deplibs_check_method=$lt_deplibs_check_method
 
20997
 
 
20998
# Command to use when deplibs_check_method == file_magic.
 
20999
file_magic_cmd=$lt_file_magic_cmd
 
21000
 
 
21001
# Flag that allows shared libraries with undefined symbols to be built.
 
21002
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
 
21003
 
 
21004
# Flag that forces no undefined symbols.
 
21005
no_undefined_flag=$lt_no_undefined_flag_GCJ
 
21006
 
 
21007
# Commands used to finish a libtool library installation in a directory.
 
21008
finish_cmds=$lt_finish_cmds
 
21009
 
 
21010
# Same as above, but a single script fragment to be evaled but not shown.
 
21011
finish_eval=$lt_finish_eval
 
21012
 
 
21013
# Take the output of nm and produce a listing of raw symbols and C names.
 
21014
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
21015
 
 
21016
# Transform the output of nm in a proper C declaration
 
21017
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
21018
 
 
21019
# Transform the output of nm in a C name address pair
 
21020
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
21021
 
 
21022
# This is the shared library runtime path variable.
 
21023
runpath_var=$runpath_var
 
21024
 
 
21025
# This is the shared library path variable.
 
21026
shlibpath_var=$shlibpath_var
 
21027
 
 
21028
# Is shlibpath searched before the hard-coded library search path?
 
21029
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
21030
 
 
21031
# How to hardcode a shared library path into an executable.
 
21032
hardcode_action=$hardcode_action_GCJ
 
21033
 
 
21034
# Whether we should hardcode library paths into libraries.
 
21035
hardcode_into_libs=$hardcode_into_libs
 
21036
 
 
21037
# Flag to hardcode \$libdir into a binary during linking.
 
21038
# This must work even if \$libdir does not exist.
 
21039
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
 
21040
 
 
21041
# If ld is used when linking, flag to hardcode \$libdir into
 
21042
# a binary during linking. This must work even if \$libdir does
 
21043
# not exist.
 
21044
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
 
21045
 
 
21046
# Whether we need a single -rpath flag with a separated argument.
 
21047
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
 
21048
 
 
21049
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
21050
# resulting binary.
 
21051
hardcode_direct=$hardcode_direct_GCJ
 
21052
 
 
21053
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
21054
# resulting binary.
 
21055
hardcode_minus_L=$hardcode_minus_L_GCJ
 
21056
 
 
21057
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
21058
# the resulting binary.
 
21059
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
 
21060
 
 
21061
# Set to yes if building a shared library automatically hardcodes DIR into the library
 
21062
# and all subsequent libraries and executables linked against it.
 
21063
hardcode_automatic=$hardcode_automatic_GCJ
 
21064
 
 
21065
# Variables whose values should be saved in libtool wrapper scripts and
 
21066
# restored at relink time.
 
21067
variables_saved_for_relink="$variables_saved_for_relink"
 
21068
 
 
21069
# Whether libtool must link a program against all its dependency libraries.
 
21070
link_all_deplibs=$link_all_deplibs_GCJ
 
21071
 
 
21072
# Compile-time system search path for libraries
 
21073
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
21074
 
 
21075
# Run-time system search path for libraries
 
21076
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
21077
 
 
21078
# Fix the shell variable \$srcfile for the compiler.
 
21079
fix_srcfile_path=$lt_fix_srcfile_path
 
21080
 
 
21081
# Set to yes if exported symbols are required.
 
21082
always_export_symbols=$always_export_symbols_GCJ
 
21083
 
 
21084
# The commands to list exported symbols.
 
21085
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
 
21086
 
 
21087
# The commands to extract the exported symbol list from a shared archive.
 
21088
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
21089
 
 
21090
# Symbols that should not be listed in the preloaded symbols.
 
21091
exclude_expsyms=$lt_exclude_expsyms_GCJ
 
21092
 
 
21093
# Symbols that must always be exported.
 
21094
include_expsyms=$lt_include_expsyms_GCJ
 
21095
 
 
21096
# ### END LIBTOOL TAG CONFIG: $tagname
 
21097
 
 
21098
__EOF__
 
21099
 
 
21100
 
 
21101
else
 
21102
  # If there is no Makefile yet, we rely on a make rule to execute
 
21103
  # `config.status --recheck' to rerun these tests and create the
 
21104
  # libtool script then.
 
21105
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
21106
  if test -f "$ltmain_in"; then
 
21107
    test -f Makefile && make "$ltmain"
 
21108
  fi
 
21109
fi
 
21110
 
 
21111
 
 
21112
ac_ext=c
 
21113
ac_cpp='$CPP $CPPFLAGS'
 
21114
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
21115
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
21116
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
21117
 
 
21118
CC="$lt_save_CC"
 
21119
 
 
21120
        else
 
21121
          tagname=""
 
21122
        fi
 
21123
        ;;
 
21124
 
 
21125
      RC)
 
21126
 
 
21127
 
 
21128
# Source file extension for RC test sources.
 
21129
ac_ext=rc
 
21130
 
 
21131
# Object file extension for compiled RC test sources.
 
21132
objext=o
 
21133
objext_RC=$objext
 
21134
 
 
21135
# Code to be used in simple compile tests
 
21136
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
 
21137
 
 
21138
# Code to be used in simple link tests
 
21139
lt_simple_link_test_code="$lt_simple_compile_test_code"
 
21140
 
 
21141
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
21142
 
 
21143
# If no C compiler was specified, use CC.
 
21144
LTCC=${LTCC-"$CC"}
 
21145
 
 
21146
# If no C compiler flags were specified, use CFLAGS.
 
21147
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
21148
 
 
21149
# Allow CC to be a program name with arguments.
 
21150
compiler=$CC
 
21151
 
 
21152
 
 
21153
# save warnings/boilerplate of simple test code
 
21154
ac_outfile=conftest.$ac_objext
 
21155
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
21156
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
21157
_lt_compiler_boilerplate=`cat conftest.err`
 
21158
$rm conftest*
 
21159
 
 
21160
ac_outfile=conftest.$ac_objext
 
21161
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
21162
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
21163
_lt_linker_boilerplate=`cat conftest.err`
 
21164
$rm -r conftest*
 
21165
 
 
21166
 
 
21167
# Allow CC to be a program name with arguments.
 
21168
lt_save_CC="$CC"
 
21169
CC=${RC-"windres"}
 
21170
compiler=$CC
 
21171
compiler_RC=$CC
 
21172
for cc_temp in $compiler""; do
 
21173
  case $cc_temp in
 
21174
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
21175
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
21176
    \-*) ;;
 
21177
    *) break;;
 
21178
  esac
 
21179
done
 
21180
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
21181
 
 
21182
lt_cv_prog_compiler_c_o_RC=yes
 
21183
 
 
21184
# The else clause should only fire when bootstrapping the
 
21185
# libtool distribution, otherwise you forgot to ship ltmain.sh
 
21186
# with your package, and you will get complaints that there are
 
21187
# no rules to generate ltmain.sh.
 
21188
if test -f "$ltmain"; then
 
21189
  # See if we are running on zsh, and set the options which allow our commands through
 
21190
  # without removal of \ escapes.
 
21191
  if test -n "${ZSH_VERSION+set}" ; then
 
21192
    setopt NO_GLOB_SUBST
 
21193
  fi
 
21194
  # Now quote all the things that may contain metacharacters while being
 
21195
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
21196
  # variables and quote the copies for generation of the libtool script.
 
21197
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 
21198
    SED SHELL STRIP \
 
21199
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
21200
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
21201
    deplibs_check_method reload_flag reload_cmds need_locks \
 
21202
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
21203
    lt_cv_sys_global_symbol_to_c_name_address \
 
21204
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
21205
    old_postinstall_cmds old_postuninstall_cmds \
 
21206
    compiler_RC \
 
21207
    CC_RC \
 
21208
    LD_RC \
 
21209
    lt_prog_compiler_wl_RC \
 
21210
    lt_prog_compiler_pic_RC \
 
21211
    lt_prog_compiler_static_RC \
 
21212
    lt_prog_compiler_no_builtin_flag_RC \
 
21213
    export_dynamic_flag_spec_RC \
 
21214
    thread_safe_flag_spec_RC \
 
21215
    whole_archive_flag_spec_RC \
 
21216
    enable_shared_with_static_runtimes_RC \
 
21217
    old_archive_cmds_RC \
 
21218
    old_archive_from_new_cmds_RC \
 
21219
    predep_objects_RC \
 
21220
    postdep_objects_RC \
 
21221
    predeps_RC \
 
21222
    postdeps_RC \
 
21223
    compiler_lib_search_path_RC \
 
21224
    compiler_lib_search_dirs_RC \
 
21225
    archive_cmds_RC \
 
21226
    archive_expsym_cmds_RC \
 
21227
    postinstall_cmds_RC \
 
21228
    postuninstall_cmds_RC \
 
21229
    old_archive_from_expsyms_cmds_RC \
 
21230
    allow_undefined_flag_RC \
 
21231
    no_undefined_flag_RC \
 
21232
    export_symbols_cmds_RC \
 
21233
    hardcode_libdir_flag_spec_RC \
 
21234
    hardcode_libdir_flag_spec_ld_RC \
 
21235
    hardcode_libdir_separator_RC \
 
21236
    hardcode_automatic_RC \
 
21237
    module_cmds_RC \
 
21238
    module_expsym_cmds_RC \
 
21239
    lt_cv_prog_compiler_c_o_RC \
 
21240
    fix_srcfile_path_RC \
 
21241
    exclude_expsyms_RC \
 
21242
    include_expsyms_RC; do
 
21243
 
 
21244
    case $var in
 
21245
    old_archive_cmds_RC | \
 
21246
    old_archive_from_new_cmds_RC | \
 
21247
    archive_cmds_RC | \
 
21248
    archive_expsym_cmds_RC | \
 
21249
    module_cmds_RC | \
 
21250
    module_expsym_cmds_RC | \
 
21251
    old_archive_from_expsyms_cmds_RC | \
 
21252
    export_symbols_cmds_RC | \
 
21253
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
21254
    postinstall_cmds | postuninstall_cmds | \
 
21255
    old_postinstall_cmds | old_postuninstall_cmds | \
 
21256
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
21257
      # Double-quote double-evaled strings.
 
21258
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
21259
      ;;
 
21260
    *)
 
21261
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
21262
      ;;
 
21263
    esac
 
21264
  done
 
21265
 
 
21266
  case $lt_echo in
 
21267
  *'\$0 --fallback-echo"')
 
21268
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 
21269
    ;;
 
21270
  esac
 
21271
 
 
21272
cfgfile="$ofile"
 
21273
 
 
21274
  cat <<__EOF__ >> "$cfgfile"
 
21275
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
 
21276
 
 
21277
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
21278
 
 
21279
# Shell to use when invoking shell scripts.
 
21280
SHELL=$lt_SHELL
 
21281
 
 
21282
# Whether or not to build shared libraries.
 
21283
build_libtool_libs=$enable_shared
 
21284
 
 
21285
# Whether or not to build static libraries.
 
21286
build_old_libs=$enable_static
 
21287
 
 
21288
# Whether or not to add -lc for building shared libraries.
 
21289
build_libtool_need_lc=$archive_cmds_need_lc_RC
 
21290
 
 
21291
# Whether or not to disallow shared libs when runtime libs are static
 
21292
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
 
21293
 
 
21294
# Whether or not to optimize for fast installation.
 
21295
fast_install=$enable_fast_install
 
21296
 
 
21297
# The host system.
 
21298
host_alias=$host_alias
 
21299
host=$host
 
21300
host_os=$host_os
 
21301
 
 
21302
# The build system.
 
21303
build_alias=$build_alias
 
21304
build=$build
 
21305
build_os=$build_os
 
21306
 
 
21307
# An echo program that does not interpret backslashes.
 
21308
echo=$lt_echo
 
21309
 
 
21310
# The archiver.
 
21311
AR=$lt_AR
 
21312
AR_FLAGS=$lt_AR_FLAGS
 
21313
 
 
21314
# A C compiler.
 
21315
LTCC=$lt_LTCC
 
21316
 
 
21317
# LTCC compiler flags.
 
21318
LTCFLAGS=$lt_LTCFLAGS
 
21319
 
 
21320
# A language-specific compiler.
 
21321
CC=$lt_compiler_RC
 
21322
 
 
21323
# Is the compiler the GNU C compiler?
 
21324
with_gcc=$GCC_RC
 
21325
 
 
21326
# An ERE matcher.
 
21327
EGREP=$lt_EGREP
 
21328
 
 
21329
# The linker used to build libraries.
 
21330
LD=$lt_LD_RC
 
21331
 
 
21332
# Whether we need hard or soft links.
 
21333
LN_S=$lt_LN_S
 
21334
 
 
21335
# A BSD-compatible nm program.
 
21336
NM=$lt_NM
 
21337
 
 
21338
# A symbol stripping program
 
21339
STRIP=$lt_STRIP
 
21340
 
 
21341
# Used to examine libraries when file_magic_cmd begins "file"
 
21342
MAGIC_CMD=$MAGIC_CMD
 
21343
 
 
21344
# Used on cygwin: DLL creation program.
 
21345
DLLTOOL="$DLLTOOL"
 
21346
 
 
21347
# Used on cygwin: object dumper.
 
21348
OBJDUMP="$OBJDUMP"
 
21349
 
 
21350
# Used on cygwin: assembler.
 
21351
AS="$AS"
 
21352
 
 
21353
# The name of the directory that contains temporary libtool files.
 
21354
objdir=$objdir
 
21355
 
 
21356
# How to create reloadable object files.
 
21357
reload_flag=$lt_reload_flag
 
21358
reload_cmds=$lt_reload_cmds
 
21359
 
 
21360
# How to pass a linker flag through the compiler.
 
21361
wl=$lt_lt_prog_compiler_wl_RC
 
21362
 
 
21363
# Object file suffix (normally "o").
 
21364
objext="$ac_objext"
 
21365
 
 
21366
# Old archive suffix (normally "a").
 
21367
libext="$libext"
 
21368
 
 
21369
# Shared library suffix (normally ".so").
 
21370
shrext_cmds='$shrext_cmds'
 
21371
 
 
21372
# Executable file suffix (normally "").
 
21373
exeext="$exeext"
 
21374
 
 
21375
# Additional compiler flags for building library objects.
 
21376
pic_flag=$lt_lt_prog_compiler_pic_RC
 
21377
pic_mode=$pic_mode
 
21378
 
 
21379
# What is the maximum length of a command?
 
21380
max_cmd_len=$lt_cv_sys_max_cmd_len
 
21381
 
 
21382
# Does compiler simultaneously support -c and -o options?
 
21383
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
 
21384
 
 
21385
# Must we lock files when doing compilation?
 
21386
need_locks=$lt_need_locks
 
21387
 
 
21388
# Do we need the lib prefix for modules?
 
21389
need_lib_prefix=$need_lib_prefix
 
21390
 
 
21391
# Do we need a version for libraries?
 
21392
need_version=$need_version
 
21393
 
 
21394
# Whether dlopen is supported.
 
21395
dlopen_support=$enable_dlopen
 
21396
 
 
21397
# Whether dlopen of programs is supported.
 
21398
dlopen_self=$enable_dlopen_self
 
21399
 
 
21400
# Whether dlopen of statically linked programs is supported.
 
21401
dlopen_self_static=$enable_dlopen_self_static
 
21402
 
 
21403
# Compiler flag to prevent dynamic linking.
 
21404
link_static_flag=$lt_lt_prog_compiler_static_RC
 
21405
 
 
21406
# Compiler flag to turn off builtin functions.
 
21407
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
 
21408
 
 
21409
# Compiler flag to allow reflexive dlopens.
 
21410
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
 
21411
 
 
21412
# Compiler flag to generate shared objects directly from archives.
 
21413
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
 
21414
 
 
21415
# Compiler flag to generate thread-safe objects.
 
21416
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
 
21417
 
 
21418
# Library versioning type.
 
21419
version_type=$version_type
 
21420
 
 
21421
# Format of library name prefix.
 
21422
libname_spec=$lt_libname_spec
 
21423
 
 
21424
# List of archive names.  First name is the real one, the rest are links.
 
21425
# The last name is the one that the linker finds with -lNAME.
 
21426
library_names_spec=$lt_library_names_spec
 
21427
 
 
21428
# The coded name of the library, if different from the real name.
 
21429
soname_spec=$lt_soname_spec
 
21430
 
 
21431
# Commands used to build and install an old-style archive.
 
21432
RANLIB=$lt_RANLIB
 
21433
old_archive_cmds=$lt_old_archive_cmds_RC
 
21434
old_postinstall_cmds=$lt_old_postinstall_cmds
 
21435
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
21436
 
 
21437
# Create an old-style archive from a shared archive.
 
21438
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
 
21439
 
 
21440
# Create a temporary old-style archive to link instead of a shared archive.
 
21441
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
 
21442
 
 
21443
# Commands used to build and install a shared archive.
 
21444
archive_cmds=$lt_archive_cmds_RC
 
21445
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
 
21446
postinstall_cmds=$lt_postinstall_cmds
 
21447
postuninstall_cmds=$lt_postuninstall_cmds
 
21448
 
 
21449
# Commands used to build a loadable module (assumed same as above if empty)
 
21450
module_cmds=$lt_module_cmds_RC
 
21451
module_expsym_cmds=$lt_module_expsym_cmds_RC
 
21452
 
 
21453
# Commands to strip libraries.
 
21454
old_striplib=$lt_old_striplib
 
21455
striplib=$lt_striplib
 
21456
 
 
21457
# Dependencies to place before the objects being linked to create a
 
21458
# shared library.
 
21459
predep_objects=$lt_predep_objects_RC
 
21460
 
 
21461
# Dependencies to place after the objects being linked to create a
 
21462
# shared library.
 
21463
postdep_objects=$lt_postdep_objects_RC
 
21464
 
 
21465
# Dependencies to place before the objects being linked to create a
 
21466
# shared library.
 
21467
predeps=$lt_predeps_RC
 
21468
 
 
21469
# Dependencies to place after the objects being linked to create a
 
21470
# shared library.
 
21471
postdeps=$lt_postdeps_RC
 
21472
 
 
21473
# The directories searched by this compiler when creating a shared
 
21474
# library
 
21475
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
21476
 
 
21477
# The library search path used internally by the compiler when linking
 
21478
# a shared library.
 
21479
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
 
21480
 
 
21481
# Method to check whether dependent libraries are shared objects.
 
21482
deplibs_check_method=$lt_deplibs_check_method
 
21483
 
 
21484
# Command to use when deplibs_check_method == file_magic.
 
21485
file_magic_cmd=$lt_file_magic_cmd
 
21486
 
 
21487
# Flag that allows shared libraries with undefined symbols to be built.
 
21488
allow_undefined_flag=$lt_allow_undefined_flag_RC
 
21489
 
 
21490
# Flag that forces no undefined symbols.
 
21491
no_undefined_flag=$lt_no_undefined_flag_RC
 
21492
 
 
21493
# Commands used to finish a libtool library installation in a directory.
 
21494
finish_cmds=$lt_finish_cmds
 
21495
 
 
21496
# Same as above, but a single script fragment to be evaled but not shown.
 
21497
finish_eval=$lt_finish_eval
 
21498
 
 
21499
# Take the output of nm and produce a listing of raw symbols and C names.
 
21500
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
21501
 
 
21502
# Transform the output of nm in a proper C declaration
 
21503
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
21504
 
 
21505
# Transform the output of nm in a C name address pair
 
21506
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
21507
 
 
21508
# This is the shared library runtime path variable.
 
21509
runpath_var=$runpath_var
 
21510
 
 
21511
# This is the shared library path variable.
 
21512
shlibpath_var=$shlibpath_var
 
21513
 
 
21514
# Is shlibpath searched before the hard-coded library search path?
 
21515
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
21516
 
 
21517
# How to hardcode a shared library path into an executable.
 
21518
hardcode_action=$hardcode_action_RC
 
21519
 
 
21520
# Whether we should hardcode library paths into libraries.
 
21521
hardcode_into_libs=$hardcode_into_libs
 
21522
 
 
21523
# Flag to hardcode \$libdir into a binary during linking.
 
21524
# This must work even if \$libdir does not exist.
 
21525
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
 
21526
 
 
21527
# If ld is used when linking, flag to hardcode \$libdir into
 
21528
# a binary during linking. This must work even if \$libdir does
 
21529
# not exist.
 
21530
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
 
21531
 
 
21532
# Whether we need a single -rpath flag with a separated argument.
 
21533
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
 
21534
 
 
21535
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
21536
# resulting binary.
 
21537
hardcode_direct=$hardcode_direct_RC
 
21538
 
 
21539
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
21540
# resulting binary.
 
21541
hardcode_minus_L=$hardcode_minus_L_RC
 
21542
 
 
21543
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
21544
# the resulting binary.
 
21545
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
 
21546
 
 
21547
# Set to yes if building a shared library automatically hardcodes DIR into the library
 
21548
# and all subsequent libraries and executables linked against it.
 
21549
hardcode_automatic=$hardcode_automatic_RC
 
21550
 
 
21551
# Variables whose values should be saved in libtool wrapper scripts and
 
21552
# restored at relink time.
 
21553
variables_saved_for_relink="$variables_saved_for_relink"
 
21554
 
 
21555
# Whether libtool must link a program against all its dependency libraries.
 
21556
link_all_deplibs=$link_all_deplibs_RC
 
21557
 
 
21558
# Compile-time system search path for libraries
 
21559
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
21560
 
 
21561
# Run-time system search path for libraries
 
21562
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
21563
 
 
21564
# Fix the shell variable \$srcfile for the compiler.
 
21565
fix_srcfile_path=$lt_fix_srcfile_path
 
21566
 
 
21567
# Set to yes if exported symbols are required.
 
21568
always_export_symbols=$always_export_symbols_RC
 
21569
 
 
21570
# The commands to list exported symbols.
 
21571
export_symbols_cmds=$lt_export_symbols_cmds_RC
 
21572
 
 
21573
# The commands to extract the exported symbol list from a shared archive.
 
21574
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
21575
 
 
21576
# Symbols that should not be listed in the preloaded symbols.
 
21577
exclude_expsyms=$lt_exclude_expsyms_RC
 
21578
 
 
21579
# Symbols that must always be exported.
 
21580
include_expsyms=$lt_include_expsyms_RC
 
21581
 
 
21582
# ### END LIBTOOL TAG CONFIG: $tagname
 
21583
 
 
21584
__EOF__
 
21585
 
 
21586
 
 
21587
else
 
21588
  # If there is no Makefile yet, we rely on a make rule to execute
 
21589
  # `config.status --recheck' to rerun these tests and create the
 
21590
  # libtool script then.
 
21591
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
21592
  if test -f "$ltmain_in"; then
 
21593
    test -f Makefile && make "$ltmain"
 
21594
  fi
 
21595
fi
 
21596
 
 
21597
 
 
21598
ac_ext=c
 
21599
ac_cpp='$CPP $CPPFLAGS'
 
21600
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
21601
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
21602
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
21603
 
 
21604
CC="$lt_save_CC"
 
21605
 
 
21606
        ;;
 
21607
 
 
21608
      *)
 
21609
        { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
 
21610
$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
 
21611
   { (exit 1); exit 1; }; }
 
21612
        ;;
 
21613
      esac
 
21614
 
 
21615
      # Append the new tag name to the list of available tags.
 
21616
      if test -n "$tagname" ; then
 
21617
      available_tags="$available_tags $tagname"
 
21618
    fi
 
21619
    fi
 
21620
  done
 
21621
  IFS="$lt_save_ifs"
 
21622
 
 
21623
  # Now substitute the updated list of available tags.
 
21624
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
 
21625
    mv "${ofile}T" "$ofile"
 
21626
    chmod +x "$ofile"
 
21627
  else
 
21628
    rm -f "${ofile}T"
 
21629
    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
 
21630
$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
 
21631
   { (exit 1); exit 1; }; }
 
21632
  fi
 
21633
fi
 
21634
 
 
21635
 
 
21636
 
 
21637
# This can be used to rebuild libtool when needed
 
21638
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 
21639
 
 
21640
# Always use our own libtool.
 
21641
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
21642
 
 
21643
# Prevent multiple expansion
 
21644
 
 
21645
 
 
21646
 
 
21647
 
 
21648
 
 
21649
 
 
21650
 
 
21651
 
 
21652
 
 
21653
 
 
21654
 
 
21655
 
 
21656
 
 
21657
 
 
21658
 
 
21659
 
 
21660
 
 
21661
 
12838
21662
 
12839
21663
 
12840
21664
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
12885
21709
 
12886
21710
 
12887
21711
        if test $USE_MAINTAINER_MODE = yes; then
12888
 
                DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED"
 
21712
                DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -DWNCK_DISABLE_DEPRECATED -DLIBSOUP_DISABLE_DEPRECATED"
12889
21713
        else
12890
21714
                DISABLE_DEPRECATED=""
12891
21715
        fi
13149
21973
  else
13150
21974
    case $cross_compiling:$ac_tool_warned in
13151
21975
yes:)
13152
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13153
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
21976
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
21977
whose name does not start with the host triplet.  If you think this
 
21978
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
21979
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
21980
whose name does not start with the host triplet.  If you think this
 
21981
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13154
21982
ac_tool_warned=yes ;;
13155
21983
esac
13156
21984
    PKG_CONFIG=$ac_pt_PKG_CONFIG
13180
22008
{ $as_echo "$as_me:$LINENO: checking for GNOME_SESSION" >&5
13181
22009
$as_echo_n "checking for GNOME_SESSION... " >&6; }
13182
22010
 
13183
 
if test -n "$PKG_CONFIG"; then
13184
 
    if test -n "$GNOME_SESSION_CFLAGS"; then
13185
 
        pkg_cv_GNOME_SESSION_CFLAGS="$GNOME_SESSION_CFLAGS"
13186
 
    else
13187
 
        if test -n "$PKG_CONFIG" && \
 
22011
if test -n "$GNOME_SESSION_CFLAGS"; then
 
22012
    pkg_cv_GNOME_SESSION_CFLAGS="$GNOME_SESSION_CFLAGS"
 
22013
 elif test -n "$PKG_CONFIG"; then
 
22014
    if test -n "$PKG_CONFIG" && \
13188
22015
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13189
22016
        gio-2.0 >= \$GLIB_REQUIRED
13190
22017
        gtk+-2.0 >= \$GTK_REQUIRED
13209
22036
else
13210
22037
  pkg_failed=yes
13211
22038
fi
13212
 
    fi
13213
 
else
13214
 
        pkg_failed=untried
 
22039
 else
 
22040
    pkg_failed=untried
13215
22041
fi
13216
 
if test -n "$PKG_CONFIG"; then
13217
 
    if test -n "$GNOME_SESSION_LIBS"; then
13218
 
        pkg_cv_GNOME_SESSION_LIBS="$GNOME_SESSION_LIBS"
13219
 
    else
13220
 
        if test -n "$PKG_CONFIG" && \
 
22042
if test -n "$GNOME_SESSION_LIBS"; then
 
22043
    pkg_cv_GNOME_SESSION_LIBS="$GNOME_SESSION_LIBS"
 
22044
 elif test -n "$PKG_CONFIG"; then
 
22045
    if test -n "$PKG_CONFIG" && \
13221
22046
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13222
22047
        gio-2.0 >= \$GLIB_REQUIRED
13223
22048
        gtk+-2.0 >= \$GTK_REQUIRED
13242
22067
else
13243
22068
  pkg_failed=yes
13244
22069
fi
13245
 
    fi
13246
 
else
13247
 
        pkg_failed=untried
 
22070
 else
 
22071
    pkg_failed=untried
13248
22072
fi
13249
22073
 
13250
22074
 
13257
22081
        _pkg_short_errors_supported=no
13258
22082
fi
13259
22083
        if test $_pkg_short_errors_supported = yes; then
13260
 
                GNOME_SESSION_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED
 
22084
                GNOME_SESSION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED
13261
22085
        gio-2.0 >= $GLIB_REQUIRED
13262
22086
        gtk+-2.0 >= $GTK_REQUIRED
13263
22087
        dbus-glib-1 >= $DBUS_GLIB_REQUIRED
13264
22088
        libglade-2.0 >= $GLADE_REQUIRED
13265
 
"`
 
22089
" 2>&1`
13266
22090
        else
13267
 
                GNOME_SESSION_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED
 
22091
                GNOME_SESSION_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED
13268
22092
        gio-2.0 >= $GLIB_REQUIRED
13269
22093
        gtk+-2.0 >= $GTK_REQUIRED
13270
22094
        dbus-glib-1 >= $DBUS_GLIB_REQUIRED
13271
22095
        libglade-2.0 >= $GLADE_REQUIRED
13272
 
"`
 
22096
" 2>&1`
13273
22097
        fi
13274
22098
        # Put the nasty error message in config.log where it belongs
13275
22099
        echo "$GNOME_SESSION_PKG_ERRORS" >&5
13308
22132
" >&2;}
13309
22133
   { (exit 1); exit 1; }; }
13310
22134
elif test $pkg_failed = untried; then
13311
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13312
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13313
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
22135
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
13314
22136
is in your PATH or set the PKG_CONFIG environment variable to the full
13315
22137
path to pkg-config.
13316
22138
 
13330
22152
 
13331
22153
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13332
22154
See \`config.log' for more details." >&2;}
13333
 
   { (exit 1); exit 1; }; }; }
 
22155
   { (exit 1); exit 1; }; }
13334
22156
else
13335
22157
        GNOME_SESSION_CFLAGS=$pkg_cv_GNOME_SESSION_CFLAGS
13336
22158
        GNOME_SESSION_LIBS=$pkg_cv_GNOME_SESSION_LIBS
13344
22166
{ $as_echo "$as_me:$LINENO: checking for SESSION_PROPERTIES" >&5
13345
22167
$as_echo_n "checking for SESSION_PROPERTIES... " >&6; }
13346
22168
 
13347
 
if test -n "$PKG_CONFIG"; then
13348
 
    if test -n "$SESSION_PROPERTIES_CFLAGS"; then
13349
 
        pkg_cv_SESSION_PROPERTIES_CFLAGS="$SESSION_PROPERTIES_CFLAGS"
13350
 
    else
13351
 
        if test -n "$PKG_CONFIG" && \
 
22169
if test -n "$SESSION_PROPERTIES_CFLAGS"; then
 
22170
    pkg_cv_SESSION_PROPERTIES_CFLAGS="$SESSION_PROPERTIES_CFLAGS"
 
22171
 elif test -n "$PKG_CONFIG"; then
 
22172
    if test -n "$PKG_CONFIG" && \
13352
22173
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13353
22174
        gtk+-2.0 >= \$GTK_REQUIRED
13354
22175
        libglade-2.0 >= \$GLADE_REQUIRED
13367
22188
else
13368
22189
  pkg_failed=yes
13369
22190
fi
13370
 
    fi
13371
 
else
13372
 
        pkg_failed=untried
 
22191
 else
 
22192
    pkg_failed=untried
13373
22193
fi
13374
 
if test -n "$PKG_CONFIG"; then
13375
 
    if test -n "$SESSION_PROPERTIES_LIBS"; then
13376
 
        pkg_cv_SESSION_PROPERTIES_LIBS="$SESSION_PROPERTIES_LIBS"
13377
 
    else
13378
 
        if test -n "$PKG_CONFIG" && \
 
22194
if test -n "$SESSION_PROPERTIES_LIBS"; then
 
22195
    pkg_cv_SESSION_PROPERTIES_LIBS="$SESSION_PROPERTIES_LIBS"
 
22196
 elif test -n "$PKG_CONFIG"; then
 
22197
    if test -n "$PKG_CONFIG" && \
13379
22198
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13380
22199
        gtk+-2.0 >= \$GTK_REQUIRED
13381
22200
        libglade-2.0 >= \$GLADE_REQUIRED
13394
22213
else
13395
22214
  pkg_failed=yes
13396
22215
fi
13397
 
    fi
13398
 
else
13399
 
        pkg_failed=untried
 
22216
 else
 
22217
    pkg_failed=untried
13400
22218
fi
13401
22219
 
13402
22220
 
13409
22227
        _pkg_short_errors_supported=no
13410
22228
fi
13411
22229
        if test $_pkg_short_errors_supported = yes; then
13412
 
                SESSION_PROPERTIES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED
 
22230
                SESSION_PROPERTIES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED
13413
22231
        gtk+-2.0 >= $GTK_REQUIRED
13414
22232
        libglade-2.0 >= $GLADE_REQUIRED
13415
 
"`
 
22233
" 2>&1`
13416
22234
        else
13417
 
                SESSION_PROPERTIES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED
 
22235
                SESSION_PROPERTIES_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED
13418
22236
        gtk+-2.0 >= $GTK_REQUIRED
13419
22237
        libglade-2.0 >= $GLADE_REQUIRED
13420
 
"`
 
22238
" 2>&1`
13421
22239
        fi
13422
22240
        # Put the nasty error message in config.log where it belongs
13423
22241
        echo "$SESSION_PROPERTIES_PKG_ERRORS" >&5
13452
22270
" >&2;}
13453
22271
   { (exit 1); exit 1; }; }
13454
22272
elif test $pkg_failed = untried; then
13455
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13456
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13457
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
22273
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
13458
22274
is in your PATH or set the PKG_CONFIG environment variable to the full
13459
22275
path to pkg-config.
13460
22276
 
13474
22290
 
13475
22291
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13476
22292
See \`config.log' for more details." >&2;}
13477
 
   { (exit 1); exit 1; }; }; }
 
22293
   { (exit 1); exit 1; }; }
13478
22294
else
13479
22295
        SESSION_PROPERTIES_CFLAGS=$pkg_cv_SESSION_PROPERTIES_CFLAGS
13480
22296
        SESSION_PROPERTIES_LIBS=$pkg_cv_SESSION_PROPERTIES_LIBS
13488
22304
{ $as_echo "$as_me:$LINENO: checking for SPLASH" >&5
13489
22305
$as_echo_n "checking for SPLASH... " >&6; }
13490
22306
 
13491
 
if test -n "$PKG_CONFIG"; then
13492
 
    if test -n "$SPLASH_CFLAGS"; then
13493
 
        pkg_cv_SPLASH_CFLAGS="$SPLASH_CFLAGS"
13494
 
    else
13495
 
        if test -n "$PKG_CONFIG" && \
 
22307
if test -n "$SPLASH_CFLAGS"; then
 
22308
    pkg_cv_SPLASH_CFLAGS="$SPLASH_CFLAGS"
 
22309
 elif test -n "$PKG_CONFIG"; then
 
22310
    if test -n "$PKG_CONFIG" && \
13496
22311
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13497
22312
        gtk+-2.0 >= \$GTK_REQUIRED
13498
22313
        dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
13514
22329
else
13515
22330
  pkg_failed=yes
13516
22331
fi
13517
 
    fi
13518
 
else
13519
 
        pkg_failed=untried
 
22332
 else
 
22333
    pkg_failed=untried
13520
22334
fi
13521
 
if test -n "$PKG_CONFIG"; then
13522
 
    if test -n "$SPLASH_LIBS"; then
13523
 
        pkg_cv_SPLASH_LIBS="$SPLASH_LIBS"
13524
 
    else
13525
 
        if test -n "$PKG_CONFIG" && \
 
22335
if test -n "$SPLASH_LIBS"; then
 
22336
    pkg_cv_SPLASH_LIBS="$SPLASH_LIBS"
 
22337
 elif test -n "$PKG_CONFIG"; then
 
22338
    if test -n "$PKG_CONFIG" && \
13526
22339
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13527
22340
        gtk+-2.0 >= \$GTK_REQUIRED
13528
22341
        dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
13544
22357
else
13545
22358
  pkg_failed=yes
13546
22359
fi
13547
 
    fi
13548
 
else
13549
 
        pkg_failed=untried
 
22360
 else
 
22361
    pkg_failed=untried
13550
22362
fi
13551
22363
 
13552
22364
 
13559
22371
        _pkg_short_errors_supported=no
13560
22372
fi
13561
22373
        if test $_pkg_short_errors_supported = yes; then
13562
 
                SPLASH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED
 
22374
                SPLASH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED
13563
22375
        gtk+-2.0 >= $GTK_REQUIRED
13564
22376
        dbus-glib-1 >= $DBUS_GLIB_REQUIRED
13565
22377
        libstartup-notification-1.0
13566
 
        gconf-2.0"`
 
22378
        gconf-2.0" 2>&1`
13567
22379
        else
13568
 
                SPLASH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED
 
22380
                SPLASH_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED
13569
22381
        gtk+-2.0 >= $GTK_REQUIRED
13570
22382
        dbus-glib-1 >= $DBUS_GLIB_REQUIRED
13571
22383
        libstartup-notification-1.0
13572
 
        gconf-2.0"`
 
22384
        gconf-2.0" 2>&1`
13573
22385
        fi
13574
22386
        # Put the nasty error message in config.log where it belongs
13575
22387
        echo "$SPLASH_PKG_ERRORS" >&5
13606
22418
" >&2;}
13607
22419
   { (exit 1); exit 1; }; }
13608
22420
elif test $pkg_failed = untried; then
13609
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13610
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13611
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
22421
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
13612
22422
is in your PATH or set the PKG_CONFIG environment variable to the full
13613
22423
path to pkg-config.
13614
22424
 
13628
22438
 
13629
22439
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13630
22440
See \`config.log' for more details." >&2;}
13631
 
   { (exit 1); exit 1; }; }; }
 
22441
   { (exit 1); exit 1; }; }
13632
22442
else
13633
22443
        SPLASH_CFLAGS=$pkg_cv_SPLASH_CFLAGS
13634
22444
        SPLASH_LIBS=$pkg_cv_SPLASH_LIBS
13642
22452
{ $as_echo "$as_me:$LINENO: checking for COMPAT" >&5
13643
22453
$as_echo_n "checking for COMPAT... " >&6; }
13644
22454
 
13645
 
if test -n "$PKG_CONFIG"; then
13646
 
    if test -n "$COMPAT_CFLAGS"; then
13647
 
        pkg_cv_COMPAT_CFLAGS="$COMPAT_CFLAGS"
13648
 
    else
13649
 
        if test -n "$PKG_CONFIG" && \
 
22455
if test -n "$COMPAT_CFLAGS"; then
 
22456
    pkg_cv_COMPAT_CFLAGS="$COMPAT_CFLAGS"
 
22457
 elif test -n "$PKG_CONFIG"; then
 
22458
    if test -n "$PKG_CONFIG" && \
13650
22459
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED
13651
22460
        dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\"") >&5
13652
22461
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED
13659
22468
else
13660
22469
  pkg_failed=yes
13661
22470
fi
13662
 
    fi
13663
 
else
13664
 
        pkg_failed=untried
 
22471
 else
 
22472
    pkg_failed=untried
13665
22473
fi
13666
 
if test -n "$PKG_CONFIG"; then
13667
 
    if test -n "$COMPAT_LIBS"; then
13668
 
        pkg_cv_COMPAT_LIBS="$COMPAT_LIBS"
13669
 
    else
13670
 
        if test -n "$PKG_CONFIG" && \
 
22474
if test -n "$COMPAT_LIBS"; then
 
22475
    pkg_cv_COMPAT_LIBS="$COMPAT_LIBS"
 
22476
 elif test -n "$PKG_CONFIG"; then
 
22477
    if test -n "$PKG_CONFIG" && \
13671
22478
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED
13672
22479
        dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\"") >&5
13673
22480
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED
13680
22487
else
13681
22488
  pkg_failed=yes
13682
22489
fi
13683
 
    fi
13684
 
else
13685
 
        pkg_failed=untried
 
22490
 else
 
22491
    pkg_failed=untried
13686
22492
fi
13687
22493
 
13688
22494
 
13695
22501
        _pkg_short_errors_supported=no
13696
22502
fi
13697
22503
        if test $_pkg_short_errors_supported = yes; then
13698
 
                COMPAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_REQUIRED
13699
 
        dbus-glib-1 >= $DBUS_GLIB_REQUIRED"`
 
22504
                COMPAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= $GTK_REQUIRED
 
22505
        dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>&1`
13700
22506
        else
13701
 
                COMPAT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_REQUIRED
13702
 
        dbus-glib-1 >= $DBUS_GLIB_REQUIRED"`
 
22507
                COMPAT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= $GTK_REQUIRED
 
22508
        dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>&1`
13703
22509
        fi
13704
22510
        # Put the nasty error message in config.log where it belongs
13705
22511
        echo "$COMPAT_PKG_ERRORS" >&5
13730
22536
" >&2;}
13731
22537
   { (exit 1); exit 1; }; }
13732
22538
elif test $pkg_failed = untried; then
13733
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13734
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13735
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
22539
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
13736
22540
is in your PATH or set the PKG_CONFIG environment variable to the full
13737
22541
path to pkg-config.
13738
22542
 
13752
22556
 
13753
22557
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13754
22558
See \`config.log' for more details." >&2;}
13755
 
   { (exit 1); exit 1; }; }; }
 
22559
   { (exit 1); exit 1; }; }
13756
22560
else
13757
22561
        COMPAT_CFLAGS=$pkg_cv_COMPAT_CFLAGS
13758
22562
        COMPAT_LIBS=$pkg_cv_COMPAT_LIBS
13766
22570
{ $as_echo "$as_me:$LINENO: checking for SM" >&5
13767
22571
$as_echo_n "checking for SM... " >&6; }
13768
22572
 
13769
 
if test -n "$PKG_CONFIG"; then
13770
 
    if test -n "$SM_CFLAGS"; then
13771
 
        pkg_cv_SM_CFLAGS="$SM_CFLAGS"
13772
 
    else
13773
 
        if test -n "$PKG_CONFIG" && \
 
22573
if test -n "$SM_CFLAGS"; then
 
22574
    pkg_cv_SM_CFLAGS="$SM_CFLAGS"
 
22575
 elif test -n "$PKG_CONFIG"; then
 
22576
    if test -n "$PKG_CONFIG" && \
13774
22577
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sm\"") >&5
13775
22578
  ($PKG_CONFIG --exists --print-errors "sm") 2>&5
13776
22579
  ac_status=$?
13780
22583
else
13781
22584
  pkg_failed=yes
13782
22585
fi
13783
 
    fi
13784
 
else
13785
 
        pkg_failed=untried
 
22586
 else
 
22587
    pkg_failed=untried
13786
22588
fi
13787
 
if test -n "$PKG_CONFIG"; then
13788
 
    if test -n "$SM_LIBS"; then
13789
 
        pkg_cv_SM_LIBS="$SM_LIBS"
13790
 
    else
13791
 
        if test -n "$PKG_CONFIG" && \
 
22589
if test -n "$SM_LIBS"; then
 
22590
    pkg_cv_SM_LIBS="$SM_LIBS"
 
22591
 elif test -n "$PKG_CONFIG"; then
 
22592
    if test -n "$PKG_CONFIG" && \
13792
22593
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sm\"") >&5
13793
22594
  ($PKG_CONFIG --exists --print-errors "sm") 2>&5
13794
22595
  ac_status=$?
13798
22599
else
13799
22600
  pkg_failed=yes
13800
22601
fi
13801
 
    fi
13802
 
else
13803
 
        pkg_failed=untried
 
22602
 else
 
22603
    pkg_failed=untried
13804
22604
fi
13805
22605
 
13806
22606
 
13813
22613
        _pkg_short_errors_supported=no
13814
22614
fi
13815
22615
        if test $_pkg_short_errors_supported = yes; then
13816
 
                SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sm"`
 
22616
                SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sm" 2>&1`
13817
22617
        else
13818
 
                SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sm"`
 
22618
                SM_PKG_ERRORS=`$PKG_CONFIG --print-errors "sm" 2>&1`
13819
22619
        fi
13820
22620
        # Put the nasty error message in config.log where it belongs
13821
22621
        echo "$SM_PKG_ERRORS" >&5
13844
22644
" >&2;}
13845
22645
   { (exit 1); exit 1; }; }
13846
22646
elif test $pkg_failed = untried; then
13847
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13848
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13849
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
22647
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
13850
22648
is in your PATH or set the PKG_CONFIG environment variable to the full
13851
22649
path to pkg-config.
13852
22650
 
13866
22664
 
13867
22665
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13868
22666
See \`config.log' for more details." >&2;}
13869
 
   { (exit 1); exit 1; }; }; }
 
22667
   { (exit 1); exit 1; }; }
13870
22668
else
13871
22669
        SM_CFLAGS=$pkg_cv_SM_CFLAGS
13872
22670
        SM_LIBS=$pkg_cv_SM_LIBS
13879
22677
{ $as_echo "$as_me:$LINENO: checking for ICE" >&5
13880
22678
$as_echo_n "checking for ICE... " >&6; }
13881
22679
 
13882
 
if test -n "$PKG_CONFIG"; then
13883
 
    if test -n "$ICE_CFLAGS"; then
13884
 
        pkg_cv_ICE_CFLAGS="$ICE_CFLAGS"
13885
 
    else
13886
 
        if test -n "$PKG_CONFIG" && \
 
22680
if test -n "$ICE_CFLAGS"; then
 
22681
    pkg_cv_ICE_CFLAGS="$ICE_CFLAGS"
 
22682
 elif test -n "$PKG_CONFIG"; then
 
22683
    if test -n "$PKG_CONFIG" && \
13887
22684
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ice\"") >&5
13888
22685
  ($PKG_CONFIG --exists --print-errors "ice") 2>&5
13889
22686
  ac_status=$?
13893
22690
else
13894
22691
  pkg_failed=yes
13895
22692
fi
13896
 
    fi
13897
 
else
13898
 
        pkg_failed=untried
 
22693
 else
 
22694
    pkg_failed=untried
13899
22695
fi
13900
 
if test -n "$PKG_CONFIG"; then
13901
 
    if test -n "$ICE_LIBS"; then
13902
 
        pkg_cv_ICE_LIBS="$ICE_LIBS"
13903
 
    else
13904
 
        if test -n "$PKG_CONFIG" && \
 
22696
if test -n "$ICE_LIBS"; then
 
22697
    pkg_cv_ICE_LIBS="$ICE_LIBS"
 
22698
 elif test -n "$PKG_CONFIG"; then
 
22699
    if test -n "$PKG_CONFIG" && \
13905
22700
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ice\"") >&5
13906
22701
  ($PKG_CONFIG --exists --print-errors "ice") 2>&5
13907
22702
  ac_status=$?
13911
22706
else
13912
22707
  pkg_failed=yes
13913
22708
fi
13914
 
    fi
13915
 
else
13916
 
        pkg_failed=untried
 
22709
 else
 
22710
    pkg_failed=untried
13917
22711
fi
13918
22712
 
13919
22713
 
13926
22720
        _pkg_short_errors_supported=no
13927
22721
fi
13928
22722
        if test $_pkg_short_errors_supported = yes; then
13929
 
                ICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ice"`
 
22723
                ICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ice" 2>&1`
13930
22724
        else
13931
 
                ICE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ice"`
 
22725
                ICE_PKG_ERRORS=`$PKG_CONFIG --print-errors "ice" 2>&1`
13932
22726
        fi
13933
22727
        # Put the nasty error message in config.log where it belongs
13934
22728
        echo "$ICE_PKG_ERRORS" >&5
13957
22751
" >&2;}
13958
22752
   { (exit 1); exit 1; }; }
13959
22753
elif test $pkg_failed = untried; then
13960
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13961
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13962
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
22754
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
13963
22755
is in your PATH or set the PKG_CONFIG environment variable to the full
13964
22756
path to pkg-config.
13965
22757
 
13979
22771
 
13980
22772
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13981
22773
See \`config.log' for more details." >&2;}
13982
 
   { (exit 1); exit 1; }; }; }
 
22774
   { (exit 1); exit 1; }; }
13983
22775
else
13984
22776
        ICE_CFLAGS=$pkg_cv_ICE_CFLAGS
13985
22777
        ICE_LIBS=$pkg_cv_ICE_LIBS
13993
22785
{ $as_echo "$as_me:$LINENO: checking for DBUS_GLIB" >&5
13994
22786
$as_echo_n "checking for DBUS_GLIB... " >&6; }
13995
22787
 
13996
 
if test -n "$PKG_CONFIG"; then
13997
 
    if test -n "$DBUS_GLIB_CFLAGS"; then
13998
 
        pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS"
13999
 
    else
14000
 
        if test -n "$PKG_CONFIG" && \
 
22788
if test -n "$DBUS_GLIB_CFLAGS"; then
 
22789
    pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS"
 
22790
 elif test -n "$PKG_CONFIG"; then
 
22791
    if test -n "$PKG_CONFIG" && \
14001
22792
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\"") >&5
14002
22793
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED") 2>&5
14003
22794
  ac_status=$?
14007
22798
else
14008
22799
  pkg_failed=yes
14009
22800
fi
14010
 
    fi
14011
 
else
14012
 
        pkg_failed=untried
 
22801
 else
 
22802
    pkg_failed=untried
14013
22803
fi
14014
 
if test -n "$PKG_CONFIG"; then
14015
 
    if test -n "$DBUS_GLIB_LIBS"; then
14016
 
        pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS"
14017
 
    else
14018
 
        if test -n "$PKG_CONFIG" && \
 
22804
if test -n "$DBUS_GLIB_LIBS"; then
 
22805
    pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS"
 
22806
 elif test -n "$PKG_CONFIG"; then
 
22807
    if test -n "$PKG_CONFIG" && \
14019
22808
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\"") >&5
14020
22809
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED") 2>&5
14021
22810
  ac_status=$?
14025
22814
else
14026
22815
  pkg_failed=yes
14027
22816
fi
14028
 
    fi
14029
 
else
14030
 
        pkg_failed=untried
 
22817
 else
 
22818
    pkg_failed=untried
14031
22819
fi
14032
22820
 
14033
22821
 
14040
22828
        _pkg_short_errors_supported=no
14041
22829
fi
14042
22830
        if test $_pkg_short_errors_supported = yes; then
14043
 
                DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED"`
 
22831
                DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>&1`
14044
22832
        else
14045
 
                DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED"`
 
22833
                DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>&1`
14046
22834
        fi
14047
22835
        # Put the nasty error message in config.log where it belongs
14048
22836
        echo "$DBUS_GLIB_PKG_ERRORS" >&5
14071
22859
" >&2;}
14072
22860
   { (exit 1); exit 1; }; }
14073
22861
elif test $pkg_failed = untried; then
14074
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14075
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14076
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
22862
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14077
22863
is in your PATH or set the PKG_CONFIG environment variable to the full
14078
22864
path to pkg-config.
14079
22865
 
14093
22879
 
14094
22880
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14095
22881
See \`config.log' for more details." >&2;}
14096
 
   { (exit 1); exit 1; }; }; }
 
22882
   { (exit 1); exit 1; }; }
14097
22883
else
14098
22884
        DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS
14099
22885
        DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS
14106
22892
{ $as_echo "$as_me:$LINENO: checking for GCONF" >&5
14107
22893
$as_echo_n "checking for GCONF... " >&6; }
14108
22894
 
14109
 
if test -n "$PKG_CONFIG"; then
14110
 
    if test -n "$GCONF_CFLAGS"; then
14111
 
        pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
14112
 
    else
14113
 
        if test -n "$PKG_CONFIG" && \
 
22895
if test -n "$GCONF_CFLAGS"; then
 
22896
    pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
 
22897
 elif test -n "$PKG_CONFIG"; then
 
22898
    if test -n "$PKG_CONFIG" && \
14114
22899
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\"") >&5
14115
22900
  ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
14116
22901
  ac_status=$?
14120
22905
else
14121
22906
  pkg_failed=yes
14122
22907
fi
14123
 
    fi
14124
 
else
14125
 
        pkg_failed=untried
 
22908
 else
 
22909
    pkg_failed=untried
14126
22910
fi
14127
 
if test -n "$PKG_CONFIG"; then
14128
 
    if test -n "$GCONF_LIBS"; then
14129
 
        pkg_cv_GCONF_LIBS="$GCONF_LIBS"
14130
 
    else
14131
 
        if test -n "$PKG_CONFIG" && \
 
22911
if test -n "$GCONF_LIBS"; then
 
22912
    pkg_cv_GCONF_LIBS="$GCONF_LIBS"
 
22913
 elif test -n "$PKG_CONFIG"; then
 
22914
    if test -n "$PKG_CONFIG" && \
14132
22915
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\"") >&5
14133
22916
  ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
14134
22917
  ac_status=$?
14138
22921
else
14139
22922
  pkg_failed=yes
14140
22923
fi
14141
 
    fi
14142
 
else
14143
 
        pkg_failed=untried
 
22924
 else
 
22925
    pkg_failed=untried
14144
22926
fi
14145
22927
 
14146
22928
 
14153
22935
        _pkg_short_errors_supported=no
14154
22936
fi
14155
22937
        if test $_pkg_short_errors_supported = yes; then
14156
 
                GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gconf-2.0"`
 
22938
                GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0" 2>&1`
14157
22939
        else
14158
 
                GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0"`
 
22940
                GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0" 2>&1`
14159
22941
        fi
14160
22942
        # Put the nasty error message in config.log where it belongs
14161
22943
        echo "$GCONF_PKG_ERRORS" >&5
14184
22966
" >&2;}
14185
22967
   { (exit 1); exit 1; }; }
14186
22968
elif test $pkg_failed = untried; then
14187
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14188
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14189
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
22969
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14190
22970
is in your PATH or set the PKG_CONFIG environment variable to the full
14191
22971
path to pkg-config.
14192
22972
 
14206
22986
 
14207
22987
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14208
22988
See \`config.log' for more details." >&2;}
14209
 
   { (exit 1); exit 1; }; }; }
 
22989
   { (exit 1); exit 1; }; }
14210
22990
else
14211
22991
        GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
14212
22992
        GCONF_LIBS=$pkg_cv_GCONF_LIBS
14220
23000
{ $as_echo "$as_me:$LINENO: checking for EGG_SMCLIENT" >&5
14221
23001
$as_echo_n "checking for EGG_SMCLIENT... " >&6; }
14222
23002
 
14223
 
if test -n "$PKG_CONFIG"; then
14224
 
    if test -n "$EGG_SMCLIENT_CFLAGS"; then
14225
 
        pkg_cv_EGG_SMCLIENT_CFLAGS="$EGG_SMCLIENT_CFLAGS"
14226
 
    else
14227
 
        if test -n "$PKG_CONFIG" && \
 
23003
if test -n "$EGG_SMCLIENT_CFLAGS"; then
 
23004
    pkg_cv_EGG_SMCLIENT_CFLAGS="$EGG_SMCLIENT_CFLAGS"
 
23005
 elif test -n "$PKG_CONFIG"; then
 
23006
    if test -n "$PKG_CONFIG" && \
14228
23007
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
14229
23008
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
14230
23009
  ac_status=$?
14234
23013
else
14235
23014
  pkg_failed=yes
14236
23015
fi
14237
 
    fi
14238
 
else
14239
 
        pkg_failed=untried
 
23016
 else
 
23017
    pkg_failed=untried
14240
23018
fi
14241
 
if test -n "$PKG_CONFIG"; then
14242
 
    if test -n "$EGG_SMCLIENT_LIBS"; then
14243
 
        pkg_cv_EGG_SMCLIENT_LIBS="$EGG_SMCLIENT_LIBS"
14244
 
    else
14245
 
        if test -n "$PKG_CONFIG" && \
 
23019
if test -n "$EGG_SMCLIENT_LIBS"; then
 
23020
    pkg_cv_EGG_SMCLIENT_LIBS="$EGG_SMCLIENT_LIBS"
 
23021
 elif test -n "$PKG_CONFIG"; then
 
23022
    if test -n "$PKG_CONFIG" && \
14246
23023
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
14247
23024
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
14248
23025
  ac_status=$?
14252
23029
else
14253
23030
  pkg_failed=yes
14254
23031
fi
14255
 
    fi
14256
 
else
14257
 
        pkg_failed=untried
 
23032
 else
 
23033
    pkg_failed=untried
14258
23034
fi
14259
23035
 
14260
23036
 
14267
23043
        _pkg_short_errors_supported=no
14268
23044
fi
14269
23045
        if test $_pkg_short_errors_supported = yes; then
14270
 
                EGG_SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
 
23046
                EGG_SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0" 2>&1`
14271
23047
        else
14272
 
                EGG_SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
 
23048
                EGG_SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0" 2>&1`
14273
23049
        fi
14274
23050
        # Put the nasty error message in config.log where it belongs
14275
23051
        echo "$EGG_SMCLIENT_PKG_ERRORS" >&5
14298
23074
" >&2;}
14299
23075
   { (exit 1); exit 1; }; }
14300
23076
elif test $pkg_failed = untried; then
14301
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14302
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14303
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
23077
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14304
23078
is in your PATH or set the PKG_CONFIG environment variable to the full
14305
23079
path to pkg-config.
14306
23080
 
14320
23094
 
14321
23095
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14322
23096
See \`config.log' for more details." >&2;}
14323
 
   { (exit 1); exit 1; }; }; }
 
23097
   { (exit 1); exit 1; }; }
14324
23098
else
14325
23099
        EGG_SMCLIENT_CFLAGS=$pkg_cv_EGG_SMCLIENT_CFLAGS
14326
23100
        EGG_SMCLIENT_LIBS=$pkg_cv_EGG_SMCLIENT_LIBS
14343
23117
{ $as_echo "$as_me:$LINENO: checking for POLKIT_GNOME" >&5
14344
23118
$as_echo_n "checking for POLKIT_GNOME... " >&6; }
14345
23119
 
14346
 
if test -n "$PKG_CONFIG"; then
14347
 
    if test -n "$POLKIT_GNOME_CFLAGS"; then
14348
 
        pkg_cv_POLKIT_GNOME_CFLAGS="$POLKIT_GNOME_CFLAGS"
14349
 
    else
14350
 
        if test -n "$PKG_CONFIG" && \
 
23120
if test -n "$POLKIT_GNOME_CFLAGS"; then
 
23121
    pkg_cv_POLKIT_GNOME_CFLAGS="$POLKIT_GNOME_CFLAGS"
 
23122
 elif test -n "$PKG_CONFIG"; then
 
23123
    if test -n "$PKG_CONFIG" && \
14351
23124
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"polkit-gnome >= \$POLKIT_GNOME_REQUIRED\"") >&5
14352
23125
  ($PKG_CONFIG --exists --print-errors "polkit-gnome >= $POLKIT_GNOME_REQUIRED") 2>&5
14353
23126
  ac_status=$?
14357
23130
else
14358
23131
  pkg_failed=yes
14359
23132
fi
14360
 
    fi
14361
 
else
14362
 
        pkg_failed=untried
 
23133
 else
 
23134
    pkg_failed=untried
14363
23135
fi
14364
 
if test -n "$PKG_CONFIG"; then
14365
 
    if test -n "$POLKIT_GNOME_LIBS"; then
14366
 
        pkg_cv_POLKIT_GNOME_LIBS="$POLKIT_GNOME_LIBS"
14367
 
    else
14368
 
        if test -n "$PKG_CONFIG" && \
 
23136
if test -n "$POLKIT_GNOME_LIBS"; then
 
23137
    pkg_cv_POLKIT_GNOME_LIBS="$POLKIT_GNOME_LIBS"
 
23138
 elif test -n "$PKG_CONFIG"; then
 
23139
    if test -n "$PKG_CONFIG" && \
14369
23140
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"polkit-gnome >= \$POLKIT_GNOME_REQUIRED\"") >&5
14370
23141
  ($PKG_CONFIG --exists --print-errors "polkit-gnome >= $POLKIT_GNOME_REQUIRED") 2>&5
14371
23142
  ac_status=$?
14375
23146
else
14376
23147
  pkg_failed=yes
14377
23148
fi
14378
 
    fi
14379
 
else
14380
 
        pkg_failed=untried
 
23149
 else
 
23150
    pkg_failed=untried
14381
23151
fi
14382
23152
 
14383
23153
 
14390
23160
        _pkg_short_errors_supported=no
14391
23161
fi
14392
23162
        if test $_pkg_short_errors_supported = yes; then
14393
 
                POLKIT_GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "polkit-gnome >= $POLKIT_GNOME_REQUIRED"`
 
23163
                POLKIT_GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "polkit-gnome >= $POLKIT_GNOME_REQUIRED" 2>&1`
14394
23164
        else
14395
 
                POLKIT_GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "polkit-gnome >= $POLKIT_GNOME_REQUIRED"`
 
23165
                POLKIT_GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors "polkit-gnome >= $POLKIT_GNOME_REQUIRED" 2>&1`
14396
23166
        fi
14397
23167
        # Put the nasty error message in config.log where it belongs
14398
23168
        echo "$POLKIT_GNOME_PKG_ERRORS" >&5
14614
23384
  have_x=disabled
14615
23385
else
14616
23386
  case $x_includes,$x_libraries in #(
14617
 
    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
14618
 
$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
 
23387
    *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
 
23388
$as_echo "$as_me: error: Cannot use X directory names containing '" >&2;}
14619
23389
   { (exit 1); exit 1; }; };; #(
14620
23390
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
14621
23391
  $as_echo_n "(cached) " >&6
14653
23423
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
14654
23424
    esac
14655
23425
    case $ac_im_usrlibdir in
14656
 
        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 
23426
        /usr/lib | /lib) ;;
14657
23427
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
14658
23428
    esac
14659
23429
  fi
15093
23863
fi
15094
23864
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
15095
23865
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
15096
 
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
 
23866
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
15097
23867
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
15098
23868
fi
15099
23869
 
15163
23933
fi
15164
23934
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
15165
23935
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
15166
 
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
 
23936
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
15167
23937
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
15168
23938
fi
15169
23939
 
15335
24105
fi
15336
24106
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
15337
24107
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
15338
 
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
 
24108
if test $ac_cv_lib_nsl_gethostbyname = yes; then
15339
24109
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
15340
24110
fi
15341
24111
 
15405
24175
fi
15406
24176
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
15407
24177
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
15408
 
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
 
24178
if test $ac_cv_lib_bsd_gethostbyname = yes; then
15409
24179
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
15410
24180
fi
15411
24181
 
15571
24341
fi
15572
24342
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
15573
24343
$as_echo "$ac_cv_lib_socket_connect" >&6; }
15574
 
if test "x$ac_cv_lib_socket_connect" = x""yes; then
 
24344
if test $ac_cv_lib_socket_connect = yes; then
15575
24345
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
15576
24346
fi
15577
24347
 
15730
24500
fi
15731
24501
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
15732
24502
$as_echo "$ac_cv_lib_posix_remove" >&6; }
15733
 
if test "x$ac_cv_lib_posix_remove" = x""yes; then
 
24503
if test $ac_cv_lib_posix_remove = yes; then
15734
24504
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
15735
24505
fi
15736
24506
 
15889
24659
fi
15890
24660
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
15891
24661
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
15892
 
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
 
24662
if test $ac_cv_lib_ipc_shmat = yes; then
15893
24663
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
15894
24664
fi
15895
24665
 
15970
24740
fi
15971
24741
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
15972
24742
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
15973
 
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
 
24743
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
15974
24744
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
15975
24745
fi
15976
24746
 
16053
24823
fi
16054
24824
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauFileName" >&5
16055
24825
$as_echo "$ac_cv_lib_Xau_XauFileName" >&6; }
16056
 
if test "x$ac_cv_lib_Xau_XauFileName" = x""yes; then
 
24826
if test $ac_cv_lib_Xau_XauFileName = yes; then
16057
24827
  X_LIBS="$X_LIBS -lXau"
16058
24828
else
16059
24829
  { { $as_echo "$as_me:$LINENO: error:
16113
24883
fi
16114
24884
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_sync_h" >&5
16115
24885
$as_echo "$ac_cv_header_X11_extensions_sync_h" >&6; }
16116
 
if test "x$ac_cv_header_X11_extensions_sync_h" = x""yes; then
 
24886
if test $ac_cv_header_X11_extensions_sync_h = yes; then
16117
24887
  have_xsync=yes
16118
24888
fi
16119
24889
 
16133
24903
{ $as_echo "$as_me:$LINENO: checking for XTEST" >&5
16134
24904
$as_echo_n "checking for XTEST... " >&6; }
16135
24905
 
16136
 
if test -n "$PKG_CONFIG"; then
16137
 
    if test -n "$XTEST_CFLAGS"; then
16138
 
        pkg_cv_XTEST_CFLAGS="$XTEST_CFLAGS"
16139
 
    else
16140
 
        if test -n "$PKG_CONFIG" && \
 
24906
if test -n "$XTEST_CFLAGS"; then
 
24907
    pkg_cv_XTEST_CFLAGS="$XTEST_CFLAGS"
 
24908
 elif test -n "$PKG_CONFIG"; then
 
24909
    if test -n "$PKG_CONFIG" && \
16141
24910
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xtst\"") >&5
16142
24911
  ($PKG_CONFIG --exists --print-errors "xtst") 2>&5
16143
24912
  ac_status=$?
16147
24916
else
16148
24917
  pkg_failed=yes
16149
24918
fi
16150
 
    fi
16151
 
else
16152
 
        pkg_failed=untried
 
24919
 else
 
24920
    pkg_failed=untried
16153
24921
fi
16154
 
if test -n "$PKG_CONFIG"; then
16155
 
    if test -n "$XTEST_LIBS"; then
16156
 
        pkg_cv_XTEST_LIBS="$XTEST_LIBS"
16157
 
    else
16158
 
        if test -n "$PKG_CONFIG" && \
 
24922
if test -n "$XTEST_LIBS"; then
 
24923
    pkg_cv_XTEST_LIBS="$XTEST_LIBS"
 
24924
 elif test -n "$PKG_CONFIG"; then
 
24925
    if test -n "$PKG_CONFIG" && \
16159
24926
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xtst\"") >&5
16160
24927
  ($PKG_CONFIG --exists --print-errors "xtst") 2>&5
16161
24928
  ac_status=$?
16165
24932
else
16166
24933
  pkg_failed=yes
16167
24934
fi
16168
 
    fi
16169
 
else
16170
 
        pkg_failed=untried
 
24935
 else
 
24936
    pkg_failed=untried
16171
24937
fi
16172
24938
 
16173
24939
 
16180
24946
        _pkg_short_errors_supported=no
16181
24947
fi
16182
24948
        if test $_pkg_short_errors_supported = yes; then
16183
 
                XTEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xtst"`
 
24949
                XTEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xtst" 2>&1`
16184
24950
        else
16185
 
                XTEST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xtst"`
 
24951
                XTEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "xtst" 2>&1`
16186
24952
        fi
16187
24953
        # Put the nasty error message in config.log where it belongs
16188
24954
        echo "$XTEST_PKG_ERRORS" >&5
16216
24982
{ $as_echo "$as_me:$LINENO: checking for XRENDER" >&5
16217
24983
$as_echo_n "checking for XRENDER... " >&6; }
16218
24984
 
16219
 
if test -n "$PKG_CONFIG"; then
16220
 
    if test -n "$XRENDER_CFLAGS"; then
16221
 
        pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS"
16222
 
    else
16223
 
        if test -n "$PKG_CONFIG" && \
 
24985
if test -n "$XRENDER_CFLAGS"; then
 
24986
    pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS"
 
24987
 elif test -n "$PKG_CONFIG"; then
 
24988
    if test -n "$PKG_CONFIG" && \
16224
24989
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender\"") >&5
16225
24990
  ($PKG_CONFIG --exists --print-errors "xrender") 2>&5
16226
24991
  ac_status=$?
16230
24995
else
16231
24996
  pkg_failed=yes
16232
24997
fi
16233
 
    fi
16234
 
else
16235
 
        pkg_failed=untried
 
24998
 else
 
24999
    pkg_failed=untried
16236
25000
fi
16237
 
if test -n "$PKG_CONFIG"; then
16238
 
    if test -n "$XRENDER_LIBS"; then
16239
 
        pkg_cv_XRENDER_LIBS="$XRENDER_LIBS"
16240
 
    else
16241
 
        if test -n "$PKG_CONFIG" && \
 
25001
if test -n "$XRENDER_LIBS"; then
 
25002
    pkg_cv_XRENDER_LIBS="$XRENDER_LIBS"
 
25003
 elif test -n "$PKG_CONFIG"; then
 
25004
    if test -n "$PKG_CONFIG" && \
16242
25005
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender\"") >&5
16243
25006
  ($PKG_CONFIG --exists --print-errors "xrender") 2>&5
16244
25007
  ac_status=$?
16248
25011
else
16249
25012
  pkg_failed=yes
16250
25013
fi
16251
 
    fi
16252
 
else
16253
 
        pkg_failed=untried
 
25014
 else
 
25015
    pkg_failed=untried
16254
25016
fi
16255
25017
 
16256
25018
 
16263
25025
        _pkg_short_errors_supported=no
16264
25026
fi
16265
25027
        if test $_pkg_short_errors_supported = yes; then
16266
 
                XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xrender"`
 
25028
                XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrender" 2>&1`
16267
25029
        else
16268
 
                XRENDER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xrender"`
 
25030
                XRENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrender" 2>&1`
16269
25031
        fi
16270
25032
        # Put the nasty error message in config.log where it belongs
16271
25033
        echo "$XRENDER_PKG_ERRORS" >&5
16572
25334
$as_echo "$ac_res" >&6; }
16573
25335
 
16574
25336
fi
16575
 
as_val=`eval 'as_val=${'$as_ac_Header'}
16576
 
                 $as_echo "$as_val"'`
16577
 
   if test "x$as_val" = x""yes; then
 
25337
if test `eval 'as_val=${'$as_ac_Header'}
 
25338
                 $as_echo "$as_val"'` = yes; then
16578
25339
  cat >>confdefs.h <<_ACEOF
16579
25340
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16580
25341
_ACEOF
16788
25549
$as_echo "$ac_cv_header_libintl_h" >&6; }
16789
25550
 
16790
25551
fi
16791
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
 
25552
if test $ac_cv_header_libintl_h = yes; then
16792
25553
  gt_cv_func_dgettext_libintl="no"
16793
25554
      libintl_extra_libs=""
16794
25555
 
17007
25768
                 $as_echo "$as_val"'`
17008
25769
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17009
25770
$as_echo "$ac_res" >&6; }
17010
 
as_val=`eval 'as_val=${'$as_ac_var'}
17011
 
                 $as_echo "$as_val"'`
17012
 
   if test "x$as_val" = x""yes; then
 
25771
if test `eval 'as_val=${'$as_ac_var'}
 
25772
                 $as_echo "$as_val"'` = yes; then
17013
25773
  cat >>confdefs.h <<_ACEOF
17014
25774
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17015
25775
_ACEOF
17091
25851
fi
17092
25852
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
17093
25853
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
17094
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
 
25854
if test $ac_cv_lib_intl_bindtextdomain = yes; then
17095
25855
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
17096
25856
$as_echo_n "checking for ngettext in -lintl... " >&6; }
17097
25857
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
17157
25917
fi
17158
25918
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
17159
25919
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
17160
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
 
25920
if test $ac_cv_lib_intl_ngettext = yes; then
17161
25921
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
17162
25922
$as_echo_n "checking for dgettext in -lintl... " >&6; }
17163
25923
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
17223
25983
fi
17224
25984
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
17225
25985
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
17226
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
 
25986
if test $ac_cv_lib_intl_dgettext = yes; then
17227
25987
  gt_cv_func_dgettext_libintl=yes
17228
25988
fi
17229
25989
 
17302
26062
fi
17303
26063
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
17304
26064
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
17305
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
 
26065
if test $ac_cv_lib_intl_ngettext = yes; then
17306
26066
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
17307
26067
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
17308
26068
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
17368
26128
fi
17369
26129
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
17370
26130
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
17371
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
 
26131
if test $ac_cv_lib_intl_dcgettext = yes; then
17372
26132
  gt_cv_func_dgettext_libintl=yes
17373
26133
                        libintl_extra_libs=-liconv
17374
26134
else
17481
26241
                 $as_echo "$as_val"'`
17482
26242
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17483
26243
$as_echo "$ac_res" >&6; }
17484
 
as_val=`eval 'as_val=${'$as_ac_var'}
17485
 
                 $as_echo "$as_val"'`
17486
 
   if test "x$as_val" = x""yes; then
 
26244
if test `eval 'as_val=${'$as_ac_var'}
 
26245
                 $as_echo "$as_val"'` = yes; then
17487
26246
  cat >>confdefs.h <<_ACEOF
17488
26247
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17489
26248
_ACEOF
17648
26407
                 $as_echo "$as_val"'`
17649
26408
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17650
26409
$as_echo "$ac_res" >&6; }
17651
 
as_val=`eval 'as_val=${'$as_ac_var'}
17652
 
                 $as_echo "$as_val"'`
17653
 
   if test "x$as_val" = x""yes; then
 
26410
if test `eval 'as_val=${'$as_ac_var'}
 
26411
                 $as_echo "$as_val"'` = yes; then
17654
26412
  cat >>confdefs.h <<_ACEOF
17655
26413
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17656
26414
_ACEOF
17894
26652
fi
17895
26653
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
17896
26654
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
17897
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
26655
if test $ac_cv_func_bind_textdomain_codeset = yes; then
17898
26656
  CATOBJEXT=.gmo
17899
26657
               DATADIRNAME=share
17900
26658
else
18347
27105
$as_echo "$ac_res" >&6; }
18348
27106
 
18349
27107
fi
18350
 
as_val=`eval 'as_val=${'$as_ac_Header'}
18351
 
                 $as_echo "$as_val"'`
18352
 
   if test "x$as_val" = x""yes; then
 
27108
if test `eval 'as_val=${'$as_ac_Header'}
 
27109
                 $as_echo "$as_val"'` = yes; then
18353
27110
  cat >>confdefs.h <<_ACEOF
18354
27111
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18355
27112
_ACEOF
18501
27258
$as_echo "$ac_res" >&6; }
18502
27259
 
18503
27260
fi
18504
 
as_val=`eval 'as_val=${'$as_ac_Header'}
18505
 
                 $as_echo "$as_val"'`
18506
 
   if test "x$as_val" = x""yes; then
 
27261
if test `eval 'as_val=${'$as_ac_Header'}
 
27262
                 $as_echo "$as_val"'` = yes; then
18507
27263
  cat >>confdefs.h <<_ACEOF
18508
27264
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18509
27265
_ACEOF
18662
27418
fi
18663
27419
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
18664
27420
$as_echo "$ac_cv_func_getaddrinfo" >&6; }
18665
 
if test "x$ac_cv_func_getaddrinfo" = x""yes; then
 
27421
if test $ac_cv_func_getaddrinfo = yes; then
18666
27422
  have_getaddrinfo=yes
18667
27423
fi
18668
27424
 
18737
27493
                 $as_echo "$as_val"'`
18738
27494
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18739
27495
$as_echo "$ac_res" >&6; }
18740
 
as_val=`eval 'as_val=${'$as_ac_Lib'}
18741
 
                 $as_echo "$as_val"'`
18742
 
   if test "x$as_val" = x""yes; then
 
27496
if test `eval 'as_val=${'$as_ac_Lib'}
 
27497
                 $as_echo "$as_val"'` = yes; then
18743
27498
  LIBS="$LIBS -l$lib";have_getaddrinfo=yes; break
18744
27499
fi
18745
27500
 
18894
27649
    case $ac_val in #(
18895
27650
    *${as_nl}*)
18896
27651
      case $ac_var in #(
18897
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
18898
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
27652
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
27653
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
18899
27654
      esac
18900
27655
      case $ac_var in #(
18901
27656
      _ | IFS | as_nl) ;; #(
18996
27751
Usually this means the macro was only invoked conditionally." >&2;}
18997
27752
   { (exit 1); exit 1; }; }
18998
27753
fi
 
27754
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
27755
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
27756
Usually this means the macro was only invoked conditionally." >&5
 
27757
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
27758
Usually this means the macro was only invoked conditionally." >&2;}
 
27759
   { (exit 1); exit 1; }; }
 
27760
fi
18999
27761
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
19000
27762
  { { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
19001
27763
Usually this means the macro was only invoked conditionally." >&5
19340
28102
# values after options handling.
19341
28103
ac_log="
19342
28104
This file was extended by gnome-session $as_me 2.26.1, which was
19343
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
28105
generated by GNU Autoconf 2.62.  Invocation command line was
19344
28106
 
19345
28107
  CONFIG_FILES    = $CONFIG_FILES
19346
28108
  CONFIG_HEADERS  = $CONFIG_HEADERS
19353
28115
 
19354
28116
_ACEOF
19355
28117
 
19356
 
case $ac_config_files in *"
19357
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
19358
 
esac
19359
 
 
19360
 
case $ac_config_headers in *"
19361
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19362
 
esac
19363
 
 
19364
 
 
19365
28118
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19366
28119
# Files that config.status was made for.
19367
28120
config_files="$ac_config_files"
19375
28128
\`$as_me' instantiates files from templates according to the
19376
28129
current configuration.
19377
28130
 
19378
 
Usage: $0 [OPTION]... [FILE]...
 
28131
Usage: $0 [OPTIONS] [FILE]...
19379
28132
 
19380
28133
  -h, --help       print this help, then exit
19381
28134
  -V, --version    print version number and configuration settings, then exit
19382
 
  -q, --quiet, --silent
19383
 
                   do not print progress messages
 
28135
  -q, --quiet      do not print progress messages
19384
28136
  -d, --debug      don't remove temporary files
19385
28137
      --recheck    update $as_me by reconfiguring in the same conditions
19386
 
      --file=FILE[:TEMPLATE]
 
28138
  --file=FILE[:TEMPLATE]
19387
28139
                   instantiate the configuration file FILE
19388
 
      --header=FILE[:TEMPLATE]
 
28140
  --header=FILE[:TEMPLATE]
19389
28141
                   instantiate the configuration header FILE
19390
28142
 
19391
28143
Configuration files:
19403
28155
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19404
28156
ac_cs_version="\\
19405
28157
gnome-session config.status 2.26.1
19406
 
configured by $0, generated by GNU Autoconf 2.63,
 
28158
configured by $0, generated by GNU Autoconf 2.62,
19407
28159
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
19408
28160
 
19409
28161
Copyright (C) 2008 Free Software Foundation, Inc.
19518
28270
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19519
28271
 
19520
28272
 
19521
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
19522
 
# if CDPATH is set.
19523
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19524
 
 
19525
 
sed_quote_subst='$sed_quote_subst'
19526
 
double_quote_subst='$double_quote_subst'
19527
 
delay_variable_subst='$delay_variable_subst'
19528
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
19529
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
19530
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
19531
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
19532
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
19533
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
19534
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
19535
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
19536
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
19537
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
19538
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
19539
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
19540
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
19541
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
19542
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
19543
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
19544
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
19545
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
19546
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
19547
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
19548
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
19549
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
19550
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
19551
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
19552
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
19553
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
19554
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
19555
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19556
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
19557
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
19558
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
19559
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
19560
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19561
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
19562
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
19563
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19564
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19565
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19566
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
19567
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19568
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
19569
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
19570
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
19571
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
19572
 
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"`'
19573
 
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"`'
19574
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
19575
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
19576
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
19577
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
19578
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
19579
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
19580
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
19581
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
19582
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
19583
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
19584
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
19585
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
19586
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
19587
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
19588
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
19589
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
19590
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19591
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19592
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
19593
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
19594
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19595
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19596
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
19597
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19598
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19599
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19600
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19601
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19602
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19603
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
19604
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19605
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19606
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19607
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
19608
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
19609
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
19610
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
19611
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
19612
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19613
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
19614
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
19615
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
19616
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
19617
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
19618
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19619
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19620
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19621
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19622
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
19623
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
19624
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19625
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
19626
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
19627
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19628
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19629
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
19630
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19631
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
19632
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19633
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19634
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19635
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19636
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
19637
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
19638
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19639
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19640
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
19641
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
19642
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
19643
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
19644
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
19645
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
19646
 
 
19647
 
LTCC='$LTCC'
19648
 
LTCFLAGS='$LTCFLAGS'
19649
 
compiler='$compiler_DEFAULT'
19650
 
 
19651
 
# Quote evaled strings.
19652
 
for var in SED \
19653
 
GREP \
19654
 
EGREP \
19655
 
FGREP \
19656
 
LD \
19657
 
NM \
19658
 
LN_S \
19659
 
lt_SP2NL \
19660
 
lt_NL2SP \
19661
 
reload_flag \
19662
 
OBJDUMP \
19663
 
deplibs_check_method \
19664
 
file_magic_cmd \
19665
 
AR \
19666
 
AR_FLAGS \
19667
 
STRIP \
19668
 
RANLIB \
19669
 
CC \
19670
 
CFLAGS \
19671
 
compiler \
19672
 
lt_cv_sys_global_symbol_pipe \
19673
 
lt_cv_sys_global_symbol_to_cdecl \
19674
 
lt_cv_sys_global_symbol_to_c_name_address \
19675
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19676
 
SHELL \
19677
 
ECHO \
19678
 
lt_prog_compiler_no_builtin_flag \
19679
 
lt_prog_compiler_wl \
19680
 
lt_prog_compiler_pic \
19681
 
lt_prog_compiler_static \
19682
 
lt_cv_prog_compiler_c_o \
19683
 
need_locks \
19684
 
DSYMUTIL \
19685
 
NMEDIT \
19686
 
LIPO \
19687
 
OTOOL \
19688
 
OTOOL64 \
19689
 
shrext_cmds \
19690
 
export_dynamic_flag_spec \
19691
 
whole_archive_flag_spec \
19692
 
compiler_needs_object \
19693
 
with_gnu_ld \
19694
 
allow_undefined_flag \
19695
 
no_undefined_flag \
19696
 
hardcode_libdir_flag_spec \
19697
 
hardcode_libdir_flag_spec_ld \
19698
 
hardcode_libdir_separator \
19699
 
fix_srcfile_path \
19700
 
exclude_expsyms \
19701
 
include_expsyms \
19702
 
file_list_spec \
19703
 
variables_saved_for_relink \
19704
 
libname_spec \
19705
 
library_names_spec \
19706
 
soname_spec \
19707
 
finish_eval \
19708
 
old_striplib \
19709
 
striplib; do
19710
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19711
 
    *[\\\\\\\`\\"\\\$]*)
19712
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19713
 
      ;;
19714
 
    *)
19715
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19716
 
      ;;
19717
 
    esac
19718
 
done
19719
 
 
19720
 
# Double-quote double-evaled strings.
19721
 
for var in reload_cmds \
19722
 
old_postinstall_cmds \
19723
 
old_postuninstall_cmds \
19724
 
old_archive_cmds \
19725
 
extract_expsyms_cmds \
19726
 
old_archive_from_new_cmds \
19727
 
old_archive_from_expsyms_cmds \
19728
 
archive_cmds \
19729
 
archive_expsym_cmds \
19730
 
module_cmds \
19731
 
module_expsym_cmds \
19732
 
export_symbols_cmds \
19733
 
prelink_cmds \
19734
 
postinstall_cmds \
19735
 
postuninstall_cmds \
19736
 
finish_cmds \
19737
 
sys_lib_search_path_spec \
19738
 
sys_lib_dlsearch_path_spec; do
19739
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19740
 
    *[\\\\\\\`\\"\\\$]*)
19741
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19742
 
      ;;
19743
 
    *)
19744
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19745
 
      ;;
19746
 
    esac
19747
 
done
19748
 
 
19749
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
19750
 
case \$lt_ECHO in
19751
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19752
 
  ;;
19753
 
esac
19754
 
 
19755
 
ac_aux_dir='$ac_aux_dir'
19756
 
xsi_shell='$xsi_shell'
19757
 
lt_shell_append='$lt_shell_append'
19758
 
 
19759
 
# See if we are running on zsh, and set the options which allow our
19760
 
# commands through without removal of \ escapes INIT.
19761
 
if test -n "\${ZSH_VERSION+set}" ; then
19762
 
   setopt NO_GLOB_SUBST
19763
 
fi
19764
 
 
19765
 
 
19766
 
    PACKAGE='$PACKAGE'
19767
 
    VERSION='$VERSION'
19768
 
    TIMESTAMP='$TIMESTAMP'
19769
 
    RM='$RM'
19770
 
    ofile='$ofile'
19771
 
 
19772
 
 
19773
 
 
19774
 
 
19775
 
 
19776
28273
_ACEOF
19777
28274
 
19778
28275
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19783
28280
  case $ac_config_target in
19784
28281
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19785
28282
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19786
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19787
28283
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
19788
28284
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19789
28285
    "capplet/Makefile") CONFIG_FILES="$CONFIG_FILES capplet/Makefile" ;;
19892
28388
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19893
28389
   { (exit 1); exit 1; }; }
19894
28390
 
19895
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19896
 
  if test $ac_delim_n = $ac_delim_num; then
 
28391
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
19897
28392
    break
19898
28393
  elif $ac_last_try; then
19899
28394
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20098
28593
  }
20099
28594
  split(mac1, mac2, "(") #)
20100
28595
  macro = mac2[1]
20101
 
  prefix = substr(line, 1, index(line, defundef) - 1)
20102
28596
  if (D_is_set[macro]) {
20103
28597
    # Preserve the white space surrounding the "#".
 
28598
    prefix = substr(line, 1, index(line, defundef) - 1)
20104
28599
    print prefix "define", macro P[macro] D[macro]
20105
28600
    next
20106
28601
  } else {
20108
28603
    # in the case of _POSIX_SOURCE, which is predefined and required
20109
28604
    # on some systems where configure will not decide to define it.
20110
28605
    if (defundef == "undef") {
20111
 
      print "/*", prefix defundef, macro, "*/"
 
28606
      print "/*", line, "*/"
20112
28607
      next
20113
28608
    }
20114
28609
  }
20132
28627
  esac
20133
28628
  case $ac_mode$ac_tag in
20134
28629
  :[FHL]*:*);;
20135
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
20136
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
 
28630
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
28631
$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20137
28632
   { (exit 1); exit 1; }; };;
20138
28633
  :[FH]-) ac_tag=-:-;;
20139
28634
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20465
28960
 
20466
28961
 
20467
28962
  case $ac_file$ac_mode in
20468
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
20469
 
# are listed without --file.  Let's play safe and only enable the eval
20470
 
# if we detect the quoting.
20471
 
case $CONFIG_FILES in
20472
 
*\'*) eval set x "$CONFIG_FILES" ;;
20473
 
*)   set x $CONFIG_FILES ;;
20474
 
esac
20475
 
shift
20476
 
for mf
20477
 
do
 
28963
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20478
28964
  # Strip MF so we end up with the name of the file.
20479
28965
  mf=`echo "$mf" | sed -e 's/:.*$//'`
20480
28966
  # Check whether this is an Automake generated Makefile or not.
20598
29084
  done
20599
29085
done
20600
29086
 ;;
20601
 
    "libtool":C)
20602
 
 
20603
 
    # See if we are running on zsh, and set the options which allow our
20604
 
    # commands through without removal of \ escapes.
20605
 
    if test -n "${ZSH_VERSION+set}" ; then
20606
 
      setopt NO_GLOB_SUBST
20607
 
    fi
20608
 
 
20609
 
    cfgfile="${ofile}T"
20610
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20611
 
    $RM "$cfgfile"
20612
 
 
20613
 
    cat <<_LT_EOF >> "$cfgfile"
20614
 
#! $SHELL
20615
 
 
20616
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20617
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20618
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20619
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20620
 
#
20621
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20622
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
20623
 
#   Written by Gordon Matzigkeit, 1996
20624
 
#
20625
 
#   This file is part of GNU Libtool.
20626
 
#
20627
 
# GNU Libtool is free software; you can redistribute it and/or
20628
 
# modify it under the terms of the GNU General Public License as
20629
 
# published by the Free Software Foundation; either version 2 of
20630
 
# the License, or (at your option) any later version.
20631
 
#
20632
 
# As a special exception to the GNU General Public License,
20633
 
# if you distribute this file as part of a program or library that
20634
 
# is built using GNU Libtool, you may include this file under the
20635
 
# same distribution terms that you use for the rest of that program.
20636
 
#
20637
 
# GNU Libtool is distributed in the hope that it will be useful,
20638
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20639
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20640
 
# GNU General Public License for more details.
20641
 
#
20642
 
# You should have received a copy of the GNU General Public License
20643
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
20644
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20645
 
# obtained by writing to the Free Software Foundation, Inc.,
20646
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20647
 
 
20648
 
 
20649
 
# The names of the tagged configurations supported by this script.
20650
 
available_tags=""
20651
 
 
20652
 
# ### BEGIN LIBTOOL CONFIG
20653
 
 
20654
 
# Which release of libtool.m4 was used?
20655
 
macro_version=$macro_version
20656
 
macro_revision=$macro_revision
20657
 
 
20658
 
# Whether or not to build shared libraries.
20659
 
build_libtool_libs=$enable_shared
20660
 
 
20661
 
# Whether or not to build static libraries.
20662
 
build_old_libs=$enable_static
20663
 
 
20664
 
# What type of objects to build.
20665
 
pic_mode=$pic_mode
20666
 
 
20667
 
# Whether or not to optimize for fast installation.
20668
 
fast_install=$enable_fast_install
20669
 
 
20670
 
# The host system.
20671
 
host_alias=$host_alias
20672
 
host=$host
20673
 
host_os=$host_os
20674
 
 
20675
 
# The build system.
20676
 
build_alias=$build_alias
20677
 
build=$build
20678
 
build_os=$build_os
20679
 
 
20680
 
# A sed program that does not truncate output.
20681
 
SED=$lt_SED
20682
 
 
20683
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20684
 
Xsed="\$SED -e 1s/^X//"
20685
 
 
20686
 
# A grep program that handles long lines.
20687
 
GREP=$lt_GREP
20688
 
 
20689
 
# An ERE matcher.
20690
 
EGREP=$lt_EGREP
20691
 
 
20692
 
# A literal string matcher.
20693
 
FGREP=$lt_FGREP
20694
 
 
20695
 
# A BSD- or MS-compatible name lister.
20696
 
NM=$lt_NM
20697
 
 
20698
 
# Whether we need soft or hard links.
20699
 
LN_S=$lt_LN_S
20700
 
 
20701
 
# What is the maximum length of a command?
20702
 
max_cmd_len=$max_cmd_len
20703
 
 
20704
 
# Object file suffix (normally "o").
20705
 
objext=$ac_objext
20706
 
 
20707
 
# Executable file suffix (normally "").
20708
 
exeext=$exeext
20709
 
 
20710
 
# whether the shell understands "unset".
20711
 
lt_unset=$lt_unset
20712
 
 
20713
 
# turn spaces into newlines.
20714
 
SP2NL=$lt_lt_SP2NL
20715
 
 
20716
 
# turn newlines into spaces.
20717
 
NL2SP=$lt_lt_NL2SP
20718
 
 
20719
 
# How to create reloadable object files.
20720
 
reload_flag=$lt_reload_flag
20721
 
reload_cmds=$lt_reload_cmds
20722
 
 
20723
 
# An object symbol dumper.
20724
 
OBJDUMP=$lt_OBJDUMP
20725
 
 
20726
 
# Method to check whether dependent libraries are shared objects.
20727
 
deplibs_check_method=$lt_deplibs_check_method
20728
 
 
20729
 
# Command to use when deplibs_check_method == "file_magic".
20730
 
file_magic_cmd=$lt_file_magic_cmd
20731
 
 
20732
 
# The archiver.
20733
 
AR=$lt_AR
20734
 
AR_FLAGS=$lt_AR_FLAGS
20735
 
 
20736
 
# A symbol stripping program.
20737
 
STRIP=$lt_STRIP
20738
 
 
20739
 
# Commands used to install an old-style archive.
20740
 
RANLIB=$lt_RANLIB
20741
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20742
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20743
 
 
20744
 
# A C compiler.
20745
 
LTCC=$lt_CC
20746
 
 
20747
 
# LTCC compiler flags.
20748
 
LTCFLAGS=$lt_CFLAGS
20749
 
 
20750
 
# Take the output of nm and produce a listing of raw symbols and C names.
20751
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20752
 
 
20753
 
# Transform the output of nm in a proper C declaration.
20754
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20755
 
 
20756
 
# Transform the output of nm in a C name address pair.
20757
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20758
 
 
20759
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
20760
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20761
 
 
20762
 
# The name of the directory that contains temporary libtool files.
20763
 
objdir=$objdir
20764
 
 
20765
 
# Shell to use when invoking shell scripts.
20766
 
SHELL=$lt_SHELL
20767
 
 
20768
 
# An echo program that does not interpret backslashes.
20769
 
ECHO=$lt_ECHO
20770
 
 
20771
 
# Used to examine libraries when file_magic_cmd begins with "file".
20772
 
MAGIC_CMD=$MAGIC_CMD
20773
 
 
20774
 
# Must we lock files when doing compilation?
20775
 
need_locks=$lt_need_locks
20776
 
 
20777
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20778
 
DSYMUTIL=$lt_DSYMUTIL
20779
 
 
20780
 
# Tool to change global to local symbols on Mac OS X.
20781
 
NMEDIT=$lt_NMEDIT
20782
 
 
20783
 
# Tool to manipulate fat objects and archives on Mac OS X.
20784
 
LIPO=$lt_LIPO
20785
 
 
20786
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
20787
 
OTOOL=$lt_OTOOL
20788
 
 
20789
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20790
 
OTOOL64=$lt_OTOOL64
20791
 
 
20792
 
# Old archive suffix (normally "a").
20793
 
libext=$libext
20794
 
 
20795
 
# Shared library suffix (normally ".so").
20796
 
shrext_cmds=$lt_shrext_cmds
20797
 
 
20798
 
# The commands to extract the exported symbol list from a shared archive.
20799
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20800
 
 
20801
 
# Variables whose values should be saved in libtool wrapper scripts and
20802
 
# restored at link time.
20803
 
variables_saved_for_relink=$lt_variables_saved_for_relink
20804
 
 
20805
 
# Do we need the "lib" prefix for modules?
20806
 
need_lib_prefix=$need_lib_prefix
20807
 
 
20808
 
# Do we need a version for libraries?
20809
 
need_version=$need_version
20810
 
 
20811
 
# Library versioning type.
20812
 
version_type=$version_type
20813
 
 
20814
 
# Shared library runtime path variable.
20815
 
runpath_var=$runpath_var
20816
 
 
20817
 
# Shared library path variable.
20818
 
shlibpath_var=$shlibpath_var
20819
 
 
20820
 
# Is shlibpath searched before the hard-coded library search path?
20821
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20822
 
 
20823
 
# Format of library name prefix.
20824
 
libname_spec=$lt_libname_spec
20825
 
 
20826
 
# List of archive names.  First name is the real one, the rest are links.
20827
 
# The last name is the one that the linker finds with -lNAME
20828
 
library_names_spec=$lt_library_names_spec
20829
 
 
20830
 
# The coded name of the library, if different from the real name.
20831
 
soname_spec=$lt_soname_spec
20832
 
 
20833
 
# Command to use after installation of a shared archive.
20834
 
postinstall_cmds=$lt_postinstall_cmds
20835
 
 
20836
 
# Command to use after uninstallation of a shared archive.
20837
 
postuninstall_cmds=$lt_postuninstall_cmds
20838
 
 
20839
 
# Commands used to finish a libtool library installation in a directory.
20840
 
finish_cmds=$lt_finish_cmds
20841
 
 
20842
 
# As "finish_cmds", except a single script fragment to be evaled but
20843
 
# not shown.
20844
 
finish_eval=$lt_finish_eval
20845
 
 
20846
 
# Whether we should hardcode library paths into libraries.
20847
 
hardcode_into_libs=$hardcode_into_libs
20848
 
 
20849
 
# Compile-time system search path for libraries.
20850
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20851
 
 
20852
 
# Run-time system search path for libraries.
20853
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20854
 
 
20855
 
# Whether dlopen is supported.
20856
 
dlopen_support=$enable_dlopen
20857
 
 
20858
 
# Whether dlopen of programs is supported.
20859
 
dlopen_self=$enable_dlopen_self
20860
 
 
20861
 
# Whether dlopen of statically linked programs is supported.
20862
 
dlopen_self_static=$enable_dlopen_self_static
20863
 
 
20864
 
# Commands to strip libraries.
20865
 
old_striplib=$lt_old_striplib
20866
 
striplib=$lt_striplib
20867
 
 
20868
 
 
20869
 
# The linker used to build libraries.
20870
 
LD=$lt_LD
20871
 
 
20872
 
# Commands used to build an old-style archive.
20873
 
old_archive_cmds=$lt_old_archive_cmds
20874
 
 
20875
 
# A language specific compiler.
20876
 
CC=$lt_compiler
20877
 
 
20878
 
# Is the compiler the GNU compiler?
20879
 
with_gcc=$GCC
20880
 
 
20881
 
# Compiler flag to turn off builtin functions.
20882
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20883
 
 
20884
 
# How to pass a linker flag through the compiler.
20885
 
wl=$lt_lt_prog_compiler_wl
20886
 
 
20887
 
# Additional compiler flags for building library objects.
20888
 
pic_flag=$lt_lt_prog_compiler_pic
20889
 
 
20890
 
# Compiler flag to prevent dynamic linking.
20891
 
link_static_flag=$lt_lt_prog_compiler_static
20892
 
 
20893
 
# Does compiler simultaneously support -c and -o options?
20894
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20895
 
 
20896
 
# Whether or not to add -lc for building shared libraries.
20897
 
build_libtool_need_lc=$archive_cmds_need_lc
20898
 
 
20899
 
# Whether or not to disallow shared libs when runtime libs are static.
20900
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20901
 
 
20902
 
# Compiler flag to allow reflexive dlopens.
20903
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20904
 
 
20905
 
# Compiler flag to generate shared objects directly from archives.
20906
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
20907
 
 
20908
 
# Whether the compiler copes with passing no objects directly.
20909
 
compiler_needs_object=$lt_compiler_needs_object
20910
 
 
20911
 
# Create an old-style archive from a shared archive.
20912
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20913
 
 
20914
 
# Create a temporary old-style archive to link instead of a shared archive.
20915
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20916
 
 
20917
 
# Commands used to build a shared archive.
20918
 
archive_cmds=$lt_archive_cmds
20919
 
archive_expsym_cmds=$lt_archive_expsym_cmds
20920
 
 
20921
 
# Commands used to build a loadable module if different from building
20922
 
# a shared archive.
20923
 
module_cmds=$lt_module_cmds
20924
 
module_expsym_cmds=$lt_module_expsym_cmds
20925
 
 
20926
 
# Whether we are building with GNU ld or not.
20927
 
with_gnu_ld=$lt_with_gnu_ld
20928
 
 
20929
 
# Flag that allows shared libraries with undefined symbols to be built.
20930
 
allow_undefined_flag=$lt_allow_undefined_flag
20931
 
 
20932
 
# Flag that enforces no undefined symbols.
20933
 
no_undefined_flag=$lt_no_undefined_flag
20934
 
 
20935
 
# Flag to hardcode \$libdir into a binary during linking.
20936
 
# This must work even if \$libdir does not exist
20937
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20938
 
 
20939
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
20940
 
# during linking.  This must work even if \$libdir does not exist.
20941
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20942
 
 
20943
 
# Whether we need a single "-rpath" flag with a separated argument.
20944
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
20945
 
 
20946
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20947
 
# DIR into the resulting binary.
20948
 
hardcode_direct=$hardcode_direct
20949
 
 
20950
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20951
 
# DIR into the resulting binary and the resulting library dependency is
20952
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20953
 
# library is relocated.
20954
 
hardcode_direct_absolute=$hardcode_direct_absolute
20955
 
 
20956
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20957
 
# into the resulting binary.
20958
 
hardcode_minus_L=$hardcode_minus_L
20959
 
 
20960
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20961
 
# into the resulting binary.
20962
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
20963
 
 
20964
 
# Set to "yes" if building a shared library automatically hardcodes DIR
20965
 
# into the library and all subsequent libraries and executables linked
20966
 
# against it.
20967
 
hardcode_automatic=$hardcode_automatic
20968
 
 
20969
 
# Set to yes if linker adds runtime paths of dependent libraries
20970
 
# to runtime path list.
20971
 
inherit_rpath=$inherit_rpath
20972
 
 
20973
 
# Whether libtool must link a program against all its dependency libraries.
20974
 
link_all_deplibs=$link_all_deplibs
20975
 
 
20976
 
# Fix the shell variable \$srcfile for the compiler.
20977
 
fix_srcfile_path=$lt_fix_srcfile_path
20978
 
 
20979
 
# Set to "yes" if exported symbols are required.
20980
 
always_export_symbols=$always_export_symbols
20981
 
 
20982
 
# The commands to list exported symbols.
20983
 
export_symbols_cmds=$lt_export_symbols_cmds
20984
 
 
20985
 
# Symbols that should not be listed in the preloaded symbols.
20986
 
exclude_expsyms=$lt_exclude_expsyms
20987
 
 
20988
 
# Symbols that must always be exported.
20989
 
include_expsyms=$lt_include_expsyms
20990
 
 
20991
 
# Commands necessary for linking programs (against libraries) with templates.
20992
 
prelink_cmds=$lt_prelink_cmds
20993
 
 
20994
 
# Specify filename containing input files.
20995
 
file_list_spec=$lt_file_list_spec
20996
 
 
20997
 
# How to hardcode a shared library path into an executable.
20998
 
hardcode_action=$hardcode_action
20999
 
 
21000
 
# ### END LIBTOOL CONFIG
21001
 
 
21002
 
_LT_EOF
21003
 
 
21004
 
  case $host_os in
21005
 
  aix3*)
21006
 
    cat <<\_LT_EOF >> "$cfgfile"
21007
 
# AIX sometimes has problems with the GCC collect2 program.  For some
21008
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
21009
 
# vanish in a puff of smoke.
21010
 
if test "X${COLLECT_NAMES+set}" != Xset; then
21011
 
  COLLECT_NAMES=
21012
 
  export COLLECT_NAMES
21013
 
fi
21014
 
_LT_EOF
21015
 
    ;;
21016
 
  esac
21017
 
 
21018
 
 
21019
 
ltmain="$ac_aux_dir/ltmain.sh"
21020
 
 
21021
 
 
21022
 
  # We use sed instead of cat because bash on DJGPP gets confused if
21023
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21024
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
21025
 
  # is reportedly fixed, but why not run on old versions too?
21026
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21027
 
    || (rm -f "$cfgfile"; exit 1)
21028
 
 
21029
 
  case $xsi_shell in
21030
 
  yes)
21031
 
    cat << \_LT_EOF >> "$cfgfile"
21032
 
 
21033
 
# func_dirname file append nondir_replacement
21034
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
21035
 
# otherwise set result to NONDIR_REPLACEMENT.
21036
 
func_dirname ()
21037
 
{
21038
 
  case ${1} in
21039
 
    */*) func_dirname_result="${1%/*}${2}" ;;
21040
 
    *  ) func_dirname_result="${3}" ;;
21041
 
  esac
21042
 
}
21043
 
 
21044
 
# func_basename file
21045
 
func_basename ()
21046
 
{
21047
 
  func_basename_result="${1##*/}"
21048
 
}
21049
 
 
21050
 
# func_dirname_and_basename file append nondir_replacement
21051
 
# perform func_basename and func_dirname in a single function
21052
 
# call:
21053
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
21054
 
#             add APPEND to the result, otherwise set result
21055
 
#             to NONDIR_REPLACEMENT.
21056
 
#             value returned in "$func_dirname_result"
21057
 
#   basename: Compute filename of FILE.
21058
 
#             value retuned in "$func_basename_result"
21059
 
# Implementation must be kept synchronized with func_dirname
21060
 
# and func_basename. For efficiency, we do not delegate to
21061
 
# those functions but instead duplicate the functionality here.
21062
 
func_dirname_and_basename ()
21063
 
{
21064
 
  case ${1} in
21065
 
    */*) func_dirname_result="${1%/*}${2}" ;;
21066
 
    *  ) func_dirname_result="${3}" ;;
21067
 
  esac
21068
 
  func_basename_result="${1##*/}"
21069
 
}
21070
 
 
21071
 
# func_stripname prefix suffix name
21072
 
# strip PREFIX and SUFFIX off of NAME.
21073
 
# PREFIX and SUFFIX must not contain globbing or regex special
21074
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
21075
 
# dot (in which case that matches only a dot).
21076
 
func_stripname ()
21077
 
{
21078
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21079
 
  # positional parameters, so assign one to ordinary parameter first.
21080
 
  func_stripname_result=${3}
21081
 
  func_stripname_result=${func_stripname_result#"${1}"}
21082
 
  func_stripname_result=${func_stripname_result%"${2}"}
21083
 
}
21084
 
 
21085
 
# func_opt_split
21086
 
func_opt_split ()
21087
 
{
21088
 
  func_opt_split_opt=${1%%=*}
21089
 
  func_opt_split_arg=${1#*=}
21090
 
}
21091
 
 
21092
 
# func_lo2o object
21093
 
func_lo2o ()
21094
 
{
21095
 
  case ${1} in
21096
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
21097
 
    *)    func_lo2o_result=${1} ;;
21098
 
  esac
21099
 
}
21100
 
 
21101
 
# func_xform libobj-or-source
21102
 
func_xform ()
21103
 
{
21104
 
  func_xform_result=${1%.*}.lo
21105
 
}
21106
 
 
21107
 
# func_arith arithmetic-term...
21108
 
func_arith ()
21109
 
{
21110
 
  func_arith_result=$(( $* ))
21111
 
}
21112
 
 
21113
 
# func_len string
21114
 
# STRING may not start with a hyphen.
21115
 
func_len ()
21116
 
{
21117
 
  func_len_result=${#1}
21118
 
}
21119
 
 
21120
 
_LT_EOF
21121
 
    ;;
21122
 
  *) # Bourne compatible functions.
21123
 
    cat << \_LT_EOF >> "$cfgfile"
21124
 
 
21125
 
# func_dirname file append nondir_replacement
21126
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
21127
 
# otherwise set result to NONDIR_REPLACEMENT.
21128
 
func_dirname ()
21129
 
{
21130
 
  # Extract subdirectory from the argument.
21131
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21132
 
  if test "X$func_dirname_result" = "X${1}"; then
21133
 
    func_dirname_result="${3}"
21134
 
  else
21135
 
    func_dirname_result="$func_dirname_result${2}"
21136
 
  fi
21137
 
}
21138
 
 
21139
 
# func_basename file
21140
 
func_basename ()
21141
 
{
21142
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
21143
 
}
21144
 
 
21145
 
 
21146
 
# func_stripname prefix suffix name
21147
 
# strip PREFIX and SUFFIX off of NAME.
21148
 
# PREFIX and SUFFIX must not contain globbing or regex special
21149
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
21150
 
# dot (in which case that matches only a dot).
21151
 
# func_strip_suffix prefix name
21152
 
func_stripname ()
21153
 
{
21154
 
  case ${2} in
21155
 
    .*) func_stripname_result=`$ECHO "X${3}" \
21156
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21157
 
    *)  func_stripname_result=`$ECHO "X${3}" \
21158
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21159
 
  esac
21160
 
}
21161
 
 
21162
 
# sed scripts:
21163
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
21164
 
my_sed_long_arg='1s/^-[^=]*=//'
21165
 
 
21166
 
# func_opt_split
21167
 
func_opt_split ()
21168
 
{
21169
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21170
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21171
 
}
21172
 
 
21173
 
# func_lo2o object
21174
 
func_lo2o ()
21175
 
{
21176
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21177
 
}
21178
 
 
21179
 
# func_xform libobj-or-source
21180
 
func_xform ()
21181
 
{
21182
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21183
 
}
21184
 
 
21185
 
# func_arith arithmetic-term...
21186
 
func_arith ()
21187
 
{
21188
 
  func_arith_result=`expr "$@"`
21189
 
}
21190
 
 
21191
 
# func_len string
21192
 
# STRING may not start with a hyphen.
21193
 
func_len ()
21194
 
{
21195
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21196
 
}
21197
 
 
21198
 
_LT_EOF
21199
 
esac
21200
 
 
21201
 
case $lt_shell_append in
21202
 
  yes)
21203
 
    cat << \_LT_EOF >> "$cfgfile"
21204
 
 
21205
 
# func_append var value
21206
 
# Append VALUE to the end of shell variable VAR.
21207
 
func_append ()
21208
 
{
21209
 
  eval "$1+=\$2"
21210
 
}
21211
 
_LT_EOF
21212
 
    ;;
21213
 
  *)
21214
 
    cat << \_LT_EOF >> "$cfgfile"
21215
 
 
21216
 
# func_append var value
21217
 
# Append VALUE to the end of shell variable VAR.
21218
 
func_append ()
21219
 
{
21220
 
  eval "$1=\$$1\$2"
21221
 
}
21222
 
 
21223
 
_LT_EOF
21224
 
    ;;
21225
 
  esac
21226
 
 
21227
 
 
21228
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21229
 
    || (rm -f "$cfgfile"; exit 1)
21230
 
 
21231
 
  mv -f "$cfgfile" "$ofile" ||
21232
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21233
 
  chmod +x "$ofile"
21234
 
 
21235
 
 ;;
21236
29087
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
21237
29088
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
21238
29089
      esac ;;
21239
29090
    "po/stamp-it":C)
21240
 
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
29091
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" ; then
21241
29092
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
21242
29093
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
21243
29094
   { (exit 1); exit 1; }; }
21295
29146
  $ac_cs_success || { (exit 1); exit 1; }
21296
29147
fi
21297
29148
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21298
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21299
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
29149
  { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
 
29150
$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
21300
29151
fi
21301
29152
 
21302
29153