~ubuntu-branches/ubuntu/trusty/gnome-main-menu/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-01-19 10:01:45 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090119100145-luwp9gta8xofnf6u
Tags: 0.9.12+dfsg-0ubuntu1
* New upstream release 0.9.12
  Scott Reeves  <sreeves@novell.com>:
  - Fix for BGO#562985 - network status not shown on resume
  - Fix g_object_unref G_IS_OBJECT assertions.
  - Clean up .desktop files - BNC#444138
  - Fix BNC#447550 - translations not updating when changing locale
  - Fix up the entire flow of how the system-items.xbel is handled
  - Add a trivial launcher of the panel "Run Application" dialog for 
    optional inclusion in the system area
  - Patch from Tambet to match the NetworkManager API change
  - post release bump to 0.9.12
  Kjartan Maraas  <kmaraas@gnome.org>:
  - Add libgnomeui to LIBSLAB_CFLAGS to make it build.
  Federico Mena Quintero  <federico@novell.com>:
  - Some code cleanup
* debian/patches/02_add_libgnomeui.patch,
  debian/patches/30_nm07.patch, debian/patches/series:
  - remove patches superseeded in upstream tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.62 for gnome-main-menu 0.9.11.
 
3
# Generated by GNU Autoconf 2.63 for gnome-main-menu 0.9.12.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-main-menu>.
6
6
#
577
577
# Check that we are running under the correct shell.
578
578
SHELL=${CONFIG_SHELL-/bin/sh}
579
579
 
580
 
case X$ECHO in
 
580
case X$lt_ECHO in
581
581
X*--fallback-echo)
582
582
  # Remove one level of quotation (which was required for Make).
583
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
583
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
584
584
  ;;
585
585
esac
586
586
 
587
 
echo=${ECHO-echo}
 
587
ECHO=${lt_ECHO-echo}
588
588
if test "X$1" = X--no-reexec; then
589
589
  # Discard the --no-reexec flag, and continue.
590
590
  shift
591
591
elif test "X$1" = X--fallback-echo; then
592
592
  # Avoid inline document here, it may be left over
593
593
  :
594
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
595
 
  # Yippee, $echo works!
 
594
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
595
  # Yippee, $ECHO works!
596
596
  :
597
597
else
598
598
  # Restart under the correct shell.
602
602
if test "X$1" = X--fallback-echo; then
603
603
  # used as fallback echo
604
604
  shift
605
 
  cat <<EOF
 
605
  cat <<_LT_EOF
606
606
$*
607
 
EOF
 
607
_LT_EOF
608
608
  exit 0
609
609
fi
610
610
 
612
612
# if CDPATH is set.
613
613
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
614
614
 
615
 
if test -z "$ECHO"; then
616
 
if test "X${echo_test_string+set}" != Xset; then
617
 
# find a string as large as possible, as long as the shell can cope with it
618
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
621
 
       echo_test_string=`eval $cmd` &&
622
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
623
 
    then
624
 
      break
625
 
    fi
626
 
  done
627
 
fi
628
 
 
629
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
630
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
631
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
  :
633
 
else
634
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
635
 
  # backslashes.  This makes it impossible to quote backslashes using
636
 
  #   echo "$something" | sed 's/\\/\\\\/g'
637
 
  #
638
 
  # So, first we look for a working echo in the user's PATH.
639
 
 
640
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
641
 
  for dir in $PATH /usr/ucb; do
 
615
if test -z "$lt_ECHO"; then
 
616
  if test "X${echo_test_string+set}" != Xset; then
 
617
    # find a string as large as possible, as long as the shell can cope with it
 
618
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
619
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
620
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
621
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
622
      then
 
623
        break
 
624
      fi
 
625
    done
 
626
  fi
 
627
 
 
628
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
629
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
630
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
631
    :
 
632
  else
 
633
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
634
    # backslashes.  This makes it impossible to quote backslashes using
 
635
    #   echo "$something" | sed 's/\\/\\\\/g'
 
636
    #
 
637
    # So, first we look for a working echo in the user's PATH.
 
638
 
 
639
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
640
    for dir in $PATH /usr/ucb; do
 
641
      IFS="$lt_save_ifs"
 
642
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
643
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
644
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
645
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
646
        ECHO="$dir/echo"
 
647
        break
 
648
      fi
 
649
    done
642
650
    IFS="$lt_save_ifs"
643
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
644
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
645
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
646
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
647
 
      echo="$dir/echo"
648
 
      break
649
 
    fi
650
 
  done
651
 
  IFS="$lt_save_ifs"
652
651
 
653
 
  if test "X$echo" = Xecho; then
654
 
    # We didn't find a better echo, so look for alternatives.
655
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
656
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
657
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
658
 
      # This shell has a builtin print -r that does the trick.
659
 
      echo='print -r'
660
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
661
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
662
 
      # If we have ksh, try running configure again with it.
663
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
664
 
      export ORIGINAL_CONFIG_SHELL
665
 
      CONFIG_SHELL=/bin/ksh
666
 
      export CONFIG_SHELL
667
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668
 
    else
669
 
      # Try using printf.
670
 
      echo='printf %s\n'
671
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
672
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
673
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
674
 
        # Cool, printf works
675
 
        :
676
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
677
 
           test "X$echo_testing_string" = 'X\t' &&
678
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
679
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
680
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
681
 
        export CONFIG_SHELL
682
 
        SHELL="$CONFIG_SHELL"
683
 
        export SHELL
684
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
685
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
686
 
           test "X$echo_testing_string" = 'X\t' &&
687
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
688
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
689
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
652
    if test "X$ECHO" = Xecho; then
 
653
      # We didn't find a better echo, so look for alternatives.
 
654
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
655
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
656
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
657
        # This shell has a builtin print -r that does the trick.
 
658
        ECHO='print -r'
 
659
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
660
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
661
        # If we have ksh, try running configure again with it.
 
662
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
663
        export ORIGINAL_CONFIG_SHELL
 
664
        CONFIG_SHELL=/bin/ksh
 
665
        export CONFIG_SHELL
 
666
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
690
667
      else
691
 
        # maybe with a smaller string...
692
 
        prev=:
693
 
 
694
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
695
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
696
 
          then
697
 
            break
 
668
        # Try using printf.
 
669
        ECHO='printf %s\n'
 
670
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
671
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
672
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
673
          # Cool, printf works
 
674
          :
 
675
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
676
             test "X$echo_testing_string" = 'X\t' &&
 
677
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
678
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
679
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
680
          export CONFIG_SHELL
 
681
          SHELL="$CONFIG_SHELL"
 
682
          export SHELL
 
683
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
684
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
685
             test "X$echo_testing_string" = 'X\t' &&
 
686
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
687
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
688
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
689
        else
 
690
          # maybe with a smaller string...
 
691
          prev=:
 
692
 
 
693
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
694
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
695
            then
 
696
              break
 
697
            fi
 
698
            prev="$cmd"
 
699
          done
 
700
 
 
701
          if test "$prev" != 'sed 50q "$0"'; then
 
702
            echo_test_string=`eval $prev`
 
703
            export echo_test_string
 
704
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
705
          else
 
706
            # Oops.  We lost completely, so just stick with echo.
 
707
            ECHO=echo
698
708
          fi
699
 
          prev="$cmd"
700
 
        done
701
 
 
702
 
        if test "$prev" != 'sed 50q "$0"'; then
703
 
          echo_test_string=`eval $prev`
704
 
          export echo_test_string
705
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706
 
        else
707
 
          # Oops.  We lost completely, so just stick with echo.
708
 
          echo=echo
709
 
        fi
 
709
        fi
710
710
      fi
711
711
    fi
712
712
  fi
713
713
fi
714
 
fi
715
714
 
716
715
# Copy echo and quote the copy suitably for passing to libtool from
717
716
# the Makefile, instead of quoting the original, which is used later.
718
 
ECHO=$echo
719
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
720
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
717
lt_ECHO=$ECHO
 
718
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
719
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
721
720
fi
722
721
 
723
722
 
724
723
 
725
724
 
726
 
tagnames=${tagnames+${tagnames},}CXX
727
 
 
728
 
tagnames=${tagnames+${tagnames},}F77
729
 
 
730
725
exec 7<&0 </dev/null 6>&1
731
726
 
732
727
# Name of the host.
750
745
# Identity of this package.
751
746
PACKAGE_NAME='gnome-main-menu'
752
747
PACKAGE_TARNAME='gnome-main-menu'
753
 
PACKAGE_VERSION='0.9.11'
754
 
PACKAGE_STRING='gnome-main-menu 0.9.11'
 
748
PACKAGE_VERSION='0.9.12'
 
749
PACKAGE_STRING='gnome-main-menu 0.9.12'
755
750
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-main-menu'
756
751
 
757
752
ac_unique_file="."
791
786
# include <unistd.h>
792
787
#endif"
793
788
 
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
 
LT_VERSION
832
 
INSTALL_PROGRAM
833
 
INSTALL_SCRIPT
834
 
INSTALL_DATA
835
 
am__isrc
836
 
CYGPATH_W
837
 
PACKAGE
838
 
VERSION
839
 
ACLOCAL
840
 
AUTOCONF
841
 
AUTOMAKE
842
 
AUTOHEADER
843
 
MAKEINFO
844
 
install_sh
845
 
STRIP
846
 
INSTALL_STRIP_PROGRAM
847
 
MKDIR_P
848
 
mkdir_p
849
 
AWK
850
 
SET_MAKE
851
 
am__leading_dot
852
 
AMTAR
853
 
am__tar
854
 
am__untar
855
 
MAINTAINER_MODE_TRUE
856
 
MAINTAINER_MODE_FALSE
857
 
MAINT
858
 
ACLOCAL_AMFLAGS
859
 
CC
860
 
CFLAGS
861
 
LDFLAGS
862
 
CPPFLAGS
863
 
ac_ct_CC
864
 
EXEEXT
865
 
OBJEXT
866
 
DEPDIR
867
 
am__include
868
 
am__quote
869
 
AMDEP_TRUE
870
 
AMDEP_FALSE
871
 
AMDEPBACKSLASH
872
 
CCDEPMODE
873
 
am__fastdepCC_TRUE
874
 
am__fastdepCC_FALSE
875
 
WARN_CFLAGS
876
 
CPP
877
 
GREP
878
 
EGREP
 
789
ac_subst_vars='LTLIBOBJS
 
790
LIBOBJS
 
791
GTK_DOC_USE_LIBTOOL_FALSE
 
792
GTK_DOC_USE_LIBTOOL_TRUE
 
793
ENABLE_GTK_DOC_FALSE
 
794
ENABLE_GTK_DOC_TRUE
 
795
GTKDOC_CHECK
 
796
HTML_DIR
 
797
ENABLE_NAUTILUS_EXTENSION_FALSE
 
798
ENABLE_NAUTILUS_EXTENSION_TRUE
 
799
NAUTILUS_LIBS
 
800
NAUTILUS_CFLAGS
 
801
GCONF_SCHEMAS_INSTALL_FALSE
 
802
GCONF_SCHEMAS_INSTALL_TRUE
 
803
GCONF_SCHEMA_FILE_DIR
 
804
GCONF_SCHEMA_CONFIG_SOURCE
 
805
GCONFTOOL
 
806
ENABLE_DYNAMIC_LIBSLAB_FALSE
 
807
ENABLE_DYNAMIC_LIBSLAB_TRUE
 
808
APPLICATION_BROWSER_LIBS
 
809
APPLICATION_BROWSER_CFLAGS
 
810
MAIN_MENU_LIBS
 
811
MAIN_MENU_CFLAGS
 
812
LIBSLAB_LIBS
 
813
LIBSLAB_CFLAGS
 
814
GLADE_LIBS
 
815
GLADE_CFLAGS
 
816
GLIB_MKENUMS
 
817
GOBJECT_QUERY
 
818
GLIB_GENMARSHAL
 
819
GLIB_LIBS
 
820
GLIB_CFLAGS
 
821
PKG_CONFIG
 
822
POSUB
 
823
POFILES
 
824
PO_IN_DATADIR_FALSE
 
825
PO_IN_DATADIR_TRUE
 
826
INTLLIBS
 
827
INSTOBJEXT
 
828
GMOFILES
 
829
CATOBJEXT
 
830
CATALOGS
 
831
MSGFMT_OPTS
 
832
DATADIRNAME
 
833
ALL_LINGUAS
 
834
INTLTOOL_PERL
 
835
GMSGFMT
 
836
MSGFMT
 
837
MSGMERGE
 
838
XGETTEXT
 
839
INTLTOOL_POLICY_RULE
 
840
INTLTOOL_SERVICE_RULE
 
841
INTLTOOL_THEME_RULE
 
842
INTLTOOL_SCHEMAS_RULE
 
843
INTLTOOL_CAVES_RULE
 
844
INTLTOOL_XML_NOMERGE_RULE
 
845
INTLTOOL_XML_RULE
 
846
INTLTOOL_KBD_RULE
 
847
INTLTOOL_XAM_RULE
 
848
INTLTOOL_UI_RULE
 
849
INTLTOOL_SOUNDLIST_RULE
 
850
INTLTOOL_SHEET_RULE
 
851
INTLTOOL_SERVER_RULE
 
852
INTLTOOL_PONG_RULE
 
853
INTLTOOL_OAF_RULE
 
854
INTLTOOL_PROP_RULE
 
855
INTLTOOL_KEYS_RULE
 
856
INTLTOOL_DIRECTORY_RULE
 
857
INTLTOOL_DESKTOP_RULE
 
858
INTLTOOL_EXTRACT
 
859
INTLTOOL_MERGE
 
860
INTLTOOL_UPDATE
 
861
USE_NLS
 
862
GETTEXT_PACKAGE
 
863
OTOOL64
 
864
OTOOL
 
865
LIPO
 
866
NMEDIT
 
867
DSYMUTIL
 
868
lt_ECHO
 
869
RANLIB
 
870
AR
 
871
OBJDUMP
 
872
LN_S
 
873
NM
 
874
ac_ct_DUMPBIN
 
875
DUMPBIN
 
876
LD
 
877
FGREP
 
878
SED
 
879
host_os
 
880
host_vendor
 
881
host_cpu
 
882
host
 
883
build_os
 
884
build_vendor
 
885
build_cpu
879
886
build
880
 
build_cpu
881
 
build_vendor
882
 
build_os
883
 
host
884
 
host_cpu
885
 
host_vendor
886
 
host_os
887
 
SED
888
 
LN_S
889
 
ECHO
890
 
AR
891
 
RANLIB
892
 
DSYMUTIL
893
 
NMEDIT
894
 
CXX
895
 
CXXFLAGS
896
 
ac_ct_CXX
897
 
CXXDEPMODE
898
 
am__fastdepCXX_TRUE
899
 
am__fastdepCXX_FALSE
900
 
CXXCPP
901
 
F77
902
 
FFLAGS
903
 
ac_ct_F77
904
887
LIBTOOL
905
 
GETTEXT_PACKAGE
906
 
INTLTOOL_UPDATE
907
 
INTLTOOL_MERGE
908
 
INTLTOOL_EXTRACT
909
 
INTLTOOL_DESKTOP_RULE
910
 
INTLTOOL_DIRECTORY_RULE
911
 
INTLTOOL_KEYS_RULE
912
 
INTLTOOL_PROP_RULE
913
 
INTLTOOL_OAF_RULE
914
 
INTLTOOL_PONG_RULE
915
 
INTLTOOL_SERVER_RULE
916
 
INTLTOOL_SHEET_RULE
917
 
INTLTOOL_SOUNDLIST_RULE
918
 
INTLTOOL_UI_RULE
919
 
INTLTOOL_XAM_RULE
920
 
INTLTOOL_KBD_RULE
921
 
INTLTOOL_XML_RULE
922
 
INTLTOOL_XML_NOMERGE_RULE
923
 
INTLTOOL_CAVES_RULE
924
 
INTLTOOL_SCHEMAS_RULE
925
 
INTLTOOL_THEME_RULE
926
 
INTLTOOL_SERVICE_RULE
927
 
INTLTOOL_POLICY_RULE
928
 
XGETTEXT
929
 
MSGMERGE
930
 
MSGFMT
931
 
INTLTOOL_PERL
932
 
ALL_LINGUAS
933
 
DATADIRNAME
934
 
USE_NLS
935
 
MSGFMT_OPTS
936
 
GMSGFMT
937
 
CATALOGS
938
 
CATOBJEXT
939
 
GMOFILES
940
 
INSTOBJEXT
941
 
INTLLIBS
942
 
PO_IN_DATADIR_TRUE
943
 
PO_IN_DATADIR_FALSE
944
 
POFILES
945
 
POSUB
946
 
PKG_CONFIG
947
 
GLIB_CFLAGS
948
 
GLIB_LIBS
949
 
GLIB_GENMARSHAL
950
 
GOBJECT_QUERY
951
 
GLIB_MKENUMS
952
 
GLADE_CFLAGS
953
 
GLADE_LIBS
954
 
LIBSLAB_CFLAGS
955
 
LIBSLAB_LIBS
956
 
MAIN_MENU_CFLAGS
957
 
MAIN_MENU_LIBS
958
 
APPLICATION_BROWSER_CFLAGS
959
 
APPLICATION_BROWSER_LIBS
960
 
ENABLE_DYNAMIC_LIBSLAB_TRUE
961
 
ENABLE_DYNAMIC_LIBSLAB_FALSE
962
 
GCONFTOOL
963
 
GCONF_SCHEMA_CONFIG_SOURCE
964
 
GCONF_SCHEMA_FILE_DIR
965
 
GCONF_SCHEMAS_INSTALL_TRUE
966
 
GCONF_SCHEMAS_INSTALL_FALSE
967
 
NAUTILUS_CFLAGS
968
 
NAUTILUS_LIBS
969
 
ENABLE_NAUTILUS_EXTENSION_TRUE
970
 
ENABLE_NAUTILUS_EXTENSION_FALSE
971
 
HTML_DIR
972
 
GTKDOC_CHECK
973
 
ENABLE_GTK_DOC_TRUE
974
 
ENABLE_GTK_DOC_FALSE
975
 
GTK_DOC_USE_LIBTOOL_TRUE
976
 
GTK_DOC_USE_LIBTOOL_FALSE
977
 
LIBOBJS
978
 
LTLIBOBJS'
 
888
EGREP
 
889
GREP
 
890
CPP
 
891
WARN_CFLAGS
 
892
am__fastdepCC_FALSE
 
893
am__fastdepCC_TRUE
 
894
CCDEPMODE
 
895
AMDEPBACKSLASH
 
896
AMDEP_FALSE
 
897
AMDEP_TRUE
 
898
am__quote
 
899
am__include
 
900
DEPDIR
 
901
OBJEXT
 
902
EXEEXT
 
903
ac_ct_CC
 
904
CPPFLAGS
 
905
LDFLAGS
 
906
CFLAGS
 
907
CC
 
908
ACLOCAL_AMFLAGS
 
909
MAINT
 
910
MAINTAINER_MODE_FALSE
 
911
MAINTAINER_MODE_TRUE
 
912
am__untar
 
913
am__tar
 
914
AMTAR
 
915
am__leading_dot
 
916
SET_MAKE
 
917
AWK
 
918
mkdir_p
 
919
MKDIR_P
 
920
INSTALL_STRIP_PROGRAM
 
921
STRIP
 
922
install_sh
 
923
MAKEINFO
 
924
AUTOHEADER
 
925
AUTOMAKE
 
926
AUTOCONF
 
927
ACLOCAL
 
928
VERSION
 
929
PACKAGE
 
930
CYGPATH_W
 
931
am__isrc
 
932
INSTALL_DATA
 
933
INSTALL_SCRIPT
 
934
INSTALL_PROGRAM
 
935
LT_VERSION
 
936
target_alias
 
937
host_alias
 
938
build_alias
 
939
LIBS
 
940
ECHO_T
 
941
ECHO_N
 
942
ECHO_C
 
943
DEFS
 
944
mandir
 
945
localedir
 
946
libdir
 
947
psdir
 
948
pdfdir
 
949
dvidir
 
950
htmldir
 
951
infodir
 
952
docdir
 
953
oldincludedir
 
954
includedir
 
955
localstatedir
 
956
sharedstatedir
 
957
sysconfdir
 
958
datadir
 
959
datarootdir
 
960
libexecdir
 
961
sbindir
 
962
bindir
 
963
program_transform_name
 
964
prefix
 
965
exec_prefix
 
966
PACKAGE_BUGREPORT
 
967
PACKAGE_STRING
 
968
PACKAGE_VERSION
 
969
PACKAGE_TARNAME
 
970
PACKAGE_NAME
 
971
PATH_SEPARATOR
 
972
SHELL'
979
973
ac_subst_files=''
980
974
ac_user_opts='
981
975
enable_option_checking
985
979
enable_iso_c
986
980
enable_shared
987
981
enable_static
 
982
with_pic
988
983
enable_fast_install
989
984
with_gnu_ld
990
985
enable_libtool_lock
991
 
with_pic
992
 
with_tags
 
986
enable_nls
993
987
enable_glibtest
994
988
enable_dynamic_libslab
995
989
with_gconf_source
1008
1002
LIBS
1009
1003
CPPFLAGS
1010
1004
CPP
1011
 
CXX
1012
 
CXXFLAGS
1013
 
CCC
1014
 
CXXCPP
1015
 
F77
1016
 
FFLAGS
1017
1005
PKG_CONFIG
1018
1006
GLADE_CFLAGS
1019
1007
GLADE_LIBS
1447
1435
if test -n "$ac_unrecognized_opts"; then
1448
1436
  case $enable_option_checking in
1449
1437
    no) ;;
1450
 
    fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
 
1438
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1451
1439
   { (exit 1); exit 1; }; } ;;
1452
 
    *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1440
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1453
1441
  esac
1454
1442
fi
1455
1443
 
1502
1490
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1503
1491
ac_ls_di=`ls -di .` &&
1504
1492
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1505
 
  { $as_echo "$as_me: error: Working directory cannot be determined" >&2
 
1493
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1506
1494
   { (exit 1); exit 1; }; }
1507
1495
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508
1496
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1577
1565
  # Omit some internal or obsolete options to make the list less imposing.
1578
1566
  # This message is too long to be a string in the A/UX 3.1 sh.
1579
1567
  cat <<_ACEOF
1580
 
\`configure' configures gnome-main-menu 0.9.11 to adapt to many kinds of systems.
 
1568
\`configure' configures gnome-main-menu 0.9.12 to adapt to many kinds of systems.
1581
1569
 
1582
1570
Usage: $0 [OPTION]... [VAR=VALUE]...
1583
1571
 
1647
1635
 
1648
1636
if test -n "$ac_init_help"; then
1649
1637
  case $ac_init_help in
1650
 
     short | recursive ) echo "Configuration of gnome-main-menu 0.9.11:";;
 
1638
     short | recursive ) echo "Configuration of gnome-main-menu 0.9.12:";;
1651
1639
   esac
1652
1640
  cat <<\_ACEOF
1653
1641
 
1667
1655
  --enable-fast-install[=PKGS]
1668
1656
                          optimize for fast installation [default=yes]
1669
1657
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1658
  --disable-nls           do not use Native Language Support
1670
1659
  --disable-glibtest      do not try to compile and run a test GLIB program
1671
1660
  --enable-dynamic-libslab
1672
1661
                          Enable dynamic libslab
1678
1667
Optional Packages:
1679
1668
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1680
1669
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1681
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1682
1670
  --with-pic              try to use only PIC/non-PIC objects [default=use
1683
1671
                          both]
1684
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1672
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1685
1673
  --with-gconf-source=sourceaddress
1686
1674
                          Config database for installing schema files.
1687
1675
  --with-gconf-schema-file-dir=dir
1697
1685
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1698
1686
              you have headers in a nonstandard directory <include dir>
1699
1687
  CPP         C preprocessor
1700
 
  CXX         C++ compiler command
1701
 
  CXXFLAGS    C++ compiler flags
1702
 
  CXXCPP      C++ preprocessor
1703
 
  F77         Fortran 77 compiler command
1704
 
  FFLAGS      Fortran 77 compiler flags
1705
1688
  PKG_CONFIG  path to pkg-config utility
1706
1689
  GLADE_CFLAGS
1707
1690
              C compiler flags for GLADE, overriding pkg-config
1789
1772
test -n "$ac_init_help" && exit $ac_status
1790
1773
if $ac_init_version; then
1791
1774
  cat <<\_ACEOF
1792
 
gnome-main-menu configure 0.9.11
1793
 
generated by GNU Autoconf 2.62
 
1775
gnome-main-menu configure 0.9.12
 
1776
generated by GNU Autoconf 2.63
1794
1777
 
1795
1778
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1796
1779
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1803
1786
This file contains any messages produced by compilers while
1804
1787
running configure, to aid debugging if configure makes a mistake.
1805
1788
 
1806
 
It was created by gnome-main-menu $as_me 0.9.11, which was
1807
 
generated by GNU Autoconf 2.62.  Invocation command line was
 
1789
It was created by gnome-main-menu $as_me 0.9.12, which was
 
1790
generated by GNU Autoconf 2.63.  Invocation command line was
1808
1791
 
1809
1792
  $ $0 $@
1810
1793
 
1927
1910
    case $ac_val in #(
1928
1911
    *${as_nl}*)
1929
1912
      case $ac_var in #(
1930
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1931
 
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1913
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1914
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1932
1915
      esac
1933
1916
      case $ac_var in #(
1934
1917
      _ | IFS | as_nl) ;; #(
2131
2114
  fi
2132
2115
done
2133
2116
if $ac_cache_corrupted; then
 
2117
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2118
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2134
2119
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2135
2120
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2136
2121
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2178
2163
#   change to C+1:0:0
2179
2164
# - If the interface is the same as the previous version, change to C:R+1:A
2180
2165
 
2181
 
LT_VERSION=1:1:1
 
2166
LT_VERSION=1:2:1
2182
2167
 
2183
2168
 
2184
2169
 
2533
2518
 
2534
2519
# Define the identity of the package.
2535
2520
 PACKAGE='gnome-main-menu'
2536
 
 VERSION='0.9.11'
 
2521
 VERSION='0.9.12'
2537
2522
 
2538
2523
 
2539
2524
cat >>confdefs.h <<_ACEOF
2650
2635
  else
2651
2636
    case $cross_compiling:$ac_tool_warned in
2652
2637
yes:)
2653
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2654
 
whose name does not start with the host triplet.  If you think this
2655
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2656
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2657
 
whose name does not start with the host triplet.  If you think this
2658
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2638
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2639
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2659
2640
ac_tool_warned=yes ;;
2660
2641
esac
2661
2642
    STRIP=$ac_ct_STRIP
2935
2916
  else
2936
2917
    case $cross_compiling:$ac_tool_warned in
2937
2918
yes:)
2938
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2939
 
whose name does not start with the host triplet.  If you think this
2940
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2941
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2942
 
whose name does not start with the host triplet.  If you think this
2943
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2919
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2920
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2944
2921
ac_tool_warned=yes ;;
2945
2922
esac
2946
2923
    CC=$ac_ct_CC
3139
3116
  else
3140
3117
    case $cross_compiling:$ac_tool_warned in
3141
3118
yes:)
3142
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3143
 
whose name does not start with the host triplet.  If you think this
3144
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3145
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3146
 
whose name does not start with the host triplet.  If you think this
3147
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3119
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3120
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3148
3121
ac_tool_warned=yes ;;
3149
3122
esac
3150
3123
    CC=$ac_ct_CC
3154
3127
fi
3155
3128
 
3156
3129
 
3157
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3130
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3131
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3132
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3158
3133
See \`config.log' for more details." >&5
3159
3134
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3160
3135
See \`config.log' for more details." >&2;}
3161
 
   { (exit 1); exit 1; }; }
 
3136
   { (exit 1); exit 1; }; }; }
3162
3137
 
3163
3138
# Provide some information about the compiler.
3164
3139
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3288
3263
  $as_echo "$as_me: failed program was:" >&5
3289
3264
sed 's/^/| /' conftest.$ac_ext >&5
3290
3265
 
 
3266
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3267
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3291
3268
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3292
3269
See \`config.log' for more details." >&5
3293
3270
$as_echo "$as_me: error: C compiler cannot create executables
3294
3271
See \`config.log' for more details." >&2;}
3295
 
   { (exit 77); exit 77; }; }
 
3272
   { (exit 77); exit 77; }; }; }
3296
3273
fi
3297
3274
 
3298
3275
ac_exeext=$ac_cv_exeext
3320
3297
    if test "$cross_compiling" = maybe; then
3321
3298
        cross_compiling=yes
3322
3299
    else
3323
 
        { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3300
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3301
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3302
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3324
3303
If you meant to cross compile, use \`--host'.
3325
3304
See \`config.log' for more details." >&5
3326
3305
$as_echo "$as_me: error: cannot run C compiled programs.
3327
3306
If you meant to cross compile, use \`--host'.
3328
3307
See \`config.log' for more details." >&2;}
3329
 
   { (exit 1); exit 1; }; }
 
3308
   { (exit 1); exit 1; }; }; }
3330
3309
    fi
3331
3310
  fi
3332
3311
fi
3369
3348
  esac
3370
3349
done
3371
3350
else
3372
 
  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3351
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3352
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3353
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3373
3354
See \`config.log' for more details." >&5
3374
3355
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3375
3356
See \`config.log' for more details." >&2;}
3376
 
   { (exit 1); exit 1; }; }
 
3357
   { (exit 1); exit 1; }; }; }
3377
3358
fi
3378
3359
 
3379
3360
rm -f conftest$ac_cv_exeext
3427
3408
  $as_echo "$as_me: failed program was:" >&5
3428
3409
sed 's/^/| /' conftest.$ac_ext >&5
3429
3410
 
 
3411
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3412
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430
3413
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3431
3414
See \`config.log' for more details." >&5
3432
3415
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3433
3416
See \`config.log' for more details." >&2;}
3434
 
   { (exit 1); exit 1; }; }
 
3417
   { (exit 1); exit 1; }; }; }
3435
3418
fi
3436
3419
 
3437
3420
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4196
4179
  else
4197
4180
    case $cross_compiling:$ac_tool_warned in
4198
4181
yes:)
4199
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4200
 
whose name does not start with the host triplet.  If you think this
4201
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4202
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4203
 
whose name does not start with the host triplet.  If you think this
4204
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4182
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4183
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4205
4184
ac_tool_warned=yes ;;
4206
4185
esac
4207
4186
    CC=$ac_ct_CC
4400
4379
  else
4401
4380
    case $cross_compiling:$ac_tool_warned in
4402
4381
yes:)
4403
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4404
 
whose name does not start with the host triplet.  If you think this
4405
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4406
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4407
 
whose name does not start with the host triplet.  If you think this
4408
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4382
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4383
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4409
4384
ac_tool_warned=yes ;;
4410
4385
esac
4411
4386
    CC=$ac_ct_CC
4415
4390
fi
4416
4391
 
4417
4392
 
4418
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
4393
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4394
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4395
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4419
4396
See \`config.log' for more details." >&5
4420
4397
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4421
4398
See \`config.log' for more details." >&2;}
4422
 
   { (exit 1); exit 1; }; }
 
4399
   { (exit 1); exit 1; }; }; }
4423
4400
 
4424
4401
# Provide some information about the compiler.
4425
4402
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
5127
5104
if $ac_preproc_ok; then
5128
5105
  :
5129
5106
else
5130
 
  { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
5107
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5108
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5109
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5131
5110
See \`config.log' for more details." >&5
5132
5111
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5133
5112
See \`config.log' for more details." >&2;}
5134
 
   { (exit 1); exit 1; }; }
 
5113
   { (exit 1); exit 1; }; }; }
5135
5114
fi
5136
5115
 
5137
5116
ac_ext=c
5453
5432
 
5454
5433
fi
5455
5434
 
5456
 
# Check whether --enable-shared was given.
5457
 
if test "${enable_shared+set}" = set; then
5458
 
  enableval=$enable_shared; p=${PACKAGE-default}
5459
 
    case $enableval in
5460
 
    yes) enable_shared=yes ;;
5461
 
    no) enable_shared=no ;;
5462
 
    *)
5463
 
      enable_shared=no
5464
 
      # Look at the argument we got.  We use all the common list separators.
5465
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5466
 
      for pkg in $enableval; do
5467
 
        IFS="$lt_save_ifs"
5468
 
        if test "X$pkg" = "X$p"; then
5469
 
          enable_shared=yes
5470
 
        fi
5471
 
      done
5472
 
      IFS="$lt_save_ifs"
5473
 
      ;;
5474
 
    esac
5475
 
else
5476
 
  enable_shared=yes
5477
 
fi
5478
 
 
5479
 
 
5480
 
# Check whether --enable-static was given.
5481
 
if test "${enable_static+set}" = set; then
5482
 
  enableval=$enable_static; p=${PACKAGE-default}
5483
 
    case $enableval in
5484
 
    yes) enable_static=yes ;;
5485
 
    no) enable_static=no ;;
5486
 
    *)
5487
 
     enable_static=no
5488
 
      # Look at the argument we got.  We use all the common list separators.
5489
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5490
 
      for pkg in $enableval; do
5491
 
        IFS="$lt_save_ifs"
5492
 
        if test "X$pkg" = "X$p"; then
5493
 
          enable_static=yes
5494
 
        fi
5495
 
      done
5496
 
      IFS="$lt_save_ifs"
5497
 
      ;;
5498
 
    esac
5499
 
else
5500
 
  enable_static=yes
5501
 
fi
5502
 
 
5503
 
 
5504
 
# Check whether --enable-fast-install was given.
5505
 
if test "${enable_fast_install+set}" = set; then
5506
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
5507
 
    case $enableval in
5508
 
    yes) enable_fast_install=yes ;;
5509
 
    no) enable_fast_install=no ;;
5510
 
    *)
5511
 
      enable_fast_install=no
5512
 
      # Look at the argument we got.  We use all the common list separators.
5513
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5514
 
      for pkg in $enableval; do
5515
 
        IFS="$lt_save_ifs"
5516
 
        if test "X$pkg" = "X$p"; then
5517
 
          enable_fast_install=yes
5518
 
        fi
5519
 
      done
5520
 
      IFS="$lt_save_ifs"
5521
 
      ;;
5522
 
    esac
5523
 
else
5524
 
  enable_fast_install=yes
5525
 
fi
5526
 
 
 
5435
case `pwd` in
 
5436
  *\ * | *\     *)
 
5437
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5438
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5439
esac
 
5440
 
 
5441
 
 
5442
 
 
5443
macro_version='2.2.6'
 
5444
macro_revision='1.3012'
 
5445
 
 
5446
 
 
5447
 
 
5448
 
 
5449
 
 
5450
 
 
5451
 
 
5452
 
 
5453
 
 
5454
 
 
5455
 
 
5456
 
 
5457
 
 
5458
ltmain="$ac_aux_dir/ltmain.sh"
5527
5459
 
5528
5460
# Make sure we can run config.sub.
5529
5461
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5610
5542
 
5611
5543
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5612
5544
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5613
 
if test "${lt_cv_path_SED+set}" = set; then
 
5545
if test "${ac_cv_path_SED+set}" = set; then
5614
5546
  $as_echo_n "(cached) " >&6
5615
5547
else
5616
 
  # Loop through the user's path and test for sed and gsed.
5617
 
# Then use that list of sed's as ones to test for truncation.
5618
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5548
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
5549
     for ac_i in 1 2 3 4 5 6 7; do
 
5550
       ac_script="$ac_script$as_nl$ac_script"
 
5551
     done
 
5552
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5553
     $as_unset ac_script || ac_script=
 
5554
     if test -z "$SED"; then
 
5555
  ac_path_SED_found=false
 
5556
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5557
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5619
5558
for as_dir in $PATH
5620
5559
do
5621
5560
  IFS=$as_save_IFS
5622
5561
  test -z "$as_dir" && as_dir=.
5623
 
  for lt_ac_prog in sed gsed; do
5624
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5625
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5626
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5627
 
      fi
5628
 
    done
5629
 
  done
5630
 
done
5631
 
IFS=$as_save_IFS
5632
 
lt_ac_max=0
5633
 
lt_ac_count=0
5634
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5635
 
# along with /bin/sed that truncates output.
5636
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5637
 
  test ! -f $lt_ac_sed && continue
5638
 
  cat /dev/null > conftest.in
5639
 
  lt_ac_count=0
5640
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5641
 
  # Check for GNU sed and select it if it is found.
5642
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5643
 
    lt_cv_path_SED=$lt_ac_sed
5644
 
    break
5645
 
  fi
5646
 
  while true; do
5647
 
    cat conftest.in conftest.in >conftest.tmp
5648
 
    mv conftest.tmp conftest.in
5649
 
    cp conftest.in conftest.nl
5650
 
    echo >>conftest.nl
5651
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5652
 
    cmp -s conftest.out conftest.nl || break
5653
 
    # 10000 chars as input seems more than enough
5654
 
    test $lt_ac_count -gt 10 && break
5655
 
    lt_ac_count=`expr $lt_ac_count + 1`
5656
 
    if test $lt_ac_count -gt $lt_ac_max; then
5657
 
      lt_ac_max=$lt_ac_count
5658
 
      lt_cv_path_SED=$lt_ac_sed
5659
 
    fi
5660
 
  done
5661
 
done
5662
 
 
5663
 
fi
5664
 
 
5665
 
SED=$lt_cv_path_SED
5666
 
 
5667
 
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
5668
 
$as_echo "$SED" >&6; }
 
5562
  for ac_prog in sed gsed; do
 
5563
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5564
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5565
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5566
# Check for GNU ac_path_SED and select it if it is found.
 
5567
  # Check for GNU $ac_path_SED
 
5568
case `"$ac_path_SED" --version 2>&1` in
 
5569
*GNU*)
 
5570
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
5571
*)
 
5572
  ac_count=0
 
5573
  $as_echo_n 0123456789 >"conftest.in"
 
5574
  while :
 
5575
  do
 
5576
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5577
    mv "conftest.tmp" "conftest.in"
 
5578
    cp "conftest.in" "conftest.nl"
 
5579
    $as_echo '' >> "conftest.nl"
 
5580
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5581
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5582
    ac_count=`expr $ac_count + 1`
 
5583
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
5584
      # Best one so far, save it but keep looking for a better one
 
5585
      ac_cv_path_SED="$ac_path_SED"
 
5586
      ac_path_SED_max=$ac_count
 
5587
    fi
 
5588
    # 10*(2^10) chars as input seems more than enough
 
5589
    test $ac_count -gt 10 && break
 
5590
  done
 
5591
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5592
esac
 
5593
 
 
5594
      $ac_path_SED_found && break 3
 
5595
    done
 
5596
  done
 
5597
done
 
5598
IFS=$as_save_IFS
 
5599
  if test -z "$ac_cv_path_SED"; then
 
5600
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
5601
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
5602
   { (exit 1); exit 1; }; }
 
5603
  fi
 
5604
else
 
5605
  ac_cv_path_SED=$SED
 
5606
fi
 
5607
 
 
5608
fi
 
5609
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
5610
$as_echo "$ac_cv_path_SED" >&6; }
 
5611
 SED="$ac_cv_path_SED"
 
5612
  rm -f conftest.sed
 
5613
 
 
5614
test -z "$SED" && SED=sed
 
5615
Xsed="$SED -e 1s/^X//"
 
5616
 
 
5617
 
 
5618
 
 
5619
 
 
5620
 
 
5621
 
 
5622
 
 
5623
 
 
5624
 
 
5625
 
 
5626
 
 
5627
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
5628
$as_echo_n "checking for fgrep... " >&6; }
 
5629
if test "${ac_cv_path_FGREP+set}" = set; then
 
5630
  $as_echo_n "(cached) " >&6
 
5631
else
 
5632
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
5633
   then ac_cv_path_FGREP="$GREP -F"
 
5634
   else
 
5635
     if test -z "$FGREP"; then
 
5636
  ac_path_FGREP_found=false
 
5637
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5638
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5639
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5640
do
 
5641
  IFS=$as_save_IFS
 
5642
  test -z "$as_dir" && as_dir=.
 
5643
  for ac_prog in fgrep; do
 
5644
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5645
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5646
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
5647
# Check for GNU ac_path_FGREP and select it if it is found.
 
5648
  # Check for GNU $ac_path_FGREP
 
5649
case `"$ac_path_FGREP" --version 2>&1` in
 
5650
*GNU*)
 
5651
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
5652
*)
 
5653
  ac_count=0
 
5654
  $as_echo_n 0123456789 >"conftest.in"
 
5655
  while :
 
5656
  do
 
5657
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5658
    mv "conftest.tmp" "conftest.in"
 
5659
    cp "conftest.in" "conftest.nl"
 
5660
    $as_echo 'FGREP' >> "conftest.nl"
 
5661
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5662
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5663
    ac_count=`expr $ac_count + 1`
 
5664
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
5665
      # Best one so far, save it but keep looking for a better one
 
5666
      ac_cv_path_FGREP="$ac_path_FGREP"
 
5667
      ac_path_FGREP_max=$ac_count
 
5668
    fi
 
5669
    # 10*(2^10) chars as input seems more than enough
 
5670
    test $ac_count -gt 10 && break
 
5671
  done
 
5672
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5673
esac
 
5674
 
 
5675
      $ac_path_FGREP_found && break 3
 
5676
    done
 
5677
  done
 
5678
done
 
5679
IFS=$as_save_IFS
 
5680
  if test -z "$ac_cv_path_FGREP"; then
 
5681
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5682
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5683
   { (exit 1); exit 1; }; }
 
5684
  fi
 
5685
else
 
5686
  ac_cv_path_FGREP=$FGREP
 
5687
fi
 
5688
 
 
5689
   fi
 
5690
fi
 
5691
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
5692
$as_echo "$ac_cv_path_FGREP" >&6; }
 
5693
 FGREP="$ac_cv_path_FGREP"
 
5694
 
 
5695
 
 
5696
test -z "$GREP" && GREP=grep
 
5697
 
 
5698
 
 
5699
 
 
5700
 
 
5701
 
 
5702
 
 
5703
 
 
5704
 
 
5705
 
 
5706
 
 
5707
 
 
5708
 
 
5709
 
 
5710
 
 
5711
 
 
5712
 
 
5713
 
5669
5714
 
5670
5715
 
5671
5716
# Check whether --with-gnu-ld was given.
5692
5737
    [\\/]* | ?:[\\/]*)
5693
5738
      re_direlt='/[^/][^/]*/\.\./'
5694
5739
      # Canonicalize the pathname of ld
5695
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5696
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5697
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
5740
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
5741
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
5742
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5698
5743
      done
5699
5744
      test -z "$LD" && LD="$ac_prog"
5700
5745
      ;;
5774
5819
with_gnu_ld=$lt_cv_prog_gnu_ld
5775
5820
 
5776
5821
 
5777
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5778
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5779
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
5780
 
  $as_echo_n "(cached) " >&6
5781
 
else
5782
 
  lt_cv_ld_reload_flag='-r'
5783
 
fi
5784
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5785
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5786
 
reload_flag=$lt_cv_ld_reload_flag
5787
 
case $reload_flag in
5788
 
"" | " "*) ;;
5789
 
*) reload_flag=" $reload_flag" ;;
5790
 
esac
5791
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5792
 
case $host_os in
5793
 
  darwin*)
5794
 
    if test "$GCC" = yes; then
5795
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5796
 
    else
5797
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5798
 
    fi
5799
 
    ;;
5800
 
esac
5801
 
 
5802
 
{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5803
 
$as_echo_n "checking for BSD-compatible nm... " >&6; }
 
5822
 
 
5823
 
 
5824
 
 
5825
 
 
5826
 
 
5827
 
 
5828
 
 
5829
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5830
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5804
5831
if test "${lt_cv_path_NM+set}" = set; then
5805
5832
  $as_echo_n "(cached) " >&6
5806
5833
else
5845
5872
    done
5846
5873
    IFS="$lt_save_ifs"
5847
5874
  done
5848
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
5875
  : ${lt_cv_path_NM=no}
5849
5876
fi
5850
5877
fi
5851
5878
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5852
5879
$as_echo "$lt_cv_path_NM" >&6; }
5853
 
NM="$lt_cv_path_NM"
 
5880
if test "$lt_cv_path_NM" != "no"; then
 
5881
  NM="$lt_cv_path_NM"
 
5882
else
 
5883
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
5884
  if test -n "$ac_tool_prefix"; then
 
5885
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5886
  do
 
5887
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5888
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5889
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5890
$as_echo_n "checking for $ac_word... " >&6; }
 
5891
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5892
  $as_echo_n "(cached) " >&6
 
5893
else
 
5894
  if test -n "$DUMPBIN"; then
 
5895
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
5896
else
 
5897
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5898
for as_dir in $PATH
 
5899
do
 
5900
  IFS=$as_save_IFS
 
5901
  test -z "$as_dir" && as_dir=.
 
5902
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5903
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5904
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
5905
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5906
    break 2
 
5907
  fi
 
5908
done
 
5909
done
 
5910
IFS=$as_save_IFS
 
5911
 
 
5912
fi
 
5913
fi
 
5914
DUMPBIN=$ac_cv_prog_DUMPBIN
 
5915
if test -n "$DUMPBIN"; then
 
5916
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5917
$as_echo "$DUMPBIN" >&6; }
 
5918
else
 
5919
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5920
$as_echo "no" >&6; }
 
5921
fi
 
5922
 
 
5923
 
 
5924
    test -n "$DUMPBIN" && break
 
5925
  done
 
5926
fi
 
5927
if test -z "$DUMPBIN"; then
 
5928
  ac_ct_DUMPBIN=$DUMPBIN
 
5929
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5930
do
 
5931
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5932
set dummy $ac_prog; ac_word=$2
 
5933
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5934
$as_echo_n "checking for $ac_word... " >&6; }
 
5935
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5936
  $as_echo_n "(cached) " >&6
 
5937
else
 
5938
  if test -n "$ac_ct_DUMPBIN"; then
 
5939
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
5940
else
 
5941
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5942
for as_dir in $PATH
 
5943
do
 
5944
  IFS=$as_save_IFS
 
5945
  test -z "$as_dir" && as_dir=.
 
5946
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5947
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5948
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
5949
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5950
    break 2
 
5951
  fi
 
5952
done
 
5953
done
 
5954
IFS=$as_save_IFS
 
5955
 
 
5956
fi
 
5957
fi
 
5958
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
5959
if test -n "$ac_ct_DUMPBIN"; then
 
5960
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5961
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
5962
else
 
5963
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5964
$as_echo "no" >&6; }
 
5965
fi
 
5966
 
 
5967
 
 
5968
  test -n "$ac_ct_DUMPBIN" && break
 
5969
done
 
5970
 
 
5971
  if test "x$ac_ct_DUMPBIN" = x; then
 
5972
    DUMPBIN=":"
 
5973
  else
 
5974
    case $cross_compiling:$ac_tool_warned in
 
5975
yes:)
 
5976
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5977
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5978
ac_tool_warned=yes ;;
 
5979
esac
 
5980
    DUMPBIN=$ac_ct_DUMPBIN
 
5981
  fi
 
5982
fi
 
5983
 
 
5984
 
 
5985
  if test "$DUMPBIN" != ":"; then
 
5986
    NM="$DUMPBIN"
 
5987
  fi
 
5988
fi
 
5989
test -z "$NM" && NM=nm
 
5990
 
 
5991
 
 
5992
 
 
5993
 
 
5994
 
 
5995
 
 
5996
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5997
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5998
if test "${lt_cv_nm_interface+set}" = set; then
 
5999
  $as_echo_n "(cached) " >&6
 
6000
else
 
6001
  lt_cv_nm_interface="BSD nm"
 
6002
  echo "int some_variable = 0;" > conftest.$ac_ext
 
6003
  (eval echo "\"\$as_me:6003: $ac_compile\"" >&5)
 
6004
  (eval "$ac_compile" 2>conftest.err)
 
6005
  cat conftest.err >&5
 
6006
  (eval echo "\"\$as_me:6006: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6007
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
6008
  cat conftest.err >&5
 
6009
  (eval echo "\"\$as_me:6009: output\"" >&5)
 
6010
  cat conftest.out >&5
 
6011
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
6012
    lt_cv_nm_interface="MS dumpbin"
 
6013
  fi
 
6014
  rm -f conftest*
 
6015
fi
 
6016
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
6017
$as_echo "$lt_cv_nm_interface" >&6; }
5854
6018
 
5855
6019
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5856
6020
$as_echo_n "checking whether ln -s works... " >&6; }
5863
6027
$as_echo "no, using $LN_S" >&6; }
5864
6028
fi
5865
6029
 
 
6030
# find the maximum length of command line arguments
 
6031
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6032
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
6033
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
6034
  $as_echo_n "(cached) " >&6
 
6035
else
 
6036
    i=0
 
6037
  teststring="ABCD"
 
6038
 
 
6039
  case $build_os in
 
6040
  msdosdjgpp*)
 
6041
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
6042
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
6043
    # during glob expansion).  Even if it were fixed, the result of this
 
6044
    # check would be larger than it should be.
 
6045
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
6046
    ;;
 
6047
 
 
6048
  gnu*)
 
6049
    # Under GNU Hurd, this test is not required because there is
 
6050
    # no limit to the length of command line arguments.
 
6051
    # Libtool will interpret -1 as no limit whatsoever
 
6052
    lt_cv_sys_max_cmd_len=-1;
 
6053
    ;;
 
6054
 
 
6055
  cygwin* | mingw* | cegcc*)
 
6056
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
6057
    # about 5 minutes as the teststring grows exponentially.
 
6058
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
6059
    # you end up with a "frozen" computer, even though with patience
 
6060
    # the test eventually succeeds (with a max line length of 256k).
 
6061
    # Instead, let's just punt: use the minimum linelength reported by
 
6062
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
6063
    lt_cv_sys_max_cmd_len=8192;
 
6064
    ;;
 
6065
 
 
6066
  amigaos*)
 
6067
    # On AmigaOS with pdksh, this test takes hours, literally.
 
6068
    # So we just punt and use a minimum line length of 8192.
 
6069
    lt_cv_sys_max_cmd_len=8192;
 
6070
    ;;
 
6071
 
 
6072
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6073
    # This has been around since 386BSD, at least.  Likely further.
 
6074
    if test -x /sbin/sysctl; then
 
6075
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6076
    elif test -x /usr/sbin/sysctl; then
 
6077
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6078
    else
 
6079
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6080
    fi
 
6081
    # And add a safety zone
 
6082
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6083
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6084
    ;;
 
6085
 
 
6086
  interix*)
 
6087
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6088
    lt_cv_sys_max_cmd_len=196608
 
6089
    ;;
 
6090
 
 
6091
  osf*)
 
6092
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6093
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6094
    # nice to cause kernel panics so lets avoid the loop below.
 
6095
    # First set a reasonable default.
 
6096
    lt_cv_sys_max_cmd_len=16384
 
6097
    #
 
6098
    if test -x /sbin/sysconfig; then
 
6099
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6100
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6101
      esac
 
6102
    fi
 
6103
    ;;
 
6104
  sco3.2v5*)
 
6105
    lt_cv_sys_max_cmd_len=102400
 
6106
    ;;
 
6107
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6108
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6109
    if test -n "$kargmax"; then
 
6110
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
6111
    else
 
6112
      lt_cv_sys_max_cmd_len=32768
 
6113
    fi
 
6114
    ;;
 
6115
  *)
 
6116
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6117
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6118
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6119
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6120
    else
 
6121
      # Make teststring a little bigger before we do anything with it.
 
6122
      # a 1K string should be a reasonable start.
 
6123
      for i in 1 2 3 4 5 6 7 8 ; do
 
6124
        teststring=$teststring$teststring
 
6125
      done
 
6126
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6127
      # If test is not a shell built-in, we'll probably end up computing a
 
6128
      # maximum length that is only half of the actual maximum length, but
 
6129
      # we can't tell.
 
6130
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
6131
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6132
              test $i != 17 # 1/2 MB should be enough
 
6133
      do
 
6134
        i=`expr $i + 1`
 
6135
        teststring=$teststring$teststring
 
6136
      done
 
6137
      # Only check the string length outside the loop.
 
6138
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
6139
      teststring=
 
6140
      # Add a significant safety factor because C++ compilers can tack on
 
6141
      # massive amounts of additional arguments before passing them to the
 
6142
      # linker.  It appears as though 1/2 is a usable value.
 
6143
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6144
    fi
 
6145
    ;;
 
6146
  esac
 
6147
 
 
6148
fi
 
6149
 
 
6150
if test -n $lt_cv_sys_max_cmd_len ; then
 
6151
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6152
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
6153
else
 
6154
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
6155
$as_echo "none" >&6; }
 
6156
fi
 
6157
max_cmd_len=$lt_cv_sys_max_cmd_len
 
6158
 
 
6159
 
 
6160
 
 
6161
 
 
6162
 
 
6163
 
 
6164
: ${CP="cp -f"}
 
6165
: ${MV="mv -f"}
 
6166
: ${RM="rm -f"}
 
6167
 
 
6168
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
6169
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
6170
# Try some XSI features
 
6171
xsi_shell=no
 
6172
( _lt_dummy="a/b/c"
 
6173
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
6174
      = c,a/b,, \
 
6175
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
6176
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
6177
  && xsi_shell=yes
 
6178
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
6179
$as_echo "$xsi_shell" >&6; }
 
6180
 
 
6181
 
 
6182
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
6183
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
6184
lt_shell_append=no
 
6185
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
6186
    >/dev/null 2>&1 \
 
6187
  && lt_shell_append=yes
 
6188
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
6189
$as_echo "$lt_shell_append" >&6; }
 
6190
 
 
6191
 
 
6192
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
6193
  lt_unset=unset
 
6194
else
 
6195
  lt_unset=false
 
6196
fi
 
6197
 
 
6198
 
 
6199
 
 
6200
 
 
6201
 
 
6202
# test EBCDIC or ASCII
 
6203
case `echo X|tr X '\101'` in
 
6204
 A) # ASCII based system
 
6205
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
6206
  lt_SP2NL='tr \040 \012'
 
6207
  lt_NL2SP='tr \015\012 \040\040'
 
6208
  ;;
 
6209
 *) # EBCDIC based system
 
6210
  lt_SP2NL='tr \100 \n'
 
6211
  lt_NL2SP='tr \r\n \100\100'
 
6212
  ;;
 
6213
esac
 
6214
 
 
6215
 
 
6216
 
 
6217
 
 
6218
 
 
6219
 
 
6220
 
 
6221
 
 
6222
 
 
6223
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6224
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
6225
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
6226
  $as_echo_n "(cached) " >&6
 
6227
else
 
6228
  lt_cv_ld_reload_flag='-r'
 
6229
fi
 
6230
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6231
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
6232
reload_flag=$lt_cv_ld_reload_flag
 
6233
case $reload_flag in
 
6234
"" | " "*) ;;
 
6235
*) reload_flag=" $reload_flag" ;;
 
6236
esac
 
6237
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6238
case $host_os in
 
6239
  darwin*)
 
6240
    if test "$GCC" = yes; then
 
6241
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
6242
    else
 
6243
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6244
    fi
 
6245
    ;;
 
6246
esac
 
6247
 
 
6248
 
 
6249
 
 
6250
 
 
6251
 
 
6252
 
 
6253
 
 
6254
 
 
6255
 
 
6256
if test -n "$ac_tool_prefix"; then
 
6257
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
6258
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
6259
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6260
$as_echo_n "checking for $ac_word... " >&6; }
 
6261
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
6262
  $as_echo_n "(cached) " >&6
 
6263
else
 
6264
  if test -n "$OBJDUMP"; then
 
6265
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
6266
else
 
6267
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6268
for as_dir in $PATH
 
6269
do
 
6270
  IFS=$as_save_IFS
 
6271
  test -z "$as_dir" && as_dir=.
 
6272
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6273
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6274
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
6275
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6276
    break 2
 
6277
  fi
 
6278
done
 
6279
done
 
6280
IFS=$as_save_IFS
 
6281
 
 
6282
fi
 
6283
fi
 
6284
OBJDUMP=$ac_cv_prog_OBJDUMP
 
6285
if test -n "$OBJDUMP"; then
 
6286
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
6287
$as_echo "$OBJDUMP" >&6; }
 
6288
else
 
6289
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6290
$as_echo "no" >&6; }
 
6291
fi
 
6292
 
 
6293
 
 
6294
fi
 
6295
if test -z "$ac_cv_prog_OBJDUMP"; then
 
6296
  ac_ct_OBJDUMP=$OBJDUMP
 
6297
  # Extract the first word of "objdump", so it can be a program name with args.
 
6298
set dummy objdump; ac_word=$2
 
6299
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6300
$as_echo_n "checking for $ac_word... " >&6; }
 
6301
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
6302
  $as_echo_n "(cached) " >&6
 
6303
else
 
6304
  if test -n "$ac_ct_OBJDUMP"; then
 
6305
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
6306
else
 
6307
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6308
for as_dir in $PATH
 
6309
do
 
6310
  IFS=$as_save_IFS
 
6311
  test -z "$as_dir" && as_dir=.
 
6312
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6313
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6314
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
6315
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6316
    break 2
 
6317
  fi
 
6318
done
 
6319
done
 
6320
IFS=$as_save_IFS
 
6321
 
 
6322
fi
 
6323
fi
 
6324
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
6325
if test -n "$ac_ct_OBJDUMP"; then
 
6326
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
6327
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
6328
else
 
6329
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6330
$as_echo "no" >&6; }
 
6331
fi
 
6332
 
 
6333
  if test "x$ac_ct_OBJDUMP" = x; then
 
6334
    OBJDUMP="false"
 
6335
  else
 
6336
    case $cross_compiling:$ac_tool_warned in
 
6337
yes:)
 
6338
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6339
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6340
ac_tool_warned=yes ;;
 
6341
esac
 
6342
    OBJDUMP=$ac_ct_OBJDUMP
 
6343
  fi
 
6344
else
 
6345
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
6346
fi
 
6347
 
 
6348
test -z "$OBJDUMP" && OBJDUMP=objdump
 
6349
 
 
6350
 
 
6351
 
 
6352
 
 
6353
 
 
6354
 
 
6355
 
 
6356
 
 
6357
 
5866
6358
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5867
6359
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5868
6360
if test "${lt_cv_deplibs_check_method+set}" = set; then
5916
6408
  fi
5917
6409
  ;;
5918
6410
 
 
6411
cegcc)
 
6412
  # use the weaker test based on 'objdump'. See mingw*.
 
6413
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
6414
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6415
  ;;
 
6416
 
5919
6417
darwin* | rhapsody*)
5920
6418
  lt_cv_deplibs_check_method=pass_all
5921
6419
  ;;
5922
6420
 
5923
6421
freebsd* | dragonfly*)
5924
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6422
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5925
6423
    case $host_cpu in
5926
6424
    i*86 )
5927
6425
      # Not sure whether the presence of OpenBSD here was a mistake.
5979
6477
  ;;
5980
6478
 
5981
6479
netbsd*)
5982
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6480
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5983
6481
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5984
6482
  else
5985
6483
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5992
6490
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5993
6491
  ;;
5994
6492
 
5995
 
nto-qnx*)
5996
 
  lt_cv_deplibs_check_method=unknown
 
6493
*nto* | *qnx*)
 
6494
  lt_cv_deplibs_check_method=pass_all
5997
6495
  ;;
5998
6496
 
5999
6497
openbsd*)
6000
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6498
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6001
6499
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6002
6500
  else
6003
6501
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6016
6514
  lt_cv_deplibs_check_method=pass_all
6017
6515
  ;;
6018
6516
 
 
6517
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6518
  lt_cv_deplibs_check_method=pass_all
 
6519
  ;;
 
6520
 
6019
6521
sysv4 | sysv4.3*)
6020
6522
  case $host_vendor in
6021
6523
  motorola)
6043
6545
  esac
6044
6546
  ;;
6045
6547
 
6046
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6548
tpf*)
6047
6549
  lt_cv_deplibs_check_method=pass_all
6048
6550
  ;;
6049
6551
esac
6058
6560
 
6059
6561
 
6060
6562
 
 
6563
 
 
6564
 
 
6565
 
 
6566
 
 
6567
 
 
6568
 
 
6569
 
 
6570
 
 
6571
if test -n "$ac_tool_prefix"; then
 
6572
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
6573
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
6574
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6575
$as_echo_n "checking for $ac_word... " >&6; }
 
6576
if test "${ac_cv_prog_AR+set}" = set; then
 
6577
  $as_echo_n "(cached) " >&6
 
6578
else
 
6579
  if test -n "$AR"; then
 
6580
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
6581
else
 
6582
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6583
for as_dir in $PATH
 
6584
do
 
6585
  IFS=$as_save_IFS
 
6586
  test -z "$as_dir" && as_dir=.
 
6587
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6588
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6589
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6590
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6591
    break 2
 
6592
  fi
 
6593
done
 
6594
done
 
6595
IFS=$as_save_IFS
 
6596
 
 
6597
fi
 
6598
fi
 
6599
AR=$ac_cv_prog_AR
 
6600
if test -n "$AR"; then
 
6601
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
6602
$as_echo "$AR" >&6; }
 
6603
else
 
6604
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6605
$as_echo "no" >&6; }
 
6606
fi
 
6607
 
 
6608
 
 
6609
fi
 
6610
if test -z "$ac_cv_prog_AR"; then
 
6611
  ac_ct_AR=$AR
 
6612
  # Extract the first word of "ar", so it can be a program name with args.
 
6613
set dummy ar; ac_word=$2
 
6614
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6615
$as_echo_n "checking for $ac_word... " >&6; }
 
6616
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
6617
  $as_echo_n "(cached) " >&6
 
6618
else
 
6619
  if test -n "$ac_ct_AR"; then
 
6620
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
6621
else
 
6622
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6623
for as_dir in $PATH
 
6624
do
 
6625
  IFS=$as_save_IFS
 
6626
  test -z "$as_dir" && as_dir=.
 
6627
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6628
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6629
    ac_cv_prog_ac_ct_AR="ar"
 
6630
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6631
    break 2
 
6632
  fi
 
6633
done
 
6634
done
 
6635
IFS=$as_save_IFS
 
6636
 
 
6637
fi
 
6638
fi
 
6639
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
6640
if test -n "$ac_ct_AR"; then
 
6641
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6642
$as_echo "$ac_ct_AR" >&6; }
 
6643
else
 
6644
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6645
$as_echo "no" >&6; }
 
6646
fi
 
6647
 
 
6648
  if test "x$ac_ct_AR" = x; then
 
6649
    AR="false"
 
6650
  else
 
6651
    case $cross_compiling:$ac_tool_warned in
 
6652
yes:)
 
6653
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6654
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6655
ac_tool_warned=yes ;;
 
6656
esac
 
6657
    AR=$ac_ct_AR
 
6658
  fi
 
6659
else
 
6660
  AR="$ac_cv_prog_AR"
 
6661
fi
 
6662
 
 
6663
test -z "$AR" && AR=ar
 
6664
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
6665
 
 
6666
 
 
6667
 
 
6668
 
 
6669
 
 
6670
 
 
6671
 
 
6672
 
 
6673
 
 
6674
 
 
6675
 
 
6676
if test -n "$ac_tool_prefix"; then
 
6677
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
6678
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
6679
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6680
$as_echo_n "checking for $ac_word... " >&6; }
 
6681
if test "${ac_cv_prog_STRIP+set}" = set; then
 
6682
  $as_echo_n "(cached) " >&6
 
6683
else
 
6684
  if test -n "$STRIP"; then
 
6685
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
6686
else
 
6687
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6688
for as_dir in $PATH
 
6689
do
 
6690
  IFS=$as_save_IFS
 
6691
  test -z "$as_dir" && as_dir=.
 
6692
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6693
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6694
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
6695
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6696
    break 2
 
6697
  fi
 
6698
done
 
6699
done
 
6700
IFS=$as_save_IFS
 
6701
 
 
6702
fi
 
6703
fi
 
6704
STRIP=$ac_cv_prog_STRIP
 
6705
if test -n "$STRIP"; then
 
6706
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6707
$as_echo "$STRIP" >&6; }
 
6708
else
 
6709
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6710
$as_echo "no" >&6; }
 
6711
fi
 
6712
 
 
6713
 
 
6714
fi
 
6715
if test -z "$ac_cv_prog_STRIP"; then
 
6716
  ac_ct_STRIP=$STRIP
 
6717
  # Extract the first word of "strip", so it can be a program name with args.
 
6718
set dummy strip; ac_word=$2
 
6719
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6720
$as_echo_n "checking for $ac_word... " >&6; }
 
6721
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
6722
  $as_echo_n "(cached) " >&6
 
6723
else
 
6724
  if test -n "$ac_ct_STRIP"; then
 
6725
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
6726
else
 
6727
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6728
for as_dir in $PATH
 
6729
do
 
6730
  IFS=$as_save_IFS
 
6731
  test -z "$as_dir" && as_dir=.
 
6732
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6733
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6734
    ac_cv_prog_ac_ct_STRIP="strip"
 
6735
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6736
    break 2
 
6737
  fi
 
6738
done
 
6739
done
 
6740
IFS=$as_save_IFS
 
6741
 
 
6742
fi
 
6743
fi
 
6744
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
6745
if test -n "$ac_ct_STRIP"; then
 
6746
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6747
$as_echo "$ac_ct_STRIP" >&6; }
 
6748
else
 
6749
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6750
$as_echo "no" >&6; }
 
6751
fi
 
6752
 
 
6753
  if test "x$ac_ct_STRIP" = x; then
 
6754
    STRIP=":"
 
6755
  else
 
6756
    case $cross_compiling:$ac_tool_warned in
 
6757
yes:)
 
6758
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6759
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6760
ac_tool_warned=yes ;;
 
6761
esac
 
6762
    STRIP=$ac_ct_STRIP
 
6763
  fi
 
6764
else
 
6765
  STRIP="$ac_cv_prog_STRIP"
 
6766
fi
 
6767
 
 
6768
test -z "$STRIP" && STRIP=:
 
6769
 
 
6770
 
 
6771
 
 
6772
 
 
6773
 
 
6774
 
 
6775
if test -n "$ac_tool_prefix"; then
 
6776
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6777
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6778
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6779
$as_echo_n "checking for $ac_word... " >&6; }
 
6780
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6781
  $as_echo_n "(cached) " >&6
 
6782
else
 
6783
  if test -n "$RANLIB"; then
 
6784
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6785
else
 
6786
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6787
for as_dir in $PATH
 
6788
do
 
6789
  IFS=$as_save_IFS
 
6790
  test -z "$as_dir" && as_dir=.
 
6791
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6792
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6793
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6794
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6795
    break 2
 
6796
  fi
 
6797
done
 
6798
done
 
6799
IFS=$as_save_IFS
 
6800
 
 
6801
fi
 
6802
fi
 
6803
RANLIB=$ac_cv_prog_RANLIB
 
6804
if test -n "$RANLIB"; then
 
6805
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6806
$as_echo "$RANLIB" >&6; }
 
6807
else
 
6808
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6809
$as_echo "no" >&6; }
 
6810
fi
 
6811
 
 
6812
 
 
6813
fi
 
6814
if test -z "$ac_cv_prog_RANLIB"; then
 
6815
  ac_ct_RANLIB=$RANLIB
 
6816
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6817
set dummy ranlib; ac_word=$2
 
6818
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6819
$as_echo_n "checking for $ac_word... " >&6; }
 
6820
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6821
  $as_echo_n "(cached) " >&6
 
6822
else
 
6823
  if test -n "$ac_ct_RANLIB"; then
 
6824
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6825
else
 
6826
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6827
for as_dir in $PATH
 
6828
do
 
6829
  IFS=$as_save_IFS
 
6830
  test -z "$as_dir" && as_dir=.
 
6831
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6832
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6833
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6834
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6835
    break 2
 
6836
  fi
 
6837
done
 
6838
done
 
6839
IFS=$as_save_IFS
 
6840
 
 
6841
fi
 
6842
fi
 
6843
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6844
if test -n "$ac_ct_RANLIB"; then
 
6845
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6846
$as_echo "$ac_ct_RANLIB" >&6; }
 
6847
else
 
6848
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6849
$as_echo "no" >&6; }
 
6850
fi
 
6851
 
 
6852
  if test "x$ac_ct_RANLIB" = x; then
 
6853
    RANLIB=":"
 
6854
  else
 
6855
    case $cross_compiling:$ac_tool_warned in
 
6856
yes:)
 
6857
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6858
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6859
ac_tool_warned=yes ;;
 
6860
esac
 
6861
    RANLIB=$ac_ct_RANLIB
 
6862
  fi
 
6863
else
 
6864
  RANLIB="$ac_cv_prog_RANLIB"
 
6865
fi
 
6866
 
 
6867
test -z "$RANLIB" && RANLIB=:
 
6868
 
 
6869
 
 
6870
 
 
6871
 
 
6872
 
 
6873
 
 
6874
# Determine commands to create old-style static archives.
 
6875
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
6876
old_postinstall_cmds='chmod 644 $oldlib'
 
6877
old_postuninstall_cmds=
 
6878
 
 
6879
if test -n "$RANLIB"; then
 
6880
  case $host_os in
 
6881
  openbsd*)
 
6882
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6883
    ;;
 
6884
  *)
 
6885
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6886
    ;;
 
6887
  esac
 
6888
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6889
fi
 
6890
 
 
6891
 
 
6892
 
 
6893
 
 
6894
 
 
6895
 
 
6896
 
 
6897
 
 
6898
 
 
6899
 
 
6900
 
 
6901
 
 
6902
 
 
6903
 
 
6904
 
 
6905
 
 
6906
 
 
6907
 
 
6908
 
 
6909
 
 
6910
 
 
6911
 
 
6912
 
 
6913
 
 
6914
 
 
6915
 
 
6916
 
 
6917
 
 
6918
 
 
6919
 
 
6920
 
 
6921
 
 
6922
 
 
6923
 
6061
6924
# If no C compiler was specified, use CC.
6062
6925
LTCC=${LTCC-"$CC"}
6063
6926
 
6067
6930
# Allow CC to be a program name with arguments.
6068
6931
compiler=$CC
6069
6932
 
6070
 
# Check whether --enable-libtool-lock was given.
6071
 
if test "${enable_libtool_lock+set}" = set; then
6072
 
  enableval=$enable_libtool_lock;
6073
 
fi
6074
 
 
6075
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6076
 
 
6077
 
# Some flags need to be propagated to the compiler or linker for good
6078
 
# libtool support.
6079
 
case $host in
6080
 
ia64-*-hpux*)
6081
 
  # Find out which ABI we are using.
6082
 
  echo 'int i;' > conftest.$ac_ext
6083
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6084
 
  (eval $ac_compile) 2>&5
6085
 
  ac_status=$?
6086
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087
 
  (exit $ac_status); }; then
6088
 
    case `/usr/bin/file conftest.$ac_objext` in
6089
 
    *ELF-32*)
6090
 
      HPUX_IA64_MODE="32"
6091
 
      ;;
6092
 
    *ELF-64*)
6093
 
      HPUX_IA64_MODE="64"
6094
 
      ;;
6095
 
    esac
6096
 
  fi
6097
 
  rm -rf conftest*
6098
 
  ;;
6099
 
*-*-irix6*)
6100
 
  # Find out which ABI we are using.
6101
 
  echo '#line 6101 "configure"' > conftest.$ac_ext
6102
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6103
 
  (eval $ac_compile) 2>&5
6104
 
  ac_status=$?
6105
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106
 
  (exit $ac_status); }; then
6107
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
6108
 
    case `/usr/bin/file conftest.$ac_objext` in
6109
 
    *32-bit*)
6110
 
      LD="${LD-ld} -melf32bsmip"
6111
 
      ;;
6112
 
    *N32*)
6113
 
      LD="${LD-ld} -melf32bmipn32"
6114
 
      ;;
6115
 
    *64-bit*)
6116
 
      LD="${LD-ld} -melf64bmip"
6117
 
      ;;
6118
 
    esac
6119
 
   else
6120
 
    case `/usr/bin/file conftest.$ac_objext` in
6121
 
    *32-bit*)
6122
 
      LD="${LD-ld} -32"
6123
 
      ;;
6124
 
    *N32*)
6125
 
      LD="${LD-ld} -n32"
6126
 
      ;;
6127
 
    *64-bit*)
6128
 
      LD="${LD-ld} -64"
6129
 
      ;;
6130
 
    esac
6131
 
   fi
6132
 
  fi
6133
 
  rm -rf conftest*
6134
 
  ;;
6135
 
 
6136
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6137
 
s390*-*linux*|sparc*-*linux*)
6138
 
  # Find out which ABI we are using.
6139
 
  echo 'int i;' > conftest.$ac_ext
6140
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6141
 
  (eval $ac_compile) 2>&5
6142
 
  ac_status=$?
6143
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144
 
  (exit $ac_status); }; then
6145
 
    case `/usr/bin/file conftest.o` in
6146
 
    *32-bit*)
6147
 
      case $host in
6148
 
        x86_64-*kfreebsd*-gnu)
6149
 
          LD="${LD-ld} -m elf_i386_fbsd"
6150
 
          ;;
6151
 
        x86_64-*linux*)
6152
 
          LD="${LD-ld} -m elf_i386"
6153
 
          ;;
6154
 
        ppc64-*linux*|powerpc64-*linux*)
6155
 
          LD="${LD-ld} -m elf32ppclinux"
6156
 
          ;;
6157
 
        s390x-*linux*)
6158
 
          LD="${LD-ld} -m elf_s390"
6159
 
          ;;
6160
 
        sparc64-*linux*)
6161
 
          LD="${LD-ld} -m elf32_sparc"
6162
 
          ;;
6163
 
      esac
6164
 
      ;;
6165
 
    *64-bit*)
6166
 
      case $host in
6167
 
        x86_64-*kfreebsd*-gnu)
6168
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
6169
 
          ;;
6170
 
        x86_64-*linux*)
6171
 
          LD="${LD-ld} -m elf_x86_64"
6172
 
          ;;
6173
 
        ppc*-*linux*|powerpc*-*linux*)
6174
 
          LD="${LD-ld} -m elf64ppc"
6175
 
          ;;
6176
 
        s390*-*linux*)
6177
 
          LD="${LD-ld} -m elf64_s390"
6178
 
          ;;
6179
 
        sparc*-*linux*)
6180
 
          LD="${LD-ld} -m elf64_sparc"
6181
 
          ;;
6182
 
      esac
6183
 
      ;;
6184
 
    esac
6185
 
  fi
6186
 
  rm -rf conftest*
6187
 
  ;;
6188
 
 
6189
 
*-*-sco3.2v5*)
6190
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6191
 
  SAVE_CFLAGS="$CFLAGS"
6192
 
  CFLAGS="$CFLAGS -belf"
6193
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6194
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6195
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
6196
 
  $as_echo_n "(cached) " >&6
6197
 
else
6198
 
  ac_ext=c
6199
 
ac_cpp='$CPP $CPPFLAGS'
6200
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6201
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6202
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6203
 
 
6204
 
     cat >conftest.$ac_ext <<_ACEOF
6205
 
/* confdefs.h.  */
6206
 
_ACEOF
6207
 
cat confdefs.h >>conftest.$ac_ext
6208
 
cat >>conftest.$ac_ext <<_ACEOF
6209
 
/* end confdefs.h.  */
6210
 
 
6211
 
int
6212
 
main ()
6213
 
{
6214
 
 
6215
 
  ;
6216
 
  return 0;
6217
 
}
6218
 
_ACEOF
6219
 
rm -f conftest.$ac_objext conftest$ac_exeext
6220
 
if { (ac_try="$ac_link"
6221
 
case "(($ac_try" in
6222
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6223
 
  *) ac_try_echo=$ac_try;;
6224
 
esac
6225
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6226
 
$as_echo "$ac_try_echo") >&5
6227
 
  (eval "$ac_link") 2>conftest.er1
6228
 
  ac_status=$?
6229
 
  grep -v '^ *+' conftest.er1 >conftest.err
6230
 
  rm -f conftest.er1
6231
 
  cat conftest.err >&5
6232
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233
 
  (exit $ac_status); } && {
6234
 
         test -z "$ac_c_werror_flag" ||
6235
 
         test ! -s conftest.err
6236
 
       } && test -s conftest$ac_exeext && {
6237
 
         test "$cross_compiling" = yes ||
6238
 
         $as_test_x conftest$ac_exeext
6239
 
       }; then
6240
 
  lt_cv_cc_needs_belf=yes
6241
 
else
6242
 
  $as_echo "$as_me: failed program was:" >&5
6243
 
sed 's/^/| /' conftest.$ac_ext >&5
6244
 
 
6245
 
        lt_cv_cc_needs_belf=no
6246
 
fi
6247
 
 
6248
 
rm -rf conftest.dSYM
6249
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6250
 
      conftest$ac_exeext conftest.$ac_ext
6251
 
     ac_ext=c
6252
 
ac_cpp='$CPP $CPPFLAGS'
6253
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6254
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6255
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6256
 
 
6257
 
fi
6258
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6259
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6260
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6261
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6262
 
    CFLAGS="$SAVE_CFLAGS"
6263
 
  fi
6264
 
  ;;
6265
 
sparc*-*solaris*)
6266
 
  # Find out which ABI we are using.
6267
 
  echo 'int i;' > conftest.$ac_ext
6268
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6269
 
  (eval $ac_compile) 2>&5
6270
 
  ac_status=$?
6271
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272
 
  (exit $ac_status); }; then
6273
 
    case `/usr/bin/file conftest.o` in
6274
 
    *64-bit*)
6275
 
      case $lt_cv_prog_gnu_ld in
6276
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6277
 
      *)
6278
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6279
 
          LD="${LD-ld} -64"
6280
 
        fi
6281
 
        ;;
6282
 
      esac
6283
 
      ;;
6284
 
    esac
6285
 
  fi
6286
 
  rm -rf conftest*
6287
 
  ;;
6288
 
 
6289
 
 
6290
 
esac
6291
 
 
6292
 
need_locks="$enable_libtool_lock"
6293
 
 
6294
 
 
6295
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6296
 
 
6297
 
 
6298
 
 
6299
 
 
6300
 
 
6301
 
 
6302
 
 
6303
 
 
6304
 
 
6305
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6306
 
                  inttypes.h stdint.h unistd.h
6307
 
do
6308
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6309
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6310
 
$as_echo_n "checking for $ac_header... " >&6; }
6311
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6312
 
  $as_echo_n "(cached) " >&6
6313
 
else
6314
 
  cat >conftest.$ac_ext <<_ACEOF
6315
 
/* confdefs.h.  */
6316
 
_ACEOF
6317
 
cat confdefs.h >>conftest.$ac_ext
6318
 
cat >>conftest.$ac_ext <<_ACEOF
6319
 
/* end confdefs.h.  */
6320
 
$ac_includes_default
6321
 
 
6322
 
#include <$ac_header>
6323
 
_ACEOF
6324
 
rm -f conftest.$ac_objext
6325
 
if { (ac_try="$ac_compile"
6326
 
case "(($ac_try" in
6327
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6328
 
  *) ac_try_echo=$ac_try;;
6329
 
esac
6330
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6331
 
$as_echo "$ac_try_echo") >&5
6332
 
  (eval "$ac_compile") 2>conftest.er1
6333
 
  ac_status=$?
6334
 
  grep -v '^ *+' conftest.er1 >conftest.err
6335
 
  rm -f conftest.er1
6336
 
  cat conftest.err >&5
6337
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338
 
  (exit $ac_status); } && {
6339
 
         test -z "$ac_c_werror_flag" ||
6340
 
         test ! -s conftest.err
6341
 
       } && test -s conftest.$ac_objext; then
6342
 
  eval "$as_ac_Header=yes"
6343
 
else
6344
 
  $as_echo "$as_me: failed program was:" >&5
6345
 
sed 's/^/| /' conftest.$ac_ext >&5
6346
 
 
6347
 
        eval "$as_ac_Header=no"
6348
 
fi
6349
 
 
6350
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6351
 
fi
6352
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6353
 
                 $as_echo "$as_val"'`
6354
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6355
 
$as_echo "$ac_res" >&6; }
6356
 
if test `eval 'as_val=${'$as_ac_Header'}
6357
 
                 $as_echo "$as_val"'` = yes; then
6358
 
  cat >>confdefs.h <<_ACEOF
6359
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6360
 
_ACEOF
6361
 
 
6362
 
fi
6363
 
 
6364
 
done
6365
 
 
6366
 
 
6367
 
 
6368
 
for ac_header in dlfcn.h
6369
 
do
6370
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6371
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6372
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6373
 
$as_echo_n "checking for $ac_header... " >&6; }
6374
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6375
 
  $as_echo_n "(cached) " >&6
6376
 
fi
6377
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6378
 
                 $as_echo "$as_val"'`
6379
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6380
 
$as_echo "$ac_res" >&6; }
6381
 
else
6382
 
  # Is the header compilable?
6383
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6384
 
$as_echo_n "checking $ac_header usability... " >&6; }
6385
 
cat >conftest.$ac_ext <<_ACEOF
6386
 
/* confdefs.h.  */
6387
 
_ACEOF
6388
 
cat confdefs.h >>conftest.$ac_ext
6389
 
cat >>conftest.$ac_ext <<_ACEOF
6390
 
/* end confdefs.h.  */
6391
 
$ac_includes_default
6392
 
#include <$ac_header>
6393
 
_ACEOF
6394
 
rm -f conftest.$ac_objext
6395
 
if { (ac_try="$ac_compile"
6396
 
case "(($ac_try" in
6397
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6398
 
  *) ac_try_echo=$ac_try;;
6399
 
esac
6400
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6401
 
$as_echo "$ac_try_echo") >&5
6402
 
  (eval "$ac_compile") 2>conftest.er1
6403
 
  ac_status=$?
6404
 
  grep -v '^ *+' conftest.er1 >conftest.err
6405
 
  rm -f conftest.er1
6406
 
  cat conftest.err >&5
6407
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408
 
  (exit $ac_status); } && {
6409
 
         test -z "$ac_c_werror_flag" ||
6410
 
         test ! -s conftest.err
6411
 
       } && test -s conftest.$ac_objext; then
6412
 
  ac_header_compiler=yes
6413
 
else
6414
 
  $as_echo "$as_me: failed program was:" >&5
6415
 
sed 's/^/| /' conftest.$ac_ext >&5
6416
 
 
6417
 
        ac_header_compiler=no
6418
 
fi
6419
 
 
6420
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6421
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6422
 
$as_echo "$ac_header_compiler" >&6; }
6423
 
 
6424
 
# Is the header present?
6425
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6426
 
$as_echo_n "checking $ac_header presence... " >&6; }
6427
 
cat >conftest.$ac_ext <<_ACEOF
6428
 
/* confdefs.h.  */
6429
 
_ACEOF
6430
 
cat confdefs.h >>conftest.$ac_ext
6431
 
cat >>conftest.$ac_ext <<_ACEOF
6432
 
/* end confdefs.h.  */
6433
 
#include <$ac_header>
6434
 
_ACEOF
6435
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6436
 
case "(($ac_try" in
6437
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6438
 
  *) ac_try_echo=$ac_try;;
6439
 
esac
6440
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6441
 
$as_echo "$ac_try_echo") >&5
6442
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6443
 
  ac_status=$?
6444
 
  grep -v '^ *+' conftest.er1 >conftest.err
6445
 
  rm -f conftest.er1
6446
 
  cat conftest.err >&5
6447
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448
 
  (exit $ac_status); } >/dev/null && {
6449
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6450
 
         test ! -s conftest.err
6451
 
       }; then
6452
 
  ac_header_preproc=yes
6453
 
else
6454
 
  $as_echo "$as_me: failed program was:" >&5
6455
 
sed 's/^/| /' conftest.$ac_ext >&5
6456
 
 
6457
 
  ac_header_preproc=no
6458
 
fi
6459
 
 
6460
 
rm -f conftest.err conftest.$ac_ext
6461
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6462
 
$as_echo "$ac_header_preproc" >&6; }
6463
 
 
6464
 
# So?  What about this header?
6465
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6466
 
  yes:no: )
6467
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6468
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6469
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6470
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6471
 
    ac_header_preproc=yes
6472
 
    ;;
6473
 
  no:yes:* )
6474
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6475
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6476
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6477
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6478
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6479
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6480
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6481
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6482
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6483
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6484
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6485
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6486
 
    ( cat <<\_ASBOX
6487
 
## ------------------------------------------------------------------------------ ##
6488
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-main-menu ##
6489
 
## ------------------------------------------------------------------------------ ##
6490
 
_ASBOX
6491
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
6492
 
    ;;
6493
 
esac
6494
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6495
 
$as_echo_n "checking for $ac_header... " >&6; }
6496
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6497
 
  $as_echo_n "(cached) " >&6
6498
 
else
6499
 
  eval "$as_ac_Header=\$ac_header_preproc"
6500
 
fi
6501
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6502
 
                 $as_echo "$as_val"'`
6503
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6504
 
$as_echo "$ac_res" >&6; }
6505
 
 
6506
 
fi
6507
 
if test `eval 'as_val=${'$as_ac_Header'}
6508
 
                 $as_echo "$as_val"'` = yes; then
6509
 
  cat >>confdefs.h <<_ACEOF
6510
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6511
 
_ACEOF
6512
 
 
6513
 
fi
6514
 
 
6515
 
done
6516
 
 
6517
 
ac_ext=cpp
6518
 
ac_cpp='$CXXCPP $CPPFLAGS'
6519
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6520
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6521
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6522
 
if test -z "$CXX"; then
6523
 
  if test -n "$CCC"; then
6524
 
    CXX=$CCC
6525
 
  else
6526
 
    if test -n "$ac_tool_prefix"; then
6527
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6528
 
  do
6529
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6530
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6531
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6532
 
$as_echo_n "checking for $ac_word... " >&6; }
6533
 
if test "${ac_cv_prog_CXX+set}" = set; then
6534
 
  $as_echo_n "(cached) " >&6
6535
 
else
6536
 
  if test -n "$CXX"; then
6537
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
6538
 
else
6539
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540
 
for as_dir in $PATH
6541
 
do
6542
 
  IFS=$as_save_IFS
6543
 
  test -z "$as_dir" && as_dir=.
6544
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6545
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6546
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6547
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6548
 
    break 2
6549
 
  fi
6550
 
done
6551
 
done
6552
 
IFS=$as_save_IFS
6553
 
 
6554
 
fi
6555
 
fi
6556
 
CXX=$ac_cv_prog_CXX
6557
 
if test -n "$CXX"; then
6558
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
6559
 
$as_echo "$CXX" >&6; }
6560
 
else
6561
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6562
 
$as_echo "no" >&6; }
6563
 
fi
6564
 
 
6565
 
 
6566
 
    test -n "$CXX" && break
6567
 
  done
6568
 
fi
6569
 
if test -z "$CXX"; then
6570
 
  ac_ct_CXX=$CXX
6571
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6572
 
do
6573
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6574
 
set dummy $ac_prog; ac_word=$2
6575
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6576
 
$as_echo_n "checking for $ac_word... " >&6; }
6577
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6578
 
  $as_echo_n "(cached) " >&6
6579
 
else
6580
 
  if test -n "$ac_ct_CXX"; then
6581
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6582
 
else
6583
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584
 
for as_dir in $PATH
6585
 
do
6586
 
  IFS=$as_save_IFS
6587
 
  test -z "$as_dir" && as_dir=.
6588
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6589
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6590
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
6591
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6592
 
    break 2
6593
 
  fi
6594
 
done
6595
 
done
6596
 
IFS=$as_save_IFS
6597
 
 
6598
 
fi
6599
 
fi
6600
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6601
 
if test -n "$ac_ct_CXX"; then
6602
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6603
 
$as_echo "$ac_ct_CXX" >&6; }
6604
 
else
6605
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6606
 
$as_echo "no" >&6; }
6607
 
fi
6608
 
 
6609
 
 
6610
 
  test -n "$ac_ct_CXX" && break
6611
 
done
6612
 
 
6613
 
  if test "x$ac_ct_CXX" = x; then
6614
 
    CXX="g++"
6615
 
  else
6616
 
    case $cross_compiling:$ac_tool_warned in
6617
 
yes:)
6618
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6619
 
whose name does not start with the host triplet.  If you think this
6620
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6621
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6622
 
whose name does not start with the host triplet.  If you think this
6623
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6624
 
ac_tool_warned=yes ;;
6625
 
esac
6626
 
    CXX=$ac_ct_CXX
6627
 
  fi
6628
 
fi
6629
 
 
6630
 
  fi
6631
 
fi
6632
 
# Provide some information about the compiler.
6633
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6634
 
set X $ac_compile
6635
 
ac_compiler=$2
6636
 
{ (ac_try="$ac_compiler --version >&5"
6637
 
case "(($ac_try" in
6638
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6639
 
  *) ac_try_echo=$ac_try;;
6640
 
esac
6641
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6642
 
$as_echo "$ac_try_echo") >&5
6643
 
  (eval "$ac_compiler --version >&5") 2>&5
6644
 
  ac_status=$?
6645
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646
 
  (exit $ac_status); }
6647
 
{ (ac_try="$ac_compiler -v >&5"
6648
 
case "(($ac_try" in
6649
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6650
 
  *) ac_try_echo=$ac_try;;
6651
 
esac
6652
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6653
 
$as_echo "$ac_try_echo") >&5
6654
 
  (eval "$ac_compiler -v >&5") 2>&5
6655
 
  ac_status=$?
6656
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657
 
  (exit $ac_status); }
6658
 
{ (ac_try="$ac_compiler -V >&5"
6659
 
case "(($ac_try" in
6660
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6661
 
  *) ac_try_echo=$ac_try;;
6662
 
esac
6663
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6664
 
$as_echo "$ac_try_echo") >&5
6665
 
  (eval "$ac_compiler -V >&5") 2>&5
6666
 
  ac_status=$?
6667
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668
 
  (exit $ac_status); }
6669
 
 
6670
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6671
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6672
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6673
 
  $as_echo_n "(cached) " >&6
6674
 
else
6675
 
  cat >conftest.$ac_ext <<_ACEOF
6676
 
/* confdefs.h.  */
6677
 
_ACEOF
6678
 
cat confdefs.h >>conftest.$ac_ext
6679
 
cat >>conftest.$ac_ext <<_ACEOF
6680
 
/* end confdefs.h.  */
6681
 
 
6682
 
int
6683
 
main ()
6684
 
{
6685
 
#ifndef __GNUC__
6686
 
       choke me
6687
 
#endif
6688
 
 
6689
 
  ;
6690
 
  return 0;
6691
 
}
6692
 
_ACEOF
6693
 
rm -f conftest.$ac_objext
6694
 
if { (ac_try="$ac_compile"
6695
 
case "(($ac_try" in
6696
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6697
 
  *) ac_try_echo=$ac_try;;
6698
 
esac
6699
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6700
 
$as_echo "$ac_try_echo") >&5
6701
 
  (eval "$ac_compile") 2>conftest.er1
6702
 
  ac_status=$?
6703
 
  grep -v '^ *+' conftest.er1 >conftest.err
6704
 
  rm -f conftest.er1
6705
 
  cat conftest.err >&5
6706
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707
 
  (exit $ac_status); } && {
6708
 
         test -z "$ac_cxx_werror_flag" ||
6709
 
         test ! -s conftest.err
6710
 
       } && test -s conftest.$ac_objext; then
6711
 
  ac_compiler_gnu=yes
6712
 
else
6713
 
  $as_echo "$as_me: failed program was:" >&5
6714
 
sed 's/^/| /' conftest.$ac_ext >&5
6715
 
 
6716
 
        ac_compiler_gnu=no
6717
 
fi
6718
 
 
6719
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6720
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6721
 
 
6722
 
fi
6723
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6724
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6725
 
if test $ac_compiler_gnu = yes; then
6726
 
  GXX=yes
6727
 
else
6728
 
  GXX=
6729
 
fi
6730
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
6731
 
ac_save_CXXFLAGS=$CXXFLAGS
6732
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6733
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
6734
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
6735
 
  $as_echo_n "(cached) " >&6
6736
 
else
6737
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6738
 
   ac_cxx_werror_flag=yes
6739
 
   ac_cv_prog_cxx_g=no
6740
 
   CXXFLAGS="-g"
6741
 
   cat >conftest.$ac_ext <<_ACEOF
6742
 
/* confdefs.h.  */
6743
 
_ACEOF
6744
 
cat confdefs.h >>conftest.$ac_ext
6745
 
cat >>conftest.$ac_ext <<_ACEOF
6746
 
/* end confdefs.h.  */
6747
 
 
6748
 
int
6749
 
main ()
6750
 
{
6751
 
 
6752
 
  ;
6753
 
  return 0;
6754
 
}
6755
 
_ACEOF
6756
 
rm -f conftest.$ac_objext
6757
 
if { (ac_try="$ac_compile"
6758
 
case "(($ac_try" in
6759
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6760
 
  *) ac_try_echo=$ac_try;;
6761
 
esac
6762
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6763
 
$as_echo "$ac_try_echo") >&5
6764
 
  (eval "$ac_compile") 2>conftest.er1
6765
 
  ac_status=$?
6766
 
  grep -v '^ *+' conftest.er1 >conftest.err
6767
 
  rm -f conftest.er1
6768
 
  cat conftest.err >&5
6769
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770
 
  (exit $ac_status); } && {
6771
 
         test -z "$ac_cxx_werror_flag" ||
6772
 
         test ! -s conftest.err
6773
 
       } && test -s conftest.$ac_objext; then
6774
 
  ac_cv_prog_cxx_g=yes
6775
 
else
6776
 
  $as_echo "$as_me: failed program was:" >&5
6777
 
sed 's/^/| /' conftest.$ac_ext >&5
6778
 
 
6779
 
        CXXFLAGS=""
6780
 
      cat >conftest.$ac_ext <<_ACEOF
6781
 
/* confdefs.h.  */
6782
 
_ACEOF
6783
 
cat confdefs.h >>conftest.$ac_ext
6784
 
cat >>conftest.$ac_ext <<_ACEOF
6785
 
/* end confdefs.h.  */
6786
 
 
6787
 
int
6788
 
main ()
6789
 
{
6790
 
 
6791
 
  ;
6792
 
  return 0;
6793
 
}
6794
 
_ACEOF
6795
 
rm -f conftest.$ac_objext
6796
 
if { (ac_try="$ac_compile"
6797
 
case "(($ac_try" in
6798
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6799
 
  *) ac_try_echo=$ac_try;;
6800
 
esac
6801
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6802
 
$as_echo "$ac_try_echo") >&5
6803
 
  (eval "$ac_compile") 2>conftest.er1
6804
 
  ac_status=$?
6805
 
  grep -v '^ *+' conftest.er1 >conftest.err
6806
 
  rm -f conftest.er1
6807
 
  cat conftest.err >&5
6808
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809
 
  (exit $ac_status); } && {
6810
 
         test -z "$ac_cxx_werror_flag" ||
6811
 
         test ! -s conftest.err
6812
 
       } && test -s conftest.$ac_objext; then
6813
 
  :
6814
 
else
6815
 
  $as_echo "$as_me: failed program was:" >&5
6816
 
sed 's/^/| /' conftest.$ac_ext >&5
6817
 
 
6818
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6819
 
         CXXFLAGS="-g"
6820
 
         cat >conftest.$ac_ext <<_ACEOF
6821
 
/* confdefs.h.  */
6822
 
_ACEOF
6823
 
cat confdefs.h >>conftest.$ac_ext
6824
 
cat >>conftest.$ac_ext <<_ACEOF
6825
 
/* end confdefs.h.  */
6826
 
 
6827
 
int
6828
 
main ()
6829
 
{
6830
 
 
6831
 
  ;
6832
 
  return 0;
6833
 
}
6834
 
_ACEOF
6835
 
rm -f conftest.$ac_objext
6836
 
if { (ac_try="$ac_compile"
6837
 
case "(($ac_try" in
6838
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6839
 
  *) ac_try_echo=$ac_try;;
6840
 
esac
6841
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6842
 
$as_echo "$ac_try_echo") >&5
6843
 
  (eval "$ac_compile") 2>conftest.er1
6844
 
  ac_status=$?
6845
 
  grep -v '^ *+' conftest.er1 >conftest.err
6846
 
  rm -f conftest.er1
6847
 
  cat conftest.err >&5
6848
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849
 
  (exit $ac_status); } && {
6850
 
         test -z "$ac_cxx_werror_flag" ||
6851
 
         test ! -s conftest.err
6852
 
       } && test -s conftest.$ac_objext; then
6853
 
  ac_cv_prog_cxx_g=yes
6854
 
else
6855
 
  $as_echo "$as_me: failed program was:" >&5
6856
 
sed 's/^/| /' conftest.$ac_ext >&5
6857
 
 
6858
 
 
6859
 
fi
6860
 
 
6861
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6862
 
fi
6863
 
 
6864
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6865
 
fi
6866
 
 
6867
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6868
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6869
 
fi
6870
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6871
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
6872
 
if test "$ac_test_CXXFLAGS" = set; then
6873
 
  CXXFLAGS=$ac_save_CXXFLAGS
6874
 
elif test $ac_cv_prog_cxx_g = yes; then
6875
 
  if test "$GXX" = yes; then
6876
 
    CXXFLAGS="-g -O2"
6877
 
  else
6878
 
    CXXFLAGS="-g"
6879
 
  fi
6880
 
else
6881
 
  if test "$GXX" = yes; then
6882
 
    CXXFLAGS="-O2"
6883
 
  else
6884
 
    CXXFLAGS=
6885
 
  fi
6886
 
fi
6887
 
ac_ext=cpp
6888
 
ac_cpp='$CXXCPP $CPPFLAGS'
6889
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6890
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6891
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6892
 
 
6893
 
depcc="$CXX"  am_compiler_list=
6894
 
 
6895
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6896
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
6897
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6898
 
  $as_echo_n "(cached) " >&6
6899
 
else
6900
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6901
 
  # We make a subdir and do the tests there.  Otherwise we can end up
6902
 
  # making bogus files that we don't know about and never remove.  For
6903
 
  # instance it was reported that on HP-UX the gcc test will end up
6904
 
  # making a dummy file named `D' -- because `-MD' means `put the output
6905
 
  # in D'.
6906
 
  mkdir conftest.dir
6907
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
6908
 
  # using a relative directory.
6909
 
  cp "$am_depcomp" conftest.dir
6910
 
  cd conftest.dir
6911
 
  # We will build objects and dependencies in a subdirectory because
6912
 
  # it helps to detect inapplicable dependency modes.  For instance
6913
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
6914
 
  # side effect of compilation, but ICC will put the dependencies in
6915
 
  # the current directory while Tru64 will put them in the object
6916
 
  # directory.
6917
 
  mkdir sub
6918
 
 
6919
 
  am_cv_CXX_dependencies_compiler_type=none
6920
 
  if test "$am_compiler_list" = ""; then
6921
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6922
 
  fi
6923
 
  for depmode in $am_compiler_list; do
6924
 
    # Setup a source with many dependencies, because some compilers
6925
 
    # like to wrap large dependency lists on column 80 (with \), and
6926
 
    # we should not choose a depcomp mode which is confused by this.
6927
 
    #
6928
 
    # We need to recreate these files for each test, as the compiler may
6929
 
    # overwrite some of them when testing with obscure command lines.
6930
 
    # This happens at least with the AIX C compiler.
6931
 
    : > sub/conftest.c
6932
 
    for i in 1 2 3 4 5 6; do
6933
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6934
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6935
 
      # Solaris 8's {/usr,}/bin/sh.
6936
 
      touch sub/conftst$i.h
6937
 
    done
6938
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6939
 
 
6940
 
    case $depmode in
6941
 
    nosideeffect)
6942
 
      # after this tag, mechanisms are not by side-effect, so they'll
6943
 
      # only be used when explicitly requested
6944
 
      if test "x$enable_dependency_tracking" = xyes; then
6945
 
        continue
6946
 
      else
6947
 
        break
6948
 
      fi
6949
 
      ;;
6950
 
    none) break ;;
6951
 
    esac
6952
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6953
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
6954
 
    # handle `-M -o', and we need to detect this.
6955
 
    if depmode=$depmode \
6956
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6957
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6958
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6959
 
         >/dev/null 2>conftest.err &&
6960
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6961
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6962
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6963
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6964
 
      # icc doesn't choke on unknown options, it will just issue warnings
6965
 
      # or remarks (even with -Werror).  So we grep stderr for any message
6966
 
      # that says an option was ignored or not supported.
6967
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
6968
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
6969
 
      # The diagnosis changed in icc 8.0:
6970
 
      #   icc: Command line remark: option '-MP' not supported
6971
 
      if (grep 'ignoring option' conftest.err ||
6972
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6973
 
        am_cv_CXX_dependencies_compiler_type=$depmode
6974
 
        break
6975
 
      fi
6976
 
    fi
6977
 
  done
6978
 
 
6979
 
  cd ..
6980
 
  rm -rf conftest.dir
6981
 
else
6982
 
  am_cv_CXX_dependencies_compiler_type=none
6983
 
fi
6984
 
 
6985
 
fi
6986
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6987
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6988
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6989
 
 
6990
 
 if
6991
 
  test "x$enable_dependency_tracking" != xno \
6992
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6993
 
  am__fastdepCXX_TRUE=
6994
 
  am__fastdepCXX_FALSE='#'
6995
 
else
6996
 
  am__fastdepCXX_TRUE='#'
6997
 
  am__fastdepCXX_FALSE=
6998
 
fi
6999
 
 
7000
 
 
7001
 
 
7002
 
 
7003
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7004
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7005
 
    (test "X$CXX" != "Xg++"))) ; then
7006
 
  ac_ext=cpp
7007
 
ac_cpp='$CXXCPP $CPPFLAGS'
7008
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7009
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7010
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7011
 
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7012
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7013
 
if test -z "$CXXCPP"; then
7014
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
7015
 
  $as_echo_n "(cached) " >&6
7016
 
else
7017
 
      # Double quotes because CXXCPP needs to be expanded
7018
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
7019
 
    do
7020
 
      ac_preproc_ok=false
7021
 
for ac_cxx_preproc_warn_flag in '' yes
7022
 
do
7023
 
  # Use a header file that comes with gcc, so configuring glibc
7024
 
  # with a fresh cross-compiler works.
7025
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7026
 
  # <limits.h> exists even on freestanding compilers.
7027
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7028
 
  # not just through cpp. "Syntax error" is here to catch this case.
7029
 
  cat >conftest.$ac_ext <<_ACEOF
7030
 
/* confdefs.h.  */
7031
 
_ACEOF
7032
 
cat confdefs.h >>conftest.$ac_ext
7033
 
cat >>conftest.$ac_ext <<_ACEOF
7034
 
/* end confdefs.h.  */
7035
 
#ifdef __STDC__
7036
 
# include <limits.h>
7037
 
#else
7038
 
# include <assert.h>
7039
 
#endif
7040
 
                     Syntax error
7041
 
_ACEOF
7042
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7043
 
case "(($ac_try" in
7044
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7045
 
  *) ac_try_echo=$ac_try;;
7046
 
esac
7047
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7048
 
$as_echo "$ac_try_echo") >&5
7049
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7050
 
  ac_status=$?
7051
 
  grep -v '^ *+' conftest.er1 >conftest.err
7052
 
  rm -f conftest.er1
7053
 
  cat conftest.err >&5
7054
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055
 
  (exit $ac_status); } >/dev/null && {
7056
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7057
 
         test ! -s conftest.err
7058
 
       }; then
7059
 
  :
7060
 
else
7061
 
  $as_echo "$as_me: failed program was:" >&5
7062
 
sed 's/^/| /' conftest.$ac_ext >&5
7063
 
 
7064
 
  # Broken: fails on valid input.
7065
 
continue
7066
 
fi
7067
 
 
7068
 
rm -f conftest.err conftest.$ac_ext
7069
 
 
7070
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7071
 
  # can be detected and how.
7072
 
  cat >conftest.$ac_ext <<_ACEOF
7073
 
/* confdefs.h.  */
7074
 
_ACEOF
7075
 
cat confdefs.h >>conftest.$ac_ext
7076
 
cat >>conftest.$ac_ext <<_ACEOF
7077
 
/* end confdefs.h.  */
7078
 
#include <ac_nonexistent.h>
7079
 
_ACEOF
7080
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7081
 
case "(($ac_try" in
7082
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7083
 
  *) ac_try_echo=$ac_try;;
7084
 
esac
7085
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7086
 
$as_echo "$ac_try_echo") >&5
7087
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7088
 
  ac_status=$?
7089
 
  grep -v '^ *+' conftest.er1 >conftest.err
7090
 
  rm -f conftest.er1
7091
 
  cat conftest.err >&5
7092
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093
 
  (exit $ac_status); } >/dev/null && {
7094
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7095
 
         test ! -s conftest.err
7096
 
       }; then
7097
 
  # Broken: success on invalid input.
7098
 
continue
7099
 
else
7100
 
  $as_echo "$as_me: failed program was:" >&5
7101
 
sed 's/^/| /' conftest.$ac_ext >&5
7102
 
 
7103
 
  # Passes both tests.
7104
 
ac_preproc_ok=:
7105
 
break
7106
 
fi
7107
 
 
7108
 
rm -f conftest.err conftest.$ac_ext
7109
 
 
7110
 
done
7111
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7112
 
rm -f conftest.err conftest.$ac_ext
7113
 
if $ac_preproc_ok; then
7114
 
  break
7115
 
fi
7116
 
 
7117
 
    done
7118
 
    ac_cv_prog_CXXCPP=$CXXCPP
7119
 
 
7120
 
fi
7121
 
  CXXCPP=$ac_cv_prog_CXXCPP
7122
 
else
7123
 
  ac_cv_prog_CXXCPP=$CXXCPP
7124
 
fi
7125
 
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
7126
 
$as_echo "$CXXCPP" >&6; }
7127
 
ac_preproc_ok=false
7128
 
for ac_cxx_preproc_warn_flag in '' yes
7129
 
do
7130
 
  # Use a header file that comes with gcc, so configuring glibc
7131
 
  # with a fresh cross-compiler works.
7132
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7133
 
  # <limits.h> exists even on freestanding compilers.
7134
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7135
 
  # not just through cpp. "Syntax error" is here to catch this case.
7136
 
  cat >conftest.$ac_ext <<_ACEOF
7137
 
/* confdefs.h.  */
7138
 
_ACEOF
7139
 
cat confdefs.h >>conftest.$ac_ext
7140
 
cat >>conftest.$ac_ext <<_ACEOF
7141
 
/* end confdefs.h.  */
7142
 
#ifdef __STDC__
7143
 
# include <limits.h>
7144
 
#else
7145
 
# include <assert.h>
7146
 
#endif
7147
 
                     Syntax error
7148
 
_ACEOF
7149
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7150
 
case "(($ac_try" in
7151
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7152
 
  *) ac_try_echo=$ac_try;;
7153
 
esac
7154
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7155
 
$as_echo "$ac_try_echo") >&5
7156
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7157
 
  ac_status=$?
7158
 
  grep -v '^ *+' conftest.er1 >conftest.err
7159
 
  rm -f conftest.er1
7160
 
  cat conftest.err >&5
7161
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162
 
  (exit $ac_status); } >/dev/null && {
7163
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7164
 
         test ! -s conftest.err
7165
 
       }; then
7166
 
  :
7167
 
else
7168
 
  $as_echo "$as_me: failed program was:" >&5
7169
 
sed 's/^/| /' conftest.$ac_ext >&5
7170
 
 
7171
 
  # Broken: fails on valid input.
7172
 
continue
7173
 
fi
7174
 
 
7175
 
rm -f conftest.err conftest.$ac_ext
7176
 
 
7177
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7178
 
  # can be detected and how.
7179
 
  cat >conftest.$ac_ext <<_ACEOF
7180
 
/* confdefs.h.  */
7181
 
_ACEOF
7182
 
cat confdefs.h >>conftest.$ac_ext
7183
 
cat >>conftest.$ac_ext <<_ACEOF
7184
 
/* end confdefs.h.  */
7185
 
#include <ac_nonexistent.h>
7186
 
_ACEOF
7187
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7188
 
case "(($ac_try" in
7189
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7190
 
  *) ac_try_echo=$ac_try;;
7191
 
esac
7192
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7193
 
$as_echo "$ac_try_echo") >&5
7194
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7195
 
  ac_status=$?
7196
 
  grep -v '^ *+' conftest.er1 >conftest.err
7197
 
  rm -f conftest.er1
7198
 
  cat conftest.err >&5
7199
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200
 
  (exit $ac_status); } >/dev/null && {
7201
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7202
 
         test ! -s conftest.err
7203
 
       }; then
7204
 
  # Broken: success on invalid input.
7205
 
continue
7206
 
else
7207
 
  $as_echo "$as_me: failed program was:" >&5
7208
 
sed 's/^/| /' conftest.$ac_ext >&5
7209
 
 
7210
 
  # Passes both tests.
7211
 
ac_preproc_ok=:
7212
 
break
7213
 
fi
7214
 
 
7215
 
rm -f conftest.err conftest.$ac_ext
7216
 
 
7217
 
done
7218
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7219
 
rm -f conftest.err conftest.$ac_ext
7220
 
if $ac_preproc_ok; then
7221
 
  :
7222
 
else
7223
 
  { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7224
 
See \`config.log' for more details." >&5
7225
 
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7226
 
See \`config.log' for more details." >&2;}
7227
 
   { (exit 1); exit 1; }; }
7228
 
fi
7229
 
 
7230
 
ac_ext=cpp
7231
 
ac_cpp='$CXXCPP $CPPFLAGS'
7232
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7233
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7234
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7235
 
 
7236
 
fi
7237
 
 
7238
 
 
7239
 
ac_ext=f
7240
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7241
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7242
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7243
 
if test -n "$ac_tool_prefix"; then
7244
 
  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
7245
 
  do
7246
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7247
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7248
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7249
 
$as_echo_n "checking for $ac_word... " >&6; }
7250
 
if test "${ac_cv_prog_F77+set}" = set; then
7251
 
  $as_echo_n "(cached) " >&6
7252
 
else
7253
 
  if test -n "$F77"; then
7254
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
7255
 
else
7256
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257
 
for as_dir in $PATH
7258
 
do
7259
 
  IFS=$as_save_IFS
7260
 
  test -z "$as_dir" && as_dir=.
7261
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7262
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7263
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7264
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7265
 
    break 2
7266
 
  fi
7267
 
done
7268
 
done
7269
 
IFS=$as_save_IFS
7270
 
 
7271
 
fi
7272
 
fi
7273
 
F77=$ac_cv_prog_F77
7274
 
if test -n "$F77"; then
7275
 
  { $as_echo "$as_me:$LINENO: result: $F77" >&5
7276
 
$as_echo "$F77" >&6; }
7277
 
else
7278
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7279
 
$as_echo "no" >&6; }
7280
 
fi
7281
 
 
7282
 
 
7283
 
    test -n "$F77" && break
7284
 
  done
7285
 
fi
7286
 
if test -z "$F77"; then
7287
 
  ac_ct_F77=$F77
7288
 
  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
7289
 
do
7290
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7291
 
set dummy $ac_prog; ac_word=$2
7292
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7293
 
$as_echo_n "checking for $ac_word... " >&6; }
7294
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7295
 
  $as_echo_n "(cached) " >&6
7296
 
else
7297
 
  if test -n "$ac_ct_F77"; then
7298
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7299
 
else
7300
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301
 
for as_dir in $PATH
7302
 
do
7303
 
  IFS=$as_save_IFS
7304
 
  test -z "$as_dir" && as_dir=.
7305
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7306
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7307
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
7308
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7309
 
    break 2
7310
 
  fi
7311
 
done
7312
 
done
7313
 
IFS=$as_save_IFS
7314
 
 
7315
 
fi
7316
 
fi
7317
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7318
 
if test -n "$ac_ct_F77"; then
7319
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7320
 
$as_echo "$ac_ct_F77" >&6; }
7321
 
else
7322
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7323
 
$as_echo "no" >&6; }
7324
 
fi
7325
 
 
7326
 
 
7327
 
  test -n "$ac_ct_F77" && break
7328
 
done
7329
 
 
7330
 
  if test "x$ac_ct_F77" = x; then
7331
 
    F77=""
7332
 
  else
7333
 
    case $cross_compiling:$ac_tool_warned in
7334
 
yes:)
7335
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7336
 
whose name does not start with the host triplet.  If you think this
7337
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7338
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7339
 
whose name does not start with the host triplet.  If you think this
7340
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7341
 
ac_tool_warned=yes ;;
7342
 
esac
7343
 
    F77=$ac_ct_F77
7344
 
  fi
7345
 
fi
7346
 
 
7347
 
 
7348
 
# Provide some information about the compiler.
7349
 
$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7350
 
set X $ac_compile
7351
 
ac_compiler=$2
7352
 
{ (ac_try="$ac_compiler --version >&5"
7353
 
case "(($ac_try" in
7354
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7355
 
  *) ac_try_echo=$ac_try;;
7356
 
esac
7357
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7358
 
$as_echo "$ac_try_echo") >&5
7359
 
  (eval "$ac_compiler --version >&5") 2>&5
7360
 
  ac_status=$?
7361
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362
 
  (exit $ac_status); }
7363
 
{ (ac_try="$ac_compiler -v >&5"
7364
 
case "(($ac_try" in
7365
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7366
 
  *) ac_try_echo=$ac_try;;
7367
 
esac
7368
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7369
 
$as_echo "$ac_try_echo") >&5
7370
 
  (eval "$ac_compiler -v >&5") 2>&5
7371
 
  ac_status=$?
7372
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7373
 
  (exit $ac_status); }
7374
 
{ (ac_try="$ac_compiler -V >&5"
7375
 
case "(($ac_try" in
7376
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7377
 
  *) ac_try_echo=$ac_try;;
7378
 
esac
7379
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7380
 
$as_echo "$ac_try_echo") >&5
7381
 
  (eval "$ac_compiler -V >&5") 2>&5
7382
 
  ac_status=$?
7383
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384
 
  (exit $ac_status); }
7385
 
rm -f a.out
7386
 
 
7387
 
# If we don't use `.F' as extension, the preprocessor is not run on the
7388
 
# input file.  (Note that this only needs to work for GNU compilers.)
7389
 
ac_save_ext=$ac_ext
7390
 
ac_ext=F
7391
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7392
 
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
7393
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7394
 
  $as_echo_n "(cached) " >&6
7395
 
else
7396
 
  cat >conftest.$ac_ext <<_ACEOF
7397
 
      program main
7398
 
#ifndef __GNUC__
7399
 
       choke me
7400
 
#endif
7401
 
 
7402
 
      end
7403
 
_ACEOF
7404
 
rm -f conftest.$ac_objext
7405
 
if { (ac_try="$ac_compile"
7406
 
case "(($ac_try" in
7407
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7408
 
  *) ac_try_echo=$ac_try;;
7409
 
esac
7410
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7411
 
$as_echo "$ac_try_echo") >&5
7412
 
  (eval "$ac_compile") 2>conftest.er1
7413
 
  ac_status=$?
7414
 
  grep -v '^ *+' conftest.er1 >conftest.err
7415
 
  rm -f conftest.er1
7416
 
  cat conftest.err >&5
7417
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418
 
  (exit $ac_status); } && {
7419
 
         test -z "$ac_f77_werror_flag" ||
7420
 
         test ! -s conftest.err
7421
 
       } && test -s conftest.$ac_objext; then
7422
 
  ac_compiler_gnu=yes
7423
 
else
7424
 
  $as_echo "$as_me: failed program was:" >&5
7425
 
sed 's/^/| /' conftest.$ac_ext >&5
7426
 
 
7427
 
        ac_compiler_gnu=no
7428
 
fi
7429
 
 
7430
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7431
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7432
 
 
7433
 
fi
7434
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7435
 
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
7436
 
ac_ext=$ac_save_ext
7437
 
ac_test_FFLAGS=${FFLAGS+set}
7438
 
ac_save_FFLAGS=$FFLAGS
7439
 
FFLAGS=
7440
 
{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7441
 
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
7442
 
if test "${ac_cv_prog_f77_g+set}" = set; then
7443
 
  $as_echo_n "(cached) " >&6
7444
 
else
7445
 
  FFLAGS=-g
7446
 
cat >conftest.$ac_ext <<_ACEOF
7447
 
      program main
7448
 
 
7449
 
      end
7450
 
_ACEOF
7451
 
rm -f conftest.$ac_objext
7452
 
if { (ac_try="$ac_compile"
7453
 
case "(($ac_try" in
7454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7455
 
  *) ac_try_echo=$ac_try;;
7456
 
esac
7457
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7458
 
$as_echo "$ac_try_echo") >&5
7459
 
  (eval "$ac_compile") 2>conftest.er1
7460
 
  ac_status=$?
7461
 
  grep -v '^ *+' conftest.er1 >conftest.err
7462
 
  rm -f conftest.er1
7463
 
  cat conftest.err >&5
7464
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465
 
  (exit $ac_status); } && {
7466
 
         test -z "$ac_f77_werror_flag" ||
7467
 
         test ! -s conftest.err
7468
 
       } && test -s conftest.$ac_objext; then
7469
 
  ac_cv_prog_f77_g=yes
7470
 
else
7471
 
  $as_echo "$as_me: failed program was:" >&5
7472
 
sed 's/^/| /' conftest.$ac_ext >&5
7473
 
 
7474
 
        ac_cv_prog_f77_g=no
7475
 
fi
7476
 
 
7477
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7478
 
 
7479
 
fi
7480
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7481
 
$as_echo "$ac_cv_prog_f77_g" >&6; }
7482
 
if test "$ac_test_FFLAGS" = set; then
7483
 
  FFLAGS=$ac_save_FFLAGS
7484
 
elif test $ac_cv_prog_f77_g = yes; then
7485
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7486
 
    FFLAGS="-g -O2"
7487
 
  else
7488
 
    FFLAGS="-g"
7489
 
  fi
7490
 
else
7491
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7492
 
    FFLAGS="-O2"
7493
 
  else
7494
 
    FFLAGS=
7495
 
  fi
7496
 
fi
7497
 
 
7498
 
if test $ac_compiler_gnu = yes; then
7499
 
  G77=yes
7500
 
else
7501
 
  G77=
7502
 
fi
7503
 
ac_ext=c
7504
 
ac_cpp='$CPP $CPPFLAGS'
7505
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7506
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7507
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7508
 
 
7509
 
 
7510
 
 
7511
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7512
 
# find the maximum length of command line arguments
7513
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7514
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7515
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7516
 
  $as_echo_n "(cached) " >&6
7517
 
else
7518
 
    i=0
7519
 
  teststring="ABCD"
7520
 
 
7521
 
  case $build_os in
7522
 
  msdosdjgpp*)
7523
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
7524
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
7525
 
    # during glob expansion).  Even if it were fixed, the result of this
7526
 
    # check would be larger than it should be.
7527
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7528
 
    ;;
7529
 
 
7530
 
  gnu*)
7531
 
    # Under GNU Hurd, this test is not required because there is
7532
 
    # no limit to the length of command line arguments.
7533
 
    # Libtool will interpret -1 as no limit whatsoever
7534
 
    lt_cv_sys_max_cmd_len=-1;
7535
 
    ;;
7536
 
 
7537
 
  cygwin* | mingw*)
7538
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
7539
 
    # about 5 minutes as the teststring grows exponentially.
7540
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
7541
 
    # you end up with a "frozen" computer, even though with patience
7542
 
    # the test eventually succeeds (with a max line length of 256k).
7543
 
    # Instead, let's just punt: use the minimum linelength reported by
7544
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
7545
 
    lt_cv_sys_max_cmd_len=8192;
7546
 
    ;;
7547
 
 
7548
 
  amigaos*)
7549
 
    # On AmigaOS with pdksh, this test takes hours, literally.
7550
 
    # So we just punt and use a minimum line length of 8192.
7551
 
    lt_cv_sys_max_cmd_len=8192;
7552
 
    ;;
7553
 
 
7554
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7555
 
    # This has been around since 386BSD, at least.  Likely further.
7556
 
    if test -x /sbin/sysctl; then
7557
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7558
 
    elif test -x /usr/sbin/sysctl; then
7559
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7560
 
    else
7561
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7562
 
    fi
7563
 
    # And add a safety zone
7564
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7565
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7566
 
    ;;
7567
 
 
7568
 
  interix*)
7569
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7570
 
    lt_cv_sys_max_cmd_len=196608
7571
 
    ;;
7572
 
 
7573
 
  osf*)
7574
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7575
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7576
 
    # nice to cause kernel panics so lets avoid the loop below.
7577
 
    # First set a reasonable default.
7578
 
    lt_cv_sys_max_cmd_len=16384
7579
 
    #
7580
 
    if test -x /sbin/sysconfig; then
7581
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7582
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7583
 
      esac
7584
 
    fi
7585
 
    ;;
7586
 
  sco3.2v5*)
7587
 
    lt_cv_sys_max_cmd_len=102400
7588
 
    ;;
7589
 
  sysv5* | sco5v6* | sysv4.2uw2*)
7590
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7591
 
    if test -n "$kargmax"; then
7592
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
7593
 
    else
7594
 
      lt_cv_sys_max_cmd_len=32768
7595
 
    fi
7596
 
    ;;
7597
 
  *)
7598
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7599
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
7600
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7601
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7602
 
    else
7603
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7604
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7605
 
               = "XX$teststring") >/dev/null 2>&1 &&
7606
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
7607
 
              lt_cv_sys_max_cmd_len=$new_result &&
7608
 
              test $i != 17 # 1/2 MB should be enough
7609
 
      do
7610
 
        i=`expr $i + 1`
7611
 
        teststring=$teststring$teststring
7612
 
      done
7613
 
      teststring=
7614
 
      # Add a significant safety factor because C++ compilers can tack on massive
7615
 
      # amounts of additional arguments before passing them to the linker.
7616
 
      # It appears as though 1/2 is a usable value.
7617
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7618
 
    fi
7619
 
    ;;
7620
 
  esac
7621
 
 
7622
 
fi
7623
 
 
7624
 
if test -n $lt_cv_sys_max_cmd_len ; then
7625
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7626
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7627
 
else
7628
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
7629
 
$as_echo "none" >&6; }
7630
 
fi
7631
 
 
7632
 
 
7633
 
 
7634
 
 
7635
6933
 
7636
6934
# Check for command to grab the raw symbol name followed by C symbol from nm.
7637
6935
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7649
6947
# Regexp to match symbols that can be accessed directly from C.
7650
6948
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7651
6949
 
7652
 
# Transform an extracted symbol line into a proper C declaration
7653
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7654
 
 
7655
 
# Transform an extracted symbol line into symbol name and symbol address
7656
 
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'"
7657
 
 
7658
6950
# Define system-specific variables.
7659
6951
case $host_os in
7660
6952
aix*)
7661
6953
  symcode='[BCDT]'
7662
6954
  ;;
7663
 
cygwin* | mingw* | pw32*)
 
6955
cygwin* | mingw* | pw32* | cegcc*)
7664
6956
  symcode='[ABCDGISTW]'
7665
6957
  ;;
7666
 
hpux*) # Its linker distinguishes data from code symbols
 
6958
hpux*)
7667
6959
  if test "$host_cpu" = ia64; then
7668
6960
    symcode='[ABCDEGRST]'
7669
6961
  fi
7670
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7671
 
  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'"
7672
 
  ;;
7673
 
linux* | k*bsd*-gnu)
7674
 
  if test "$host_cpu" = ia64; then
7675
 
    symcode='[ABCDGIRSTW]'
7676
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7677
 
    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'"
7678
 
  fi
7679
6962
  ;;
7680
6963
irix* | nonstopux*)
7681
6964
  symcode='[BCDEGRST]'
7700
6983
  ;;
7701
6984
esac
7702
6985
 
 
6986
# If we're using GNU nm, then use its standard symbol codes.
 
6987
case `$NM -V 2>&1` in
 
6988
*GNU* | *'with BFD'*)
 
6989
  symcode='[ABCDGIRSTW]' ;;
 
6990
esac
 
6991
 
 
6992
# Transform an extracted symbol line into a proper C declaration.
 
6993
# Some systems (esp. on ia64) link data and code symbols differently,
 
6994
# so use this general approach.
 
6995
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6996
 
 
6997
# Transform an extracted symbol line into symbol name and symbol address
 
6998
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6999
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'"
 
7000
 
7703
7001
# Handle CRLF in mingw tool chain
7704
7002
opt_cr=
7705
7003
case $build_os in
7706
7004
mingw*)
7707
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
7005
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7708
7006
  ;;
7709
7007
esac
7710
7008
 
7711
 
# If we're using GNU nm, then use its standard symbol codes.
7712
 
case `$NM -V 2>&1` in
7713
 
*GNU* | *'with BFD'*)
7714
 
  symcode='[ABCDGIRSTW]' ;;
7715
 
esac
7716
 
 
7717
 
# Try without a prefix undercore, then with it.
 
7009
# Try without a prefix underscore, then with it.
7718
7010
for ac_symprfx in "" "_"; do
7719
7011
 
7720
7012
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7721
7013
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7722
7014
 
7723
7015
  # Write the raw and C identifiers.
7724
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7016
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7017
    # Fake it for dumpbin and say T for any non-static function
 
7018
    # and D for any global variable.
 
7019
    # Also find C++ and __fastcall symbols from MSVC++,
 
7020
    # which start with @ or ?.
 
7021
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
7022
"     {last_section=section; section=\$ 3};"\
 
7023
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
7024
"     \$ 0!~/External *\|/{next};"\
 
7025
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
7026
"     {if(hide[section]) next};"\
 
7027
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
7028
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
7029
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
7030
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
7031
"     ' prfx=^$ac_symprfx"
 
7032
  else
 
7033
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7034
  fi
7725
7035
 
7726
7036
  # Check to see that the pipe works correctly.
7727
7037
  pipe_works=no
7728
7038
 
7729
7039
  rm -f conftest*
7730
 
  cat > conftest.$ac_ext <<EOF
 
7040
  cat > conftest.$ac_ext <<_LT_EOF
7731
7041
#ifdef __cplusplus
7732
7042
extern "C" {
7733
7043
#endif
7734
7044
char nm_test_var;
7735
 
void nm_test_func(){}
 
7045
void nm_test_func(void);
 
7046
void nm_test_func(void){}
7736
7047
#ifdef __cplusplus
7737
7048
}
7738
7049
#endif
7739
7050
int main(){nm_test_var='a';nm_test_func();return(0);}
7740
 
EOF
 
7051
_LT_EOF
7741
7052
 
7742
7053
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7743
7054
  (eval $ac_compile) 2>&5
7759
7070
      fi
7760
7071
 
7761
7072
      # Make sure that we snagged all the symbols we need.
7762
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
7763
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
7764
 
          cat <<EOF > conftest.$ac_ext
 
7073
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
7074
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
7075
          cat <<_LT_EOF > conftest.$ac_ext
7765
7076
#ifdef __cplusplus
7766
7077
extern "C" {
7767
7078
#endif
7768
7079
 
7769
 
EOF
 
7080
_LT_EOF
7770
7081
          # Now generate the symbol file.
7771
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7772
 
 
7773
 
          cat <<EOF >> conftest.$ac_ext
7774
 
#if defined (__STDC__) && __STDC__
7775
 
# define lt_ptr_t void *
7776
 
#else
7777
 
# define lt_ptr_t char *
7778
 
# define const
7779
 
#endif
7780
 
 
7781
 
/* The mapping between symbol names and symbols. */
 
7082
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
7083
 
 
7084
          cat <<_LT_EOF >> conftest.$ac_ext
 
7085
 
 
7086
/* The mapping between symbol names and symbols.  */
7782
7087
const struct {
7783
7088
  const char *name;
7784
 
  lt_ptr_t address;
 
7089
  void       *address;
7785
7090
}
7786
 
lt_preloaded_symbols[] =
 
7091
lt__PROGRAM__LTX_preloaded_symbols[] =
7787
7092
{
7788
 
EOF
7789
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7790
 
          cat <<\EOF >> conftest.$ac_ext
7791
 
  {0, (lt_ptr_t) 0}
 
7093
  { "@PROGRAM@", (void *) 0 },
 
7094
_LT_EOF
 
7095
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
7096
          cat <<\_LT_EOF >> conftest.$ac_ext
 
7097
  {0, (void *) 0}
7792
7098
};
7793
7099
 
 
7100
/* This works around a problem in FreeBSD linker */
 
7101
#ifdef FREEBSD_WORKAROUND
 
7102
static const void *lt_preloaded_setup() {
 
7103
  return lt__PROGRAM__LTX_preloaded_symbols;
 
7104
}
 
7105
#endif
 
7106
 
7794
7107
#ifdef __cplusplus
7795
7108
}
7796
7109
#endif
7797
 
EOF
 
7110
_LT_EOF
7798
7111
          # Now try linking the two files.
7799
7112
          mv conftest.$ac_objext conftstm.$ac_objext
7800
7113
          lt_save_LIBS="$LIBS"
7846
7159
$as_echo "ok" >&6; }
7847
7160
fi
7848
7161
 
7849
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
7850
 
$as_echo_n "checking for objdir... " >&6; }
7851
 
if test "${lt_cv_objdir+set}" = set; then
7852
 
  $as_echo_n "(cached) " >&6
7853
 
else
7854
 
  rm -f .libs 2>/dev/null
7855
 
mkdir .libs 2>/dev/null
7856
 
if test -d .libs; then
7857
 
  lt_cv_objdir=.libs
7858
 
else
7859
 
  # MS-DOS does not allow filenames that begin with a dot.
7860
 
  lt_cv_objdir=_libs
7861
 
fi
7862
 
rmdir .libs 2>/dev/null
7863
 
fi
7864
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7865
 
$as_echo "$lt_cv_objdir" >&6; }
7866
 
objdir=$lt_cv_objdir
7867
 
 
7868
 
 
7869
 
 
7870
 
 
7871
 
 
7872
 
case $host_os in
7873
 
aix3*)
7874
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
7875
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7876
 
  # vanish in a puff of smoke.
7877
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
7878
 
    COLLECT_NAMES=
7879
 
    export COLLECT_NAMES
7880
 
  fi
7881
 
  ;;
7882
 
esac
7883
 
 
7884
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7885
 
# metacharacters that are still active within double-quoted strings.
7886
 
Xsed='sed -e 1s/^X//'
7887
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7888
 
 
7889
 
# Same as above, but do not quote variable references.
7890
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7891
 
 
7892
 
# Sed substitution to delay expansion of an escaped shell variable in a
7893
 
# double_quote_subst'ed string.
7894
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7895
 
 
7896
 
# Sed substitution to avoid accidental globbing in evaled expressions
7897
 
no_glob_subst='s/\*/\\\*/g'
7898
 
 
7899
 
# Constants:
7900
 
rm="rm -f"
7901
 
 
7902
 
# Global variables:
7903
 
default_ofile=libtool
7904
 
can_build_shared=yes
7905
 
 
7906
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7907
 
# which needs '.lib').
7908
 
libext=a
7909
 
ltmain="$ac_aux_dir/ltmain.sh"
7910
 
ofile="$default_ofile"
7911
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7912
 
 
7913
 
if test -n "$ac_tool_prefix"; then
7914
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7915
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
7916
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7917
 
$as_echo_n "checking for $ac_word... " >&6; }
7918
 
if test "${ac_cv_prog_AR+set}" = set; then
7919
 
  $as_echo_n "(cached) " >&6
7920
 
else
7921
 
  if test -n "$AR"; then
7922
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
7923
 
else
7924
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925
 
for as_dir in $PATH
7926
 
do
7927
 
  IFS=$as_save_IFS
7928
 
  test -z "$as_dir" && as_dir=.
7929
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7930
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7931
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7932
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7933
 
    break 2
7934
 
  fi
7935
 
done
7936
 
done
7937
 
IFS=$as_save_IFS
7938
 
 
7939
 
fi
7940
 
fi
7941
 
AR=$ac_cv_prog_AR
7942
 
if test -n "$AR"; then
7943
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
7944
 
$as_echo "$AR" >&6; }
7945
 
else
7946
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7947
 
$as_echo "no" >&6; }
7948
 
fi
7949
 
 
7950
 
 
7951
 
fi
7952
 
if test -z "$ac_cv_prog_AR"; then
7953
 
  ac_ct_AR=$AR
7954
 
  # Extract the first word of "ar", so it can be a program name with args.
7955
 
set dummy ar; ac_word=$2
7956
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7957
 
$as_echo_n "checking for $ac_word... " >&6; }
7958
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7959
 
  $as_echo_n "(cached) " >&6
7960
 
else
7961
 
  if test -n "$ac_ct_AR"; then
7962
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7963
 
else
7964
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965
 
for as_dir in $PATH
7966
 
do
7967
 
  IFS=$as_save_IFS
7968
 
  test -z "$as_dir" && as_dir=.
7969
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7970
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7971
 
    ac_cv_prog_ac_ct_AR="ar"
7972
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7973
 
    break 2
7974
 
  fi
7975
 
done
7976
 
done
7977
 
IFS=$as_save_IFS
7978
 
 
7979
 
fi
7980
 
fi
7981
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7982
 
if test -n "$ac_ct_AR"; then
7983
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7984
 
$as_echo "$ac_ct_AR" >&6; }
7985
 
else
7986
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7987
 
$as_echo "no" >&6; }
7988
 
fi
7989
 
 
7990
 
  if test "x$ac_ct_AR" = x; then
7991
 
    AR="false"
7992
 
  else
7993
 
    case $cross_compiling:$ac_tool_warned in
7994
 
yes:)
7995
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7996
 
whose name does not start with the host triplet.  If you think this
7997
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7998
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7999
 
whose name does not start with the host triplet.  If you think this
8000
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8001
 
ac_tool_warned=yes ;;
8002
 
esac
8003
 
    AR=$ac_ct_AR
8004
 
  fi
8005
 
else
8006
 
  AR="$ac_cv_prog_AR"
8007
 
fi
8008
 
 
8009
 
if test -n "$ac_tool_prefix"; then
8010
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8011
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8012
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8013
 
$as_echo_n "checking for $ac_word... " >&6; }
8014
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
8015
 
  $as_echo_n "(cached) " >&6
8016
 
else
8017
 
  if test -n "$RANLIB"; then
8018
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8019
 
else
8020
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021
 
for as_dir in $PATH
8022
 
do
8023
 
  IFS=$as_save_IFS
8024
 
  test -z "$as_dir" && as_dir=.
8025
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8026
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8027
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8028
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8029
 
    break 2
8030
 
  fi
8031
 
done
8032
 
done
8033
 
IFS=$as_save_IFS
8034
 
 
8035
 
fi
8036
 
fi
8037
 
RANLIB=$ac_cv_prog_RANLIB
8038
 
if test -n "$RANLIB"; then
8039
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
8040
 
$as_echo "$RANLIB" >&6; }
8041
 
else
8042
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8043
 
$as_echo "no" >&6; }
8044
 
fi
8045
 
 
8046
 
 
8047
 
fi
8048
 
if test -z "$ac_cv_prog_RANLIB"; then
8049
 
  ac_ct_RANLIB=$RANLIB
8050
 
  # Extract the first word of "ranlib", so it can be a program name with args.
8051
 
set dummy ranlib; ac_word=$2
8052
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8053
 
$as_echo_n "checking for $ac_word... " >&6; }
8054
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8055
 
  $as_echo_n "(cached) " >&6
8056
 
else
8057
 
  if test -n "$ac_ct_RANLIB"; then
8058
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8059
 
else
8060
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061
 
for as_dir in $PATH
8062
 
do
8063
 
  IFS=$as_save_IFS
8064
 
  test -z "$as_dir" && as_dir=.
8065
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8066
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8067
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
8068
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8069
 
    break 2
8070
 
  fi
8071
 
done
8072
 
done
8073
 
IFS=$as_save_IFS
8074
 
 
8075
 
fi
8076
 
fi
8077
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8078
 
if test -n "$ac_ct_RANLIB"; then
8079
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8080
 
$as_echo "$ac_ct_RANLIB" >&6; }
8081
 
else
8082
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8083
 
$as_echo "no" >&6; }
8084
 
fi
8085
 
 
8086
 
  if test "x$ac_ct_RANLIB" = x; then
8087
 
    RANLIB=":"
8088
 
  else
8089
 
    case $cross_compiling:$ac_tool_warned in
8090
 
yes:)
8091
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8092
 
whose name does not start with the host triplet.  If you think this
8093
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8094
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8095
 
whose name does not start with the host triplet.  If you think this
8096
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8097
 
ac_tool_warned=yes ;;
8098
 
esac
8099
 
    RANLIB=$ac_ct_RANLIB
8100
 
  fi
8101
 
else
8102
 
  RANLIB="$ac_cv_prog_RANLIB"
8103
 
fi
8104
 
 
8105
 
if test -n "$ac_tool_prefix"; then
8106
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8107
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
8108
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8109
 
$as_echo_n "checking for $ac_word... " >&6; }
8110
 
if test "${ac_cv_prog_STRIP+set}" = set; then
8111
 
  $as_echo_n "(cached) " >&6
8112
 
else
8113
 
  if test -n "$STRIP"; then
8114
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8115
 
else
8116
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8117
 
for as_dir in $PATH
8118
 
do
8119
 
  IFS=$as_save_IFS
8120
 
  test -z "$as_dir" && as_dir=.
8121
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8122
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8123
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8124
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8125
 
    break 2
8126
 
  fi
8127
 
done
8128
 
done
8129
 
IFS=$as_save_IFS
8130
 
 
8131
 
fi
8132
 
fi
8133
 
STRIP=$ac_cv_prog_STRIP
8134
 
if test -n "$STRIP"; then
8135
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
8136
 
$as_echo "$STRIP" >&6; }
8137
 
else
8138
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8139
 
$as_echo "no" >&6; }
8140
 
fi
8141
 
 
8142
 
 
8143
 
fi
8144
 
if test -z "$ac_cv_prog_STRIP"; then
8145
 
  ac_ct_STRIP=$STRIP
8146
 
  # Extract the first word of "strip", so it can be a program name with args.
8147
 
set dummy strip; 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_ac_ct_STRIP+set}" = set; then
8151
 
  $as_echo_n "(cached) " >&6
8152
 
else
8153
 
  if test -n "$ac_ct_STRIP"; then
8154
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_ac_ct_STRIP="strip"
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
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8174
 
if test -n "$ac_ct_STRIP"; then
8175
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8176
 
$as_echo "$ac_ct_STRIP" >&6; }
8177
 
else
8178
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8179
 
$as_echo "no" >&6; }
8180
 
fi
8181
 
 
8182
 
  if test "x$ac_ct_STRIP" = x; then
8183
 
    STRIP=":"
8184
 
  else
8185
 
    case $cross_compiling:$ac_tool_warned in
8186
 
yes:)
8187
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8188
 
whose name does not start with the host triplet.  If you think this
8189
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8190
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8191
 
whose name does not start with the host triplet.  If you think this
8192
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8193
 
ac_tool_warned=yes ;;
8194
 
esac
8195
 
    STRIP=$ac_ct_STRIP
8196
 
  fi
8197
 
else
8198
 
  STRIP="$ac_cv_prog_STRIP"
8199
 
fi
8200
 
 
8201
 
 
8202
 
old_CC="$CC"
8203
 
old_CFLAGS="$CFLAGS"
8204
 
 
8205
 
# Set sane defaults for various variables
8206
 
test -z "$AR" && AR=ar
8207
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
8208
 
test -z "$AS" && AS=as
8209
 
test -z "$CC" && CC=cc
8210
 
test -z "$LTCC" && LTCC=$CC
8211
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8212
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
8213
 
test -z "$LD" && LD=ld
8214
 
test -z "$LN_S" && LN_S="ln -s"
8215
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8216
 
test -z "$NM" && NM=nm
8217
 
test -z "$SED" && SED=sed
8218
 
test -z "$OBJDUMP" && OBJDUMP=objdump
8219
 
test -z "$RANLIB" && RANLIB=:
8220
 
test -z "$STRIP" && STRIP=:
8221
 
test -z "$ac_objext" && ac_objext=o
8222
 
 
8223
 
# Determine commands to create old-style static archives.
8224
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8225
 
old_postinstall_cmds='chmod 644 $oldlib'
8226
 
old_postuninstall_cmds=
8227
 
 
8228
 
if test -n "$RANLIB"; then
8229
 
  case $host_os in
8230
 
  openbsd*)
8231
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8232
 
    ;;
8233
 
  *)
8234
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8235
 
    ;;
8236
 
  esac
8237
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8238
 
fi
8239
 
 
8240
 
for cc_temp in $compiler""; do
8241
 
  case $cc_temp in
8242
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8243
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8244
 
    \-*) ;;
8245
 
    *) break;;
8246
 
  esac
8247
 
done
8248
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8249
 
 
8250
 
 
8251
 
# Only perform the check for file, if the check method requires it
8252
 
case $deplibs_check_method in
8253
 
file_magic*)
8254
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8255
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8256
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8257
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8258
 
  $as_echo_n "(cached) " >&6
8259
 
else
8260
 
  case $MAGIC_CMD in
8261
 
[\\/*] |  ?:[\\/]*)
8262
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8263
 
  ;;
8264
 
*)
8265
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8266
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8267
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8268
 
  for ac_dir in $ac_dummy; do
8269
 
    IFS="$lt_save_ifs"
8270
 
    test -z "$ac_dir" && ac_dir=.
8271
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8272
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8273
 
      if test -n "$file_magic_test_file"; then
8274
 
        case $deplibs_check_method in
8275
 
        "file_magic "*)
8276
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8277
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8278
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8279
 
            $EGREP "$file_magic_regex" > /dev/null; then
8280
 
            :
8281
 
          else
8282
 
            cat <<EOF 1>&2
8283
 
 
8284
 
*** Warning: the command libtool uses to detect shared libraries,
8285
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8286
 
*** The result is that libtool may fail to recognize shared libraries
8287
 
*** as such.  This will affect the creation of libtool libraries that
8288
 
*** depend on shared libraries, but programs linked with such libtool
8289
 
*** libraries will work regardless of this problem.  Nevertheless, you
8290
 
*** may want to report the problem to your system manager and/or to
8291
 
*** bug-libtool@gnu.org
8292
 
 
8293
 
EOF
8294
 
          fi ;;
8295
 
        esac
8296
 
      fi
8297
 
      break
8298
 
    fi
8299
 
  done
8300
 
  IFS="$lt_save_ifs"
8301
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8302
 
  ;;
8303
 
esac
8304
 
fi
8305
 
 
8306
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8307
 
if test -n "$MAGIC_CMD"; then
8308
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8309
 
$as_echo "$MAGIC_CMD" >&6; }
8310
 
else
8311
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8312
 
$as_echo "no" >&6; }
8313
 
fi
8314
 
 
8315
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8316
 
  if test -n "$ac_tool_prefix"; then
8317
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
8318
 
$as_echo_n "checking for file... " >&6; }
8319
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8320
 
  $as_echo_n "(cached) " >&6
8321
 
else
8322
 
  case $MAGIC_CMD in
8323
 
[\\/*] |  ?:[\\/]*)
8324
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8325
 
  ;;
8326
 
*)
8327
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8328
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8329
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8330
 
  for ac_dir in $ac_dummy; do
8331
 
    IFS="$lt_save_ifs"
8332
 
    test -z "$ac_dir" && ac_dir=.
8333
 
    if test -f $ac_dir/file; then
8334
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8335
 
      if test -n "$file_magic_test_file"; then
8336
 
        case $deplibs_check_method in
8337
 
        "file_magic "*)
8338
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8339
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8340
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8341
 
            $EGREP "$file_magic_regex" > /dev/null; then
8342
 
            :
8343
 
          else
8344
 
            cat <<EOF 1>&2
8345
 
 
8346
 
*** Warning: the command libtool uses to detect shared libraries,
8347
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8348
 
*** The result is that libtool may fail to recognize shared libraries
8349
 
*** as such.  This will affect the creation of libtool libraries that
8350
 
*** depend on shared libraries, but programs linked with such libtool
8351
 
*** libraries will work regardless of this problem.  Nevertheless, you
8352
 
*** may want to report the problem to your system manager and/or to
8353
 
*** bug-libtool@gnu.org
8354
 
 
8355
 
EOF
8356
 
          fi ;;
8357
 
        esac
8358
 
      fi
8359
 
      break
8360
 
    fi
8361
 
  done
8362
 
  IFS="$lt_save_ifs"
8363
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8364
 
  ;;
8365
 
esac
8366
 
fi
8367
 
 
8368
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8369
 
if test -n "$MAGIC_CMD"; then
8370
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8371
 
$as_echo "$MAGIC_CMD" >&6; }
8372
 
else
8373
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8374
 
$as_echo "no" >&6; }
8375
 
fi
8376
 
 
8377
 
  else
8378
 
    MAGIC_CMD=:
8379
 
  fi
8380
 
fi
8381
 
 
8382
 
  fi
8383
 
  ;;
8384
 
esac
 
7162
 
 
7163
 
 
7164
 
 
7165
 
 
7166
 
 
7167
 
 
7168
 
 
7169
 
 
7170
 
 
7171
 
 
7172
 
 
7173
 
 
7174
 
 
7175
 
 
7176
 
 
7177
 
 
7178
 
 
7179
 
 
7180
 
 
7181
 
 
7182
 
 
7183
# Check whether --enable-libtool-lock was given.
 
7184
if test "${enable_libtool_lock+set}" = set; then
 
7185
  enableval=$enable_libtool_lock;
 
7186
fi
 
7187
 
 
7188
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
7189
 
 
7190
# Some flags need to be propagated to the compiler or linker for good
 
7191
# libtool support.
 
7192
case $host in
 
7193
ia64-*-hpux*)
 
7194
  # Find out which ABI we are using.
 
7195
  echo 'int i;' > conftest.$ac_ext
 
7196
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7197
  (eval $ac_compile) 2>&5
 
7198
  ac_status=$?
 
7199
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7200
  (exit $ac_status); }; then
 
7201
    case `/usr/bin/file conftest.$ac_objext` in
 
7202
      *ELF-32*)
 
7203
        HPUX_IA64_MODE="32"
 
7204
        ;;
 
7205
      *ELF-64*)
 
7206
        HPUX_IA64_MODE="64"
 
7207
        ;;
 
7208
    esac
 
7209
  fi
 
7210
  rm -rf conftest*
 
7211
  ;;
 
7212
*-*-irix6*)
 
7213
  # Find out which ABI we are using.
 
7214
  echo '#line 7214 "configure"' > conftest.$ac_ext
 
7215
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7216
  (eval $ac_compile) 2>&5
 
7217
  ac_status=$?
 
7218
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7219
  (exit $ac_status); }; then
 
7220
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
7221
      case `/usr/bin/file conftest.$ac_objext` in
 
7222
        *32-bit*)
 
7223
          LD="${LD-ld} -melf32bsmip"
 
7224
          ;;
 
7225
        *N32*)
 
7226
          LD="${LD-ld} -melf32bmipn32"
 
7227
          ;;
 
7228
        *64-bit*)
 
7229
          LD="${LD-ld} -melf64bmip"
 
7230
        ;;
 
7231
      esac
 
7232
    else
 
7233
      case `/usr/bin/file conftest.$ac_objext` in
 
7234
        *32-bit*)
 
7235
          LD="${LD-ld} -32"
 
7236
          ;;
 
7237
        *N32*)
 
7238
          LD="${LD-ld} -n32"
 
7239
          ;;
 
7240
        *64-bit*)
 
7241
          LD="${LD-ld} -64"
 
7242
          ;;
 
7243
      esac
 
7244
    fi
 
7245
  fi
 
7246
  rm -rf conftest*
 
7247
  ;;
 
7248
 
 
7249
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
7250
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
7251
  # Find out which ABI we are using.
 
7252
  echo 'int i;' > conftest.$ac_ext
 
7253
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7254
  (eval $ac_compile) 2>&5
 
7255
  ac_status=$?
 
7256
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7257
  (exit $ac_status); }; then
 
7258
    case `/usr/bin/file conftest.o` in
 
7259
      *32-bit*)
 
7260
        case $host in
 
7261
          x86_64-*kfreebsd*-gnu)
 
7262
            LD="${LD-ld} -m elf_i386_fbsd"
 
7263
            ;;
 
7264
          x86_64-*linux*)
 
7265
            LD="${LD-ld} -m elf_i386"
 
7266
            ;;
 
7267
          ppc64-*linux*|powerpc64-*linux*)
 
7268
            LD="${LD-ld} -m elf32ppclinux"
 
7269
            ;;
 
7270
          s390x-*linux*)
 
7271
            LD="${LD-ld} -m elf_s390"
 
7272
            ;;
 
7273
          sparc64-*linux*)
 
7274
            LD="${LD-ld} -m elf32_sparc"
 
7275
            ;;
 
7276
        esac
 
7277
        ;;
 
7278
      *64-bit*)
 
7279
        case $host in
 
7280
          x86_64-*kfreebsd*-gnu)
 
7281
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
7282
            ;;
 
7283
          x86_64-*linux*)
 
7284
            LD="${LD-ld} -m elf_x86_64"
 
7285
            ;;
 
7286
          ppc*-*linux*|powerpc*-*linux*)
 
7287
            LD="${LD-ld} -m elf64ppc"
 
7288
            ;;
 
7289
          s390*-*linux*|s390*-*tpf*)
 
7290
            LD="${LD-ld} -m elf64_s390"
 
7291
            ;;
 
7292
          sparc*-*linux*)
 
7293
            LD="${LD-ld} -m elf64_sparc"
 
7294
            ;;
 
7295
        esac
 
7296
        ;;
 
7297
    esac
 
7298
  fi
 
7299
  rm -rf conftest*
 
7300
  ;;
 
7301
 
 
7302
*-*-sco3.2v5*)
 
7303
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
7304
  SAVE_CFLAGS="$CFLAGS"
 
7305
  CFLAGS="$CFLAGS -belf"
 
7306
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7307
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
7308
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
7309
  $as_echo_n "(cached) " >&6
 
7310
else
 
7311
  ac_ext=c
 
7312
ac_cpp='$CPP $CPPFLAGS'
 
7313
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7314
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7315
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7316
 
 
7317
     cat >conftest.$ac_ext <<_ACEOF
 
7318
/* confdefs.h.  */
 
7319
_ACEOF
 
7320
cat confdefs.h >>conftest.$ac_ext
 
7321
cat >>conftest.$ac_ext <<_ACEOF
 
7322
/* end confdefs.h.  */
 
7323
 
 
7324
int
 
7325
main ()
 
7326
{
 
7327
 
 
7328
  ;
 
7329
  return 0;
 
7330
}
 
7331
_ACEOF
 
7332
rm -f conftest.$ac_objext conftest$ac_exeext
 
7333
if { (ac_try="$ac_link"
 
7334
case "(($ac_try" in
 
7335
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7336
  *) ac_try_echo=$ac_try;;
 
7337
esac
 
7338
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7339
$as_echo "$ac_try_echo") >&5
 
7340
  (eval "$ac_link") 2>conftest.er1
 
7341
  ac_status=$?
 
7342
  grep -v '^ *+' conftest.er1 >conftest.err
 
7343
  rm -f conftest.er1
 
7344
  cat conftest.err >&5
 
7345
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7346
  (exit $ac_status); } && {
 
7347
         test -z "$ac_c_werror_flag" ||
 
7348
         test ! -s conftest.err
 
7349
       } && test -s conftest$ac_exeext && {
 
7350
         test "$cross_compiling" = yes ||
 
7351
         $as_test_x conftest$ac_exeext
 
7352
       }; then
 
7353
  lt_cv_cc_needs_belf=yes
 
7354
else
 
7355
  $as_echo "$as_me: failed program was:" >&5
 
7356
sed 's/^/| /' conftest.$ac_ext >&5
 
7357
 
 
7358
        lt_cv_cc_needs_belf=no
 
7359
fi
 
7360
 
 
7361
rm -rf conftest.dSYM
 
7362
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7363
      conftest$ac_exeext conftest.$ac_ext
 
7364
     ac_ext=c
 
7365
ac_cpp='$CPP $CPPFLAGS'
 
7366
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7367
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7368
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7369
 
 
7370
fi
 
7371
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7372
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
7373
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
7374
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
7375
    CFLAGS="$SAVE_CFLAGS"
 
7376
  fi
 
7377
  ;;
 
7378
sparc*-*solaris*)
 
7379
  # Find out which ABI we are using.
 
7380
  echo 'int i;' > conftest.$ac_ext
 
7381
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7382
  (eval $ac_compile) 2>&5
 
7383
  ac_status=$?
 
7384
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7385
  (exit $ac_status); }; then
 
7386
    case `/usr/bin/file conftest.o` in
 
7387
    *64-bit*)
 
7388
      case $lt_cv_prog_gnu_ld in
 
7389
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
7390
      *)
 
7391
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
7392
          LD="${LD-ld} -64"
 
7393
        fi
 
7394
        ;;
 
7395
      esac
 
7396
      ;;
 
7397
    esac
 
7398
  fi
 
7399
  rm -rf conftest*
 
7400
  ;;
 
7401
esac
 
7402
 
 
7403
need_locks="$enable_libtool_lock"
8385
7404
 
8386
7405
 
8387
7406
  case $host_os in
8468
7487
  else
8469
7488
    case $cross_compiling:$ac_tool_warned in
8470
7489
yes:)
8471
 
{ $as_echo "$as_me:$LINENO: 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." >&5
8474
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8475
 
whose name does not start with the host triplet.  If you think this
8476
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7490
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7491
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8477
7492
ac_tool_warned=yes ;;
8478
7493
esac
8479
7494
    DSYMUTIL=$ac_ct_DSYMUTIL
8564
7579
  else
8565
7580
    case $cross_compiling:$ac_tool_warned in
8566
7581
yes:)
8567
 
{ $as_echo "$as_me:$LINENO: 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." >&5
8570
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8571
 
whose name does not start with the host triplet.  If you think this
8572
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7582
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7583
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8573
7584
ac_tool_warned=yes ;;
8574
7585
esac
8575
7586
    NMEDIT=$ac_ct_NMEDIT
8578
7589
  NMEDIT="$ac_cv_prog_NMEDIT"
8579
7590
fi
8580
7591
 
 
7592
    if test -n "$ac_tool_prefix"; then
 
7593
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
7594
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
7595
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7596
$as_echo_n "checking for $ac_word... " >&6; }
 
7597
if test "${ac_cv_prog_LIPO+set}" = set; then
 
7598
  $as_echo_n "(cached) " >&6
 
7599
else
 
7600
  if test -n "$LIPO"; then
 
7601
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
7602
else
 
7603
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7604
for as_dir in $PATH
 
7605
do
 
7606
  IFS=$as_save_IFS
 
7607
  test -z "$as_dir" && as_dir=.
 
7608
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7609
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7610
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
7611
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7612
    break 2
 
7613
  fi
 
7614
done
 
7615
done
 
7616
IFS=$as_save_IFS
 
7617
 
 
7618
fi
 
7619
fi
 
7620
LIPO=$ac_cv_prog_LIPO
 
7621
if test -n "$LIPO"; then
 
7622
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
7623
$as_echo "$LIPO" >&6; }
 
7624
else
 
7625
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7626
$as_echo "no" >&6; }
 
7627
fi
 
7628
 
 
7629
 
 
7630
fi
 
7631
if test -z "$ac_cv_prog_LIPO"; then
 
7632
  ac_ct_LIPO=$LIPO
 
7633
  # Extract the first word of "lipo", so it can be a program name with args.
 
7634
set dummy lipo; ac_word=$2
 
7635
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7636
$as_echo_n "checking for $ac_word... " >&6; }
 
7637
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
7638
  $as_echo_n "(cached) " >&6
 
7639
else
 
7640
  if test -n "$ac_ct_LIPO"; then
 
7641
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
7642
else
 
7643
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7644
for as_dir in $PATH
 
7645
do
 
7646
  IFS=$as_save_IFS
 
7647
  test -z "$as_dir" && as_dir=.
 
7648
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7649
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7650
    ac_cv_prog_ac_ct_LIPO="lipo"
 
7651
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7652
    break 2
 
7653
  fi
 
7654
done
 
7655
done
 
7656
IFS=$as_save_IFS
 
7657
 
 
7658
fi
 
7659
fi
 
7660
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
7661
if test -n "$ac_ct_LIPO"; then
 
7662
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
7663
$as_echo "$ac_ct_LIPO" >&6; }
 
7664
else
 
7665
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7666
$as_echo "no" >&6; }
 
7667
fi
 
7668
 
 
7669
  if test "x$ac_ct_LIPO" = x; then
 
7670
    LIPO=":"
 
7671
  else
 
7672
    case $cross_compiling:$ac_tool_warned in
 
7673
yes:)
 
7674
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7675
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7676
ac_tool_warned=yes ;;
 
7677
esac
 
7678
    LIPO=$ac_ct_LIPO
 
7679
  fi
 
7680
else
 
7681
  LIPO="$ac_cv_prog_LIPO"
 
7682
fi
 
7683
 
 
7684
    if test -n "$ac_tool_prefix"; then
 
7685
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
7686
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
7687
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7688
$as_echo_n "checking for $ac_word... " >&6; }
 
7689
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
7690
  $as_echo_n "(cached) " >&6
 
7691
else
 
7692
  if test -n "$OTOOL"; then
 
7693
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
7694
else
 
7695
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7696
for as_dir in $PATH
 
7697
do
 
7698
  IFS=$as_save_IFS
 
7699
  test -z "$as_dir" && as_dir=.
 
7700
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7701
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7702
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
7703
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7704
    break 2
 
7705
  fi
 
7706
done
 
7707
done
 
7708
IFS=$as_save_IFS
 
7709
 
 
7710
fi
 
7711
fi
 
7712
OTOOL=$ac_cv_prog_OTOOL
 
7713
if test -n "$OTOOL"; then
 
7714
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
7715
$as_echo "$OTOOL" >&6; }
 
7716
else
 
7717
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7718
$as_echo "no" >&6; }
 
7719
fi
 
7720
 
 
7721
 
 
7722
fi
 
7723
if test -z "$ac_cv_prog_OTOOL"; then
 
7724
  ac_ct_OTOOL=$OTOOL
 
7725
  # Extract the first word of "otool", so it can be a program name with args.
 
7726
set dummy otool; ac_word=$2
 
7727
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7728
$as_echo_n "checking for $ac_word... " >&6; }
 
7729
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
7730
  $as_echo_n "(cached) " >&6
 
7731
else
 
7732
  if test -n "$ac_ct_OTOOL"; then
 
7733
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
7734
else
 
7735
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7736
for as_dir in $PATH
 
7737
do
 
7738
  IFS=$as_save_IFS
 
7739
  test -z "$as_dir" && as_dir=.
 
7740
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7741
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7742
    ac_cv_prog_ac_ct_OTOOL="otool"
 
7743
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7744
    break 2
 
7745
  fi
 
7746
done
 
7747
done
 
7748
IFS=$as_save_IFS
 
7749
 
 
7750
fi
 
7751
fi
 
7752
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
7753
if test -n "$ac_ct_OTOOL"; then
 
7754
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
7755
$as_echo "$ac_ct_OTOOL" >&6; }
 
7756
else
 
7757
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7758
$as_echo "no" >&6; }
 
7759
fi
 
7760
 
 
7761
  if test "x$ac_ct_OTOOL" = x; then
 
7762
    OTOOL=":"
 
7763
  else
 
7764
    case $cross_compiling:$ac_tool_warned in
 
7765
yes:)
 
7766
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7767
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7768
ac_tool_warned=yes ;;
 
7769
esac
 
7770
    OTOOL=$ac_ct_OTOOL
 
7771
  fi
 
7772
else
 
7773
  OTOOL="$ac_cv_prog_OTOOL"
 
7774
fi
 
7775
 
 
7776
    if test -n "$ac_tool_prefix"; then
 
7777
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
7778
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
7779
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7780
$as_echo_n "checking for $ac_word... " >&6; }
 
7781
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
7782
  $as_echo_n "(cached) " >&6
 
7783
else
 
7784
  if test -n "$OTOOL64"; then
 
7785
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
7786
else
 
7787
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7788
for as_dir in $PATH
 
7789
do
 
7790
  IFS=$as_save_IFS
 
7791
  test -z "$as_dir" && as_dir=.
 
7792
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7793
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7794
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
7795
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7796
    break 2
 
7797
  fi
 
7798
done
 
7799
done
 
7800
IFS=$as_save_IFS
 
7801
 
 
7802
fi
 
7803
fi
 
7804
OTOOL64=$ac_cv_prog_OTOOL64
 
7805
if test -n "$OTOOL64"; then
 
7806
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7807
$as_echo "$OTOOL64" >&6; }
 
7808
else
 
7809
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7810
$as_echo "no" >&6; }
 
7811
fi
 
7812
 
 
7813
 
 
7814
fi
 
7815
if test -z "$ac_cv_prog_OTOOL64"; then
 
7816
  ac_ct_OTOOL64=$OTOOL64
 
7817
  # Extract the first word of "otool64", so it can be a program name with args.
 
7818
set dummy otool64; ac_word=$2
 
7819
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7820
$as_echo_n "checking for $ac_word... " >&6; }
 
7821
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7822
  $as_echo_n "(cached) " >&6
 
7823
else
 
7824
  if test -n "$ac_ct_OTOOL64"; then
 
7825
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7826
else
 
7827
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7828
for as_dir in $PATH
 
7829
do
 
7830
  IFS=$as_save_IFS
 
7831
  test -z "$as_dir" && as_dir=.
 
7832
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7833
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7834
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7835
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7836
    break 2
 
7837
  fi
 
7838
done
 
7839
done
 
7840
IFS=$as_save_IFS
 
7841
 
 
7842
fi
 
7843
fi
 
7844
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7845
if test -n "$ac_ct_OTOOL64"; then
 
7846
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7847
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7848
else
 
7849
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7850
$as_echo "no" >&6; }
 
7851
fi
 
7852
 
 
7853
  if test "x$ac_ct_OTOOL64" = x; then
 
7854
    OTOOL64=":"
 
7855
  else
 
7856
    case $cross_compiling:$ac_tool_warned in
 
7857
yes:)
 
7858
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7859
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7860
ac_tool_warned=yes ;;
 
7861
esac
 
7862
    OTOOL64=$ac_ct_OTOOL64
 
7863
  fi
 
7864
else
 
7865
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7866
fi
 
7867
 
 
7868
 
 
7869
 
 
7870
 
 
7871
 
 
7872
 
 
7873
 
 
7874
 
 
7875
 
 
7876
 
 
7877
 
 
7878
 
 
7879
 
 
7880
 
 
7881
 
 
7882
 
 
7883
 
 
7884
 
 
7885
 
 
7886
 
 
7887
 
 
7888
 
 
7889
 
 
7890
 
 
7891
 
 
7892
 
8581
7893
 
8582
7894
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8583
7895
$as_echo_n "checking for -single_module linker flag... " >&6; }
8586
7898
else
8587
7899
  lt_cv_apple_cc_single_mod=no
8588
7900
      if test -z "${LT_MULTI_MODULE}"; then
8589
 
   # By default we will add the -single_module flag. You can override
8590
 
   # by either setting the environment variable LT_MULTI_MODULE
8591
 
   # non-empty at configure time, or by adding -multi_module to the
8592
 
   # link flags.
8593
 
   echo "int foo(void){return 1;}" > conftest.c
8594
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8595
 
     -dynamiclib ${wl}-single_module conftest.c
8596
 
   if test -f libconftest.dylib; then
8597
 
     lt_cv_apple_cc_single_mod=yes
8598
 
     rm -rf libconftest.dylib*
8599
 
   fi
8600
 
   rm conftest.c
 
7901
        # By default we will add the -single_module flag. You can override
 
7902
        # by either setting the environment variable LT_MULTI_MODULE
 
7903
        # non-empty at configure time, or by adding -multi_module to the
 
7904
        # link flags.
 
7905
        rm -rf libconftest.dylib*
 
7906
        echo "int foo(void){return 1;}" > conftest.c
 
7907
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7908
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7909
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7910
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7911
        _lt_result=$?
 
7912
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7913
          lt_cv_apple_cc_single_mod=yes
 
7914
        else
 
7915
          cat conftest.err >&5
 
7916
        fi
 
7917
        rm -rf libconftest.dylib*
 
7918
        rm -f conftest.*
8601
7919
      fi
8602
7920
fi
8603
7921
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8658
7976
rm -rf conftest.dSYM
8659
7977
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8660
7978
      conftest$ac_exeext conftest.$ac_ext
8661
 
   LDFLAGS="$save_LDFLAGS"
 
7979
        LDFLAGS="$save_LDFLAGS"
8662
7980
 
8663
7981
fi
8664
7982
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8665
7983
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8666
7984
    case $host_os in
8667
 
    rhapsody* | darwin1.[0123])
 
7985
    rhapsody* | darwin1.[012])
8668
7986
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8669
7987
    darwin1.*)
8670
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8671
 
    darwin*)
 
7988
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7989
    darwin*) # darwin 5.x on
8672
7990
      # if running on 10.5 or later, the deployment target defaults
8673
7991
      # to the OS version, if on x86, and 10.4, the deployment
8674
7992
      # target defaults to 10.4. Don't you love it?
8675
7993
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8676
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8677
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8678
 
   10.[012]*)
8679
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8680
 
   10.*)
8681
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7994
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7995
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7996
        10.[012]*)
 
7997
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7998
        10.*)
 
7999
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8682
8000
      esac
8683
8001
    ;;
8684
8002
  esac
8688
8006
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8689
8007
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8690
8008
    else
8691
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
8009
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8692
8010
    fi
8693
8011
    if test "$DSYMUTIL" != ":"; then
8694
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
8012
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8695
8013
    else
8696
8014
      _lt_dsymutil=
8697
8015
    fi
8698
8016
    ;;
8699
8017
  esac
8700
8018
 
8701
 
 
8702
 
enable_dlopen=no
8703
 
enable_win32_dll=no
8704
 
 
8705
 
# Check whether --enable-libtool-lock was given.
8706
 
if test "${enable_libtool_lock+set}" = set; then
8707
 
  enableval=$enable_libtool_lock;
8708
 
fi
8709
 
 
8710
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8019
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
8020
 
 
8021
 
 
8022
 
 
8023
 
 
8024
 
 
8025
 
 
8026
 
 
8027
 
 
8028
 
 
8029
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
8030
                  inttypes.h stdint.h unistd.h
 
8031
do
 
8032
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8033
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8034
$as_echo_n "checking for $ac_header... " >&6; }
 
8035
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8036
  $as_echo_n "(cached) " >&6
 
8037
else
 
8038
  cat >conftest.$ac_ext <<_ACEOF
 
8039
/* confdefs.h.  */
 
8040
_ACEOF
 
8041
cat confdefs.h >>conftest.$ac_ext
 
8042
cat >>conftest.$ac_ext <<_ACEOF
 
8043
/* end confdefs.h.  */
 
8044
$ac_includes_default
 
8045
 
 
8046
#include <$ac_header>
 
8047
_ACEOF
 
8048
rm -f conftest.$ac_objext
 
8049
if { (ac_try="$ac_compile"
 
8050
case "(($ac_try" in
 
8051
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8052
  *) ac_try_echo=$ac_try;;
 
8053
esac
 
8054
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8055
$as_echo "$ac_try_echo") >&5
 
8056
  (eval "$ac_compile") 2>conftest.er1
 
8057
  ac_status=$?
 
8058
  grep -v '^ *+' conftest.er1 >conftest.err
 
8059
  rm -f conftest.er1
 
8060
  cat conftest.err >&5
 
8061
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8062
  (exit $ac_status); } && {
 
8063
         test -z "$ac_c_werror_flag" ||
 
8064
         test ! -s conftest.err
 
8065
       } && test -s conftest.$ac_objext; then
 
8066
  eval "$as_ac_Header=yes"
 
8067
else
 
8068
  $as_echo "$as_me: failed program was:" >&5
 
8069
sed 's/^/| /' conftest.$ac_ext >&5
 
8070
 
 
8071
        eval "$as_ac_Header=no"
 
8072
fi
 
8073
 
 
8074
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8075
fi
 
8076
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
8077
                 $as_echo "$as_val"'`
 
8078
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
8079
$as_echo "$ac_res" >&6; }
 
8080
as_val=`eval 'as_val=${'$as_ac_Header'}
 
8081
                 $as_echo "$as_val"'`
 
8082
   if test "x$as_val" = x""yes; then
 
8083
  cat >>confdefs.h <<_ACEOF
 
8084
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8085
_ACEOF
 
8086
 
 
8087
fi
 
8088
 
 
8089
done
 
8090
 
 
8091
 
 
8092
 
 
8093
for ac_header in dlfcn.h
 
8094
do
 
8095
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8096
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8097
$as_echo_n "checking for $ac_header... " >&6; }
 
8098
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8099
  $as_echo_n "(cached) " >&6
 
8100
else
 
8101
  cat >conftest.$ac_ext <<_ACEOF
 
8102
/* confdefs.h.  */
 
8103
_ACEOF
 
8104
cat confdefs.h >>conftest.$ac_ext
 
8105
cat >>conftest.$ac_ext <<_ACEOF
 
8106
/* end confdefs.h.  */
 
8107
$ac_includes_default
 
8108
 
 
8109
#include <$ac_header>
 
8110
_ACEOF
 
8111
rm -f conftest.$ac_objext
 
8112
if { (ac_try="$ac_compile"
 
8113
case "(($ac_try" in
 
8114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8115
  *) ac_try_echo=$ac_try;;
 
8116
esac
 
8117
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8118
$as_echo "$ac_try_echo") >&5
 
8119
  (eval "$ac_compile") 2>conftest.er1
 
8120
  ac_status=$?
 
8121
  grep -v '^ *+' conftest.er1 >conftest.err
 
8122
  rm -f conftest.er1
 
8123
  cat conftest.err >&5
 
8124
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8125
  (exit $ac_status); } && {
 
8126
         test -z "$ac_c_werror_flag" ||
 
8127
         test ! -s conftest.err
 
8128
       } && test -s conftest.$ac_objext; then
 
8129
  eval "$as_ac_Header=yes"
 
8130
else
 
8131
  $as_echo "$as_me: failed program was:" >&5
 
8132
sed 's/^/| /' conftest.$ac_ext >&5
 
8133
 
 
8134
        eval "$as_ac_Header=no"
 
8135
fi
 
8136
 
 
8137
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8138
fi
 
8139
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
8140
                 $as_echo "$as_val"'`
 
8141
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
8142
$as_echo "$ac_res" >&6; }
 
8143
as_val=`eval 'as_val=${'$as_ac_Header'}
 
8144
                 $as_echo "$as_val"'`
 
8145
   if test "x$as_val" = x""yes; then
 
8146
  cat >>confdefs.h <<_ACEOF
 
8147
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8148
_ACEOF
 
8149
 
 
8150
fi
 
8151
 
 
8152
done
 
8153
 
 
8154
 
 
8155
 
 
8156
# Set options
 
8157
 
 
8158
 
 
8159
 
 
8160
        enable_dlopen=no
 
8161
 
 
8162
 
 
8163
  enable_win32_dll=no
 
8164
 
 
8165
 
 
8166
            # Check whether --enable-shared was given.
 
8167
if test "${enable_shared+set}" = set; then
 
8168
  enableval=$enable_shared; p=${PACKAGE-default}
 
8169
    case $enableval in
 
8170
    yes) enable_shared=yes ;;
 
8171
    no) enable_shared=no ;;
 
8172
    *)
 
8173
      enable_shared=no
 
8174
      # Look at the argument we got.  We use all the common list separators.
 
8175
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8176
      for pkg in $enableval; do
 
8177
        IFS="$lt_save_ifs"
 
8178
        if test "X$pkg" = "X$p"; then
 
8179
          enable_shared=yes
 
8180
        fi
 
8181
      done
 
8182
      IFS="$lt_save_ifs"
 
8183
      ;;
 
8184
    esac
 
8185
else
 
8186
  enable_shared=yes
 
8187
fi
 
8188
 
 
8189
 
 
8190
 
 
8191
 
 
8192
 
 
8193
 
 
8194
 
 
8195
 
 
8196
 
 
8197
  # Check whether --enable-static was given.
 
8198
if test "${enable_static+set}" = set; then
 
8199
  enableval=$enable_static; p=${PACKAGE-default}
 
8200
    case $enableval in
 
8201
    yes) enable_static=yes ;;
 
8202
    no) enable_static=no ;;
 
8203
    *)
 
8204
     enable_static=no
 
8205
      # Look at the argument we got.  We use all the common list separators.
 
8206
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8207
      for pkg in $enableval; do
 
8208
        IFS="$lt_save_ifs"
 
8209
        if test "X$pkg" = "X$p"; then
 
8210
          enable_static=yes
 
8211
        fi
 
8212
      done
 
8213
      IFS="$lt_save_ifs"
 
8214
      ;;
 
8215
    esac
 
8216
else
 
8217
  enable_static=yes
 
8218
fi
 
8219
 
 
8220
 
 
8221
 
 
8222
 
 
8223
 
 
8224
 
 
8225
 
 
8226
 
8711
8227
 
8712
8228
 
8713
8229
# Check whether --with-pic was given.
8717
8233
  pic_mode=default
8718
8234
fi
8719
8235
 
 
8236
 
8720
8237
test -z "$pic_mode" && pic_mode=default
8721
8238
 
 
8239
 
 
8240
 
 
8241
 
 
8242
 
 
8243
 
 
8244
 
 
8245
  # Check whether --enable-fast-install was given.
 
8246
if test "${enable_fast_install+set}" = set; then
 
8247
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8248
    case $enableval in
 
8249
    yes) enable_fast_install=yes ;;
 
8250
    no) enable_fast_install=no ;;
 
8251
    *)
 
8252
      enable_fast_install=no
 
8253
      # Look at the argument we got.  We use all the common list separators.
 
8254
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8255
      for pkg in $enableval; do
 
8256
        IFS="$lt_save_ifs"
 
8257
        if test "X$pkg" = "X$p"; then
 
8258
          enable_fast_install=yes
 
8259
        fi
 
8260
      done
 
8261
      IFS="$lt_save_ifs"
 
8262
      ;;
 
8263
    esac
 
8264
else
 
8265
  enable_fast_install=yes
 
8266
fi
 
8267
 
 
8268
 
 
8269
 
 
8270
 
 
8271
 
 
8272
 
 
8273
 
 
8274
 
 
8275
 
 
8276
 
 
8277
 
 
8278
# This can be used to rebuild libtool when needed
 
8279
LIBTOOL_DEPS="$ltmain"
 
8280
 
 
8281
# Always use our own libtool.
 
8282
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8283
 
 
8284
 
 
8285
 
 
8286
 
 
8287
 
 
8288
 
 
8289
 
 
8290
 
 
8291
 
 
8292
 
 
8293
 
 
8294
 
 
8295
 
 
8296
 
 
8297
 
 
8298
 
 
8299
 
 
8300
 
 
8301
 
 
8302
 
 
8303
 
 
8304
 
 
8305
 
 
8306
 
 
8307
 
 
8308
test -z "$LN_S" && LN_S="ln -s"
 
8309
 
 
8310
 
 
8311
 
 
8312
 
 
8313
 
 
8314
 
 
8315
 
 
8316
 
 
8317
 
 
8318
 
 
8319
 
 
8320
 
 
8321
 
 
8322
 
 
8323
if test -n "${ZSH_VERSION+set}" ; then
 
8324
   setopt NO_GLOB_SUBST
 
8325
fi
 
8326
 
 
8327
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8328
$as_echo_n "checking for objdir... " >&6; }
 
8329
if test "${lt_cv_objdir+set}" = set; then
 
8330
  $as_echo_n "(cached) " >&6
 
8331
else
 
8332
  rm -f .libs 2>/dev/null
 
8333
mkdir .libs 2>/dev/null
 
8334
if test -d .libs; then
 
8335
  lt_cv_objdir=.libs
 
8336
else
 
8337
  # MS-DOS does not allow filenames that begin with a dot.
 
8338
  lt_cv_objdir=_libs
 
8339
fi
 
8340
rmdir .libs 2>/dev/null
 
8341
fi
 
8342
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8343
$as_echo "$lt_cv_objdir" >&6; }
 
8344
objdir=$lt_cv_objdir
 
8345
 
 
8346
 
 
8347
 
 
8348
 
 
8349
 
 
8350
cat >>confdefs.h <<_ACEOF
 
8351
#define LT_OBJDIR "$lt_cv_objdir/"
 
8352
_ACEOF
 
8353
 
 
8354
 
 
8355
 
 
8356
 
 
8357
 
 
8358
 
 
8359
 
 
8360
 
 
8361
 
 
8362
 
 
8363
 
 
8364
 
 
8365
 
 
8366
 
 
8367
 
 
8368
 
 
8369
 
 
8370
case $host_os in
 
8371
aix3*)
 
8372
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
8373
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
8374
  # vanish in a puff of smoke.
 
8375
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
8376
    COLLECT_NAMES=
 
8377
    export COLLECT_NAMES
 
8378
  fi
 
8379
  ;;
 
8380
esac
 
8381
 
 
8382
# Sed substitution that helps us do robust quoting.  It backslashifies
 
8383
# metacharacters that are still active within double-quoted strings.
 
8384
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
8385
 
 
8386
# Same as above, but do not quote variable references.
 
8387
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
8388
 
 
8389
# Sed substitution to delay expansion of an escaped shell variable in a
 
8390
# double_quote_subst'ed string.
 
8391
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
8392
 
 
8393
# Sed substitution to delay expansion of an escaped single quote.
 
8394
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
8395
 
 
8396
# Sed substitution to avoid accidental globbing in evaled expressions
 
8397
no_glob_subst='s/\*/\\\*/g'
 
8398
 
 
8399
# Global variables:
 
8400
ofile=libtool
 
8401
can_build_shared=yes
 
8402
 
 
8403
# All known linkers require a `.a' archive for static linking (except MSVC,
 
8404
# which needs '.lib').
 
8405
libext=a
 
8406
 
 
8407
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
8408
 
 
8409
old_CC="$CC"
 
8410
old_CFLAGS="$CFLAGS"
 
8411
 
 
8412
# Set sane defaults for various variables
 
8413
test -z "$CC" && CC=cc
 
8414
test -z "$LTCC" && LTCC=$CC
 
8415
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
8416
test -z "$LD" && LD=ld
 
8417
test -z "$ac_objext" && ac_objext=o
 
8418
 
 
8419
for cc_temp in $compiler""; do
 
8420
  case $cc_temp in
 
8421
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8422
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8423
    \-*) ;;
 
8424
    *) break;;
 
8425
  esac
 
8426
done
 
8427
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8428
 
 
8429
 
 
8430
# Only perform the check for file, if the check method requires it
 
8431
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
8432
case $deplibs_check_method in
 
8433
file_magic*)
 
8434
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
8435
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8436
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8437
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8438
  $as_echo_n "(cached) " >&6
 
8439
else
 
8440
  case $MAGIC_CMD in
 
8441
[\\/*] |  ?:[\\/]*)
 
8442
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8443
  ;;
 
8444
*)
 
8445
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8446
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8447
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8448
  for ac_dir in $ac_dummy; do
 
8449
    IFS="$lt_save_ifs"
 
8450
    test -z "$ac_dir" && ac_dir=.
 
8451
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
8452
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
8453
      if test -n "$file_magic_test_file"; then
 
8454
        case $deplibs_check_method in
 
8455
        "file_magic "*)
 
8456
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8457
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8458
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8459
            $EGREP "$file_magic_regex" > /dev/null; then
 
8460
            :
 
8461
          else
 
8462
            cat <<_LT_EOF 1>&2
 
8463
 
 
8464
*** Warning: the command libtool uses to detect shared libraries,
 
8465
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8466
*** The result is that libtool may fail to recognize shared libraries
 
8467
*** as such.  This will affect the creation of libtool libraries that
 
8468
*** depend on shared libraries, but programs linked with such libtool
 
8469
*** libraries will work regardless of this problem.  Nevertheless, you
 
8470
*** may want to report the problem to your system manager and/or to
 
8471
*** bug-libtool@gnu.org
 
8472
 
 
8473
_LT_EOF
 
8474
          fi ;;
 
8475
        esac
 
8476
      fi
 
8477
      break
 
8478
    fi
 
8479
  done
 
8480
  IFS="$lt_save_ifs"
 
8481
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8482
  ;;
 
8483
esac
 
8484
fi
 
8485
 
 
8486
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8487
if test -n "$MAGIC_CMD"; then
 
8488
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8489
$as_echo "$MAGIC_CMD" >&6; }
 
8490
else
 
8491
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8492
$as_echo "no" >&6; }
 
8493
fi
 
8494
 
 
8495
 
 
8496
 
 
8497
 
 
8498
 
 
8499
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
8500
  if test -n "$ac_tool_prefix"; then
 
8501
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8502
$as_echo_n "checking for file... " >&6; }
 
8503
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8504
  $as_echo_n "(cached) " >&6
 
8505
else
 
8506
  case $MAGIC_CMD in
 
8507
[\\/*] |  ?:[\\/]*)
 
8508
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8509
  ;;
 
8510
*)
 
8511
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8512
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8513
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8514
  for ac_dir in $ac_dummy; do
 
8515
    IFS="$lt_save_ifs"
 
8516
    test -z "$ac_dir" && ac_dir=.
 
8517
    if test -f $ac_dir/file; then
 
8518
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
8519
      if test -n "$file_magic_test_file"; then
 
8520
        case $deplibs_check_method in
 
8521
        "file_magic "*)
 
8522
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8523
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8524
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8525
            $EGREP "$file_magic_regex" > /dev/null; then
 
8526
            :
 
8527
          else
 
8528
            cat <<_LT_EOF 1>&2
 
8529
 
 
8530
*** Warning: the command libtool uses to detect shared libraries,
 
8531
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8532
*** The result is that libtool may fail to recognize shared libraries
 
8533
*** as such.  This will affect the creation of libtool libraries that
 
8534
*** depend on shared libraries, but programs linked with such libtool
 
8535
*** libraries will work regardless of this problem.  Nevertheless, you
 
8536
*** may want to report the problem to your system manager and/or to
 
8537
*** bug-libtool@gnu.org
 
8538
 
 
8539
_LT_EOF
 
8540
          fi ;;
 
8541
        esac
 
8542
      fi
 
8543
      break
 
8544
    fi
 
8545
  done
 
8546
  IFS="$lt_save_ifs"
 
8547
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8548
  ;;
 
8549
esac
 
8550
fi
 
8551
 
 
8552
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8553
if test -n "$MAGIC_CMD"; then
 
8554
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8555
$as_echo "$MAGIC_CMD" >&6; }
 
8556
else
 
8557
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8558
$as_echo "no" >&6; }
 
8559
fi
 
8560
 
 
8561
 
 
8562
  else
 
8563
    MAGIC_CMD=:
 
8564
  fi
 
8565
fi
 
8566
 
 
8567
  fi
 
8568
  ;;
 
8569
esac
 
8570
 
8722
8571
# Use C for the default configuration in the libtool script
8723
 
tagname=
 
8572
 
8724
8573
lt_save_CC="$CC"
8725
8574
ac_ext=c
8726
8575
ac_cpp='$CPP $CPPFLAGS'
8743
8592
lt_simple_link_test_code='int main(){return(0);}'
8744
8593
 
8745
8594
 
 
8595
 
 
8596
 
 
8597
 
 
8598
 
 
8599
 
8746
8600
# If no C compiler was specified, use CC.
8747
8601
LTCC=${LTCC-"$CC"}
8748
8602
 
8752
8606
# Allow CC to be a program name with arguments.
8753
8607
compiler=$CC
8754
8608
 
 
8609
# Save the default compiler, since it gets overwritten when the other
 
8610
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8611
compiler_DEFAULT=$CC
8755
8612
 
8756
8613
# save warnings/boilerplate of simple test code
8757
8614
ac_outfile=conftest.$ac_objext
8758
8615
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8759
8616
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8760
8617
_lt_compiler_boilerplate=`cat conftest.err`
8761
 
$rm conftest*
 
8618
$RM conftest*
8762
8619
 
8763
8620
ac_outfile=conftest.$ac_objext
8764
8621
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8765
8622
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8766
8623
_lt_linker_boilerplate=`cat conftest.err`
8767
 
$rm -r conftest*
8768
 
 
8769
 
 
 
8624
$RM -r conftest*
 
8625
 
 
8626
 
 
8627
if test -n "$compiler"; then
8770
8628
 
8771
8629
lt_prog_compiler_no_builtin_flag=
8772
8630
 
8773
8631
if test "$GCC" = yes; then
8774
8632
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8775
8633
 
8776
 
 
8777
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8634
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8778
8635
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8779
8636
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8780
8637
  $as_echo_n "(cached) " >&6
8781
8638
else
8782
8639
  lt_cv_prog_compiler_rtti_exceptions=no
8783
 
  ac_outfile=conftest.$ac_objext
 
8640
   ac_outfile=conftest.$ac_objext
8784
8641
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8785
8642
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8786
8643
   # Insert the option either (1) after the last *FLAGS variable, or
8792
8649
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8793
8650
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8794
8651
   -e 's:$: $lt_compiler_flag:'`
8795
 
   (eval echo "\"\$as_me:8795: $lt_compile\"" >&5)
 
8652
   (eval echo "\"\$as_me:8652: $lt_compile\"" >&5)
8796
8653
   (eval "$lt_compile" 2>conftest.err)
8797
8654
   ac_status=$?
8798
8655
   cat conftest.err >&5
8799
 
   echo "$as_me:8799: \$? = $ac_status" >&5
 
8656
   echo "$as_me:8656: \$? = $ac_status" >&5
8800
8657
   if (exit $ac_status) && test -s "$ac_outfile"; then
8801
8658
     # The compiler can only warn and ignore the option if not recognized
8802
8659
     # So say no if there are warnings other than the usual output.
8803
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8660
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8804
8661
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8805
8662
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8806
8663
       lt_cv_prog_compiler_rtti_exceptions=yes
8807
8664
     fi
8808
8665
   fi
8809
 
   $rm conftest*
 
8666
   $RM conftest*
8810
8667
 
8811
8668
fi
8812
8669
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8820
8677
 
8821
8678
fi
8822
8679
 
8823
 
lt_prog_compiler_wl=
 
8680
 
 
8681
 
 
8682
 
 
8683
 
 
8684
 
 
8685
  lt_prog_compiler_wl=
8824
8686
lt_prog_compiler_pic=
8825
8687
lt_prog_compiler_static=
8826
8688
 
8841
8703
      ;;
8842
8704
 
8843
8705
    amigaos*)
8844
 
      # FIXME: we need at least 68020 code to build shared libraries, but
8845
 
      # adding the `-m68020' flag to GCC prevents building anything better,
8846
 
      # like `-m68040'.
8847
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8706
      case $host_cpu in
 
8707
      powerpc)
 
8708
            # see comment about AmigaOS4 .so support
 
8709
            lt_prog_compiler_pic='-fPIC'
 
8710
        ;;
 
8711
      m68k)
 
8712
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8713
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8714
            # like `-m68040'.
 
8715
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8716
        ;;
 
8717
      esac
8848
8718
      ;;
8849
8719
 
8850
8720
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8851
8721
      # PIC is the default for these OSes.
8852
8722
      ;;
8853
8723
 
8854
 
    mingw* | cygwin* | pw32* | os2*)
 
8724
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8855
8725
      # This hack is so that the source file can tell whether it is being
8856
8726
      # built for inclusion in a dll (and should export symbols for example).
8857
8727
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8865
8735
      lt_prog_compiler_pic='-fno-common'
8866
8736
      ;;
8867
8737
 
 
8738
    hpux*)
 
8739
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8740
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8741
      # sets the default TLS model and affects inlining.
 
8742
      case $host_cpu in
 
8743
      hppa*64*)
 
8744
        # +Z the default
 
8745
        ;;
 
8746
      *)
 
8747
        lt_prog_compiler_pic='-fPIC'
 
8748
        ;;
 
8749
      esac
 
8750
      ;;
 
8751
 
8868
8752
    interix[3-9]*)
8869
8753
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8870
8754
      # Instead, we relocate shared libraries at runtime.
8877
8761
      enable_shared=no
8878
8762
      ;;
8879
8763
 
 
8764
    *nto* | *qnx*)
 
8765
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8766
      # it will coredump.
 
8767
      lt_prog_compiler_pic='-fPIC -shared'
 
8768
      ;;
 
8769
 
8880
8770
    sysv4*MP*)
8881
8771
      if test -d /usr/nec; then
8882
8772
        lt_prog_compiler_pic=-Kconform_pic
8883
8773
      fi
8884
8774
      ;;
8885
8775
 
8886
 
    hpux*)
8887
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8888
 
      # not for PA HP-UX.
8889
 
      case $host_cpu in
8890
 
      hppa*64*|ia64*)
8891
 
        # +Z the default
8892
 
        ;;
8893
 
      *)
8894
 
        lt_prog_compiler_pic='-fPIC'
8895
 
        ;;
8896
 
      esac
8897
 
      ;;
8898
 
 
8899
8776
    *)
8900
8777
      lt_prog_compiler_pic='-fPIC'
8901
8778
      ;;
8912
8789
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8913
8790
      fi
8914
8791
      ;;
8915
 
      darwin*)
8916
 
        # PIC is the default on this platform
8917
 
        # Common symbols not allowed in MH_DYLIB files
8918
 
       case $cc_basename in
8919
 
         xlc*)
8920
 
         lt_prog_compiler_pic='-qnocommon'
8921
 
         lt_prog_compiler_wl='-Wl,'
8922
 
         ;;
8923
 
       esac
8924
 
       ;;
8925
8792
 
8926
 
    mingw* | cygwin* | pw32* | os2*)
 
8793
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8927
8794
      # This hack is so that the source file can tell whether it is being
8928
8795
      # built for inclusion in a dll (and should export symbols for example).
8929
8796
      lt_prog_compiler_pic='-DDLL_EXPORT'
8951
8818
      lt_prog_compiler_static='-non_shared'
8952
8819
      ;;
8953
8820
 
8954
 
    newsos6)
8955
 
      lt_prog_compiler_pic='-KPIC'
8956
 
      lt_prog_compiler_static='-Bstatic'
8957
 
      ;;
8958
 
 
8959
8821
    linux* | k*bsd*-gnu)
8960
8822
      case $cc_basename in
8961
 
      icc* | ecc*)
 
8823
      # old Intel for x86_64 which still supported -KPIC.
 
8824
      ecc*)
8962
8825
        lt_prog_compiler_wl='-Wl,'
8963
8826
        lt_prog_compiler_pic='-KPIC'
8964
8827
        lt_prog_compiler_static='-static'
8965
8828
        ;;
 
8829
      # icc used to be incompatible with GCC.
 
8830
      # ICC 10 doesn't accept -KPIC any more.
 
8831
      icc* | ifort*)
 
8832
        lt_prog_compiler_wl='-Wl,'
 
8833
        lt_prog_compiler_pic='-fPIC'
 
8834
        lt_prog_compiler_static='-static'
 
8835
        ;;
 
8836
      # Lahey Fortran 8.1.
 
8837
      lf95*)
 
8838
        lt_prog_compiler_wl='-Wl,'
 
8839
        lt_prog_compiler_pic='--shared'
 
8840
        lt_prog_compiler_static='--static'
 
8841
        ;;
8966
8842
      pgcc* | pgf77* | pgf90* | pgf95*)
8967
8843
        # Portland Group compilers (*not* the Pentium gcc compiler,
8968
8844
        # which looks to be a dead project)
8975
8851
        # All Alpha code is PIC.
8976
8852
        lt_prog_compiler_static='-non_shared'
8977
8853
        ;;
 
8854
      xl*)
 
8855
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8856
        lt_prog_compiler_wl='-Wl,'
 
8857
        lt_prog_compiler_pic='-qpic'
 
8858
        lt_prog_compiler_static='-qstaticlink'
 
8859
        ;;
8978
8860
      *)
8979
 
        case `$CC -V 2>&1 | sed 5q` in
 
8861
        case `$CC -V 2>&1 | sed 5q` in
8980
8862
        *Sun\ C*)
8981
8863
          # Sun C 5.9
8982
8864
          lt_prog_compiler_pic='-KPIC'
8994
8876
      esac
8995
8877
      ;;
8996
8878
 
 
8879
    newsos6)
 
8880
      lt_prog_compiler_pic='-KPIC'
 
8881
      lt_prog_compiler_static='-Bstatic'
 
8882
      ;;
 
8883
 
 
8884
    *nto* | *qnx*)
 
8885
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8886
      # it will coredump.
 
8887
      lt_prog_compiler_pic='-fPIC -shared'
 
8888
      ;;
 
8889
 
8997
8890
    osf3* | osf4* | osf5*)
8998
8891
      lt_prog_compiler_wl='-Wl,'
8999
8892
      # All OSF/1 code is PIC.
9056
8949
    esac
9057
8950
  fi
9058
8951
 
 
8952
case $host_os in
 
8953
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8954
  *djgpp*)
 
8955
    lt_prog_compiler_pic=
 
8956
    ;;
 
8957
  *)
 
8958
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
8959
    ;;
 
8960
esac
9059
8961
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9060
8962
$as_echo "$lt_prog_compiler_pic" >&6; }
9061
8963
 
 
8964
 
 
8965
 
 
8966
 
 
8967
 
 
8968
 
9062
8969
#
9063
8970
# Check to make sure the PIC flag actually works.
9064
8971
#
9065
8972
if test -n "$lt_prog_compiler_pic"; then
9066
 
 
9067
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8973
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9068
8974
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9069
8975
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9070
8976
  $as_echo_n "(cached) " >&6
9071
8977
else
9072
8978
  lt_cv_prog_compiler_pic_works=no
9073
 
  ac_outfile=conftest.$ac_objext
 
8979
   ac_outfile=conftest.$ac_objext
9074
8980
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9075
8981
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9076
8982
   # Insert the option either (1) after the last *FLAGS variable, or
9082
8988
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9083
8989
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9084
8990
   -e 's:$: $lt_compiler_flag:'`
9085
 
   (eval echo "\"\$as_me:9085: $lt_compile\"" >&5)
 
8991
   (eval echo "\"\$as_me:8991: $lt_compile\"" >&5)
9086
8992
   (eval "$lt_compile" 2>conftest.err)
9087
8993
   ac_status=$?
9088
8994
   cat conftest.err >&5
9089
 
   echo "$as_me:9089: \$? = $ac_status" >&5
 
8995
   echo "$as_me:8995: \$? = $ac_status" >&5
9090
8996
   if (exit $ac_status) && test -s "$ac_outfile"; then
9091
8997
     # The compiler can only warn and ignore the option if not recognized
9092
8998
     # So say no if there are warnings other than the usual output.
9093
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8999
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9094
9000
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9095
9001
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9096
9002
       lt_cv_prog_compiler_pic_works=yes
9097
9003
     fi
9098
9004
   fi
9099
 
   $rm conftest*
 
9005
   $RM conftest*
9100
9006
 
9101
9007
fi
9102
9008
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9113
9019
fi
9114
9020
 
9115
9021
fi
9116
 
case $host_os in
9117
 
  # For platforms which do not support PIC, -DPIC is meaningless:
9118
 
  *djgpp*)
9119
 
    lt_prog_compiler_pic=
9120
 
    ;;
9121
 
  *)
9122
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9123
 
    ;;
9124
 
esac
 
9022
 
 
9023
 
 
9024
 
 
9025
 
 
9026
 
9125
9027
 
9126
9028
#
9127
9029
# Check to make sure the static flag actually works.
9142
9044
     if test -s conftest.err; then
9143
9045
       # Append any errors to the config.log.
9144
9046
       cat conftest.err 1>&5
9145
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9047
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9146
9048
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9147
9049
       if diff conftest.exp conftest.er2 >/dev/null; then
9148
9050
         lt_cv_prog_compiler_static_works=yes
9151
9053
       lt_cv_prog_compiler_static_works=yes
9152
9054
     fi
9153
9055
   fi
9154
 
   $rm -r conftest*
 
9056
   $RM -r conftest*
9155
9057
   LDFLAGS="$save_LDFLAGS"
9156
9058
 
9157
9059
fi
9165
9067
fi
9166
9068
 
9167
9069
 
9168
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9169
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9170
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9171
 
  $as_echo_n "(cached) " >&6
9172
 
else
9173
 
  lt_cv_prog_compiler_c_o=no
9174
 
   $rm -r conftest 2>/dev/null
9175
 
   mkdir conftest
9176
 
   cd conftest
9177
 
   mkdir out
9178
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9179
 
 
9180
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9181
 
   # Insert the option either (1) after the last *FLAGS variable, or
9182
 
   # (2) before a word containing "conftest.", or (3) at the end.
9183
 
   # Note that $ac_compile itself does not contain backslashes and begins
9184
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9185
 
   lt_compile=`echo "$ac_compile" | $SED \
9186
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9187
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9188
 
   -e 's:$: $lt_compiler_flag:'`
9189
 
   (eval echo "\"\$as_me:9189: $lt_compile\"" >&5)
9190
 
   (eval "$lt_compile" 2>out/conftest.err)
9191
 
   ac_status=$?
9192
 
   cat out/conftest.err >&5
9193
 
   echo "$as_me:9193: \$? = $ac_status" >&5
9194
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9195
 
   then
9196
 
     # The compiler can only warn and ignore the option if not recognized
9197
 
     # So say no if there are warnings
9198
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9199
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9200
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9201
 
       lt_cv_prog_compiler_c_o=yes
9202
 
     fi
9203
 
   fi
9204
 
   chmod u+w . 2>&5
9205
 
   $rm conftest*
9206
 
   # SGI C++ compiler will create directory out/ii_files/ for
9207
 
   # template instantiation
9208
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
9209
 
   $rm out/* && rmdir out
9210
 
   cd ..
9211
 
   rmdir conftest
9212
 
   $rm conftest*
9213
 
 
9214
 
fi
9215
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9216
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9070
 
 
9071
 
 
9072
 
 
9073
 
 
9074
 
 
9075
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9076
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9077
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9078
  $as_echo_n "(cached) " >&6
 
9079
else
 
9080
  lt_cv_prog_compiler_c_o=no
 
9081
   $RM -r conftest 2>/dev/null
 
9082
   mkdir conftest
 
9083
   cd conftest
 
9084
   mkdir out
 
9085
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9086
 
 
9087
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9088
   # Insert the option either (1) after the last *FLAGS variable, or
 
9089
   # (2) before a word containing "conftest.", or (3) at the end.
 
9090
   # Note that $ac_compile itself does not contain backslashes and begins
 
9091
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9092
   lt_compile=`echo "$ac_compile" | $SED \
 
9093
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9094
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9095
   -e 's:$: $lt_compiler_flag:'`
 
9096
   (eval echo "\"\$as_me:9096: $lt_compile\"" >&5)
 
9097
   (eval "$lt_compile" 2>out/conftest.err)
 
9098
   ac_status=$?
 
9099
   cat out/conftest.err >&5
 
9100
   echo "$as_me:9100: \$? = $ac_status" >&5
 
9101
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9102
   then
 
9103
     # The compiler can only warn and ignore the option if not recognized
 
9104
     # So say no if there are warnings
 
9105
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9106
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9107
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9108
       lt_cv_prog_compiler_c_o=yes
 
9109
     fi
 
9110
   fi
 
9111
   chmod u+w . 2>&5
 
9112
   $RM conftest*
 
9113
   # SGI C++ compiler will create directory out/ii_files/ for
 
9114
   # template instantiation
 
9115
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9116
   $RM out/* && rmdir out
 
9117
   cd ..
 
9118
   $RM -r conftest
 
9119
   $RM conftest*
 
9120
 
 
9121
fi
 
9122
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9123
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9124
 
 
9125
 
 
9126
 
 
9127
 
 
9128
 
 
9129
 
 
9130
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9131
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9132
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9133
  $as_echo_n "(cached) " >&6
 
9134
else
 
9135
  lt_cv_prog_compiler_c_o=no
 
9136
   $RM -r conftest 2>/dev/null
 
9137
   mkdir conftest
 
9138
   cd conftest
 
9139
   mkdir out
 
9140
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9141
 
 
9142
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9143
   # Insert the option either (1) after the last *FLAGS variable, or
 
9144
   # (2) before a word containing "conftest.", or (3) at the end.
 
9145
   # Note that $ac_compile itself does not contain backslashes and begins
 
9146
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9147
   lt_compile=`echo "$ac_compile" | $SED \
 
9148
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9149
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9150
   -e 's:$: $lt_compiler_flag:'`
 
9151
   (eval echo "\"\$as_me:9151: $lt_compile\"" >&5)
 
9152
   (eval "$lt_compile" 2>out/conftest.err)
 
9153
   ac_status=$?
 
9154
   cat out/conftest.err >&5
 
9155
   echo "$as_me:9155: \$? = $ac_status" >&5
 
9156
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9157
   then
 
9158
     # The compiler can only warn and ignore the option if not recognized
 
9159
     # So say no if there are warnings
 
9160
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9161
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9162
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9163
       lt_cv_prog_compiler_c_o=yes
 
9164
     fi
 
9165
   fi
 
9166
   chmod u+w . 2>&5
 
9167
   $RM conftest*
 
9168
   # SGI C++ compiler will create directory out/ii_files/ for
 
9169
   # template instantiation
 
9170
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9171
   $RM out/* && rmdir out
 
9172
   cd ..
 
9173
   $RM -r conftest
 
9174
   $RM conftest*
 
9175
 
 
9176
fi
 
9177
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9178
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9179
 
 
9180
 
9217
9181
 
9218
9182
 
9219
9183
hard_links="nottested"
9222
9186
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9223
9187
$as_echo_n "checking if we can lock with hard links... " >&6; }
9224
9188
  hard_links=yes
9225
 
  $rm conftest*
 
9189
  $RM conftest*
9226
9190
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9227
9191
  touch conftest.a
9228
9192
  ln conftest.a conftest.b 2>&5 || hard_links=no
9238
9202
  need_locks=no
9239
9203
fi
9240
9204
 
9241
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9205
 
 
9206
 
 
9207
 
 
9208
 
 
9209
 
 
9210
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9242
9211
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9243
9212
 
9244
9213
  runpath_var=
9245
9214
  allow_undefined_flag=
9246
 
  enable_shared_with_static_runtimes=no
 
9215
  always_export_symbols=no
9247
9216
  archive_cmds=
9248
9217
  archive_expsym_cmds=
9249
 
  old_archive_From_new_cmds=
9250
 
  old_archive_from_expsyms_cmds=
 
9218
  compiler_needs_object=no
 
9219
  enable_shared_with_static_runtimes=no
9251
9220
  export_dynamic_flag_spec=
9252
 
  whole_archive_flag_spec=
9253
 
  thread_safe_flag_spec=
 
9221
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9222
  hardcode_automatic=no
 
9223
  hardcode_direct=no
 
9224
  hardcode_direct_absolute=no
9254
9225
  hardcode_libdir_flag_spec=
9255
9226
  hardcode_libdir_flag_spec_ld=
9256
9227
  hardcode_libdir_separator=
9257
 
  hardcode_direct=no
9258
9228
  hardcode_minus_L=no
9259
9229
  hardcode_shlibpath_var=unsupported
 
9230
  inherit_rpath=no
9260
9231
  link_all_deplibs=unknown
9261
 
  hardcode_automatic=no
9262
9232
  module_cmds=
9263
9233
  module_expsym_cmds=
9264
 
  always_export_symbols=no
9265
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9234
  old_archive_from_new_cmds=
 
9235
  old_archive_from_expsyms_cmds=
 
9236
  thread_safe_flag_spec=
 
9237
  whole_archive_flag_spec=
9266
9238
  # include_expsyms should be a list of space-separated symbols to be *always*
9267
9239
  # included in the symbol list
9268
9240
  include_expsyms=
9278
9250
  # preloaded symbol tables.
9279
9251
  # Exclude shared library initialization/finalization symbols.
9280
9252
  extract_expsyms_cmds=
9281
 
  # Just being paranoid about ensuring that cc_basename is set.
9282
 
  for cc_temp in $compiler""; do
9283
 
  case $cc_temp in
9284
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9285
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9286
 
    \-*) ;;
9287
 
    *) break;;
9288
 
  esac
9289
 
done
9290
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9291
9253
 
9292
9254
  case $host_os in
9293
 
  cygwin* | mingw* | pw32*)
 
9255
  cygwin* | mingw* | pw32* | cegcc*)
9294
9256
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9295
9257
    # When not using gcc, we currently assume that we are using
9296
9258
    # Microsoft Visual C++.
9316
9278
    # are reset later if shared libraries are not supported. Putting them
9317
9279
    # here allows them to be overridden if necessary.
9318
9280
    runpath_var=LD_RUN_PATH
9319
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
9281
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9320
9282
    export_dynamic_flag_spec='${wl}--export-dynamic'
9321
9283
    # ancient GNU ld didn't support --whole-archive et. al.
9322
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
9323
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9324
 
      else
9325
 
        whole_archive_flag_spec=
 
9284
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9285
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9286
    else
 
9287
      whole_archive_flag_spec=
9326
9288
    fi
9327
9289
    supports_anon_versioning=no
9328
 
    case `$LD -v 2>/dev/null` in
 
9290
    case `$LD -v 2>&1` in
9329
9291
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9330
9292
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9331
9293
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9339
9301
      # On AIX/PPC, the GNU linker is very broken
9340
9302
      if test "$host_cpu" != ia64; then
9341
9303
        ld_shlibs=no
9342
 
        cat <<EOF 1>&2
 
9304
        cat <<_LT_EOF 1>&2
9343
9305
 
9344
9306
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9345
9307
*** to be unable to reliably create shared libraries on AIX.
9347
9309
*** really care for shared libraries, you may want to modify your PATH
9348
9310
*** so that a non-GNU linker is found, and then restart.
9349
9311
 
9350
 
EOF
 
9312
_LT_EOF
9351
9313
      fi
9352
9314
      ;;
9353
9315
 
9354
9316
    amigaos*)
9355
 
      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)'
9356
 
      hardcode_libdir_flag_spec='-L$libdir'
9357
 
      hardcode_minus_L=yes
9358
 
 
9359
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9360
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
9361
 
      # to version 4, is to share data among multiple programs linked
9362
 
      # with the same dynamic library.  Since this doesn't match the
9363
 
      # behavior of shared libraries on other platforms, we can't use
9364
 
      # them.
9365
 
      ld_shlibs=no
 
9317
      case $host_cpu in
 
9318
      powerpc)
 
9319
            # see comment about AmigaOS4 .so support
 
9320
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9321
            archive_expsym_cmds=''
 
9322
        ;;
 
9323
      m68k)
 
9324
            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)'
 
9325
            hardcode_libdir_flag_spec='-L$libdir'
 
9326
            hardcode_minus_L=yes
 
9327
        ;;
 
9328
      esac
9366
9329
      ;;
9367
9330
 
9368
9331
    beos*)
9369
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9332
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9370
9333
        allow_undefined_flag=unsupported
9371
9334
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9372
9335
        # support --undefined.  This deserves some investigation.  FIXME
9376
9339
      fi
9377
9340
      ;;
9378
9341
 
9379
 
    cygwin* | mingw* | pw32*)
9380
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9342
    cygwin* | mingw* | pw32* | cegcc*)
 
9343
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9381
9344
      # as there is no search path for DLLs.
9382
9345
      hardcode_libdir_flag_spec='-L$libdir'
9383
9346
      allow_undefined_flag=unsupported
9384
9347
      always_export_symbols=no
9385
9348
      enable_shared_with_static_runtimes=yes
9386
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9349
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9387
9350
 
9388
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
9351
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9389
9352
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9390
9353
        # If the export-symbols file already is a .def file (1st line
9391
9354
        # is EXPORTS), use it as is; otherwise, prepend...
9416
9379
      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'
9417
9380
      ;;
9418
9381
 
9419
 
    gnu* | linux* | k*bsd*-gnu)
9420
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9382
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9383
      tmp_diet=no
 
9384
      if test "$host_os" = linux-dietlibc; then
 
9385
        case $cc_basename in
 
9386
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9387
        esac
 
9388
      fi
 
9389
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9390
         && test "$tmp_diet" = no
 
9391
      then
9421
9392
        tmp_addflag=
 
9393
        tmp_sharedflag='-shared'
9422
9394
        case $cc_basename,$host_cpu in
9423
 
        pgcc*)                          # Portland Group C compiler
9424
 
          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'
 
9395
        pgcc*)                          # Portland Group C compiler
 
9396
          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'
9425
9397
          tmp_addflag=' $pic_flag'
9426
9398
          ;;
9427
9399
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9428
 
          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'
 
9400
          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'
9429
9401
          tmp_addflag=' $pic_flag -Mnomain' ;;
9430
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
9402
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9431
9403
          tmp_addflag=' -i_dynamic' ;;
9432
9404
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9433
9405
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9434
9406
        ifc* | ifort*)                  # Intel Fortran compiler
9435
9407
          tmp_addflag=' -nofor_main' ;;
 
9408
        lf95*)                          # Lahey Fortran 8.1
 
9409
          whole_archive_flag_spec=
 
9410
          tmp_sharedflag='--shared' ;;
 
9411
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9412
          tmp_sharedflag='-qmkshrobj'
 
9413
          tmp_addflag= ;;
9436
9414
        esac
9437
9415
        case `$CC -V 2>&1 | sed 5q` in
9438
9416
        *Sun\ C*)                       # Sun C 5.9
9439
 
          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'
 
9417
          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'
 
9418
          compiler_needs_object=yes
9440
9419
          tmp_sharedflag='-G' ;;
9441
9420
        *Sun\ F*)                       # Sun Fortran 8.3
9442
9421
          tmp_sharedflag='-G' ;;
9443
 
        *)
9444
 
          tmp_sharedflag='-shared' ;;
9445
9422
        esac
9446
9423
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9447
9424
 
9448
 
        if test $supports_anon_versioning = yes; then
9449
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9450
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9451
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9452
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9453
 
        fi
 
9425
        if test "x$supports_anon_versioning" = xyes; then
 
9426
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9427
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9428
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9429
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9430
        fi
 
9431
 
 
9432
        case $cc_basename in
 
9433
        xlf*)
 
9434
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9435
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9436
          hardcode_libdir_flag_spec=
 
9437
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9438
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9439
          if test "x$supports_anon_versioning" = xyes; then
 
9440
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9441
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9442
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9443
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9444
          fi
 
9445
          ;;
 
9446
        esac
9454
9447
      else
9455
 
        ld_shlibs=no
 
9448
        ld_shlibs=no
9456
9449
      fi
9457
9450
      ;;
9458
9451
 
9459
9452
    netbsd*)
9460
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9453
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9461
9454
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9462
9455
        wlarc=
9463
9456
      else
9467
9460
      ;;
9468
9461
 
9469
9462
    solaris*)
9470
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
9463
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9471
9464
        ld_shlibs=no
9472
 
        cat <<EOF 1>&2
 
9465
        cat <<_LT_EOF 1>&2
9473
9466
 
9474
9467
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9475
9468
*** create shared libraries on Solaris systems.  Therefore, libtool
9478
9471
*** your PATH or compiler configuration so that the native linker is
9479
9472
*** used, and then restart.
9480
9473
 
9481
 
EOF
9482
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9474
_LT_EOF
 
9475
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9483
9476
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9484
9477
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9485
9478
      else
9503
9496
_LT_EOF
9504
9497
        ;;
9505
9498
        *)
9506
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9507
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9508
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9509
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
9499
          # For security reasons, it is highly recommended that you always
 
9500
          # use absolute paths for naming shared libraries, and exclude the
 
9501
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9502
          # requires that you compile everything twice, which is a pain.
 
9503
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9504
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9505
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9506
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9510
9507
          else
9511
9508
            ld_shlibs=no
9512
9509
          fi
9522
9519
      ;;
9523
9520
 
9524
9521
    *)
9525
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9522
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9526
9523
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9527
9524
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9528
9525
      else
9564
9561
      else
9565
9562
        # If we're using GNU nm, then we don't want the "-C" option.
9566
9563
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9567
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9568
 
          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'
 
9564
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9565
          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'
9569
9566
        else
9570
 
          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'
 
9567
          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'
9571
9568
        fi
9572
9569
        aix_use_runtimelinking=no
9573
9570
 
9576
9573
        # need to do runtime linking.
9577
9574
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9578
9575
          for ld_flag in $LDFLAGS; do
9579
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9580
 
            aix_use_runtimelinking=yes
9581
 
            break
9582
 
          fi
 
9576
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9577
            aix_use_runtimelinking=yes
 
9578
            break
 
9579
          fi
9583
9580
          done
9584
9581
          ;;
9585
9582
        esac
9596
9593
 
9597
9594
      archive_cmds=''
9598
9595
      hardcode_direct=yes
 
9596
      hardcode_direct_absolute=yes
9599
9597
      hardcode_libdir_separator=':'
9600
9598
      link_all_deplibs=yes
 
9599
      file_list_spec='${wl}-f,'
9601
9600
 
9602
9601
      if test "$GCC" = yes; then
9603
9602
        case $host_os in aix4.[012]|aix4.[012].*)
9604
9603
        # We only want to do this on AIX 4.2 and lower, the check
9605
9604
        # below for broken collect2 doesn't work under 4.3+
9606
9605
          collect2name=`${CC} -print-prog-name=collect2`
9607
 
          if test -f "$collect2name" && \
9608
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
9606
          if test -f "$collect2name" &&
 
9607
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9609
9608
          then
9610
 
          # We have reworked collect2
9611
 
          :
 
9609
          # We have reworked collect2
 
9610
          :
9612
9611
          else
9613
 
          # We have old collect2
9614
 
          hardcode_direct=unsupported
9615
 
          # It fails to find uninstalled libraries when the uninstalled
9616
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9617
 
          # to unsupported forces relinking
9618
 
          hardcode_minus_L=yes
9619
 
          hardcode_libdir_flag_spec='-L$libdir'
9620
 
          hardcode_libdir_separator=
 
9612
          # We have old collect2
 
9613
          hardcode_direct=unsupported
 
9614
          # It fails to find uninstalled libraries when the uninstalled
 
9615
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9616
          # to unsupported forces relinking
 
9617
          hardcode_minus_L=yes
 
9618
          hardcode_libdir_flag_spec='-L$libdir'
 
9619
          hardcode_libdir_separator=
9621
9620
          fi
9622
9621
          ;;
9623
9622
        esac
9628
9627
      else
9629
9628
        # not using gcc
9630
9629
        if test "$host_cpu" = ia64; then
9631
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9632
 
        # chokes on -Wl,-G. The following line is correct:
 
9630
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9631
        # chokes on -Wl,-G. The following line is correct:
9633
9632
          shared_flag='-G'
9634
9633
        else
9635
9634
          if test "$aix_use_runtimelinking" = yes; then
9640
9639
        fi
9641
9640
      fi
9642
9641
 
 
9642
      export_dynamic_flag_spec='${wl}-bexpall'
9643
9643
      # It seems that -bexpall does not export symbols beginning with
9644
9644
      # underscore (_), so it is better to generate a list of symbols to export.
9645
9645
      always_export_symbols=yes
9647
9647
        # Warning - without using the other runtime loading flags (-brtl),
9648
9648
        # -berok will link without error, but may produce a broken library.
9649
9649
        allow_undefined_flag='-berok'
9650
 
       # Determine the default libpath from the value encoded in an empty executable.
9651
 
       cat >conftest.$ac_ext <<_ACEOF
 
9650
        # Determine the default libpath from the value encoded in an
 
9651
        # empty executable.
 
9652
        cat >conftest.$ac_ext <<_ACEOF
9652
9653
/* confdefs.h.  */
9653
9654
_ACEOF
9654
9655
cat confdefs.h >>conftest.$ac_ext
9709
9710
      conftest$ac_exeext conftest.$ac_ext
9710
9711
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9711
9712
 
9712
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9713
 
        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"
9714
 
       else
 
9713
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9714
        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"
 
9715
      else
9715
9716
        if test "$host_cpu" = ia64; then
9716
9717
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9717
9718
          allow_undefined_flag="-z nodefs"
9718
9719
          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"
9719
9720
        else
9720
 
         # Determine the default libpath from the value encoded in an empty executable.
 
9721
         # Determine the default libpath from the value encoded in an
 
9722
         # empty executable.
9721
9723
         cat >conftest.$ac_ext <<_ACEOF
9722
9724
/* confdefs.h.  */
9723
9725
_ACEOF
9794
9796
      ;;
9795
9797
 
9796
9798
    amigaos*)
9797
 
      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)'
9798
 
      hardcode_libdir_flag_spec='-L$libdir'
9799
 
      hardcode_minus_L=yes
9800
 
      # see comment about different semantics on the GNU ld section
9801
 
      ld_shlibs=no
 
9799
      case $host_cpu in
 
9800
      powerpc)
 
9801
            # see comment about AmigaOS4 .so support
 
9802
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9803
            archive_expsym_cmds=''
 
9804
        ;;
 
9805
      m68k)
 
9806
            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)'
 
9807
            hardcode_libdir_flag_spec='-L$libdir'
 
9808
            hardcode_minus_L=yes
 
9809
        ;;
 
9810
      esac
9802
9811
      ;;
9803
9812
 
9804
9813
    bsdi[45]*)
9805
9814
      export_dynamic_flag_spec=-rdynamic
9806
9815
      ;;
9807
9816
 
9808
 
    cygwin* | mingw* | pw32*)
 
9817
    cygwin* | mingw* | pw32* | cegcc*)
9809
9818
      # When not using gcc, we currently assume that we are using
9810
9819
      # Microsoft Visual C++.
9811
9820
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9817
9826
      # Tell ltmain to make .dll files, not .so files.
9818
9827
      shrext_cmds=".dll"
9819
9828
      # FIXME: Setting linknames here is a bad hack.
9820
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9829
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9821
9830
      # The linker will automatically build a .lib file if we build a DLL.
9822
 
      old_archive_From_new_cmds='true'
 
9831
      old_archive_from_new_cmds='true'
9823
9832
      # FIXME: Should let the user specify the lib program.
9824
9833
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9825
9834
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9827
9836
      ;;
9828
9837
 
9829
9838
    darwin* | rhapsody*)
9830
 
      case $host_os in
9831
 
        rhapsody* | darwin1.[012])
9832
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
9833
 
         ;;
9834
 
       *) # Darwin 1.3 on
9835
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9836
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9837
 
         else
9838
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
9839
 
             10.[012])
9840
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9841
 
               ;;
9842
 
             10.*)
9843
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9844
 
               ;;
9845
 
           esac
9846
 
         fi
9847
 
         ;;
9848
 
      esac
9849
 
      archive_cmds_need_lc=no
9850
 
      hardcode_direct=no
9851
 
      hardcode_automatic=yes
9852
 
      hardcode_shlibpath_var=unsupported
9853
 
      whole_archive_flag_spec=''
9854
 
      link_all_deplibs=yes
9855
 
    if test "$GCC" = yes ; then
9856
 
        output_verbose_link_cmd='echo'
9857
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9858
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9859
 
        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}"
9860
 
        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}"
9861
 
    else
9862
 
      case $cc_basename in
9863
 
        xlc*)
9864
 
         output_verbose_link_cmd='echo'
9865
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9866
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9867
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9868
 
         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}'
9869
 
          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}'
9870
 
          ;;
9871
 
       *)
9872
 
         ld_shlibs=no
9873
 
          ;;
9874
 
      esac
9875
 
    fi
 
9839
 
 
9840
 
 
9841
  archive_cmds_need_lc=no
 
9842
  hardcode_direct=no
 
9843
  hardcode_automatic=yes
 
9844
  hardcode_shlibpath_var=unsupported
 
9845
  whole_archive_flag_spec=''
 
9846
  link_all_deplibs=yes
 
9847
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9848
  case $cc_basename in
 
9849
     ifort*) _lt_dar_can_shared=yes ;;
 
9850
     *) _lt_dar_can_shared=$GCC ;;
 
9851
  esac
 
9852
  if test "$_lt_dar_can_shared" = "yes"; then
 
9853
    output_verbose_link_cmd=echo
 
9854
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9855
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9856
    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}"
 
9857
    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}"
 
9858
 
 
9859
  else
 
9860
  ld_shlibs=no
 
9861
  fi
 
9862
 
9876
9863
      ;;
9877
9864
 
9878
9865
    dgux*)
9914
9901
 
9915
9902
    hpux9*)
9916
9903
      if test "$GCC" = yes; then
9917
 
        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'
 
9904
        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'
9918
9905
      else
9919
 
        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'
 
9906
        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'
9920
9907
      fi
9921
9908
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9922
9909
      hardcode_libdir_separator=:
9936
9923
      fi
9937
9924
      if test "$with_gnu_ld" = no; then
9938
9925
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9926
        hardcode_libdir_flag_spec_ld='+b $libdir'
9939
9927
        hardcode_libdir_separator=:
9940
 
 
9941
9928
        hardcode_direct=yes
 
9929
        hardcode_direct_absolute=yes
9942
9930
        export_dynamic_flag_spec='${wl}-E'
9943
 
 
9944
9931
        # hardcode_minus_L: Not really in the search PATH,
9945
9932
        # but as the default location of the library.
9946
9933
        hardcode_minus_L=yes
9954
9941
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9955
9942
          ;;
9956
9943
        ia64*)
9957
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9944
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9958
9945
          ;;
9959
9946
        *)
9960
9947
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9979
9966
 
9980
9967
        case $host_cpu in
9981
9968
        hppa*64*|ia64*)
9982
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
9983
9969
          hardcode_direct=no
9984
9970
          hardcode_shlibpath_var=no
9985
9971
          ;;
9986
9972
        *)
9987
9973
          hardcode_direct=yes
 
9974
          hardcode_direct_absolute=yes
9988
9975
          export_dynamic_flag_spec='${wl}-E'
9989
9976
 
9990
9977
          # hardcode_minus_L: Not really in the search PATH,
9997
9984
 
9998
9985
    irix5* | irix6* | nonstopux*)
9999
9986
      if test "$GCC" = yes; then
10000
 
        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'
 
9987
        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'
 
9988
        # Try to use the -exported_symbol ld option, if it does not
 
9989
        # work, assume that -exports_file does not work either and
 
9990
        # implicitly export all symbols.
 
9991
        save_LDFLAGS="$LDFLAGS"
 
9992
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9993
        cat >conftest.$ac_ext <<_ACEOF
 
9994
int foo(void) {}
 
9995
_ACEOF
 
9996
rm -f conftest.$ac_objext conftest$ac_exeext
 
9997
if { (ac_try="$ac_link"
 
9998
case "(($ac_try" in
 
9999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10000
  *) ac_try_echo=$ac_try;;
 
10001
esac
 
10002
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10003
$as_echo "$ac_try_echo") >&5
 
10004
  (eval "$ac_link") 2>conftest.er1
 
10005
  ac_status=$?
 
10006
  grep -v '^ *+' conftest.er1 >conftest.err
 
10007
  rm -f conftest.er1
 
10008
  cat conftest.err >&5
 
10009
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10010
  (exit $ac_status); } && {
 
10011
         test -z "$ac_c_werror_flag" ||
 
10012
         test ! -s conftest.err
 
10013
       } && test -s conftest$ac_exeext && {
 
10014
         test "$cross_compiling" = yes ||
 
10015
         $as_test_x conftest$ac_exeext
 
10016
       }; then
 
10017
  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'
 
10018
 
 
10019
else
 
10020
  $as_echo "$as_me: failed program was:" >&5
 
10021
sed 's/^/| /' conftest.$ac_ext >&5
 
10022
 
 
10023
 
 
10024
fi
 
10025
 
 
10026
rm -rf conftest.dSYM
 
10027
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10028
      conftest$ac_exeext conftest.$ac_ext
 
10029
        LDFLAGS="$save_LDFLAGS"
10001
10030
      else
10002
 
        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'
10003
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
10031
        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'
 
10032
        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'
10004
10033
      fi
 
10034
      archive_cmds_need_lc='no'
10005
10035
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10006
10036
      hardcode_libdir_separator=:
 
10037
      inherit_rpath=yes
10007
10038
      link_all_deplibs=yes
10008
10039
      ;;
10009
10040
 
10010
10041
    netbsd*)
10011
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10042
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10012
10043
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10013
10044
      else
10014
10045
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10026
10057
      hardcode_shlibpath_var=no
10027
10058
      ;;
10028
10059
 
 
10060
    *nto* | *qnx*)
 
10061
      ;;
 
10062
 
10029
10063
    openbsd*)
10030
10064
      if test -f /usr/libexec/ld.so; then
10031
10065
        hardcode_direct=yes
10032
10066
        hardcode_shlibpath_var=no
10033
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10067
        hardcode_direct_absolute=yes
 
10068
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10034
10069
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10035
10070
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10036
10071
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10046
10081
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10047
10082
             ;;
10048
10083
          esac
10049
 
        fi
 
10084
        fi
10050
10085
      else
10051
10086
        ld_shlibs=no
10052
10087
      fi
10056
10091
      hardcode_libdir_flag_spec='-L$libdir'
10057
10092
      hardcode_minus_L=yes
10058
10093
      allow_undefined_flag=unsupported
10059
 
      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'
10060
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
10094
      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'
 
10095
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10061
10096
      ;;
10062
10097
 
10063
10098
    osf3*)
10064
10099
      if test "$GCC" = yes; then
10065
10100
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10066
 
        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'
 
10101
        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'
10067
10102
      else
10068
10103
        allow_undefined_flag=' -expect_unresolved \*'
10069
 
        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'
 
10104
        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'
10070
10105
      fi
 
10106
      archive_cmds_need_lc='no'
10071
10107
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10072
10108
      hardcode_libdir_separator=:
10073
10109
      ;;
10075
10111
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10076
10112
      if test "$GCC" = yes; then
10077
10113
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10078
 
        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'
 
10114
        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'
10079
10115
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10080
10116
      else
10081
10117
        allow_undefined_flag=' -expect_unresolved \*'
10082
 
        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'
10083
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10084
 
        $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'
 
10118
        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'
 
10119
        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~
 
10120
        $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'
10085
10121
 
10086
10122
        # Both c and cxx compiler support -rpath directly
10087
10123
        hardcode_libdir_flag_spec='-rpath $libdir'
10088
10124
      fi
 
10125
      archive_cmds_need_lc='no'
10089
10126
      hardcode_libdir_separator=:
10090
10127
      ;;
10091
10128
 
10092
10129
    solaris*)
10093
 
      no_undefined_flag=' -z text'
 
10130
      no_undefined_flag=' -z defs'
10094
10131
      if test "$GCC" = yes; then
10095
10132
        wlarc='${wl}'
10096
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10097
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10098
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
10133
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10134
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10135
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10099
10136
      else
10100
 
        wlarc=''
10101
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10102
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10103
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
10137
        case `$CC -V 2>&1` in
 
10138
        *"Compilers 5.0"*)
 
10139
          wlarc=''
 
10140
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10141
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10142
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
10143
          ;;
 
10144
        *)
 
10145
          wlarc='${wl}'
 
10146
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10147
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10148
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10149
          ;;
 
10150
        esac
10104
10151
      fi
10105
10152
      hardcode_libdir_flag_spec='-R$libdir'
10106
10153
      hardcode_shlibpath_var=no
10110
10157
        # The compiler driver will combine and reorder linker options,
10111
10158
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10112
10159
        # but is careful enough not to reorder.
10113
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10160
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10114
10161
        if test "$GCC" = yes; then
10115
10162
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10116
10163
        else
10199
10246
      allow_undefined_flag='${wl}-z,nodefs'
10200
10247
      archive_cmds_need_lc=no
10201
10248
      hardcode_shlibpath_var=no
10202
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
10249
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10203
10250
      hardcode_libdir_separator=':'
10204
10251
      link_all_deplibs=yes
10205
10252
      export_dynamic_flag_spec='${wl}-Bexport'
10206
10253
      runpath_var='LD_RUN_PATH'
10207
10254
 
10208
10255
      if test "$GCC" = yes; then
10209
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10210
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10256
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10257
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211
10258
      else
10212
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10213
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10259
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10260
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10214
10261
      fi
10215
10262
      ;;
10216
10263
 
10224
10271
      ld_shlibs=no
10225
10272
      ;;
10226
10273
    esac
 
10274
 
 
10275
    if test x$host_vendor = xsni; then
 
10276
      case $host in
 
10277
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10278
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10279
        ;;
 
10280
      esac
 
10281
    fi
10227
10282
  fi
10228
10283
 
10229
10284
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10230
10285
$as_echo "$ld_shlibs" >&6; }
10231
10286
test "$ld_shlibs" = no && can_build_shared=no
10232
10287
 
 
10288
with_gnu_ld=$with_gnu_ld
 
10289
 
 
10290
 
 
10291
 
 
10292
 
 
10293
 
 
10294
 
 
10295
 
 
10296
 
 
10297
 
 
10298
 
 
10299
 
 
10300
 
 
10301
 
 
10302
 
 
10303
 
10233
10304
#
10234
10305
# Do we need to explicitly link libc?
10235
10306
#
10249
10320
      # to ld, don't add -lc before -lgcc.
10250
10321
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10251
10322
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10252
 
      $rm conftest*
 
10323
      $RM conftest*
10253
10324
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10254
10325
 
10255
10326
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10270
10341
        libname=conftest
10271
10342
        lt_save_allow_undefined_flag=$allow_undefined_flag
10272
10343
        allow_undefined_flag=
10273
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10274
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10344
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10345
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10275
10346
  ac_status=$?
10276
10347
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277
10348
  (exit $ac_status); }
10284
10355
      else
10285
10356
        cat conftest.err 1>&5
10286
10357
      fi
10287
 
      $rm conftest*
 
10358
      $RM conftest*
10288
10359
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10289
10360
$as_echo "$archive_cmds_need_lc" >&6; }
10290
10361
      ;;
10293
10364
  ;;
10294
10365
esac
10295
10366
 
10296
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10367
 
 
10368
 
 
10369
 
 
10370
 
 
10371
 
 
10372
 
 
10373
 
 
10374
 
 
10375
 
 
10376
 
 
10377
 
 
10378
 
 
10379
 
 
10380
 
 
10381
 
 
10382
 
 
10383
 
 
10384
 
 
10385
 
 
10386
 
 
10387
 
 
10388
 
 
10389
 
 
10390
 
 
10391
 
 
10392
 
 
10393
 
 
10394
 
 
10395
 
 
10396
 
 
10397
 
 
10398
 
 
10399
 
 
10400
 
 
10401
 
 
10402
 
 
10403
 
 
10404
 
 
10405
 
 
10406
 
 
10407
 
 
10408
 
 
10409
 
 
10410
 
 
10411
 
 
10412
 
 
10413
 
 
10414
 
 
10415
 
 
10416
 
 
10417
 
 
10418
 
 
10419
 
 
10420
 
 
10421
 
 
10422
 
 
10423
 
 
10424
 
 
10425
 
 
10426
 
 
10427
 
 
10428
 
 
10429
 
 
10430
 
 
10431
 
 
10432
 
 
10433
 
 
10434
 
 
10435
 
 
10436
 
 
10437
 
 
10438
 
 
10439
 
 
10440
 
 
10441
 
 
10442
 
 
10443
 
 
10444
 
 
10445
 
 
10446
 
 
10447
 
 
10448
 
 
10449
 
 
10450
 
 
10451
 
 
10452
 
 
10453
 
 
10454
 
 
10455
 
 
10456
 
 
10457
 
 
10458
 
 
10459
 
 
10460
 
 
10461
 
 
10462
 
 
10463
 
 
10464
 
 
10465
 
 
10466
 
 
10467
 
 
10468
 
 
10469
 
 
10470
 
 
10471
 
 
10472
 
 
10473
 
 
10474
 
 
10475
 
 
10476
 
 
10477
 
 
10478
 
 
10479
 
 
10480
 
 
10481
 
 
10482
 
 
10483
 
 
10484
 
 
10485
 
 
10486
 
 
10487
 
 
10488
 
 
10489
 
 
10490
 
 
10491
 
 
10492
 
 
10493
 
 
10494
 
 
10495
 
 
10496
 
 
10497
 
 
10498
 
 
10499
 
 
10500
 
 
10501
 
 
10502
 
 
10503
 
 
10504
 
 
10505
 
 
10506
 
 
10507
 
 
10508
 
 
10509
 
 
10510
 
 
10511
 
 
10512
 
 
10513
 
 
10514
 
 
10515
 
 
10516
 
 
10517
 
 
10518
 
 
10519
 
 
10520
 
 
10521
 
 
10522
 
 
10523
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10297
10524
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10298
 
library_names_spec=
10299
 
libname_spec='lib$name'
10300
 
soname_spec=
10301
 
shrext_cmds=".so"
10302
 
postinstall_cmds=
10303
 
postuninstall_cmds=
10304
 
finish_cmds=
10305
 
finish_eval=
10306
 
shlibpath_var=
10307
 
shlibpath_overrides_runpath=unknown
10308
 
version_type=none
10309
 
dynamic_linker="$host_os ld.so"
10310
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10311
10525
 
10312
10526
if test "$GCC" = yes; then
10313
10527
  case $host_os in
10315
10529
    *) lt_awk_arg="/^libraries:/" ;;
10316
10530
  esac
10317
10531
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10318
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
10532
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10319
10533
    # if the path contains ";" then we assume it to be the separator
10320
10534
    # otherwise default to the standard path separator (i.e. ":") - it is
10321
10535
    # assumed that no part of a normal pathname contains ";" but that should
10322
10536
    # okay in the real world where ";" in dirpaths is itself problematic.
10323
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
10537
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10324
10538
  else
10325
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10539
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10326
10540
  fi
10327
10541
  # Ok, now we have the path, separated by spaces, we can step through it
10328
10542
  # and add multilib dir if necessary.
10336
10550
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10337
10551
    fi
10338
10552
  done
10339
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
10553
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10340
10554
BEGIN {RS=" "; FS="/|\n";} {
10341
10555
  lt_foo="";
10342
10556
  lt_count=0;
10356
10570
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10357
10571
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10358
10572
}'`
10359
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
10573
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10360
10574
else
10361
10575
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10362
10576
fi
 
10577
library_names_spec=
 
10578
libname_spec='lib$name'
 
10579
soname_spec=
 
10580
shrext_cmds=".so"
 
10581
postinstall_cmds=
 
10582
postuninstall_cmds=
 
10583
finish_cmds=
 
10584
finish_eval=
 
10585
shlibpath_var=
 
10586
shlibpath_overrides_runpath=unknown
 
10587
version_type=none
 
10588
dynamic_linker="$host_os ld.so"
 
10589
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10363
10590
need_lib_prefix=unknown
10364
10591
hardcode_into_libs=no
10365
10592
 
10396
10623
      aix4 | aix4.[01] | aix4.[01].*)
10397
10624
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10398
10625
           echo ' yes '
10399
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
10626
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10400
10627
        :
10401
10628
      else
10402
10629
        can_build_shared=no
10422
10649
  ;;
10423
10650
 
10424
10651
amigaos*)
10425
 
  library_names_spec='$libname.ixlibrary $libname.a'
10426
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
10427
 
  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'
 
10652
  case $host_cpu in
 
10653
  powerpc)
 
10654
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10655
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10656
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10657
    ;;
 
10658
  m68k)
 
10659
    library_names_spec='$libname.ixlibrary $libname.a'
 
10660
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10661
    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'
 
10662
    ;;
 
10663
  esac
10428
10664
  ;;
10429
10665
 
10430
10666
beos*)
10447
10683
  # libtool to hard-code these into programs
10448
10684
  ;;
10449
10685
 
10450
 
cygwin* | mingw* | pw32*)
 
10686
cygwin* | mingw* | pw32* | cegcc*)
10451
10687
  version_type=windows
10452
10688
  shrext_cmds=".dll"
10453
10689
  need_version=no
10454
10690
  need_lib_prefix=no
10455
10691
 
10456
10692
  case $GCC,$host_os in
10457
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
10693
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10458
10694
    library_names_spec='$libname.dll.a'
10459
10695
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10460
10696
    postinstall_cmds='base_file=`basename \${file}`~
10461
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
10697
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10462
10698
      dldir=$destdir/`dirname \$dlpath`~
10463
10699
      test -d \$dldir || mkdir -p \$dldir~
10464
10700
      $install_prog $dir/$dlname \$dldir/$dlname~
10465
 
      chmod a+x \$dldir/$dlname'
 
10701
      chmod a+x \$dldir/$dlname~
 
10702
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10703
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10704
      fi'
10466
10705
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10467
10706
      dlpath=$dir/\$dldll~
10468
 
       $rm \$dlpath'
 
10707
       $RM \$dlpath'
10469
10708
    shlibpath_overrides_runpath=yes
10470
10709
 
10471
10710
    case $host_os in
10474
10713
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10475
10714
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10476
10715
      ;;
10477
 
    mingw*)
 
10716
    mingw* | cegcc*)
10478
10717
      # MinGW DLLs use traditional 'lib' prefix
10479
10718
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10480
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10481
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
10719
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10720
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10482
10721
        # It is most probably a Windows format PATH printed by
10483
10722
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10484
10723
        # path with ; separators, and with drive letters. We can handle the
10485
10724
        # drive letters (cygwin fileutils understands them), so leave them,
10486
10725
        # especially as we might pass files found there to a mingw objdump,
10487
10726
        # which wouldn't understand a cygwinified path. Ahh.
10488
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10727
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10489
10728
      else
10490
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10729
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10491
10730
      fi
10492
10731
      ;;
10493
10732
    pw32*)
10511
10750
  version_type=darwin
10512
10751
  need_lib_prefix=no
10513
10752
  need_version=no
10514
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10753
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10515
10754
  soname_spec='${libname}${release}${major}$shared_ext'
10516
10755
  shlibpath_overrides_runpath=yes
10517
10756
  shlibpath_var=DYLD_LIBRARY_PATH
10610
10849
    fi
10611
10850
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10612
10851
    ;;
10613
 
   hppa*64*)
10614
 
     shrext_cmds='.sl'
10615
 
     hardcode_into_libs=yes
10616
 
     dynamic_linker="$host_os dld.sl"
10617
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10618
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10619
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10620
 
     soname_spec='${libname}${release}${shared_ext}$major'
10621
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10622
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10623
 
     ;;
10624
 
   *)
 
10852
  hppa*64*)
 
10853
    shrext_cmds='.sl'
 
10854
    hardcode_into_libs=yes
 
10855
    dynamic_linker="$host_os dld.sl"
 
10856
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10857
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10858
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10859
    soname_spec='${libname}${release}${shared_ext}$major'
 
10860
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10861
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10862
    ;;
 
10863
  *)
10625
10864
    shrext_cmds='.sl'
10626
10865
    dynamic_linker="$host_os dld.sl"
10627
10866
    shlibpath_var=SHLIB_PATH
10698
10937
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10699
10938
  shlibpath_var=LD_LIBRARY_PATH
10700
10939
  shlibpath_overrides_runpath=no
 
10940
  # Some binutils ld are patched to set DT_RUNPATH
 
10941
  save_LDFLAGS=$LDFLAGS
 
10942
  save_libdir=$libdir
 
10943
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10944
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10945
  cat >conftest.$ac_ext <<_ACEOF
 
10946
/* confdefs.h.  */
 
10947
_ACEOF
 
10948
cat confdefs.h >>conftest.$ac_ext
 
10949
cat >>conftest.$ac_ext <<_ACEOF
 
10950
/* end confdefs.h.  */
 
10951
 
 
10952
int
 
10953
main ()
 
10954
{
 
10955
 
 
10956
  ;
 
10957
  return 0;
 
10958
}
 
10959
_ACEOF
 
10960
rm -f conftest.$ac_objext conftest$ac_exeext
 
10961
if { (ac_try="$ac_link"
 
10962
case "(($ac_try" in
 
10963
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10964
  *) ac_try_echo=$ac_try;;
 
10965
esac
 
10966
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10967
$as_echo "$ac_try_echo") >&5
 
10968
  (eval "$ac_link") 2>conftest.er1
 
10969
  ac_status=$?
 
10970
  grep -v '^ *+' conftest.er1 >conftest.err
 
10971
  rm -f conftest.er1
 
10972
  cat conftest.err >&5
 
10973
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10974
  (exit $ac_status); } && {
 
10975
         test -z "$ac_c_werror_flag" ||
 
10976
         test ! -s conftest.err
 
10977
       } && test -s conftest$ac_exeext && {
 
10978
         test "$cross_compiling" = yes ||
 
10979
         $as_test_x conftest$ac_exeext
 
10980
       }; then
 
10981
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
10982
  shlibpath_overrides_runpath=yes
 
10983
fi
 
10984
 
 
10985
else
 
10986
  $as_echo "$as_me: failed program was:" >&5
 
10987
sed 's/^/| /' conftest.$ac_ext >&5
 
10988
 
 
10989
 
 
10990
fi
 
10991
 
 
10992
rm -rf conftest.dSYM
 
10993
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10994
      conftest$ac_exeext conftest.$ac_ext
 
10995
  LDFLAGS=$save_LDFLAGS
 
10996
  libdir=$save_libdir
 
10997
 
10701
10998
  # This implies no fast_install, which is unacceptable.
10702
10999
  # Some rework will be needed to allow for fast_install
10703
11000
  # before this can be enabled.
10705
11002
 
10706
11003
  # Append ld.so.conf contents to the search path
10707
11004
  if test -f /etc/ld.so.conf; then
10708
 
    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' ' '`
 
11005
    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' ' '`
10709
11006
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10710
11007
  fi
10711
11008
 
10722
11019
  version_type=sunos
10723
11020
  need_lib_prefix=no
10724
11021
  need_version=no
10725
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
11022
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10726
11023
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10727
11024
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10728
11025
    dynamic_linker='NetBSD (a.out) ld.so'
10743
11040
  shlibpath_overrides_runpath=yes
10744
11041
  ;;
10745
11042
 
10746
 
nto-qnx*)
10747
 
  version_type=linux
 
11043
*nto* | *qnx*)
 
11044
  version_type=qnx
10748
11045
  need_lib_prefix=no
10749
11046
  need_version=no
10750
11047
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10751
11048
  soname_spec='${libname}${release}${shared_ext}$major'
10752
11049
  shlibpath_var=LD_LIBRARY_PATH
10753
 
  shlibpath_overrides_runpath=yes
 
11050
  shlibpath_overrides_runpath=no
 
11051
  hardcode_into_libs=yes
 
11052
  dynamic_linker='ldqnx.so'
10754
11053
  ;;
10755
11054
 
10756
11055
openbsd*)
10759
11058
  need_lib_prefix=no
10760
11059
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10761
11060
  case $host_os in
10762
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10763
 
    *)                         need_version=no  ;;
 
11061
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
11062
    *)                          need_version=no  ;;
10764
11063
  esac
10765
11064
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10766
11065
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10767
11066
  shlibpath_var=LD_LIBRARY_PATH
10768
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11067
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10769
11068
    case $host_os in
10770
11069
      openbsd2.[89] | openbsd2.[89].*)
10771
11070
        shlibpath_overrides_runpath=no
10837
11136
    sni)
10838
11137
      shlibpath_overrides_runpath=no
10839
11138
      need_lib_prefix=no
10840
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
10841
11139
      runpath_var=LD_RUN_PATH
10842
11140
      ;;
10843
11141
    siemens)
10868
11166
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10869
11167
  soname_spec='${libname}${release}${shared_ext}$major'
10870
11168
  shlibpath_var=LD_LIBRARY_PATH
 
11169
  shlibpath_overrides_runpath=yes
10871
11170
  hardcode_into_libs=yes
10872
11171
  if test "$with_gnu_ld" = yes; then
10873
11172
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10874
 
    shlibpath_overrides_runpath=no
10875
11173
  else
10876
11174
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10877
 
    shlibpath_overrides_runpath=yes
10878
11175
    case $host_os in
10879
11176
      sco3.2v5*)
10880
11177
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10884
11181
  sys_lib_dlsearch_path_spec='/usr/lib'
10885
11182
  ;;
10886
11183
 
 
11184
tpf*)
 
11185
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
11186
  version_type=linux
 
11187
  need_lib_prefix=no
 
11188
  need_version=no
 
11189
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11190
  shlibpath_var=LD_LIBRARY_PATH
 
11191
  shlibpath_overrides_runpath=no
 
11192
  hardcode_into_libs=yes
 
11193
  ;;
 
11194
 
10887
11195
uts4*)
10888
11196
  version_type=linux
10889
11197
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10899
11207
$as_echo "$dynamic_linker" >&6; }
10900
11208
test "$dynamic_linker" = no && can_build_shared=no
10901
11209
 
10902
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10903
 
  $as_echo_n "(cached) " >&6
10904
 
else
10905
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
10906
 
fi
10907
 
 
10908
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10909
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10910
 
  $as_echo_n "(cached) " >&6
10911
 
else
10912
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
10913
 
fi
10914
 
 
10915
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10916
 
 
10917
11210
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10918
11211
if test "$GCC" = yes; then
10919
11212
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10920
11213
fi
10921
11214
 
10922
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11215
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11216
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11217
fi
 
11218
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11219
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11220
fi
 
11221
 
 
11222
 
 
11223
 
 
11224
 
 
11225
 
 
11226
 
 
11227
 
 
11228
 
 
11229
 
 
11230
 
 
11231
 
 
11232
 
 
11233
 
 
11234
 
 
11235
 
 
11236
 
 
11237
 
 
11238
 
 
11239
 
 
11240
 
 
11241
 
 
11242
 
 
11243
 
 
11244
 
 
11245
 
 
11246
 
 
11247
 
 
11248
 
 
11249
 
 
11250
 
 
11251
 
 
11252
 
 
11253
 
 
11254
 
 
11255
 
 
11256
 
 
11257
 
 
11258
 
 
11259
 
 
11260
 
 
11261
 
 
11262
 
 
11263
 
 
11264
 
 
11265
 
 
11266
 
 
11267
 
 
11268
 
 
11269
 
 
11270
 
 
11271
 
 
11272
 
 
11273
 
 
11274
 
 
11275
 
 
11276
 
 
11277
 
 
11278
 
 
11279
 
 
11280
 
 
11281
 
 
11282
 
 
11283
 
 
11284
 
 
11285
 
 
11286
 
 
11287
 
 
11288
 
 
11289
 
 
11290
 
 
11291
 
 
11292
 
 
11293
 
 
11294
 
 
11295
 
 
11296
 
 
11297
 
 
11298
 
 
11299
 
 
11300
 
 
11301
 
 
11302
 
 
11303
 
 
11304
 
 
11305
 
 
11306
 
 
11307
 
 
11308
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10923
11309
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10924
11310
hardcode_action=
10925
 
if test -n "$hardcode_libdir_flag_spec" || \
10926
 
   test -n "$runpath_var" || \
 
11311
if test -n "$hardcode_libdir_flag_spec" ||
 
11312
   test -n "$runpath_var" ||
10927
11313
   test "X$hardcode_automatic" = "Xyes" ; then
10928
11314
 
10929
 
  # We can hardcode non-existant directories.
 
11315
  # We can hardcode non-existent directories.
10930
11316
  if test "$hardcode_direct" != no &&
10931
11317
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10932
11318
     # have to relink, otherwise we might link with an installed library
10933
11319
     # when we should be linking with a yet-to-be-installed one
10934
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11320
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10935
11321
     test "$hardcode_minus_L" != no; then
10936
11322
    # Linking always hardcodes the temporary library directory.
10937
11323
    hardcode_action=relink
10947
11333
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10948
11334
$as_echo "$hardcode_action" >&6; }
10949
11335
 
10950
 
if test "$hardcode_action" = relink; then
 
11336
if test "$hardcode_action" = relink ||
 
11337
   test "$inherit_rpath" = yes; then
10951
11338
  # Fast installation is not supported
10952
11339
  enable_fast_install=no
10953
11340
elif test "$shlibpath_overrides_runpath" = yes ||
10956
11343
  enable_fast_install=needless
10957
11344
fi
10958
11345
 
10959
 
striplib=
10960
 
old_striplib=
10961
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10962
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10963
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10964
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10965
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10966
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
10967
 
$as_echo "yes" >&6; }
10968
 
else
10969
 
# FIXME - insert some real tests, host_os isn't really good enough
10970
 
  case $host_os in
10971
 
   darwin*)
10972
 
       if test -n "$STRIP" ; then
10973
 
         striplib="$STRIP -x"
10974
 
         old_striplib="$STRIP -S"
10975
 
         { $as_echo "$as_me:$LINENO: result: yes" >&5
10976
 
$as_echo "yes" >&6; }
10977
 
       else
10978
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10979
 
$as_echo "no" >&6; }
10980
 
fi
10981
 
       ;;
10982
 
   *)
10983
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10984
 
$as_echo "no" >&6; }
10985
 
    ;;
10986
 
  esac
10987
 
fi
10988
 
 
10989
 
if test "x$enable_dlopen" != xyes; then
 
11346
 
 
11347
 
 
11348
 
 
11349
 
 
11350
 
 
11351
  if test "x$enable_dlopen" != xyes; then
10990
11352
  enable_dlopen=unknown
10991
11353
  enable_dlopen_self=unknown
10992
11354
  enable_dlopen_self_static=unknown
11001
11363
    lt_cv_dlopen_self=yes
11002
11364
    ;;
11003
11365
 
11004
 
  mingw* | pw32*)
 
11366
  mingw* | pw32* | cegcc*)
11005
11367
    lt_cv_dlopen="LoadLibrary"
11006
11368
    lt_cv_dlopen_libs=
11007
 
   ;;
 
11369
    ;;
11008
11370
 
11009
11371
  cygwin*)
11010
11372
    lt_cv_dlopen="dlopen"
11011
11373
    lt_cv_dlopen_libs=
11012
 
   ;;
 
11374
    ;;
11013
11375
 
11014
11376
  darwin*)
11015
11377
  # if libdl is installed we need to link against it
11078
11440
fi
11079
11441
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11080
11442
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11081
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11443
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11082
11444
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11083
11445
else
11084
11446
 
11088
11450
 
11089
11451
fi
11090
11452
 
11091
 
   ;;
 
11453
    ;;
11092
11454
 
11093
11455
  *)
11094
11456
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11176
11538
fi
11177
11539
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11178
11540
$as_echo "$ac_cv_func_shl_load" >&6; }
11179
 
if test $ac_cv_func_shl_load = yes; then
 
11541
if test "x$ac_cv_func_shl_load" = x""yes; then
11180
11542
  lt_cv_dlopen="shl_load"
11181
11543
else
11182
11544
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11244
11606
fi
11245
11607
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11246
11608
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11247
 
if test $ac_cv_lib_dld_shl_load = yes; then
 
11609
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11248
11610
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11249
11611
else
11250
11612
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11332
11694
fi
11333
11695
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11334
11696
$as_echo "$ac_cv_func_dlopen" >&6; }
11335
 
if test $ac_cv_func_dlopen = yes; then
 
11697
if test "x$ac_cv_func_dlopen" = x""yes; then
11336
11698
  lt_cv_dlopen="dlopen"
11337
11699
else
11338
11700
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11400
11762
fi
11401
11763
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11402
11764
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11403
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11765
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11404
11766
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11405
11767
else
11406
11768
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11468
11830
fi
11469
11831
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11470
11832
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11471
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
11833
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11472
11834
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11473
11835
else
11474
11836
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11536
11898
fi
11537
11899
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11538
11900
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11539
 
if test $ac_cv_lib_dld_dld_link = yes; then
 
11901
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11540
11902
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11541
11903
fi
11542
11904
 
11585
11947
else
11586
11948
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11587
11949
  lt_status=$lt_dlunknown
11588
 
  cat > conftest.$ac_ext <<EOF
11589
 
#line 11589 "configure"
 
11950
  cat > conftest.$ac_ext <<_LT_EOF
 
11951
#line 11951 "configure"
11590
11952
#include "confdefs.h"
11591
11953
 
11592
11954
#if HAVE_DLFCN_H
11627
11989
#  endif
11628
11990
#endif
11629
11991
 
11630
 
#ifdef __cplusplus
11631
 
extern "C" void exit (int);
11632
 
#endif
11633
 
 
11634
11992
void fnord() { int i=42;}
11635
11993
int main ()
11636
11994
{
11646
12004
  else
11647
12005
    puts (dlerror ());
11648
12006
 
11649
 
    exit (status);
 
12007
  return status;
11650
12008
}
11651
 
EOF
 
12009
_LT_EOF
11652
12010
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11653
12011
  (eval $ac_link) 2>&5
11654
12012
  ac_status=$?
11685
12043
else
11686
12044
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11687
12045
  lt_status=$lt_dlunknown
11688
 
  cat > conftest.$ac_ext <<EOF
11689
 
#line 11689 "configure"
 
12046
  cat > conftest.$ac_ext <<_LT_EOF
 
12047
#line 12047 "configure"
11690
12048
#include "confdefs.h"
11691
12049
 
11692
12050
#if HAVE_DLFCN_H
11727
12085
#  endif
11728
12086
#endif
11729
12087
 
11730
 
#ifdef __cplusplus
11731
 
extern "C" void exit (int);
11732
 
#endif
11733
 
 
11734
12088
void fnord() { int i=42;}
11735
12089
int main ()
11736
12090
{
11746
12100
  else
11747
12101
    puts (dlerror ());
11748
12102
 
11749
 
    exit (status);
 
12103
  return status;
11750
12104
}
11751
 
EOF
 
12105
_LT_EOF
11752
12106
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11753
12107
  (eval $ac_link) 2>&5
11754
12108
  ac_status=$?
11792
12146
fi
11793
12147
 
11794
12148
 
11795
 
# Report which library types will actually be built
11796
 
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11797
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11798
 
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11799
 
$as_echo "$can_build_shared" >&6; }
11800
 
 
11801
 
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11802
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
11803
 
test "$can_build_shared" = "no" && enable_shared=no
11804
 
 
11805
 
# On AIX, shared libraries and static libraries use the same namespace, and
11806
 
# are all built from PIC.
11807
 
case $host_os in
11808
 
aix3*)
11809
 
  test "$enable_shared" = yes && enable_static=no
11810
 
  if test -n "$RANLIB"; then
11811
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
11812
 
    postinstall_cmds='$RANLIB $lib'
11813
 
  fi
11814
 
  ;;
11815
 
 
11816
 
aix[4-9]*)
11817
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11818
 
    test "$enable_shared" = yes && enable_static=no
11819
 
  fi
11820
 
    ;;
11821
 
esac
11822
 
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11823
 
$as_echo "$enable_shared" >&6; }
11824
 
 
11825
 
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11826
 
$as_echo_n "checking whether to build static libraries... " >&6; }
11827
 
# Make sure either enable_shared or enable_static is yes.
11828
 
test "$enable_shared" = yes || enable_static=yes
11829
 
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11830
 
$as_echo "$enable_static" >&6; }
11831
 
 
11832
 
# The else clause should only fire when bootstrapping the
11833
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
11834
 
# with your package, and you will get complaints that there are
11835
 
# no rules to generate ltmain.sh.
11836
 
if test -f "$ltmain"; then
11837
 
  # See if we are running on zsh, and set the options which allow our commands through
11838
 
  # without removal of \ escapes.
11839
 
  if test -n "${ZSH_VERSION+set}" ; then
11840
 
    setopt NO_GLOB_SUBST
11841
 
  fi
11842
 
  # Now quote all the things that may contain metacharacters while being
11843
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
11844
 
  # variables and quote the copies for generation of the libtool script.
11845
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11846
 
    SED SHELL STRIP \
11847
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11848
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11849
 
    deplibs_check_method reload_flag reload_cmds need_locks \
11850
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11851
 
    lt_cv_sys_global_symbol_to_c_name_address \
11852
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11853
 
    old_postinstall_cmds old_postuninstall_cmds \
11854
 
    compiler \
11855
 
    CC \
11856
 
    LD \
11857
 
    lt_prog_compiler_wl \
11858
 
    lt_prog_compiler_pic \
11859
 
    lt_prog_compiler_static \
11860
 
    lt_prog_compiler_no_builtin_flag \
11861
 
    export_dynamic_flag_spec \
11862
 
    thread_safe_flag_spec \
11863
 
    whole_archive_flag_spec \
11864
 
    enable_shared_with_static_runtimes \
11865
 
    old_archive_cmds \
11866
 
    old_archive_from_new_cmds \
11867
 
    predep_objects \
11868
 
    postdep_objects \
11869
 
    predeps \
11870
 
    postdeps \
11871
 
    compiler_lib_search_path \
11872
 
    compiler_lib_search_dirs \
11873
 
    archive_cmds \
11874
 
    archive_expsym_cmds \
11875
 
    postinstall_cmds \
11876
 
    postuninstall_cmds \
11877
 
    old_archive_from_expsyms_cmds \
11878
 
    allow_undefined_flag \
11879
 
    no_undefined_flag \
11880
 
    export_symbols_cmds \
11881
 
    hardcode_libdir_flag_spec \
11882
 
    hardcode_libdir_flag_spec_ld \
11883
 
    hardcode_libdir_separator \
11884
 
    hardcode_automatic \
11885
 
    module_cmds \
11886
 
    module_expsym_cmds \
11887
 
    lt_cv_prog_compiler_c_o \
11888
 
    fix_srcfile_path \
11889
 
    exclude_expsyms \
11890
 
    include_expsyms; do
11891
 
 
11892
 
    case $var in
11893
 
    old_archive_cmds | \
11894
 
    old_archive_from_new_cmds | \
11895
 
    archive_cmds | \
11896
 
    archive_expsym_cmds | \
11897
 
    module_cmds | \
11898
 
    module_expsym_cmds | \
11899
 
    old_archive_from_expsyms_cmds | \
11900
 
    export_symbols_cmds | \
11901
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
11902
 
    postinstall_cmds | postuninstall_cmds | \
11903
 
    old_postinstall_cmds | old_postuninstall_cmds | \
11904
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11905
 
      # Double-quote double-evaled strings.
11906
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11907
 
      ;;
11908
 
    *)
11909
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11910
 
      ;;
11911
 
    esac
11912
 
  done
11913
 
 
11914
 
  case $lt_echo in
11915
 
  *'\$0 --fallback-echo"')
11916
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11917
 
    ;;
11918
 
  esac
11919
 
 
11920
 
cfgfile="${ofile}T"
11921
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11922
 
  $rm -f "$cfgfile"
11923
 
  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
11924
 
$as_echo "$as_me: creating $ofile" >&6;}
11925
 
 
11926
 
  cat <<__EOF__ >> "$cfgfile"
11927
 
#! $SHELL
11928
 
 
11929
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11930
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11931
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11932
 
#
11933
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11934
 
# Free Software Foundation, Inc.
11935
 
#
11936
 
# This file is part of GNU Libtool:
11937
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11938
 
#
11939
 
# This program is free software; you can redistribute it and/or modify
11940
 
# it under the terms of the GNU General Public License as published by
11941
 
# the Free Software Foundation; either version 2 of the License, or
11942
 
# (at your option) any later version.
11943
 
#
11944
 
# This program is distributed in the hope that it will be useful, but
11945
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
11946
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11947
 
# General Public License for more details.
11948
 
#
11949
 
# You should have received a copy of the GNU General Public License
11950
 
# along with this program; if not, write to the Free Software
11951
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11952
 
#
11953
 
# As a special exception to the GNU General Public License, if you
11954
 
# distribute this file as part of a program that contains a
11955
 
# configuration script generated by Autoconf, you may include it under
11956
 
# the same distribution terms that you use for the rest of that program.
11957
 
 
11958
 
# A sed program that does not truncate output.
11959
 
SED=$lt_SED
11960
 
 
11961
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11962
 
Xsed="$SED -e 1s/^X//"
11963
 
 
11964
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
11965
 
# if CDPATH is set.
11966
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11967
 
 
11968
 
# The names of the tagged configurations supported by this script.
11969
 
available_tags=
11970
 
 
11971
 
# ### BEGIN LIBTOOL CONFIG
11972
 
 
11973
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11974
 
 
11975
 
# Shell to use when invoking shell scripts.
11976
 
SHELL=$lt_SHELL
11977
 
 
11978
 
# Whether or not to build shared libraries.
11979
 
build_libtool_libs=$enable_shared
11980
 
 
11981
 
# Whether or not to build static libraries.
11982
 
build_old_libs=$enable_static
11983
 
 
11984
 
# Whether or not to add -lc for building shared libraries.
11985
 
build_libtool_need_lc=$archive_cmds_need_lc
11986
 
 
11987
 
# Whether or not to disallow shared libs when runtime libs are static
11988
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11989
 
 
11990
 
# Whether or not to optimize for fast installation.
11991
 
fast_install=$enable_fast_install
11992
 
 
11993
 
# The host system.
11994
 
host_alias=$host_alias
11995
 
host=$host
11996
 
host_os=$host_os
11997
 
 
11998
 
# The build system.
11999
 
build_alias=$build_alias
12000
 
build=$build
12001
 
build_os=$build_os
12002
 
 
12003
 
# An echo program that does not interpret backslashes.
12004
 
echo=$lt_echo
12005
 
 
12006
 
# The archiver.
12007
 
AR=$lt_AR
12008
 
AR_FLAGS=$lt_AR_FLAGS
12009
 
 
12010
 
# A C compiler.
12011
 
LTCC=$lt_LTCC
12012
 
 
12013
 
# LTCC compiler flags.
12014
 
LTCFLAGS=$lt_LTCFLAGS
12015
 
 
12016
 
# A language-specific compiler.
12017
 
CC=$lt_compiler
12018
 
 
12019
 
# Is the compiler the GNU C compiler?
12020
 
with_gcc=$GCC
12021
 
 
12022
 
# An ERE matcher.
12023
 
EGREP=$lt_EGREP
12024
 
 
12025
 
# The linker used to build libraries.
12026
 
LD=$lt_LD
12027
 
 
12028
 
# Whether we need hard or soft links.
12029
 
LN_S=$lt_LN_S
12030
 
 
12031
 
# A BSD-compatible nm program.
12032
 
NM=$lt_NM
12033
 
 
12034
 
# A symbol stripping program
12035
 
STRIP=$lt_STRIP
12036
 
 
12037
 
# Used to examine libraries when file_magic_cmd begins "file"
12038
 
MAGIC_CMD=$MAGIC_CMD
12039
 
 
12040
 
# Used on cygwin: DLL creation program.
12041
 
DLLTOOL="$DLLTOOL"
12042
 
 
12043
 
# Used on cygwin: object dumper.
12044
 
OBJDUMP="$OBJDUMP"
12045
 
 
12046
 
# Used on cygwin: assembler.
12047
 
AS="$AS"
12048
 
 
12049
 
# The name of the directory that contains temporary libtool files.
12050
 
objdir=$objdir
12051
 
 
12052
 
# How to create reloadable object files.
12053
 
reload_flag=$lt_reload_flag
12054
 
reload_cmds=$lt_reload_cmds
12055
 
 
12056
 
# How to pass a linker flag through the compiler.
12057
 
wl=$lt_lt_prog_compiler_wl
12058
 
 
12059
 
# Object file suffix (normally "o").
12060
 
objext="$ac_objext"
12061
 
 
12062
 
# Old archive suffix (normally "a").
12063
 
libext="$libext"
12064
 
 
12065
 
# Shared library suffix (normally ".so").
12066
 
shrext_cmds='$shrext_cmds'
12067
 
 
12068
 
# Executable file suffix (normally "").
12069
 
exeext="$exeext"
12070
 
 
12071
 
# Additional compiler flags for building library objects.
12072
 
pic_flag=$lt_lt_prog_compiler_pic
12073
 
pic_mode=$pic_mode
12074
 
 
12075
 
# What is the maximum length of a command?
12076
 
max_cmd_len=$lt_cv_sys_max_cmd_len
12077
 
 
12078
 
# Does compiler simultaneously support -c and -o options?
12079
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12080
 
 
12081
 
# Must we lock files when doing compilation?
12082
 
need_locks=$lt_need_locks
12083
 
 
12084
 
# Do we need the lib prefix for modules?
12085
 
need_lib_prefix=$need_lib_prefix
12086
 
 
12087
 
# Do we need a version for libraries?
12088
 
need_version=$need_version
12089
 
 
12090
 
# Whether dlopen is supported.
12091
 
dlopen_support=$enable_dlopen
12092
 
 
12093
 
# Whether dlopen of programs is supported.
12094
 
dlopen_self=$enable_dlopen_self
12095
 
 
12096
 
# Whether dlopen of statically linked programs is supported.
12097
 
dlopen_self_static=$enable_dlopen_self_static
12098
 
 
12099
 
# Compiler flag to prevent dynamic linking.
12100
 
link_static_flag=$lt_lt_prog_compiler_static
12101
 
 
12102
 
# Compiler flag to turn off builtin functions.
12103
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12104
 
 
12105
 
# Compiler flag to allow reflexive dlopens.
12106
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12107
 
 
12108
 
# Compiler flag to generate shared objects directly from archives.
12109
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
12110
 
 
12111
 
# Compiler flag to generate thread-safe objects.
12112
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
12113
 
 
12114
 
# Library versioning type.
12115
 
version_type=$version_type
12116
 
 
12117
 
# Format of library name prefix.
12118
 
libname_spec=$lt_libname_spec
12119
 
 
12120
 
# List of archive names.  First name is the real one, the rest are links.
12121
 
# The last name is the one that the linker finds with -lNAME.
12122
 
library_names_spec=$lt_library_names_spec
12123
 
 
12124
 
# The coded name of the library, if different from the real name.
12125
 
soname_spec=$lt_soname_spec
12126
 
 
12127
 
# Commands used to build and install an old-style archive.
12128
 
RANLIB=$lt_RANLIB
12129
 
old_archive_cmds=$lt_old_archive_cmds
12130
 
old_postinstall_cmds=$lt_old_postinstall_cmds
12131
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12132
 
 
12133
 
# Create an old-style archive from a shared archive.
12134
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12135
 
 
12136
 
# Create a temporary old-style archive to link instead of a shared archive.
12137
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12138
 
 
12139
 
# Commands used to build and install a shared archive.
12140
 
archive_cmds=$lt_archive_cmds
12141
 
archive_expsym_cmds=$lt_archive_expsym_cmds
12142
 
postinstall_cmds=$lt_postinstall_cmds
12143
 
postuninstall_cmds=$lt_postuninstall_cmds
12144
 
 
12145
 
# Commands used to build a loadable module (assumed same as above if empty)
12146
 
module_cmds=$lt_module_cmds
12147
 
module_expsym_cmds=$lt_module_expsym_cmds
12148
 
 
12149
 
# Commands to strip libraries.
12150
 
old_striplib=$lt_old_striplib
12151
 
striplib=$lt_striplib
12152
 
 
12153
 
# Dependencies to place before the objects being linked to create a
12154
 
# shared library.
12155
 
predep_objects=$lt_predep_objects
12156
 
 
12157
 
# Dependencies to place after the objects being linked to create a
12158
 
# shared library.
12159
 
postdep_objects=$lt_postdep_objects
12160
 
 
12161
 
# Dependencies to place before the objects being linked to create a
12162
 
# shared library.
12163
 
predeps=$lt_predeps
12164
 
 
12165
 
# Dependencies to place after the objects being linked to create a
12166
 
# shared library.
12167
 
postdeps=$lt_postdeps
12168
 
 
12169
 
# The directories searched by this compiler when creating a shared
12170
 
# library
12171
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
12172
 
 
12173
 
# The library search path used internally by the compiler when linking
12174
 
# a shared library.
12175
 
compiler_lib_search_path=$lt_compiler_lib_search_path
12176
 
 
12177
 
# Method to check whether dependent libraries are shared objects.
12178
 
deplibs_check_method=$lt_deplibs_check_method
12179
 
 
12180
 
# Command to use when deplibs_check_method == file_magic.
12181
 
file_magic_cmd=$lt_file_magic_cmd
12182
 
 
12183
 
# Flag that allows shared libraries with undefined symbols to be built.
12184
 
allow_undefined_flag=$lt_allow_undefined_flag
12185
 
 
12186
 
# Flag that forces no undefined symbols.
12187
 
no_undefined_flag=$lt_no_undefined_flag
12188
 
 
12189
 
# Commands used to finish a libtool library installation in a directory.
12190
 
finish_cmds=$lt_finish_cmds
12191
 
 
12192
 
# Same as above, but a single script fragment to be evaled but not shown.
12193
 
finish_eval=$lt_finish_eval
12194
 
 
12195
 
# Take the output of nm and produce a listing of raw symbols and C names.
12196
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12197
 
 
12198
 
# Transform the output of nm in a proper C declaration
12199
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12200
 
 
12201
 
# Transform the output of nm in a C name address pair
12202
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12203
 
 
12204
 
# This is the shared library runtime path variable.
12205
 
runpath_var=$runpath_var
12206
 
 
12207
 
# This is the shared library path variable.
12208
 
shlibpath_var=$shlibpath_var
12209
 
 
12210
 
# Is shlibpath searched before the hard-coded library search path?
12211
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12212
 
 
12213
 
# How to hardcode a shared library path into an executable.
12214
 
hardcode_action=$hardcode_action
12215
 
 
12216
 
# Whether we should hardcode library paths into libraries.
12217
 
hardcode_into_libs=$hardcode_into_libs
12218
 
 
12219
 
# Flag to hardcode \$libdir into a binary during linking.
12220
 
# This must work even if \$libdir does not exist.
12221
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12222
 
 
12223
 
# If ld is used when linking, flag to hardcode \$libdir into
12224
 
# a binary during linking. This must work even if \$libdir does
12225
 
# not exist.
12226
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12227
 
 
12228
 
# Whether we need a single -rpath flag with a separated argument.
12229
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
12230
 
 
12231
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12232
 
# resulting binary.
12233
 
hardcode_direct=$hardcode_direct
12234
 
 
12235
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12236
 
# resulting binary.
12237
 
hardcode_minus_L=$hardcode_minus_L
12238
 
 
12239
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12240
 
# the resulting binary.
12241
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
12242
 
 
12243
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
12244
 
# and all subsequent libraries and executables linked against it.
12245
 
hardcode_automatic=$hardcode_automatic
12246
 
 
12247
 
# Variables whose values should be saved in libtool wrapper scripts and
12248
 
# restored at relink time.
12249
 
variables_saved_for_relink="$variables_saved_for_relink"
12250
 
 
12251
 
# Whether libtool must link a program against all its dependency libraries.
12252
 
link_all_deplibs=$link_all_deplibs
12253
 
 
12254
 
# Compile-time system search path for libraries
12255
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12256
 
 
12257
 
# Run-time system search path for libraries
12258
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12259
 
 
12260
 
# Fix the shell variable \$srcfile for the compiler.
12261
 
fix_srcfile_path=$lt_fix_srcfile_path
12262
 
 
12263
 
# Set to yes if exported symbols are required.
12264
 
always_export_symbols=$always_export_symbols
12265
 
 
12266
 
# The commands to list exported symbols.
12267
 
export_symbols_cmds=$lt_export_symbols_cmds
12268
 
 
12269
 
# The commands to extract the exported symbol list from a shared archive.
12270
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12271
 
 
12272
 
# Symbols that should not be listed in the preloaded symbols.
12273
 
exclude_expsyms=$lt_exclude_expsyms
12274
 
 
12275
 
# Symbols that must always be exported.
12276
 
include_expsyms=$lt_include_expsyms
12277
 
 
12278
 
# ### END LIBTOOL CONFIG
12279
 
 
12280
 
__EOF__
12281
 
 
12282
 
 
12283
 
  case $host_os in
12284
 
  aix3*)
12285
 
    cat <<\EOF >> "$cfgfile"
12286
 
 
12287
 
# AIX sometimes has problems with the GCC collect2 program.  For some
12288
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
12289
 
# vanish in a puff of smoke.
12290
 
if test "X${COLLECT_NAMES+set}" != Xset; then
12291
 
  COLLECT_NAMES=
12292
 
  export COLLECT_NAMES
12293
 
fi
12294
 
EOF
12295
 
    ;;
12296
 
  esac
12297
 
 
12298
 
  # We use sed instead of cat because bash on DJGPP gets confused if
12299
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
12300
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
12301
 
  # is reportedly fixed, but why not run on old versions too?
12302
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12303
 
 
12304
 
  mv -f "$cfgfile" "$ofile" || \
12305
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12306
 
  chmod +x "$ofile"
12307
 
 
12308
 
else
12309
 
  # If there is no Makefile yet, we rely on a make rule to execute
12310
 
  # `config.status --recheck' to rerun these tests and create the
12311
 
  # libtool script then.
12312
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12313
 
  if test -f "$ltmain_in"; then
12314
 
    test -f Makefile && make "$ltmain"
12315
 
  fi
12316
 
fi
12317
 
 
12318
 
 
12319
 
ac_ext=c
12320
 
ac_cpp='$CPP $CPPFLAGS'
12321
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12322
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12323
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12324
 
 
12325
 
CC="$lt_save_CC"
12326
 
 
12327
 
 
12328
 
# Check whether --with-tags was given.
12329
 
if test "${with_tags+set}" = set; then
12330
 
  withval=$with_tags; tagnames="$withval"
12331
 
fi
12332
 
 
12333
 
 
12334
 
if test -f "$ltmain" && test -n "$tagnames"; then
12335
 
  if test ! -f "${ofile}"; then
12336
 
    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
12337
 
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
12338
 
  fi
12339
 
 
12340
 
  if test -z "$LTCC"; then
12341
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12342
 
    if test -z "$LTCC"; then
12343
 
      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12344
 
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
12345
 
    else
12346
 
      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12347
 
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12348
 
    fi
12349
 
  fi
12350
 
  if test -z "$LTCFLAGS"; then
12351
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
12352
 
  fi
12353
 
 
12354
 
  # Extract list of available tagged configurations in $ofile.
12355
 
  # Note that this assumes the entire list is on one line.
12356
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12357
 
 
12358
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12359
 
  for tagname in $tagnames; do
12360
 
    IFS="$lt_save_ifs"
12361
 
    # Check whether tagname contains only valid characters
12362
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12363
 
    "") ;;
12364
 
    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12365
 
$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
12366
 
   { (exit 1); exit 1; }; }
12367
 
        ;;
12368
 
    esac
12369
 
 
12370
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12371
 
    then
12372
 
      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12373
 
$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12374
 
   { (exit 1); exit 1; }; }
12375
 
    fi
12376
 
 
12377
 
    # Update the list of available tags.
12378
 
    if test -n "$tagname"; then
12379
 
      echo appending configuration tag \"$tagname\" to $ofile
12380
 
 
12381
 
      case $tagname in
12382
 
      CXX)
12383
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12384
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12385
 
            (test "X$CXX" != "Xg++"))) ; then
12386
 
          ac_ext=cpp
12387
 
ac_cpp='$CXXCPP $CPPFLAGS'
12388
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12389
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12390
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12391
 
 
12392
 
 
12393
 
 
12394
 
 
12395
 
archive_cmds_need_lc_CXX=no
12396
 
allow_undefined_flag_CXX=
12397
 
always_export_symbols_CXX=no
12398
 
archive_expsym_cmds_CXX=
12399
 
export_dynamic_flag_spec_CXX=
12400
 
hardcode_direct_CXX=no
12401
 
hardcode_libdir_flag_spec_CXX=
12402
 
hardcode_libdir_flag_spec_ld_CXX=
12403
 
hardcode_libdir_separator_CXX=
12404
 
hardcode_minus_L_CXX=no
12405
 
hardcode_shlibpath_var_CXX=unsupported
12406
 
hardcode_automatic_CXX=no
12407
 
module_cmds_CXX=
12408
 
module_expsym_cmds_CXX=
12409
 
link_all_deplibs_CXX=unknown
12410
 
old_archive_cmds_CXX=$old_archive_cmds
12411
 
no_undefined_flag_CXX=
12412
 
whole_archive_flag_spec_CXX=
12413
 
enable_shared_with_static_runtimes_CXX=no
12414
 
 
12415
 
# Dependencies to place before and after the object being linked:
12416
 
predep_objects_CXX=
12417
 
postdep_objects_CXX=
12418
 
predeps_CXX=
12419
 
postdeps_CXX=
12420
 
compiler_lib_search_path_CXX=
12421
 
compiler_lib_search_dirs_CXX=
12422
 
 
12423
 
# Source file extension for C++ test sources.
12424
 
ac_ext=cpp
12425
 
 
12426
 
# Object file extension for compiled C++ test sources.
12427
 
objext=o
12428
 
objext_CXX=$objext
12429
 
 
12430
 
# Code to be used in simple compile tests
12431
 
lt_simple_compile_test_code="int some_variable = 0;"
12432
 
 
12433
 
# Code to be used in simple link tests
12434
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12435
 
 
12436
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12437
 
 
12438
 
# If no C compiler was specified, use CC.
12439
 
LTCC=${LTCC-"$CC"}
12440
 
 
12441
 
# If no C compiler flags were specified, use CFLAGS.
12442
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12443
 
 
12444
 
# Allow CC to be a program name with arguments.
12445
 
compiler=$CC
12446
 
 
12447
 
 
12448
 
# save warnings/boilerplate of simple test code
12449
 
ac_outfile=conftest.$ac_objext
12450
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12451
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12452
 
_lt_compiler_boilerplate=`cat conftest.err`
12453
 
$rm conftest*
12454
 
 
12455
 
ac_outfile=conftest.$ac_objext
12456
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12457
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12458
 
_lt_linker_boilerplate=`cat conftest.err`
12459
 
$rm -r conftest*
12460
 
 
12461
 
 
12462
 
# Allow CC to be a program name with arguments.
12463
 
lt_save_CC=$CC
12464
 
lt_save_LD=$LD
12465
 
lt_save_GCC=$GCC
12466
 
GCC=$GXX
12467
 
lt_save_with_gnu_ld=$with_gnu_ld
12468
 
lt_save_path_LD=$lt_cv_path_LD
12469
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12470
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12471
 
else
12472
 
  $as_unset lt_cv_prog_gnu_ld
12473
 
fi
12474
 
if test -n "${lt_cv_path_LDCXX+set}"; then
12475
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
12476
 
else
12477
 
  $as_unset lt_cv_path_LD
12478
 
fi
12479
 
test -z "${LDCXX+set}" || LD=$LDCXX
12480
 
CC=${CXX-"c++"}
12481
 
compiler=$CC
12482
 
compiler_CXX=$CC
12483
 
for cc_temp in $compiler""; do
12484
 
  case $cc_temp in
12485
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12486
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12487
 
    \-*) ;;
12488
 
    *) break;;
12489
 
  esac
12490
 
done
12491
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12492
 
 
12493
 
 
12494
 
# We don't want -fno-exception wen compiling C++ code, so set the
12495
 
# no_builtin_flag separately
12496
 
if test "$GXX" = yes; then
12497
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12498
 
else
12499
 
  lt_prog_compiler_no_builtin_flag_CXX=
12500
 
fi
12501
 
 
12502
 
if test "$GXX" = yes; then
12503
 
  # Set up default GNU C++ configuration
12504
 
 
12505
 
 
12506
 
# Check whether --with-gnu-ld was given.
12507
 
if test "${with_gnu_ld+set}" = set; then
12508
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12509
 
else
12510
 
  with_gnu_ld=no
12511
 
fi
12512
 
 
12513
 
ac_prog=ld
12514
 
if test "$GCC" = yes; then
12515
 
  # Check if gcc -print-prog-name=ld gives a path.
12516
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12517
 
$as_echo_n "checking for ld used by $CC... " >&6; }
12518
 
  case $host in
12519
 
  *-*-mingw*)
12520
 
    # gcc leaves a trailing carriage return which upsets mingw
12521
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12522
 
  *)
12523
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12524
 
  esac
12525
 
  case $ac_prog in
12526
 
    # Accept absolute paths.
12527
 
    [\\/]* | ?:[\\/]*)
12528
 
      re_direlt='/[^/][^/]*/\.\./'
12529
 
      # Canonicalize the pathname of ld
12530
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12531
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12532
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12533
 
      done
12534
 
      test -z "$LD" && LD="$ac_prog"
12535
 
      ;;
12536
 
  "")
12537
 
    # If it fails, then pretend we aren't using GCC.
12538
 
    ac_prog=ld
12539
 
    ;;
12540
 
  *)
12541
 
    # If it is relative, then search for the first ld in PATH.
12542
 
    with_gnu_ld=unknown
12543
 
    ;;
12544
 
  esac
12545
 
elif test "$with_gnu_ld" = yes; then
12546
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
12547
 
$as_echo_n "checking for GNU ld... " >&6; }
12548
 
else
12549
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12550
 
$as_echo_n "checking for non-GNU ld... " >&6; }
12551
 
fi
12552
 
if test "${lt_cv_path_LD+set}" = set; then
12553
 
  $as_echo_n "(cached) " >&6
12554
 
else
12555
 
  if test -z "$LD"; then
12556
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12557
 
  for ac_dir in $PATH; do
12558
 
    IFS="$lt_save_ifs"
12559
 
    test -z "$ac_dir" && ac_dir=.
12560
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12561
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
12562
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
12563
 
      # but apparently some variants of GNU ld only accept -v.
12564
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
12565
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12566
 
      *GNU* | *'with BFD'*)
12567
 
        test "$with_gnu_ld" != no && break
12568
 
        ;;
12569
 
      *)
12570
 
        test "$with_gnu_ld" != yes && break
12571
 
        ;;
12572
 
      esac
12573
 
    fi
12574
 
  done
12575
 
  IFS="$lt_save_ifs"
12576
 
else
12577
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12578
 
fi
12579
 
fi
12580
 
 
12581
 
LD="$lt_cv_path_LD"
12582
 
if test -n "$LD"; then
12583
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
12584
 
$as_echo "$LD" >&6; }
12585
 
else
12586
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12587
 
$as_echo "no" >&6; }
12588
 
fi
12589
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12590
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12591
 
   { (exit 1); exit 1; }; }
12592
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12593
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12594
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12595
 
  $as_echo_n "(cached) " >&6
12596
 
else
12597
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12598
 
case `$LD -v 2>&1 </dev/null` in
12599
 
*GNU* | *'with BFD'*)
12600
 
  lt_cv_prog_gnu_ld=yes
12601
 
  ;;
12602
 
*)
12603
 
  lt_cv_prog_gnu_ld=no
12604
 
  ;;
12605
 
esac
12606
 
fi
12607
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12608
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12609
 
with_gnu_ld=$lt_cv_prog_gnu_ld
12610
 
 
12611
 
 
12612
 
 
12613
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
12614
 
  # archiving commands below assume that GNU ld is being used.
12615
 
  if test "$with_gnu_ld" = yes; then
12616
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12617
 
    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'
12618
 
 
12619
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12620
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12621
 
 
12622
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
12623
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12624
 
    #     investigate it a little bit more. (MM)
12625
 
    wlarc='${wl}'
12626
 
 
12627
 
    # ancient GNU ld didn't support --whole-archive et. al.
12628
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12629
 
        grep 'no-whole-archive' > /dev/null; then
12630
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12631
 
    else
12632
 
      whole_archive_flag_spec_CXX=
12633
 
    fi
12634
 
  else
12635
 
    with_gnu_ld=no
12636
 
    wlarc=
12637
 
 
12638
 
    # A generic and very simple default shared library creation
12639
 
    # command for GNU C++ for the case where it uses the native
12640
 
    # linker, instead of GNU ld.  If possible, this setting should
12641
 
    # overridden to take advantage of the native linker features on
12642
 
    # the platform it is being used on.
12643
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12644
 
  fi
12645
 
 
12646
 
  # Commands to make compiler produce verbose output that lists
12647
 
  # what "hidden" libraries, object files and flags are used when
12648
 
  # linking a shared library.
12649
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12650
 
 
12651
 
else
12652
 
  GXX=no
12653
 
  with_gnu_ld=no
12654
 
  wlarc=
12655
 
fi
12656
 
 
12657
 
# PORTME: fill in a description of your system's C++ link characteristics
12658
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12659
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12660
 
ld_shlibs_CXX=yes
12661
 
case $host_os in
12662
 
  aix3*)
12663
 
    # FIXME: insert proper C++ library support
12664
 
    ld_shlibs_CXX=no
12665
 
    ;;
12666
 
  aix[4-9]*)
12667
 
    if test "$host_cpu" = ia64; then
12668
 
      # On IA64, the linker does run time linking by default, so we don't
12669
 
      # have to do anything special.
12670
 
      aix_use_runtimelinking=no
12671
 
      exp_sym_flag='-Bexport'
12672
 
      no_entry_flag=""
12673
 
    else
12674
 
      aix_use_runtimelinking=no
12675
 
 
12676
 
      # Test if we are trying to use run time linking or normal
12677
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12678
 
      # need to do runtime linking.
12679
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12680
 
        for ld_flag in $LDFLAGS; do
12681
 
          case $ld_flag in
12682
 
          *-brtl*)
12683
 
            aix_use_runtimelinking=yes
12684
 
            break
12685
 
            ;;
12686
 
          esac
12687
 
        done
12688
 
        ;;
12689
 
      esac
12690
 
 
12691
 
      exp_sym_flag='-bexport'
12692
 
      no_entry_flag='-bnoentry'
12693
 
    fi
12694
 
 
12695
 
    # When large executables or shared objects are built, AIX ld can
12696
 
    # have problems creating the table of contents.  If linking a library
12697
 
    # or program results in "error TOC overflow" add -mminimal-toc to
12698
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12699
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12700
 
 
12701
 
    archive_cmds_CXX=''
12702
 
    hardcode_direct_CXX=yes
12703
 
    hardcode_libdir_separator_CXX=':'
12704
 
    link_all_deplibs_CXX=yes
12705
 
 
12706
 
    if test "$GXX" = yes; then
12707
 
      case $host_os in aix4.[012]|aix4.[012].*)
12708
 
      # We only want to do this on AIX 4.2 and lower, the check
12709
 
      # below for broken collect2 doesn't work under 4.3+
12710
 
        collect2name=`${CC} -print-prog-name=collect2`
12711
 
        if test -f "$collect2name" && \
12712
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12713
 
        then
12714
 
          # We have reworked collect2
12715
 
          :
12716
 
        else
12717
 
          # We have old collect2
12718
 
          hardcode_direct_CXX=unsupported
12719
 
          # It fails to find uninstalled libraries when the uninstalled
12720
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
12721
 
          # to unsupported forces relinking
12722
 
          hardcode_minus_L_CXX=yes
12723
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
12724
 
          hardcode_libdir_separator_CXX=
12725
 
        fi
12726
 
        ;;
12727
 
      esac
12728
 
      shared_flag='-shared'
12729
 
      if test "$aix_use_runtimelinking" = yes; then
12730
 
        shared_flag="$shared_flag "'${wl}-G'
12731
 
      fi
12732
 
    else
12733
 
      # not using gcc
12734
 
      if test "$host_cpu" = ia64; then
12735
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12736
 
        # chokes on -Wl,-G. The following line is correct:
12737
 
        shared_flag='-G'
12738
 
      else
12739
 
        if test "$aix_use_runtimelinking" = yes; then
12740
 
          shared_flag='${wl}-G'
12741
 
        else
12742
 
          shared_flag='${wl}-bM:SRE'
12743
 
        fi
12744
 
      fi
12745
 
    fi
12746
 
 
12747
 
    # It seems that -bexpall does not export symbols beginning with
12748
 
    # underscore (_), so it is better to generate a list of symbols to export.
12749
 
    always_export_symbols_CXX=yes
12750
 
    if test "$aix_use_runtimelinking" = yes; then
12751
 
      # Warning - without using the other runtime loading flags (-brtl),
12752
 
      # -berok will link without error, but may produce a broken library.
12753
 
      allow_undefined_flag_CXX='-berok'
12754
 
      # Determine the default libpath from the value encoded in an empty executable.
12755
 
      cat >conftest.$ac_ext <<_ACEOF
12756
 
/* confdefs.h.  */
12757
 
_ACEOF
12758
 
cat confdefs.h >>conftest.$ac_ext
12759
 
cat >>conftest.$ac_ext <<_ACEOF
12760
 
/* end confdefs.h.  */
12761
 
 
12762
 
int
12763
 
main ()
12764
 
{
12765
 
 
12766
 
  ;
12767
 
  return 0;
12768
 
}
12769
 
_ACEOF
12770
 
rm -f conftest.$ac_objext conftest$ac_exeext
12771
 
if { (ac_try="$ac_link"
12772
 
case "(($ac_try" in
12773
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12774
 
  *) ac_try_echo=$ac_try;;
12775
 
esac
12776
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12777
 
$as_echo "$ac_try_echo") >&5
12778
 
  (eval "$ac_link") 2>conftest.er1
12779
 
  ac_status=$?
12780
 
  grep -v '^ *+' conftest.er1 >conftest.err
12781
 
  rm -f conftest.er1
12782
 
  cat conftest.err >&5
12783
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784
 
  (exit $ac_status); } && {
12785
 
         test -z "$ac_cxx_werror_flag" ||
12786
 
         test ! -s conftest.err
12787
 
       } && test -s conftest$ac_exeext && {
12788
 
         test "$cross_compiling" = yes ||
12789
 
         $as_test_x conftest$ac_exeext
12790
 
       }; then
12791
 
 
12792
 
lt_aix_libpath_sed='
12793
 
    /Import File Strings/,/^$/ {
12794
 
        /^0/ {
12795
 
            s/^0  *\(.*\)$/\1/
12796
 
            p
12797
 
        }
12798
 
    }'
12799
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12800
 
# Check for a 64-bit object if we didn't find anything.
12801
 
if test -z "$aix_libpath"; then
12802
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12803
 
fi
12804
 
else
12805
 
  $as_echo "$as_me: failed program was:" >&5
12806
 
sed 's/^/| /' conftest.$ac_ext >&5
12807
 
 
12808
 
 
12809
 
fi
12810
 
 
12811
 
rm -rf conftest.dSYM
12812
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12813
 
      conftest$ac_exeext conftest.$ac_ext
12814
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12815
 
 
12816
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12817
 
 
12818
 
      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"
12819
 
     else
12820
 
      if test "$host_cpu" = ia64; then
12821
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12822
 
        allow_undefined_flag_CXX="-z nodefs"
12823
 
        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"
12824
 
      else
12825
 
        # Determine the default libpath from the value encoded in an empty executable.
12826
 
        cat >conftest.$ac_ext <<_ACEOF
12827
 
/* confdefs.h.  */
12828
 
_ACEOF
12829
 
cat confdefs.h >>conftest.$ac_ext
12830
 
cat >>conftest.$ac_ext <<_ACEOF
12831
 
/* end confdefs.h.  */
12832
 
 
12833
 
int
12834
 
main ()
12835
 
{
12836
 
 
12837
 
  ;
12838
 
  return 0;
12839
 
}
12840
 
_ACEOF
12841
 
rm -f conftest.$ac_objext conftest$ac_exeext
12842
 
if { (ac_try="$ac_link"
12843
 
case "(($ac_try" in
12844
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12845
 
  *) ac_try_echo=$ac_try;;
12846
 
esac
12847
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12848
 
$as_echo "$ac_try_echo") >&5
12849
 
  (eval "$ac_link") 2>conftest.er1
12850
 
  ac_status=$?
12851
 
  grep -v '^ *+' conftest.er1 >conftest.err
12852
 
  rm -f conftest.er1
12853
 
  cat conftest.err >&5
12854
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855
 
  (exit $ac_status); } && {
12856
 
         test -z "$ac_cxx_werror_flag" ||
12857
 
         test ! -s conftest.err
12858
 
       } && test -s conftest$ac_exeext && {
12859
 
         test "$cross_compiling" = yes ||
12860
 
         $as_test_x conftest$ac_exeext
12861
 
       }; then
12862
 
 
12863
 
lt_aix_libpath_sed='
12864
 
    /Import File Strings/,/^$/ {
12865
 
        /^0/ {
12866
 
            s/^0  *\(.*\)$/\1/
12867
 
            p
12868
 
        }
12869
 
    }'
12870
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12871
 
# Check for a 64-bit object if we didn't find anything.
12872
 
if test -z "$aix_libpath"; then
12873
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12874
 
fi
12875
 
else
12876
 
  $as_echo "$as_me: failed program was:" >&5
12877
 
sed 's/^/| /' conftest.$ac_ext >&5
12878
 
 
12879
 
 
12880
 
fi
12881
 
 
12882
 
rm -rf conftest.dSYM
12883
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12884
 
      conftest$ac_exeext conftest.$ac_ext
12885
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12886
 
 
12887
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12888
 
        # Warning - without using the other run time loading flags,
12889
 
        # -berok will link without error, but may produce a broken library.
12890
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
12891
 
        allow_undefined_flag_CXX=' ${wl}-berok'
12892
 
        # Exported symbols can be pulled into shared objects from archives
12893
 
        whole_archive_flag_spec_CXX='$convenience'
12894
 
        archive_cmds_need_lc_CXX=yes
12895
 
        # This is similar to how AIX traditionally builds its shared libraries.
12896
 
        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'
12897
 
      fi
12898
 
    fi
12899
 
    ;;
12900
 
 
12901
 
  beos*)
12902
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12903
 
      allow_undefined_flag_CXX=unsupported
12904
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12905
 
      # support --undefined.  This deserves some investigation.  FIXME
12906
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12907
 
    else
12908
 
      ld_shlibs_CXX=no
12909
 
    fi
12910
 
    ;;
12911
 
 
12912
 
  chorus*)
12913
 
    case $cc_basename in
12914
 
      *)
12915
 
        # FIXME: insert proper C++ library support
12916
 
        ld_shlibs_CXX=no
12917
 
        ;;
12918
 
    esac
12919
 
    ;;
12920
 
 
12921
 
  cygwin* | mingw* | pw32*)
12922
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12923
 
    # as there is no search path for DLLs.
12924
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
12925
 
    allow_undefined_flag_CXX=unsupported
12926
 
    always_export_symbols_CXX=no
12927
 
    enable_shared_with_static_runtimes_CXX=yes
12928
 
 
12929
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12930
 
      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'
12931
 
      # If the export-symbols file already is a .def file (1st line
12932
 
      # is EXPORTS), use it as is; otherwise, prepend...
12933
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12934
 
        cp $export_symbols $output_objdir/$soname.def;
12935
 
      else
12936
 
        echo EXPORTS > $output_objdir/$soname.def;
12937
 
        cat $export_symbols >> $output_objdir/$soname.def;
12938
 
      fi~
12939
 
      $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'
12940
 
    else
12941
 
      ld_shlibs_CXX=no
12942
 
    fi
12943
 
  ;;
12944
 
      darwin* | rhapsody*)
12945
 
      archive_cmds_need_lc_CXX=no
12946
 
      hardcode_direct_CXX=no
12947
 
      hardcode_automatic_CXX=yes
12948
 
      hardcode_shlibpath_var_CXX=unsupported
12949
 
      whole_archive_flag_spec_CXX=''
12950
 
      link_all_deplibs_CXX=yes
12951
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12952
 
      if test "$GXX" = yes ; then
12953
 
      output_verbose_link_cmd='echo'
12954
 
      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}"
12955
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12956
 
      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}"
12957
 
      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}"
12958
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12959
 
        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}"
12960
 
        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}"
12961
 
      fi
12962
 
      else
12963
 
      case $cc_basename in
12964
 
        xlc*)
12965
 
         output_verbose_link_cmd='echo'
12966
 
          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'
12967
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12968
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12969
 
          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}'
12970
 
          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}'
12971
 
          ;;
12972
 
       *)
12973
 
         ld_shlibs_CXX=no
12974
 
          ;;
12975
 
      esac
12976
 
      fi
12977
 
        ;;
12978
 
 
12979
 
  dgux*)
12980
 
    case $cc_basename in
12981
 
      ec++*)
12982
 
        # FIXME: insert proper C++ library support
12983
 
        ld_shlibs_CXX=no
12984
 
        ;;
12985
 
      ghcx*)
12986
 
        # Green Hills C++ Compiler
12987
 
        # FIXME: insert proper C++ library support
12988
 
        ld_shlibs_CXX=no
12989
 
        ;;
12990
 
      *)
12991
 
        # FIXME: insert proper C++ library support
12992
 
        ld_shlibs_CXX=no
12993
 
        ;;
12994
 
    esac
12995
 
    ;;
12996
 
  freebsd[12]*)
12997
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
12998
 
    ld_shlibs_CXX=no
12999
 
    ;;
13000
 
  freebsd-elf*)
13001
 
    archive_cmds_need_lc_CXX=no
13002
 
    ;;
13003
 
  freebsd* | dragonfly*)
13004
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13005
 
    # conventions
13006
 
    ld_shlibs_CXX=yes
13007
 
    ;;
13008
 
  gnu*)
13009
 
    ;;
13010
 
  hpux9*)
13011
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13012
 
    hardcode_libdir_separator_CXX=:
13013
 
    export_dynamic_flag_spec_CXX='${wl}-E'
13014
 
    hardcode_direct_CXX=yes
13015
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
13016
 
                                # but as the default
13017
 
                                # location of the library.
13018
 
 
13019
 
    case $cc_basename in
13020
 
    CC*)
13021
 
      # FIXME: insert proper C++ library support
13022
 
      ld_shlibs_CXX=no
13023
 
      ;;
13024
 
    aCC*)
13025
 
      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'
13026
 
      # Commands to make compiler produce verbose output that lists
13027
 
      # what "hidden" libraries, object files and flags are used when
13028
 
      # linking a shared library.
13029
 
      #
13030
 
      # There doesn't appear to be a way to prevent this compiler from
13031
 
      # explicitly linking system object files so we need to strip them
13032
 
      # from the output so that they don't get included in the library
13033
 
      # dependencies.
13034
 
      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'
13035
 
      ;;
13036
 
    *)
13037
 
      if test "$GXX" = yes; then
13038
 
        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'
13039
 
      else
13040
 
        # FIXME: insert proper C++ library support
13041
 
        ld_shlibs_CXX=no
13042
 
      fi
13043
 
      ;;
13044
 
    esac
13045
 
    ;;
13046
 
  hpux10*|hpux11*)
13047
 
    if test $with_gnu_ld = no; then
13048
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13049
 
      hardcode_libdir_separator_CXX=:
13050
 
 
13051
 
      case $host_cpu in
13052
 
      hppa*64*|ia64*) ;;
13053
 
      *)
13054
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13055
 
        ;;
13056
 
      esac
13057
 
    fi
13058
 
    case $host_cpu in
13059
 
    hppa*64*|ia64*)
13060
 
      hardcode_direct_CXX=no
13061
 
      hardcode_shlibpath_var_CXX=no
13062
 
      ;;
13063
 
    *)
13064
 
      hardcode_direct_CXX=yes
13065
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
13066
 
                                              # but as the default
13067
 
                                              # location of the library.
13068
 
      ;;
13069
 
    esac
13070
 
 
13071
 
    case $cc_basename in
13072
 
      CC*)
13073
 
        # FIXME: insert proper C++ library support
13074
 
        ld_shlibs_CXX=no
13075
 
        ;;
13076
 
      aCC*)
13077
 
        case $host_cpu in
13078
 
        hppa*64*)
13079
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13080
 
          ;;
13081
 
        ia64*)
13082
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13083
 
          ;;
13084
 
        *)
13085
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13086
 
          ;;
13087
 
        esac
13088
 
        # Commands to make compiler produce verbose output that lists
13089
 
        # what "hidden" libraries, object files and flags are used when
13090
 
        # linking a shared library.
13091
 
        #
13092
 
        # There doesn't appear to be a way to prevent this compiler from
13093
 
        # explicitly linking system object files so we need to strip them
13094
 
        # from the output so that they don't get included in the library
13095
 
        # dependencies.
13096
 
        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'
13097
 
        ;;
13098
 
      *)
13099
 
        if test "$GXX" = yes; then
13100
 
          if test $with_gnu_ld = no; then
13101
 
            case $host_cpu in
13102
 
            hppa*64*)
13103
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13104
 
              ;;
13105
 
            ia64*)
13106
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13107
 
              ;;
13108
 
            *)
13109
 
              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'
13110
 
              ;;
13111
 
            esac
13112
 
          fi
13113
 
        else
13114
 
          # FIXME: insert proper C++ library support
13115
 
          ld_shlibs_CXX=no
13116
 
        fi
13117
 
        ;;
13118
 
    esac
13119
 
    ;;
13120
 
  interix[3-9]*)
13121
 
    hardcode_direct_CXX=no
13122
 
    hardcode_shlibpath_var_CXX=no
13123
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13124
 
    export_dynamic_flag_spec_CXX='${wl}-E'
13125
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13126
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
13127
 
    # default) and relocated if they conflict, which is a slow very memory
13128
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
13129
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13130
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13131
 
    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'
13132
 
    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'
13133
 
    ;;
13134
 
  irix5* | irix6*)
13135
 
    case $cc_basename in
13136
 
      CC*)
13137
 
        # SGI C++
13138
 
        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'
13139
 
 
13140
 
        # Archives containing C++ object files must be created using
13141
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13142
 
        # necessary to make sure instantiated templates are included
13143
 
        # in the archive.
13144
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13145
 
        ;;
13146
 
      *)
13147
 
        if test "$GXX" = yes; then
13148
 
          if test "$with_gnu_ld" = no; then
13149
 
            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'
13150
 
          else
13151
 
            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'
13152
 
          fi
13153
 
        fi
13154
 
        link_all_deplibs_CXX=yes
13155
 
        ;;
13156
 
    esac
13157
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13158
 
    hardcode_libdir_separator_CXX=:
13159
 
    ;;
13160
 
  linux* | k*bsd*-gnu)
13161
 
    case $cc_basename in
13162
 
      KCC*)
13163
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13164
 
 
13165
 
        # KCC will only create a shared library if the output file
13166
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13167
 
        # to its proper name (with version) after linking.
13168
 
        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'
13169
 
        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'
13170
 
        # Commands to make compiler produce verbose output that lists
13171
 
        # what "hidden" libraries, object files and flags are used when
13172
 
        # linking a shared library.
13173
 
        #
13174
 
        # There doesn't appear to be a way to prevent this compiler from
13175
 
        # explicitly linking system object files so we need to strip them
13176
 
        # from the output so that they don't get included in the library
13177
 
        # dependencies.
13178
 
        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'
13179
 
 
13180
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
13181
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13182
 
 
13183
 
        # Archives containing C++ object files must be created using
13184
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13185
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13186
 
        ;;
13187
 
      icpc*)
13188
 
        # Intel C++
13189
 
        with_gnu_ld=yes
13190
 
        # version 8.0 and above of icpc choke on multiply defined symbols
13191
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
13192
 
        # earlier do not add the objects themselves.
13193
 
        case `$CC -V 2>&1` in
13194
 
        *"Version 7."*)
13195
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13196
 
          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'
13197
 
          ;;
13198
 
        *)  # Version 8.0 or newer
13199
 
          tmp_idyn=
13200
 
          case $host_cpu in
13201
 
            ia64*) tmp_idyn=' -i_dynamic';;
13202
 
          esac
13203
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13204
 
          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'
13205
 
          ;;
13206
 
        esac
13207
 
        archive_cmds_need_lc_CXX=no
13208
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13209
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13210
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13211
 
        ;;
13212
 
      pgCC* | pgcpp*)
13213
 
        # Portland Group C++ compiler
13214
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13215
 
        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'
13216
 
 
13217
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13218
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13219
 
        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'
13220
 
        ;;
13221
 
      cxx*)
13222
 
        # Compaq C++
13223
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13224
 
        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'
13225
 
 
13226
 
        runpath_var=LD_RUN_PATH
13227
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13228
 
        hardcode_libdir_separator_CXX=:
13229
 
 
13230
 
        # Commands to make compiler produce verbose output that lists
13231
 
        # what "hidden" libraries, object files and flags are used when
13232
 
        # linking a shared library.
13233
 
        #
13234
 
        # There doesn't appear to be a way to prevent this compiler from
13235
 
        # explicitly linking system object files so we need to strip them
13236
 
        # from the output so that they don't get included in the library
13237
 
        # dependencies.
13238
 
        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'
13239
 
        ;;
13240
 
      *)
13241
 
        case `$CC -V 2>&1 | sed 5q` in
13242
 
        *Sun\ C*)
13243
 
          # Sun C++ 5.9
13244
 
          no_undefined_flag_CXX=' -zdefs'
13245
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13246
 
          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'
13247
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
13248
 
          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'
13249
 
 
13250
 
          # Not sure whether something based on
13251
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13252
 
          # would be better.
13253
 
          output_verbose_link_cmd='echo'
13254
 
 
13255
 
          # Archives containing C++ object files must be created using
13256
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13257
 
          # necessary to make sure instantiated templates are included
13258
 
          # in the archive.
13259
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13260
 
          ;;
13261
 
        esac
13262
 
        ;;
13263
 
    esac
13264
 
    ;;
13265
 
  lynxos*)
13266
 
    # FIXME: insert proper C++ library support
13267
 
    ld_shlibs_CXX=no
13268
 
    ;;
13269
 
  m88k*)
13270
 
    # FIXME: insert proper C++ library support
13271
 
    ld_shlibs_CXX=no
13272
 
    ;;
13273
 
  mvs*)
13274
 
    case $cc_basename in
13275
 
      cxx*)
13276
 
        # FIXME: insert proper C++ library support
13277
 
        ld_shlibs_CXX=no
13278
 
        ;;
13279
 
      *)
13280
 
        # FIXME: insert proper C++ library support
13281
 
        ld_shlibs_CXX=no
13282
 
        ;;
13283
 
    esac
13284
 
    ;;
13285
 
  netbsd*)
13286
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13287
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13288
 
      wlarc=
13289
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
13290
 
      hardcode_direct_CXX=yes
13291
 
      hardcode_shlibpath_var_CXX=no
13292
 
    fi
13293
 
    # Workaround some broken pre-1.5 toolchains
13294
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13295
 
    ;;
13296
 
  openbsd2*)
13297
 
    # C++ shared libraries are fairly broken
13298
 
    ld_shlibs_CXX=no
13299
 
    ;;
13300
 
  openbsd*)
13301
 
    if test -f /usr/libexec/ld.so; then
13302
 
      hardcode_direct_CXX=yes
13303
 
      hardcode_shlibpath_var_CXX=no
13304
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13305
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13306
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13307
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13308
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13309
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13310
 
      fi
13311
 
      output_verbose_link_cmd='echo'
13312
 
    else
13313
 
      ld_shlibs_CXX=no
13314
 
    fi
13315
 
    ;;
13316
 
  osf3*)
13317
 
    case $cc_basename in
13318
 
      KCC*)
13319
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13320
 
 
13321
 
        # KCC will only create a shared library if the output file
13322
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13323
 
        # to its proper name (with version) after linking.
13324
 
        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'
13325
 
 
13326
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13327
 
        hardcode_libdir_separator_CXX=:
13328
 
 
13329
 
        # Archives containing C++ object files must be created using
13330
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13331
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13332
 
 
13333
 
        ;;
13334
 
      RCC*)
13335
 
        # Rational C++ 2.4.1
13336
 
        # FIXME: insert proper C++ library support
13337
 
        ld_shlibs_CXX=no
13338
 
        ;;
13339
 
      cxx*)
13340
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13341
 
        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'
13342
 
 
13343
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13344
 
        hardcode_libdir_separator_CXX=:
13345
 
 
13346
 
        # Commands to make compiler produce verbose output that lists
13347
 
        # what "hidden" libraries, object files and flags are used when
13348
 
        # linking a shared library.
13349
 
        #
13350
 
        # There doesn't appear to be a way to prevent this compiler from
13351
 
        # explicitly linking system object files so we need to strip them
13352
 
        # from the output so that they don't get included in the library
13353
 
        # dependencies.
13354
 
        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'
13355
 
        ;;
13356
 
      *)
13357
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13358
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13359
 
          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'
13360
 
 
13361
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13362
 
          hardcode_libdir_separator_CXX=:
13363
 
 
13364
 
          # Commands to make compiler produce verbose output that lists
13365
 
          # what "hidden" libraries, object files and flags are used when
13366
 
          # linking a shared library.
13367
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13368
 
 
13369
 
        else
13370
 
          # FIXME: insert proper C++ library support
13371
 
          ld_shlibs_CXX=no
13372
 
        fi
13373
 
        ;;
13374
 
    esac
13375
 
    ;;
13376
 
  osf4* | osf5*)
13377
 
    case $cc_basename in
13378
 
      KCC*)
13379
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13380
 
 
13381
 
        # KCC will only create a shared library if the output file
13382
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13383
 
        # to its proper name (with version) after linking.
13384
 
        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'
13385
 
 
13386
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13387
 
        hardcode_libdir_separator_CXX=:
13388
 
 
13389
 
        # Archives containing C++ object files must be created using
13390
 
        # the KAI C++ compiler.
13391
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13392
 
        ;;
13393
 
      RCC*)
13394
 
        # Rational C++ 2.4.1
13395
 
        # FIXME: insert proper C++ library support
13396
 
        ld_shlibs_CXX=no
13397
 
        ;;
13398
 
      cxx*)
13399
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
13400
 
        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'
13401
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13402
 
          echo "-hidden">> $lib.exp~
13403
 
          $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~
13404
 
          $rm $lib.exp'
13405
 
 
13406
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13407
 
        hardcode_libdir_separator_CXX=:
13408
 
 
13409
 
        # Commands to make compiler produce verbose output that lists
13410
 
        # what "hidden" libraries, object files and flags are used when
13411
 
        # linking a shared library.
13412
 
        #
13413
 
        # There doesn't appear to be a way to prevent this compiler from
13414
 
        # explicitly linking system object files so we need to strip them
13415
 
        # from the output so that they don't get included in the library
13416
 
        # dependencies.
13417
 
        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'
13418
 
        ;;
13419
 
      *)
13420
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13421
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13422
 
         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'
13423
 
 
13424
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13425
 
          hardcode_libdir_separator_CXX=:
13426
 
 
13427
 
          # Commands to make compiler produce verbose output that lists
13428
 
          # what "hidden" libraries, object files and flags are used when
13429
 
          # linking a shared library.
13430
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13431
 
 
13432
 
        else
13433
 
          # FIXME: insert proper C++ library support
13434
 
          ld_shlibs_CXX=no
13435
 
        fi
13436
 
        ;;
13437
 
    esac
13438
 
    ;;
13439
 
  psos*)
13440
 
    # FIXME: insert proper C++ library support
13441
 
    ld_shlibs_CXX=no
13442
 
    ;;
13443
 
  sunos4*)
13444
 
    case $cc_basename in
13445
 
      CC*)
13446
 
        # Sun C++ 4.x
13447
 
        # FIXME: insert proper C++ library support
13448
 
        ld_shlibs_CXX=no
13449
 
        ;;
13450
 
      lcc*)
13451
 
        # Lucid
13452
 
        # FIXME: insert proper C++ library support
13453
 
        ld_shlibs_CXX=no
13454
 
        ;;
13455
 
      *)
13456
 
        # FIXME: insert proper C++ library support
13457
 
        ld_shlibs_CXX=no
13458
 
        ;;
13459
 
    esac
13460
 
    ;;
13461
 
  solaris*)
13462
 
    case $cc_basename in
13463
 
      CC*)
13464
 
        # Sun C++ 4.2, 5.x and Centerline C++
13465
 
        archive_cmds_need_lc_CXX=yes
13466
 
        no_undefined_flag_CXX=' -zdefs'
13467
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13468
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13469
 
        $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'
13470
 
 
13471
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
13472
 
        hardcode_shlibpath_var_CXX=no
13473
 
        case $host_os in
13474
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13475
 
          *)
13476
 
            # The compiler driver will combine and reorder linker options,
13477
 
            # but understands `-z linker_flag'.
13478
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13479
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13480
 
            ;;
13481
 
        esac
13482
 
        link_all_deplibs_CXX=yes
13483
 
 
13484
 
        output_verbose_link_cmd='echo'
13485
 
 
13486
 
        # Archives containing C++ object files must be created using
13487
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13488
 
        # necessary to make sure instantiated templates are included
13489
 
        # in the archive.
13490
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13491
 
        ;;
13492
 
      gcx*)
13493
 
        # Green Hills C++ Compiler
13494
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13495
 
 
13496
 
        # The C++ compiler must be used to create the archive.
13497
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13498
 
        ;;
13499
 
      *)
13500
 
        # GNU C++ compiler with Solaris linker
13501
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13502
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13503
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
13504
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13505
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13506
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13507
 
 
13508
 
            # Commands to make compiler produce verbose output that lists
13509
 
            # what "hidden" libraries, object files and flags are used when
13510
 
            # linking a shared library.
13511
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13512
 
          else
13513
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
13514
 
            # platform.
13515
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13516
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13517
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13518
 
 
13519
 
            # Commands to make compiler produce verbose output that lists
13520
 
            # what "hidden" libraries, object files and flags are used when
13521
 
            # linking a shared library.
13522
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13523
 
          fi
13524
 
 
13525
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13526
 
          case $host_os in
13527
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13528
 
          *)
13529
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13530
 
            ;;
13531
 
          esac
13532
 
        fi
13533
 
        ;;
13534
 
    esac
13535
 
    ;;
13536
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13537
 
    no_undefined_flag_CXX='${wl}-z,text'
13538
 
    archive_cmds_need_lc_CXX=no
13539
 
    hardcode_shlibpath_var_CXX=no
13540
 
    runpath_var='LD_RUN_PATH'
13541
 
 
13542
 
    case $cc_basename in
13543
 
      CC*)
13544
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13545
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13546
 
        ;;
13547
 
      *)
13548
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13549
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13550
 
        ;;
13551
 
    esac
13552
 
    ;;
13553
 
  sysv5* | sco3.2v5* | sco5v6*)
13554
 
    # Note: We can NOT use -z defs as we might desire, because we do not
13555
 
    # link with -lc, and that would cause any symbols used from libc to
13556
 
    # always be unresolved, which means just about no library would
13557
 
    # ever link correctly.  If we're not using GNU ld we use -z text
13558
 
    # though, which does catch some bad symbols but isn't as heavy-handed
13559
 
    # as -z defs.
13560
 
    # For security reasons, it is highly recommended that you always
13561
 
    # use absolute paths for naming shared libraries, and exclude the
13562
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
13563
 
    # requires that you compile everything twice, which is a pain.
13564
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
13565
 
    # non-empty value in the environment.  Most likely only useful for
13566
 
    # creating official distributions of packages.
13567
 
    # This is a hack until libtool officially supports absolute path
13568
 
    # names for shared libraries.
13569
 
    no_undefined_flag_CXX='${wl}-z,text'
13570
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
13571
 
    archive_cmds_need_lc_CXX=no
13572
 
    hardcode_shlibpath_var_CXX=no
13573
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13574
 
    hardcode_libdir_separator_CXX=':'
13575
 
    link_all_deplibs_CXX=yes
13576
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
13577
 
    runpath_var='LD_RUN_PATH'
13578
 
 
13579
 
    case $cc_basename in
13580
 
      CC*)
13581
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13582
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13583
 
        ;;
13584
 
      *)
13585
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13586
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13587
 
        ;;
13588
 
    esac
13589
 
    ;;
13590
 
  tandem*)
13591
 
    case $cc_basename in
13592
 
      NCC*)
13593
 
        # NonStop-UX NCC 3.20
13594
 
        # FIXME: insert proper C++ library support
13595
 
        ld_shlibs_CXX=no
13596
 
        ;;
13597
 
      *)
13598
 
        # FIXME: insert proper C++ library support
13599
 
        ld_shlibs_CXX=no
13600
 
        ;;
13601
 
    esac
13602
 
    ;;
13603
 
  vxworks*)
13604
 
    # FIXME: insert proper C++ library support
13605
 
    ld_shlibs_CXX=no
13606
 
    ;;
13607
 
  *)
13608
 
    # FIXME: insert proper C++ library support
13609
 
    ld_shlibs_CXX=no
13610
 
    ;;
13611
 
esac
13612
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13613
 
$as_echo "$ld_shlibs_CXX" >&6; }
13614
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13615
 
 
13616
 
GCC_CXX="$GXX"
13617
 
LD_CXX="$LD"
13618
 
 
13619
 
cat > conftest.$ac_ext <<EOF
13620
 
class Foo
13621
 
{
13622
 
public:
13623
 
  Foo (void) { a = 0; }
13624
 
private:
13625
 
  int a;
13626
 
};
13627
 
EOF
13628
 
 
13629
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13630
 
  (eval $ac_compile) 2>&5
13631
 
  ac_status=$?
13632
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633
 
  (exit $ac_status); }; then
13634
 
  # Parse the compiler output and extract the necessary
13635
 
  # objects, libraries and library flags.
13636
 
 
13637
 
  # Sentinel used to keep track of whether or not we are before
13638
 
  # the conftest object file.
13639
 
  pre_test_object_deps_done=no
13640
 
 
13641
 
  # The `*' in the case matches for architectures that use `case' in
13642
 
  # $output_verbose_cmd can trigger glob expansion during the loop
13643
 
  # eval without this substitution.
13644
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13645
 
 
13646
 
  for p in `eval $output_verbose_link_cmd`; do
13647
 
    case $p in
13648
 
 
13649
 
    -L* | -R* | -l*)
13650
 
       # Some compilers place space between "-{L,R}" and the path.
13651
 
       # Remove the space.
13652
 
       if test $p = "-L" \
13653
 
          || test $p = "-R"; then
13654
 
         prev=$p
13655
 
         continue
13656
 
       else
13657
 
         prev=
13658
 
       fi
13659
 
 
13660
 
       if test "$pre_test_object_deps_done" = no; then
13661
 
         case $p in
13662
 
         -L* | -R*)
13663
 
           # Internal compiler library paths should come after those
13664
 
           # provided the user.  The postdeps already come after the
13665
 
           # user supplied libs so there is no need to process them.
13666
 
           if test -z "$compiler_lib_search_path_CXX"; then
13667
 
             compiler_lib_search_path_CXX="${prev}${p}"
13668
 
           else
13669
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13670
 
           fi
13671
 
           ;;
13672
 
         # The "-l" case would never come before the object being
13673
 
         # linked, so don't bother handling this case.
13674
 
         esac
13675
 
       else
13676
 
         if test -z "$postdeps_CXX"; then
13677
 
           postdeps_CXX="${prev}${p}"
13678
 
         else
13679
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13680
 
         fi
13681
 
       fi
13682
 
       ;;
13683
 
 
13684
 
    *.$objext)
13685
 
       # This assumes that the test object file only shows up
13686
 
       # once in the compiler output.
13687
 
       if test "$p" = "conftest.$objext"; then
13688
 
         pre_test_object_deps_done=yes
13689
 
         continue
13690
 
       fi
13691
 
 
13692
 
       if test "$pre_test_object_deps_done" = no; then
13693
 
         if test -z "$predep_objects_CXX"; then
13694
 
           predep_objects_CXX="$p"
13695
 
         else
13696
 
           predep_objects_CXX="$predep_objects_CXX $p"
13697
 
         fi
13698
 
       else
13699
 
         if test -z "$postdep_objects_CXX"; then
13700
 
           postdep_objects_CXX="$p"
13701
 
         else
13702
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
13703
 
         fi
13704
 
       fi
13705
 
       ;;
13706
 
 
13707
 
    *) ;; # Ignore the rest.
13708
 
 
13709
 
    esac
13710
 
  done
13711
 
 
13712
 
  # Clean up.
13713
 
  rm -f a.out a.exe
13714
 
else
13715
 
  echo "libtool.m4: error: problem compiling CXX test program"
13716
 
fi
13717
 
 
13718
 
$rm -f confest.$objext
13719
 
 
13720
 
compiler_lib_search_dirs_CXX=
13721
 
if test -n "$compiler_lib_search_path_CXX"; then
13722
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13723
 
fi
13724
 
 
13725
 
# PORTME: override above test on systems where it is broken
13726
 
case $host_os in
13727
 
interix[3-9]*)
13728
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13729
 
  # hack all around it, let's just trust "g++" to DTRT.
13730
 
  predep_objects_CXX=
13731
 
  postdep_objects_CXX=
13732
 
  postdeps_CXX=
13733
 
  ;;
13734
 
 
13735
 
linux*)
13736
 
  case `$CC -V 2>&1 | sed 5q` in
13737
 
  *Sun\ C*)
13738
 
    # Sun C++ 5.9
13739
 
    #
13740
 
    # The more standards-conforming stlport4 library is
13741
 
    # incompatible with the Cstd library. Avoid specifying
13742
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13743
 
    # -library=stlport4 depends on it.
13744
 
    case " $CXX $CXXFLAGS " in
13745
 
    *" -library=stlport4 "*)
13746
 
      solaris_use_stlport4=yes
13747
 
      ;;
13748
 
    esac
13749
 
    if test "$solaris_use_stlport4" != yes; then
13750
 
      postdeps_CXX='-library=Cstd -library=Crun'
13751
 
    fi
13752
 
    ;;
13753
 
  esac
13754
 
  ;;
13755
 
 
13756
 
solaris*)
13757
 
  case $cc_basename in
13758
 
  CC*)
13759
 
    # The more standards-conforming stlport4 library is
13760
 
    # incompatible with the Cstd library. Avoid specifying
13761
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13762
 
    # -library=stlport4 depends on it.
13763
 
    case " $CXX $CXXFLAGS " in
13764
 
    *" -library=stlport4 "*)
13765
 
      solaris_use_stlport4=yes
13766
 
      ;;
13767
 
    esac
13768
 
 
13769
 
    # Adding this requires a known-good setup of shared libraries for
13770
 
    # Sun compiler versions before 5.6, else PIC objects from an old
13771
 
    # archive will be linked into the output, leading to subtle bugs.
13772
 
    if test "$solaris_use_stlport4" != yes; then
13773
 
      postdeps_CXX='-library=Cstd -library=Crun'
13774
 
    fi
13775
 
    ;;
13776
 
  esac
13777
 
  ;;
13778
 
esac
13779
 
 
13780
 
case " $postdeps_CXX " in
13781
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13782
 
esac
13783
 
 
13784
 
lt_prog_compiler_wl_CXX=
13785
 
lt_prog_compiler_pic_CXX=
13786
 
lt_prog_compiler_static_CXX=
13787
 
 
13788
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13789
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13790
 
 
13791
 
  # C++ specific cases for pic, static, wl, etc.
13792
 
  if test "$GXX" = yes; then
13793
 
    lt_prog_compiler_wl_CXX='-Wl,'
13794
 
    lt_prog_compiler_static_CXX='-static'
13795
 
 
13796
 
    case $host_os in
13797
 
    aix*)
13798
 
      # All AIX code is PIC.
13799
 
      if test "$host_cpu" = ia64; then
13800
 
        # AIX 5 now supports IA64 processor
13801
 
        lt_prog_compiler_static_CXX='-Bstatic'
13802
 
      fi
13803
 
      ;;
13804
 
    amigaos*)
13805
 
      # FIXME: we need at least 68020 code to build shared libraries, but
13806
 
      # adding the `-m68020' flag to GCC prevents building anything better,
13807
 
      # like `-m68040'.
13808
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13809
 
      ;;
13810
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13811
 
      # PIC is the default for these OSes.
13812
 
      ;;
13813
 
    mingw* | cygwin* | os2* | pw32*)
13814
 
      # This hack is so that the source file can tell whether it is being
13815
 
      # built for inclusion in a dll (and should export symbols for example).
13816
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13817
 
      # (--disable-auto-import) libraries
13818
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13819
 
      ;;
13820
 
    darwin* | rhapsody*)
13821
 
      # PIC is the default on this platform
13822
 
      # Common symbols not allowed in MH_DYLIB files
13823
 
      lt_prog_compiler_pic_CXX='-fno-common'
13824
 
      ;;
13825
 
    *djgpp*)
13826
 
      # DJGPP does not support shared libraries at all
13827
 
      lt_prog_compiler_pic_CXX=
13828
 
      ;;
13829
 
    interix[3-9]*)
13830
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13831
 
      # Instead, we relocate shared libraries at runtime.
13832
 
      ;;
13833
 
    sysv4*MP*)
13834
 
      if test -d /usr/nec; then
13835
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
13836
 
      fi
13837
 
      ;;
13838
 
    hpux*)
13839
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13840
 
      # not for PA HP-UX.
13841
 
      case $host_cpu in
13842
 
      hppa*64*|ia64*)
13843
 
        ;;
13844
 
      *)
13845
 
        lt_prog_compiler_pic_CXX='-fPIC'
13846
 
        ;;
13847
 
      esac
13848
 
      ;;
13849
 
    *)
13850
 
      lt_prog_compiler_pic_CXX='-fPIC'
13851
 
      ;;
13852
 
    esac
13853
 
  else
13854
 
    case $host_os in
13855
 
      aix[4-9]*)
13856
 
        # All AIX code is PIC.
13857
 
        if test "$host_cpu" = ia64; then
13858
 
          # AIX 5 now supports IA64 processor
13859
 
          lt_prog_compiler_static_CXX='-Bstatic'
13860
 
        else
13861
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13862
 
        fi
13863
 
        ;;
13864
 
      chorus*)
13865
 
        case $cc_basename in
13866
 
        cxch68*)
13867
 
          # Green Hills C++ Compiler
13868
 
          # _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"
13869
 
          ;;
13870
 
        esac
13871
 
        ;;
13872
 
       darwin*)
13873
 
         # PIC is the default on this platform
13874
 
         # Common symbols not allowed in MH_DYLIB files
13875
 
         case $cc_basename in
13876
 
           xlc*)
13877
 
           lt_prog_compiler_pic_CXX='-qnocommon'
13878
 
           lt_prog_compiler_wl_CXX='-Wl,'
13879
 
           ;;
13880
 
         esac
13881
 
       ;;
13882
 
      dgux*)
13883
 
        case $cc_basename in
13884
 
          ec++*)
13885
 
            lt_prog_compiler_pic_CXX='-KPIC'
13886
 
            ;;
13887
 
          ghcx*)
13888
 
            # Green Hills C++ Compiler
13889
 
            lt_prog_compiler_pic_CXX='-pic'
13890
 
            ;;
13891
 
          *)
13892
 
            ;;
13893
 
        esac
13894
 
        ;;
13895
 
      freebsd* | dragonfly*)
13896
 
        # FreeBSD uses GNU C++
13897
 
        ;;
13898
 
      hpux9* | hpux10* | hpux11*)
13899
 
        case $cc_basename in
13900
 
          CC*)
13901
 
            lt_prog_compiler_wl_CXX='-Wl,'
13902
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13903
 
            if test "$host_cpu" != ia64; then
13904
 
              lt_prog_compiler_pic_CXX='+Z'
13905
 
            fi
13906
 
            ;;
13907
 
          aCC*)
13908
 
            lt_prog_compiler_wl_CXX='-Wl,'
13909
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13910
 
            case $host_cpu in
13911
 
            hppa*64*|ia64*)
13912
 
              # +Z the default
13913
 
              ;;
13914
 
            *)
13915
 
              lt_prog_compiler_pic_CXX='+Z'
13916
 
              ;;
13917
 
            esac
13918
 
            ;;
13919
 
          *)
13920
 
            ;;
13921
 
        esac
13922
 
        ;;
13923
 
      interix*)
13924
 
        # This is c89, which is MS Visual C++ (no shared libs)
13925
 
        # Anyone wants to do a port?
13926
 
        ;;
13927
 
      irix5* | irix6* | nonstopux*)
13928
 
        case $cc_basename in
13929
 
          CC*)
13930
 
            lt_prog_compiler_wl_CXX='-Wl,'
13931
 
            lt_prog_compiler_static_CXX='-non_shared'
13932
 
            # CC pic flag -KPIC is the default.
13933
 
            ;;
13934
 
          *)
13935
 
            ;;
13936
 
        esac
13937
 
        ;;
13938
 
      linux* | k*bsd*-gnu)
13939
 
        case $cc_basename in
13940
 
          KCC*)
13941
 
            # KAI C++ Compiler
13942
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13943
 
            lt_prog_compiler_pic_CXX='-fPIC'
13944
 
            ;;
13945
 
          icpc* | ecpc*)
13946
 
            # Intel C++
13947
 
            lt_prog_compiler_wl_CXX='-Wl,'
13948
 
            lt_prog_compiler_pic_CXX='-KPIC'
13949
 
            lt_prog_compiler_static_CXX='-static'
13950
 
            ;;
13951
 
          pgCC* | pgcpp*)
13952
 
            # Portland Group C++ compiler.
13953
 
            lt_prog_compiler_wl_CXX='-Wl,'
13954
 
            lt_prog_compiler_pic_CXX='-fpic'
13955
 
            lt_prog_compiler_static_CXX='-Bstatic'
13956
 
            ;;
13957
 
          cxx*)
13958
 
            # Compaq C++
13959
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13960
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13961
 
            lt_prog_compiler_pic_CXX=
13962
 
            lt_prog_compiler_static_CXX='-non_shared'
13963
 
            ;;
13964
 
          *)
13965
 
            case `$CC -V 2>&1 | sed 5q` in
13966
 
            *Sun\ C*)
13967
 
              # Sun C++ 5.9
13968
 
              lt_prog_compiler_pic_CXX='-KPIC'
13969
 
              lt_prog_compiler_static_CXX='-Bstatic'
13970
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
13971
 
              ;;
13972
 
            esac
13973
 
            ;;
13974
 
        esac
13975
 
        ;;
13976
 
      lynxos*)
13977
 
        ;;
13978
 
      m88k*)
13979
 
        ;;
13980
 
      mvs*)
13981
 
        case $cc_basename in
13982
 
          cxx*)
13983
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
13984
 
            ;;
13985
 
          *)
13986
 
            ;;
13987
 
        esac
13988
 
        ;;
13989
 
      netbsd*)
13990
 
        ;;
13991
 
      osf3* | osf4* | osf5*)
13992
 
        case $cc_basename in
13993
 
          KCC*)
13994
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13995
 
            ;;
13996
 
          RCC*)
13997
 
            # Rational C++ 2.4.1
13998
 
            lt_prog_compiler_pic_CXX='-pic'
13999
 
            ;;
14000
 
          cxx*)
14001
 
            # Digital/Compaq C++
14002
 
            lt_prog_compiler_wl_CXX='-Wl,'
14003
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14004
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14005
 
            lt_prog_compiler_pic_CXX=
14006
 
            lt_prog_compiler_static_CXX='-non_shared'
14007
 
            ;;
14008
 
          *)
14009
 
            ;;
14010
 
        esac
14011
 
        ;;
14012
 
      psos*)
14013
 
        ;;
14014
 
      solaris*)
14015
 
        case $cc_basename in
14016
 
          CC*)
14017
 
            # Sun C++ 4.2, 5.x and Centerline C++
14018
 
            lt_prog_compiler_pic_CXX='-KPIC'
14019
 
            lt_prog_compiler_static_CXX='-Bstatic'
14020
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
14021
 
            ;;
14022
 
          gcx*)
14023
 
            # Green Hills C++ Compiler
14024
 
            lt_prog_compiler_pic_CXX='-PIC'
14025
 
            ;;
14026
 
          *)
14027
 
            ;;
14028
 
        esac
14029
 
        ;;
14030
 
      sunos4*)
14031
 
        case $cc_basename in
14032
 
          CC*)
14033
 
            # Sun C++ 4.x
14034
 
            lt_prog_compiler_pic_CXX='-pic'
14035
 
            lt_prog_compiler_static_CXX='-Bstatic'
14036
 
            ;;
14037
 
          lcc*)
14038
 
            # Lucid
14039
 
            lt_prog_compiler_pic_CXX='-pic'
14040
 
            ;;
14041
 
          *)
14042
 
            ;;
14043
 
        esac
14044
 
        ;;
14045
 
      tandem*)
14046
 
        case $cc_basename in
14047
 
          NCC*)
14048
 
            # NonStop-UX NCC 3.20
14049
 
            lt_prog_compiler_pic_CXX='-KPIC'
14050
 
            ;;
14051
 
          *)
14052
 
            ;;
14053
 
        esac
14054
 
        ;;
14055
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14056
 
        case $cc_basename in
14057
 
          CC*)
14058
 
            lt_prog_compiler_wl_CXX='-Wl,'
14059
 
            lt_prog_compiler_pic_CXX='-KPIC'
14060
 
            lt_prog_compiler_static_CXX='-Bstatic'
14061
 
            ;;
14062
 
        esac
14063
 
        ;;
14064
 
      vxworks*)
14065
 
        ;;
14066
 
      *)
14067
 
        lt_prog_compiler_can_build_shared_CXX=no
14068
 
        ;;
14069
 
    esac
14070
 
  fi
14071
 
 
14072
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14073
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14074
 
 
14075
 
#
14076
 
# Check to make sure the PIC flag actually works.
14077
 
#
14078
 
if test -n "$lt_prog_compiler_pic_CXX"; then
14079
 
 
14080
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14081
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14082
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14083
 
  $as_echo_n "(cached) " >&6
14084
 
else
14085
 
  lt_cv_prog_compiler_pic_works_CXX=no
14086
 
  ac_outfile=conftest.$ac_objext
14087
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14088
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14089
 
   # Insert the option either (1) after the last *FLAGS variable, or
14090
 
   # (2) before a word containing "conftest.", or (3) at the end.
14091
 
   # Note that $ac_compile itself does not contain backslashes and begins
14092
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14093
 
   # The option is referenced via a variable to avoid confusing sed.
14094
 
   lt_compile=`echo "$ac_compile" | $SED \
14095
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14096
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14097
 
   -e 's:$: $lt_compiler_flag:'`
14098
 
   (eval echo "\"\$as_me:14098: $lt_compile\"" >&5)
14099
 
   (eval "$lt_compile" 2>conftest.err)
14100
 
   ac_status=$?
14101
 
   cat conftest.err >&5
14102
 
   echo "$as_me:14102: \$? = $ac_status" >&5
14103
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14104
 
     # The compiler can only warn and ignore the option if not recognized
14105
 
     # So say no if there are warnings other than the usual output.
14106
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14107
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14108
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14109
 
       lt_cv_prog_compiler_pic_works_CXX=yes
14110
 
     fi
14111
 
   fi
14112
 
   $rm conftest*
14113
 
 
14114
 
fi
14115
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14116
 
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14117
 
 
14118
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14119
 
    case $lt_prog_compiler_pic_CXX in
14120
 
     "" | " "*) ;;
14121
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14122
 
     esac
14123
 
else
14124
 
    lt_prog_compiler_pic_CXX=
14125
 
     lt_prog_compiler_can_build_shared_CXX=no
14126
 
fi
14127
 
 
14128
 
fi
14129
 
case $host_os in
14130
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14131
 
  *djgpp*)
14132
 
    lt_prog_compiler_pic_CXX=
14133
 
    ;;
14134
 
  *)
14135
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14136
 
    ;;
14137
 
esac
14138
 
 
14139
 
#
14140
 
# Check to make sure the static flag actually works.
14141
 
#
14142
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14143
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14144
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14145
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14146
 
  $as_echo_n "(cached) " >&6
14147
 
else
14148
 
  lt_cv_prog_compiler_static_works_CXX=no
14149
 
   save_LDFLAGS="$LDFLAGS"
14150
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14151
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14152
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14153
 
     # The linker can only warn and ignore the option if not recognized
14154
 
     # So say no if there are warnings
14155
 
     if test -s conftest.err; then
14156
 
       # Append any errors to the config.log.
14157
 
       cat conftest.err 1>&5
14158
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14159
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14160
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14161
 
         lt_cv_prog_compiler_static_works_CXX=yes
14162
 
       fi
14163
 
     else
14164
 
       lt_cv_prog_compiler_static_works_CXX=yes
14165
 
     fi
14166
 
   fi
14167
 
   $rm -r conftest*
14168
 
   LDFLAGS="$save_LDFLAGS"
14169
 
 
14170
 
fi
14171
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14172
 
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14173
 
 
14174
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14175
 
    :
14176
 
else
14177
 
    lt_prog_compiler_static_CXX=
14178
 
fi
14179
 
 
14180
 
 
14181
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14182
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14183
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14184
 
  $as_echo_n "(cached) " >&6
14185
 
else
14186
 
  lt_cv_prog_compiler_c_o_CXX=no
14187
 
   $rm -r conftest 2>/dev/null
14188
 
   mkdir conftest
14189
 
   cd conftest
14190
 
   mkdir out
14191
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14192
 
 
14193
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14194
 
   # Insert the option either (1) after the last *FLAGS variable, or
14195
 
   # (2) before a word containing "conftest.", or (3) at the end.
14196
 
   # Note that $ac_compile itself does not contain backslashes and begins
14197
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14198
 
   lt_compile=`echo "$ac_compile" | $SED \
14199
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14200
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14201
 
   -e 's:$: $lt_compiler_flag:'`
14202
 
   (eval echo "\"\$as_me:14202: $lt_compile\"" >&5)
14203
 
   (eval "$lt_compile" 2>out/conftest.err)
14204
 
   ac_status=$?
14205
 
   cat out/conftest.err >&5
14206
 
   echo "$as_me:14206: \$? = $ac_status" >&5
14207
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14208
 
   then
14209
 
     # The compiler can only warn and ignore the option if not recognized
14210
 
     # So say no if there are warnings
14211
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14212
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14213
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14214
 
       lt_cv_prog_compiler_c_o_CXX=yes
14215
 
     fi
14216
 
   fi
14217
 
   chmod u+w . 2>&5
14218
 
   $rm conftest*
14219
 
   # SGI C++ compiler will create directory out/ii_files/ for
14220
 
   # template instantiation
14221
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14222
 
   $rm out/* && rmdir out
14223
 
   cd ..
14224
 
   rmdir conftest
14225
 
   $rm conftest*
14226
 
 
14227
 
fi
14228
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14229
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14230
 
 
14231
 
 
14232
 
hard_links="nottested"
14233
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14234
 
  # do not overwrite the value of need_locks provided by the user
14235
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14236
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
14237
 
  hard_links=yes
14238
 
  $rm conftest*
14239
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14240
 
  touch conftest.a
14241
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14242
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14243
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
14244
 
$as_echo "$hard_links" >&6; }
14245
 
  if test "$hard_links" = no; then
14246
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14247
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14248
 
    need_locks=warn
14249
 
  fi
14250
 
else
14251
 
  need_locks=no
14252
 
fi
14253
 
 
14254
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14255
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14256
 
 
14257
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14258
 
  case $host_os in
14259
 
  aix[4-9]*)
14260
 
    # If we're using GNU nm, then we don't want the "-C" option.
14261
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14262
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14263
 
      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'
14264
 
    else
14265
 
      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'
14266
 
    fi
14267
 
    ;;
14268
 
  pw32*)
14269
 
    export_symbols_cmds_CXX="$ltdll_cmds"
14270
 
  ;;
14271
 
  cygwin* | mingw*)
14272
 
    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'
14273
 
  ;;
14274
 
  *)
14275
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14276
 
  ;;
14277
 
  esac
14278
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14279
 
 
14280
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14281
 
$as_echo "$ld_shlibs_CXX" >&6; }
14282
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14283
 
 
14284
 
#
14285
 
# Do we need to explicitly link libc?
14286
 
#
14287
 
case "x$archive_cmds_need_lc_CXX" in
14288
 
x|xyes)
14289
 
  # Assume -lc should be added
14290
 
  archive_cmds_need_lc_CXX=yes
14291
 
 
14292
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14293
 
    case $archive_cmds_CXX in
14294
 
    *'~'*)
14295
 
      # FIXME: we may have to deal with multi-command sequences.
14296
 
      ;;
14297
 
    '$CC '*)
14298
 
      # Test whether the compiler implicitly links with -lc since on some
14299
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14300
 
      # to ld, don't add -lc before -lgcc.
14301
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14302
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14303
 
      $rm conftest*
14304
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14305
 
 
14306
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14307
 
  (eval $ac_compile) 2>&5
14308
 
  ac_status=$?
14309
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310
 
  (exit $ac_status); } 2>conftest.err; then
14311
 
        soname=conftest
14312
 
        lib=conftest
14313
 
        libobjs=conftest.$ac_objext
14314
 
        deplibs=
14315
 
        wl=$lt_prog_compiler_wl_CXX
14316
 
        pic_flag=$lt_prog_compiler_pic_CXX
14317
 
        compiler_flags=-v
14318
 
        linker_flags=-v
14319
 
        verstring=
14320
 
        output_objdir=.
14321
 
        libname=conftest
14322
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14323
 
        allow_undefined_flag_CXX=
14324
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14325
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14326
 
  ac_status=$?
14327
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328
 
  (exit $ac_status); }
14329
 
        then
14330
 
          archive_cmds_need_lc_CXX=no
14331
 
        else
14332
 
          archive_cmds_need_lc_CXX=yes
14333
 
        fi
14334
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14335
 
      else
14336
 
        cat conftest.err 1>&5
14337
 
      fi
14338
 
      $rm conftest*
14339
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14340
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
14341
 
      ;;
14342
 
    esac
14343
 
  fi
14344
 
  ;;
14345
 
esac
14346
 
 
14347
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14348
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14349
 
library_names_spec=
14350
 
libname_spec='lib$name'
14351
 
soname_spec=
14352
 
shrext_cmds=".so"
14353
 
postinstall_cmds=
14354
 
postuninstall_cmds=
14355
 
finish_cmds=
14356
 
finish_eval=
14357
 
shlibpath_var=
14358
 
shlibpath_overrides_runpath=unknown
14359
 
version_type=none
14360
 
dynamic_linker="$host_os ld.so"
14361
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14362
 
 
14363
 
need_lib_prefix=unknown
14364
 
hardcode_into_libs=no
14365
 
 
14366
 
# when you set need_version to no, make sure it does not cause -set_version
14367
 
# flags to be left without arguments
14368
 
need_version=unknown
14369
 
 
14370
 
case $host_os in
14371
 
aix3*)
14372
 
  version_type=linux
14373
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14374
 
  shlibpath_var=LIBPATH
14375
 
 
14376
 
  # AIX 3 has no versioning support, so we append a major version to the name.
14377
 
  soname_spec='${libname}${release}${shared_ext}$major'
14378
 
  ;;
14379
 
 
14380
 
aix[4-9]*)
14381
 
  version_type=linux
14382
 
  need_lib_prefix=no
14383
 
  need_version=no
14384
 
  hardcode_into_libs=yes
14385
 
  if test "$host_cpu" = ia64; then
14386
 
    # AIX 5 supports IA64
14387
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14388
 
    shlibpath_var=LD_LIBRARY_PATH
14389
 
  else
14390
 
    # With GCC up to 2.95.x, collect2 would create an import file
14391
 
    # for dependence libraries.  The import file would start with
14392
 
    # the line `#! .'.  This would cause the generated library to
14393
 
    # depend on `.', always an invalid library.  This was fixed in
14394
 
    # development snapshots of GCC prior to 3.0.
14395
 
    case $host_os in
14396
 
      aix4 | aix4.[01] | aix4.[01].*)
14397
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14398
 
           echo ' yes '
14399
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14400
 
        :
14401
 
      else
14402
 
        can_build_shared=no
14403
 
      fi
14404
 
      ;;
14405
 
    esac
14406
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14407
 
    # soname into executable. Probably we can add versioning support to
14408
 
    # collect2, so additional links can be useful in future.
14409
 
    if test "$aix_use_runtimelinking" = yes; then
14410
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14411
 
      # instead of lib<name>.a to let people know that these are not
14412
 
      # typical AIX shared libraries.
14413
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14414
 
    else
14415
 
      # We preserve .a as extension for shared libraries through AIX4.2
14416
 
      # and later when we are not doing run time linking.
14417
 
      library_names_spec='${libname}${release}.a $libname.a'
14418
 
      soname_spec='${libname}${release}${shared_ext}$major'
14419
 
    fi
14420
 
    shlibpath_var=LIBPATH
14421
 
  fi
14422
 
  ;;
14423
 
 
14424
 
amigaos*)
14425
 
  library_names_spec='$libname.ixlibrary $libname.a'
14426
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
14427
 
  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'
14428
 
  ;;
14429
 
 
14430
 
beos*)
14431
 
  library_names_spec='${libname}${shared_ext}'
14432
 
  dynamic_linker="$host_os ld.so"
14433
 
  shlibpath_var=LIBRARY_PATH
14434
 
  ;;
14435
 
 
14436
 
bsdi[45]*)
14437
 
  version_type=linux
14438
 
  need_version=no
14439
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14440
 
  soname_spec='${libname}${release}${shared_ext}$major'
14441
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14442
 
  shlibpath_var=LD_LIBRARY_PATH
14443
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14444
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14445
 
  # the default ld.so.conf also contains /usr/contrib/lib and
14446
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14447
 
  # libtool to hard-code these into programs
14448
 
  ;;
14449
 
 
14450
 
cygwin* | mingw* | pw32*)
14451
 
  version_type=windows
14452
 
  shrext_cmds=".dll"
14453
 
  need_version=no
14454
 
  need_lib_prefix=no
14455
 
 
14456
 
  case $GCC,$host_os in
14457
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
14458
 
    library_names_spec='$libname.dll.a'
14459
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14460
 
    postinstall_cmds='base_file=`basename \${file}`~
14461
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14462
 
      dldir=$destdir/`dirname \$dlpath`~
14463
 
      test -d \$dldir || mkdir -p \$dldir~
14464
 
      $install_prog $dir/$dlname \$dldir/$dlname~
14465
 
      chmod a+x \$dldir/$dlname'
14466
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14467
 
      dlpath=$dir/\$dldll~
14468
 
       $rm \$dlpath'
14469
 
    shlibpath_overrides_runpath=yes
14470
 
 
14471
 
    case $host_os in
14472
 
    cygwin*)
14473
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14474
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14475
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14476
 
      ;;
14477
 
    mingw*)
14478
 
      # MinGW DLLs use traditional 'lib' prefix
14479
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14480
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14481
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14482
 
        # It is most probably a Windows format PATH printed by
14483
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14484
 
        # path with ; separators, and with drive letters. We can handle the
14485
 
        # drive letters (cygwin fileutils understands them), so leave them,
14486
 
        # especially as we might pass files found there to a mingw objdump,
14487
 
        # which wouldn't understand a cygwinified path. Ahh.
14488
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14489
 
      else
14490
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14491
 
      fi
14492
 
      ;;
14493
 
    pw32*)
14494
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14495
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14496
 
      ;;
14497
 
    esac
14498
 
    ;;
14499
 
 
14500
 
  *)
14501
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14502
 
    ;;
14503
 
  esac
14504
 
  dynamic_linker='Win32 ld.exe'
14505
 
  # FIXME: first we should search . and the directory the executable is in
14506
 
  shlibpath_var=PATH
14507
 
  ;;
14508
 
 
14509
 
darwin* | rhapsody*)
14510
 
  dynamic_linker="$host_os dyld"
14511
 
  version_type=darwin
14512
 
  need_lib_prefix=no
14513
 
  need_version=no
14514
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14515
 
  soname_spec='${libname}${release}${major}$shared_ext'
14516
 
  shlibpath_overrides_runpath=yes
14517
 
  shlibpath_var=DYLD_LIBRARY_PATH
14518
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14519
 
 
14520
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14521
 
  ;;
14522
 
 
14523
 
dgux*)
14524
 
  version_type=linux
14525
 
  need_lib_prefix=no
14526
 
  need_version=no
14527
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14528
 
  soname_spec='${libname}${release}${shared_ext}$major'
14529
 
  shlibpath_var=LD_LIBRARY_PATH
14530
 
  ;;
14531
 
 
14532
 
freebsd1*)
14533
 
  dynamic_linker=no
14534
 
  ;;
14535
 
 
14536
 
freebsd* | dragonfly*)
14537
 
  # DragonFly does not have aout.  When/if they implement a new
14538
 
  # versioning mechanism, adjust this.
14539
 
  if test -x /usr/bin/objformat; then
14540
 
    objformat=`/usr/bin/objformat`
14541
 
  else
14542
 
    case $host_os in
14543
 
    freebsd[123]*) objformat=aout ;;
14544
 
    *) objformat=elf ;;
14545
 
    esac
14546
 
  fi
14547
 
  version_type=freebsd-$objformat
14548
 
  case $version_type in
14549
 
    freebsd-elf*)
14550
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14551
 
      need_version=no
14552
 
      need_lib_prefix=no
14553
 
      ;;
14554
 
    freebsd-*)
14555
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14556
 
      need_version=yes
14557
 
      ;;
14558
 
  esac
14559
 
  shlibpath_var=LD_LIBRARY_PATH
14560
 
  case $host_os in
14561
 
  freebsd2*)
14562
 
    shlibpath_overrides_runpath=yes
14563
 
    ;;
14564
 
  freebsd3.[01]* | freebsdelf3.[01]*)
14565
 
    shlibpath_overrides_runpath=yes
14566
 
    hardcode_into_libs=yes
14567
 
    ;;
14568
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14569
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14570
 
    shlibpath_overrides_runpath=no
14571
 
    hardcode_into_libs=yes
14572
 
    ;;
14573
 
  *) # from 4.6 on, and DragonFly
14574
 
    shlibpath_overrides_runpath=yes
14575
 
    hardcode_into_libs=yes
14576
 
    ;;
14577
 
  esac
14578
 
  ;;
14579
 
 
14580
 
gnu*)
14581
 
  version_type=linux
14582
 
  need_lib_prefix=no
14583
 
  need_version=no
14584
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14585
 
  soname_spec='${libname}${release}${shared_ext}$major'
14586
 
  shlibpath_var=LD_LIBRARY_PATH
14587
 
  hardcode_into_libs=yes
14588
 
  ;;
14589
 
 
14590
 
hpux9* | hpux10* | hpux11*)
14591
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
14592
 
  # link against other versions.
14593
 
  version_type=sunos
14594
 
  need_lib_prefix=no
14595
 
  need_version=no
14596
 
  case $host_cpu in
14597
 
  ia64*)
14598
 
    shrext_cmds='.so'
14599
 
    hardcode_into_libs=yes
14600
 
    dynamic_linker="$host_os dld.so"
14601
 
    shlibpath_var=LD_LIBRARY_PATH
14602
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14603
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14604
 
    soname_spec='${libname}${release}${shared_ext}$major'
14605
 
    if test "X$HPUX_IA64_MODE" = X32; then
14606
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14607
 
    else
14608
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14609
 
    fi
14610
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14611
 
    ;;
14612
 
   hppa*64*)
14613
 
     shrext_cmds='.sl'
14614
 
     hardcode_into_libs=yes
14615
 
     dynamic_linker="$host_os dld.sl"
14616
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14617
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14618
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14619
 
     soname_spec='${libname}${release}${shared_ext}$major'
14620
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14621
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14622
 
     ;;
14623
 
   *)
14624
 
    shrext_cmds='.sl'
14625
 
    dynamic_linker="$host_os dld.sl"
14626
 
    shlibpath_var=SHLIB_PATH
14627
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14628
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14629
 
    soname_spec='${libname}${release}${shared_ext}$major'
14630
 
    ;;
14631
 
  esac
14632
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
14633
 
  postinstall_cmds='chmod 555 $lib'
14634
 
  ;;
14635
 
 
14636
 
interix[3-9]*)
14637
 
  version_type=linux
14638
 
  need_lib_prefix=no
14639
 
  need_version=no
14640
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14641
 
  soname_spec='${libname}${release}${shared_ext}$major'
14642
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14643
 
  shlibpath_var=LD_LIBRARY_PATH
14644
 
  shlibpath_overrides_runpath=no
14645
 
  hardcode_into_libs=yes
14646
 
  ;;
14647
 
 
14648
 
irix5* | irix6* | nonstopux*)
14649
 
  case $host_os in
14650
 
    nonstopux*) version_type=nonstopux ;;
14651
 
    *)
14652
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
14653
 
                version_type=linux
14654
 
        else
14655
 
                version_type=irix
14656
 
        fi ;;
14657
 
  esac
14658
 
  need_lib_prefix=no
14659
 
  need_version=no
14660
 
  soname_spec='${libname}${release}${shared_ext}$major'
14661
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14662
 
  case $host_os in
14663
 
  irix5* | nonstopux*)
14664
 
    libsuff= shlibsuff=
14665
 
    ;;
14666
 
  *)
14667
 
    case $LD in # libtool.m4 will add one of these switches to LD
14668
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14669
 
      libsuff= shlibsuff= libmagic=32-bit;;
14670
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14671
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
14672
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14673
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14674
 
    *) libsuff= shlibsuff= libmagic=never-match;;
14675
 
    esac
14676
 
    ;;
14677
 
  esac
14678
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14679
 
  shlibpath_overrides_runpath=no
14680
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14681
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14682
 
  hardcode_into_libs=yes
14683
 
  ;;
14684
 
 
14685
 
# No shared lib support for Linux oldld, aout, or coff.
14686
 
linux*oldld* | linux*aout* | linux*coff*)
14687
 
  dynamic_linker=no
14688
 
  ;;
14689
 
 
14690
 
# This must be Linux ELF.
14691
 
linux* | k*bsd*-gnu)
14692
 
  version_type=linux
14693
 
  need_lib_prefix=no
14694
 
  need_version=no
14695
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14696
 
  soname_spec='${libname}${release}${shared_ext}$major'
14697
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14698
 
  shlibpath_var=LD_LIBRARY_PATH
14699
 
  shlibpath_overrides_runpath=no
14700
 
  # This implies no fast_install, which is unacceptable.
14701
 
  # Some rework will be needed to allow for fast_install
14702
 
  # before this can be enabled.
14703
 
  hardcode_into_libs=yes
14704
 
 
14705
 
  # Append ld.so.conf contents to the search path
14706
 
  if test -f /etc/ld.so.conf; then
14707
 
    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' ' '`
14708
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14709
 
  fi
14710
 
 
14711
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14712
 
  # powerpc, because MkLinux only supported shared libraries with the
14713
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
14714
 
  # most powerpc-linux boxes support dynamic linking these days and
14715
 
  # people can always --disable-shared, the test was removed, and we
14716
 
  # assume the GNU/Linux dynamic linker is in use.
14717
 
  dynamic_linker='GNU/Linux ld.so'
14718
 
  ;;
14719
 
 
14720
 
netbsd*)
14721
 
  version_type=sunos
14722
 
  need_lib_prefix=no
14723
 
  need_version=no
14724
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14725
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14726
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14727
 
    dynamic_linker='NetBSD (a.out) ld.so'
14728
 
  else
14729
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14730
 
    soname_spec='${libname}${release}${shared_ext}$major'
14731
 
    dynamic_linker='NetBSD ld.elf_so'
14732
 
  fi
14733
 
  shlibpath_var=LD_LIBRARY_PATH
14734
 
  shlibpath_overrides_runpath=yes
14735
 
  hardcode_into_libs=yes
14736
 
  ;;
14737
 
 
14738
 
newsos6)
14739
 
  version_type=linux
14740
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14741
 
  shlibpath_var=LD_LIBRARY_PATH
14742
 
  shlibpath_overrides_runpath=yes
14743
 
  ;;
14744
 
 
14745
 
nto-qnx*)
14746
 
  version_type=linux
14747
 
  need_lib_prefix=no
14748
 
  need_version=no
14749
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14750
 
  soname_spec='${libname}${release}${shared_ext}$major'
14751
 
  shlibpath_var=LD_LIBRARY_PATH
14752
 
  shlibpath_overrides_runpath=yes
14753
 
  ;;
14754
 
 
14755
 
openbsd*)
14756
 
  version_type=sunos
14757
 
  sys_lib_dlsearch_path_spec="/usr/lib"
14758
 
  need_lib_prefix=no
14759
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14760
 
  case $host_os in
14761
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14762
 
    *)                         need_version=no  ;;
14763
 
  esac
14764
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14765
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14766
 
  shlibpath_var=LD_LIBRARY_PATH
14767
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14768
 
    case $host_os in
14769
 
      openbsd2.[89] | openbsd2.[89].*)
14770
 
        shlibpath_overrides_runpath=no
14771
 
        ;;
14772
 
      *)
14773
 
        shlibpath_overrides_runpath=yes
14774
 
        ;;
14775
 
      esac
14776
 
  else
14777
 
    shlibpath_overrides_runpath=yes
14778
 
  fi
14779
 
  ;;
14780
 
 
14781
 
os2*)
14782
 
  libname_spec='$name'
14783
 
  shrext_cmds=".dll"
14784
 
  need_lib_prefix=no
14785
 
  library_names_spec='$libname${shared_ext} $libname.a'
14786
 
  dynamic_linker='OS/2 ld.exe'
14787
 
  shlibpath_var=LIBPATH
14788
 
  ;;
14789
 
 
14790
 
osf3* | osf4* | osf5*)
14791
 
  version_type=osf
14792
 
  need_lib_prefix=no
14793
 
  need_version=no
14794
 
  soname_spec='${libname}${release}${shared_ext}$major'
14795
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14796
 
  shlibpath_var=LD_LIBRARY_PATH
14797
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14798
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14799
 
  ;;
14800
 
 
14801
 
rdos*)
14802
 
  dynamic_linker=no
14803
 
  ;;
14804
 
 
14805
 
solaris*)
14806
 
  version_type=linux
14807
 
  need_lib_prefix=no
14808
 
  need_version=no
14809
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14810
 
  soname_spec='${libname}${release}${shared_ext}$major'
14811
 
  shlibpath_var=LD_LIBRARY_PATH
14812
 
  shlibpath_overrides_runpath=yes
14813
 
  hardcode_into_libs=yes
14814
 
  # ldd complains unless libraries are executable
14815
 
  postinstall_cmds='chmod +x $lib'
14816
 
  ;;
14817
 
 
14818
 
sunos4*)
14819
 
  version_type=sunos
14820
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14821
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14822
 
  shlibpath_var=LD_LIBRARY_PATH
14823
 
  shlibpath_overrides_runpath=yes
14824
 
  if test "$with_gnu_ld" = yes; then
14825
 
    need_lib_prefix=no
14826
 
  fi
14827
 
  need_version=yes
14828
 
  ;;
14829
 
 
14830
 
sysv4 | sysv4.3*)
14831
 
  version_type=linux
14832
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14833
 
  soname_spec='${libname}${release}${shared_ext}$major'
14834
 
  shlibpath_var=LD_LIBRARY_PATH
14835
 
  case $host_vendor in
14836
 
    sni)
14837
 
      shlibpath_overrides_runpath=no
14838
 
      need_lib_prefix=no
14839
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
14840
 
      runpath_var=LD_RUN_PATH
14841
 
      ;;
14842
 
    siemens)
14843
 
      need_lib_prefix=no
14844
 
      ;;
14845
 
    motorola)
14846
 
      need_lib_prefix=no
14847
 
      need_version=no
14848
 
      shlibpath_overrides_runpath=no
14849
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14850
 
      ;;
14851
 
  esac
14852
 
  ;;
14853
 
 
14854
 
sysv4*MP*)
14855
 
  if test -d /usr/nec ;then
14856
 
    version_type=linux
14857
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14858
 
    soname_spec='$libname${shared_ext}.$major'
14859
 
    shlibpath_var=LD_LIBRARY_PATH
14860
 
  fi
14861
 
  ;;
14862
 
 
14863
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14864
 
  version_type=freebsd-elf
14865
 
  need_lib_prefix=no
14866
 
  need_version=no
14867
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14868
 
  soname_spec='${libname}${release}${shared_ext}$major'
14869
 
  shlibpath_var=LD_LIBRARY_PATH
14870
 
  hardcode_into_libs=yes
14871
 
  if test "$with_gnu_ld" = yes; then
14872
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14873
 
    shlibpath_overrides_runpath=no
14874
 
  else
14875
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14876
 
    shlibpath_overrides_runpath=yes
14877
 
    case $host_os in
14878
 
      sco3.2v5*)
14879
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14880
 
        ;;
14881
 
    esac
14882
 
  fi
14883
 
  sys_lib_dlsearch_path_spec='/usr/lib'
14884
 
  ;;
14885
 
 
14886
 
uts4*)
14887
 
  version_type=linux
14888
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14889
 
  soname_spec='${libname}${release}${shared_ext}$major'
14890
 
  shlibpath_var=LD_LIBRARY_PATH
14891
 
  ;;
14892
 
 
14893
 
*)
14894
 
  dynamic_linker=no
14895
 
  ;;
14896
 
esac
14897
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14898
 
$as_echo "$dynamic_linker" >&6; }
14899
 
test "$dynamic_linker" = no && can_build_shared=no
14900
 
 
14901
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14902
 
  $as_echo_n "(cached) " >&6
14903
 
else
14904
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
14905
 
fi
14906
 
 
14907
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14908
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14909
 
  $as_echo_n "(cached) " >&6
14910
 
else
14911
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
14912
 
fi
14913
 
 
14914
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14915
 
 
14916
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14917
 
if test "$GCC" = yes; then
14918
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14919
 
fi
14920
 
 
14921
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14922
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14923
 
hardcode_action_CXX=
14924
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14925
 
   test -n "$runpath_var_CXX" || \
14926
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14927
 
 
14928
 
  # We can hardcode non-existant directories.
14929
 
  if test "$hardcode_direct_CXX" != no &&
14930
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14931
 
     # have to relink, otherwise we might link with an installed library
14932
 
     # when we should be linking with a yet-to-be-installed one
14933
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14934
 
     test "$hardcode_minus_L_CXX" != no; then
14935
 
    # Linking always hardcodes the temporary library directory.
14936
 
    hardcode_action_CXX=relink
14937
 
  else
14938
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14939
 
    hardcode_action_CXX=immediate
14940
 
  fi
14941
 
else
14942
 
  # We cannot hardcode anything, or else we can only hardcode existing
14943
 
  # directories.
14944
 
  hardcode_action_CXX=unsupported
14945
 
fi
14946
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14947
 
$as_echo "$hardcode_action_CXX" >&6; }
14948
 
 
14949
 
if test "$hardcode_action_CXX" = relink; then
14950
 
  # Fast installation is not supported
14951
 
  enable_fast_install=no
14952
 
elif test "$shlibpath_overrides_runpath" = yes ||
14953
 
     test "$enable_shared" = no; then
14954
 
  # Fast installation is not necessary
14955
 
  enable_fast_install=needless
14956
 
fi
14957
 
 
14958
 
 
14959
 
# The else clause should only fire when bootstrapping the
14960
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
14961
 
# with your package, and you will get complaints that there are
14962
 
# no rules to generate ltmain.sh.
14963
 
if test -f "$ltmain"; then
14964
 
  # See if we are running on zsh, and set the options which allow our commands through
14965
 
  # without removal of \ escapes.
14966
 
  if test -n "${ZSH_VERSION+set}" ; then
14967
 
    setopt NO_GLOB_SUBST
14968
 
  fi
14969
 
  # Now quote all the things that may contain metacharacters while being
14970
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14971
 
  # variables and quote the copies for generation of the libtool script.
14972
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14973
 
    SED SHELL STRIP \
14974
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14975
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14976
 
    deplibs_check_method reload_flag reload_cmds need_locks \
14977
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14978
 
    lt_cv_sys_global_symbol_to_c_name_address \
14979
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14980
 
    old_postinstall_cmds old_postuninstall_cmds \
14981
 
    compiler_CXX \
14982
 
    CC_CXX \
14983
 
    LD_CXX \
14984
 
    lt_prog_compiler_wl_CXX \
14985
 
    lt_prog_compiler_pic_CXX \
14986
 
    lt_prog_compiler_static_CXX \
14987
 
    lt_prog_compiler_no_builtin_flag_CXX \
14988
 
    export_dynamic_flag_spec_CXX \
14989
 
    thread_safe_flag_spec_CXX \
14990
 
    whole_archive_flag_spec_CXX \
14991
 
    enable_shared_with_static_runtimes_CXX \
14992
 
    old_archive_cmds_CXX \
14993
 
    old_archive_from_new_cmds_CXX \
14994
 
    predep_objects_CXX \
14995
 
    postdep_objects_CXX \
14996
 
    predeps_CXX \
14997
 
    postdeps_CXX \
14998
 
    compiler_lib_search_path_CXX \
14999
 
    compiler_lib_search_dirs_CXX \
15000
 
    archive_cmds_CXX \
15001
 
    archive_expsym_cmds_CXX \
15002
 
    postinstall_cmds_CXX \
15003
 
    postuninstall_cmds_CXX \
15004
 
    old_archive_from_expsyms_cmds_CXX \
15005
 
    allow_undefined_flag_CXX \
15006
 
    no_undefined_flag_CXX \
15007
 
    export_symbols_cmds_CXX \
15008
 
    hardcode_libdir_flag_spec_CXX \
15009
 
    hardcode_libdir_flag_spec_ld_CXX \
15010
 
    hardcode_libdir_separator_CXX \
15011
 
    hardcode_automatic_CXX \
15012
 
    module_cmds_CXX \
15013
 
    module_expsym_cmds_CXX \
15014
 
    lt_cv_prog_compiler_c_o_CXX \
15015
 
    fix_srcfile_path_CXX \
15016
 
    exclude_expsyms_CXX \
15017
 
    include_expsyms_CXX; do
15018
 
 
15019
 
    case $var in
15020
 
    old_archive_cmds_CXX | \
15021
 
    old_archive_from_new_cmds_CXX | \
15022
 
    archive_cmds_CXX | \
15023
 
    archive_expsym_cmds_CXX | \
15024
 
    module_cmds_CXX | \
15025
 
    module_expsym_cmds_CXX | \
15026
 
    old_archive_from_expsyms_cmds_CXX | \
15027
 
    export_symbols_cmds_CXX | \
15028
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
15029
 
    postinstall_cmds | postuninstall_cmds | \
15030
 
    old_postinstall_cmds | old_postuninstall_cmds | \
15031
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15032
 
      # Double-quote double-evaled strings.
15033
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15034
 
      ;;
15035
 
    *)
15036
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15037
 
      ;;
15038
 
    esac
15039
 
  done
15040
 
 
15041
 
  case $lt_echo in
15042
 
  *'\$0 --fallback-echo"')
15043
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15044
 
    ;;
15045
 
  esac
15046
 
 
15047
 
cfgfile="$ofile"
15048
 
 
15049
 
  cat <<__EOF__ >> "$cfgfile"
15050
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15051
 
 
15052
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15053
 
 
15054
 
# Shell to use when invoking shell scripts.
15055
 
SHELL=$lt_SHELL
15056
 
 
15057
 
# Whether or not to build shared libraries.
15058
 
build_libtool_libs=$enable_shared
15059
 
 
15060
 
# Whether or not to build static libraries.
15061
 
build_old_libs=$enable_static
15062
 
 
15063
 
# Whether or not to add -lc for building shared libraries.
15064
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
15065
 
 
15066
 
# Whether or not to disallow shared libs when runtime libs are static
15067
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15068
 
 
15069
 
# Whether or not to optimize for fast installation.
15070
 
fast_install=$enable_fast_install
15071
 
 
15072
 
# The host system.
15073
 
host_alias=$host_alias
15074
 
host=$host
15075
 
host_os=$host_os
15076
 
 
15077
 
# The build system.
15078
 
build_alias=$build_alias
15079
 
build=$build
15080
 
build_os=$build_os
15081
 
 
15082
 
# An echo program that does not interpret backslashes.
15083
 
echo=$lt_echo
15084
 
 
15085
 
# The archiver.
15086
 
AR=$lt_AR
15087
 
AR_FLAGS=$lt_AR_FLAGS
15088
 
 
15089
 
# A C compiler.
15090
 
LTCC=$lt_LTCC
15091
 
 
15092
 
# LTCC compiler flags.
15093
 
LTCFLAGS=$lt_LTCFLAGS
15094
 
 
15095
 
# A language-specific compiler.
15096
 
CC=$lt_compiler_CXX
15097
 
 
15098
 
# Is the compiler the GNU C compiler?
15099
 
with_gcc=$GCC_CXX
15100
 
 
15101
 
# An ERE matcher.
15102
 
EGREP=$lt_EGREP
15103
 
 
15104
 
# The linker used to build libraries.
15105
 
LD=$lt_LD_CXX
15106
 
 
15107
 
# Whether we need hard or soft links.
15108
 
LN_S=$lt_LN_S
15109
 
 
15110
 
# A BSD-compatible nm program.
15111
 
NM=$lt_NM
15112
 
 
15113
 
# A symbol stripping program
15114
 
STRIP=$lt_STRIP
15115
 
 
15116
 
# Used to examine libraries when file_magic_cmd begins "file"
15117
 
MAGIC_CMD=$MAGIC_CMD
15118
 
 
15119
 
# Used on cygwin: DLL creation program.
15120
 
DLLTOOL="$DLLTOOL"
15121
 
 
15122
 
# Used on cygwin: object dumper.
15123
 
OBJDUMP="$OBJDUMP"
15124
 
 
15125
 
# Used on cygwin: assembler.
15126
 
AS="$AS"
15127
 
 
15128
 
# The name of the directory that contains temporary libtool files.
15129
 
objdir=$objdir
15130
 
 
15131
 
# How to create reloadable object files.
15132
 
reload_flag=$lt_reload_flag
15133
 
reload_cmds=$lt_reload_cmds
15134
 
 
15135
 
# How to pass a linker flag through the compiler.
15136
 
wl=$lt_lt_prog_compiler_wl_CXX
15137
 
 
15138
 
# Object file suffix (normally "o").
15139
 
objext="$ac_objext"
15140
 
 
15141
 
# Old archive suffix (normally "a").
15142
 
libext="$libext"
15143
 
 
15144
 
# Shared library suffix (normally ".so").
15145
 
shrext_cmds='$shrext_cmds'
15146
 
 
15147
 
# Executable file suffix (normally "").
15148
 
exeext="$exeext"
15149
 
 
15150
 
# Additional compiler flags for building library objects.
15151
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
15152
 
pic_mode=$pic_mode
15153
 
 
15154
 
# What is the maximum length of a command?
15155
 
max_cmd_len=$lt_cv_sys_max_cmd_len
15156
 
 
15157
 
# Does compiler simultaneously support -c and -o options?
15158
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15159
 
 
15160
 
# Must we lock files when doing compilation?
15161
 
need_locks=$lt_need_locks
15162
 
 
15163
 
# Do we need the lib prefix for modules?
15164
 
need_lib_prefix=$need_lib_prefix
15165
 
 
15166
 
# Do we need a version for libraries?
15167
 
need_version=$need_version
15168
 
 
15169
 
# Whether dlopen is supported.
15170
 
dlopen_support=$enable_dlopen
15171
 
 
15172
 
# Whether dlopen of programs is supported.
15173
 
dlopen_self=$enable_dlopen_self
15174
 
 
15175
 
# Whether dlopen of statically linked programs is supported.
15176
 
dlopen_self_static=$enable_dlopen_self_static
15177
 
 
15178
 
# Compiler flag to prevent dynamic linking.
15179
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
15180
 
 
15181
 
# Compiler flag to turn off builtin functions.
15182
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15183
 
 
15184
 
# Compiler flag to allow reflexive dlopens.
15185
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15186
 
 
15187
 
# Compiler flag to generate shared objects directly from archives.
15188
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15189
 
 
15190
 
# Compiler flag to generate thread-safe objects.
15191
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15192
 
 
15193
 
# Library versioning type.
15194
 
version_type=$version_type
15195
 
 
15196
 
# Format of library name prefix.
15197
 
libname_spec=$lt_libname_spec
15198
 
 
15199
 
# List of archive names.  First name is the real one, the rest are links.
15200
 
# The last name is the one that the linker finds with -lNAME.
15201
 
library_names_spec=$lt_library_names_spec
15202
 
 
15203
 
# The coded name of the library, if different from the real name.
15204
 
soname_spec=$lt_soname_spec
15205
 
 
15206
 
# Commands used to build and install an old-style archive.
15207
 
RANLIB=$lt_RANLIB
15208
 
old_archive_cmds=$lt_old_archive_cmds_CXX
15209
 
old_postinstall_cmds=$lt_old_postinstall_cmds
15210
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15211
 
 
15212
 
# Create an old-style archive from a shared archive.
15213
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15214
 
 
15215
 
# Create a temporary old-style archive to link instead of a shared archive.
15216
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15217
 
 
15218
 
# Commands used to build and install a shared archive.
15219
 
archive_cmds=$lt_archive_cmds_CXX
15220
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15221
 
postinstall_cmds=$lt_postinstall_cmds
15222
 
postuninstall_cmds=$lt_postuninstall_cmds
15223
 
 
15224
 
# Commands used to build a loadable module (assumed same as above if empty)
15225
 
module_cmds=$lt_module_cmds_CXX
15226
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
15227
 
 
15228
 
# Commands to strip libraries.
15229
 
old_striplib=$lt_old_striplib
15230
 
striplib=$lt_striplib
15231
 
 
15232
 
# Dependencies to place before the objects being linked to create a
15233
 
# shared library.
15234
 
predep_objects=$lt_predep_objects_CXX
15235
 
 
15236
 
# Dependencies to place after the objects being linked to create a
15237
 
# shared library.
15238
 
postdep_objects=$lt_postdep_objects_CXX
15239
 
 
15240
 
# Dependencies to place before the objects being linked to create a
15241
 
# shared library.
15242
 
predeps=$lt_predeps_CXX
15243
 
 
15244
 
# Dependencies to place after the objects being linked to create a
15245
 
# shared library.
15246
 
postdeps=$lt_postdeps_CXX
15247
 
 
15248
 
# The directories searched by this compiler when creating a shared
15249
 
# library
15250
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
15251
 
 
15252
 
# The library search path used internally by the compiler when linking
15253
 
# a shared library.
15254
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15255
 
 
15256
 
# Method to check whether dependent libraries are shared objects.
15257
 
deplibs_check_method=$lt_deplibs_check_method
15258
 
 
15259
 
# Command to use when deplibs_check_method == file_magic.
15260
 
file_magic_cmd=$lt_file_magic_cmd
15261
 
 
15262
 
# Flag that allows shared libraries with undefined symbols to be built.
15263
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
15264
 
 
15265
 
# Flag that forces no undefined symbols.
15266
 
no_undefined_flag=$lt_no_undefined_flag_CXX
15267
 
 
15268
 
# Commands used to finish a libtool library installation in a directory.
15269
 
finish_cmds=$lt_finish_cmds
15270
 
 
15271
 
# Same as above, but a single script fragment to be evaled but not shown.
15272
 
finish_eval=$lt_finish_eval
15273
 
 
15274
 
# Take the output of nm and produce a listing of raw symbols and C names.
15275
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15276
 
 
15277
 
# Transform the output of nm in a proper C declaration
15278
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15279
 
 
15280
 
# Transform the output of nm in a C name address pair
15281
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15282
 
 
15283
 
# This is the shared library runtime path variable.
15284
 
runpath_var=$runpath_var
15285
 
 
15286
 
# This is the shared library path variable.
15287
 
shlibpath_var=$shlibpath_var
15288
 
 
15289
 
# Is shlibpath searched before the hard-coded library search path?
15290
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15291
 
 
15292
 
# How to hardcode a shared library path into an executable.
15293
 
hardcode_action=$hardcode_action_CXX
15294
 
 
15295
 
# Whether we should hardcode library paths into libraries.
15296
 
hardcode_into_libs=$hardcode_into_libs
15297
 
 
15298
 
# Flag to hardcode \$libdir into a binary during linking.
15299
 
# This must work even if \$libdir does not exist.
15300
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15301
 
 
15302
 
# If ld is used when linking, flag to hardcode \$libdir into
15303
 
# a binary during linking. This must work even if \$libdir does
15304
 
# not exist.
15305
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15306
 
 
15307
 
# Whether we need a single -rpath flag with a separated argument.
15308
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15309
 
 
15310
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15311
 
# resulting binary.
15312
 
hardcode_direct=$hardcode_direct_CXX
15313
 
 
15314
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15315
 
# resulting binary.
15316
 
hardcode_minus_L=$hardcode_minus_L_CXX
15317
 
 
15318
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15319
 
# the resulting binary.
15320
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15321
 
 
15322
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
15323
 
# and all subsequent libraries and executables linked against it.
15324
 
hardcode_automatic=$hardcode_automatic_CXX
15325
 
 
15326
 
# Variables whose values should be saved in libtool wrapper scripts and
15327
 
# restored at relink time.
15328
 
variables_saved_for_relink="$variables_saved_for_relink"
15329
 
 
15330
 
# Whether libtool must link a program against all its dependency libraries.
15331
 
link_all_deplibs=$link_all_deplibs_CXX
15332
 
 
15333
 
# Compile-time system search path for libraries
15334
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15335
 
 
15336
 
# Run-time system search path for libraries
15337
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15338
 
 
15339
 
# Fix the shell variable \$srcfile for the compiler.
15340
 
fix_srcfile_path=$lt_fix_srcfile_path
15341
 
 
15342
 
# Set to yes if exported symbols are required.
15343
 
always_export_symbols=$always_export_symbols_CXX
15344
 
 
15345
 
# The commands to list exported symbols.
15346
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
15347
 
 
15348
 
# The commands to extract the exported symbol list from a shared archive.
15349
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15350
 
 
15351
 
# Symbols that should not be listed in the preloaded symbols.
15352
 
exclude_expsyms=$lt_exclude_expsyms_CXX
15353
 
 
15354
 
# Symbols that must always be exported.
15355
 
include_expsyms=$lt_include_expsyms_CXX
15356
 
 
15357
 
# ### END LIBTOOL TAG CONFIG: $tagname
15358
 
 
15359
 
__EOF__
15360
 
 
15361
 
 
15362
 
else
15363
 
  # If there is no Makefile yet, we rely on a make rule to execute
15364
 
  # `config.status --recheck' to rerun these tests and create the
15365
 
  # libtool script then.
15366
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15367
 
  if test -f "$ltmain_in"; then
15368
 
    test -f Makefile && make "$ltmain"
15369
 
  fi
15370
 
fi
15371
 
 
15372
 
 
15373
 
ac_ext=c
15374
 
ac_cpp='$CPP $CPPFLAGS'
15375
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15376
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15377
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15378
 
 
15379
 
CC=$lt_save_CC
15380
 
LDCXX=$LD
15381
 
LD=$lt_save_LD
15382
 
GCC=$lt_save_GCC
15383
 
with_gnu_ldcxx=$with_gnu_ld
15384
 
with_gnu_ld=$lt_save_with_gnu_ld
15385
 
lt_cv_path_LDCXX=$lt_cv_path_LD
15386
 
lt_cv_path_LD=$lt_save_path_LD
15387
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15388
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15389
 
 
15390
 
        else
15391
 
          tagname=""
15392
 
        fi
15393
 
        ;;
15394
 
 
15395
 
      F77)
15396
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
15397
 
 
15398
 
ac_ext=f
15399
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15400
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15401
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15402
 
 
15403
 
 
15404
 
archive_cmds_need_lc_F77=no
15405
 
allow_undefined_flag_F77=
15406
 
always_export_symbols_F77=no
15407
 
archive_expsym_cmds_F77=
15408
 
export_dynamic_flag_spec_F77=
15409
 
hardcode_direct_F77=no
15410
 
hardcode_libdir_flag_spec_F77=
15411
 
hardcode_libdir_flag_spec_ld_F77=
15412
 
hardcode_libdir_separator_F77=
15413
 
hardcode_minus_L_F77=no
15414
 
hardcode_automatic_F77=no
15415
 
module_cmds_F77=
15416
 
module_expsym_cmds_F77=
15417
 
link_all_deplibs_F77=unknown
15418
 
old_archive_cmds_F77=$old_archive_cmds
15419
 
no_undefined_flag_F77=
15420
 
whole_archive_flag_spec_F77=
15421
 
enable_shared_with_static_runtimes_F77=no
15422
 
 
15423
 
# Source file extension for f77 test sources.
15424
 
ac_ext=f
15425
 
 
15426
 
# Object file extension for compiled f77 test sources.
15427
 
objext=o
15428
 
objext_F77=$objext
15429
 
 
15430
 
# Code to be used in simple compile tests
15431
 
lt_simple_compile_test_code="\
15432
 
      subroutine t
15433
 
      return
15434
 
      end
15435
 
"
15436
 
 
15437
 
# Code to be used in simple link tests
15438
 
lt_simple_link_test_code="\
15439
 
      program t
15440
 
      end
15441
 
"
15442
 
 
15443
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15444
 
 
15445
 
# If no C compiler was specified, use CC.
15446
 
LTCC=${LTCC-"$CC"}
15447
 
 
15448
 
# If no C compiler flags were specified, use CFLAGS.
15449
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15450
 
 
15451
 
# Allow CC to be a program name with arguments.
15452
 
compiler=$CC
15453
 
 
15454
 
 
15455
 
# save warnings/boilerplate of simple test code
15456
 
ac_outfile=conftest.$ac_objext
15457
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15458
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15459
 
_lt_compiler_boilerplate=`cat conftest.err`
15460
 
$rm conftest*
15461
 
 
15462
 
ac_outfile=conftest.$ac_objext
15463
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15464
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15465
 
_lt_linker_boilerplate=`cat conftest.err`
15466
 
$rm -r conftest*
15467
 
 
15468
 
 
15469
 
# Allow CC to be a program name with arguments.
15470
 
lt_save_CC="$CC"
15471
 
CC=${F77-"f77"}
15472
 
compiler=$CC
15473
 
compiler_F77=$CC
15474
 
for cc_temp in $compiler""; do
15475
 
  case $cc_temp in
15476
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15477
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15478
 
    \-*) ;;
15479
 
    *) break;;
15480
 
  esac
15481
 
done
15482
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15483
 
 
15484
 
 
15485
 
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15486
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
15487
 
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
15488
 
$as_echo "$can_build_shared" >&6; }
15489
 
 
15490
 
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15491
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
15492
 
test "$can_build_shared" = "no" && enable_shared=no
15493
 
 
15494
 
# On AIX, shared libraries and static libraries use the same namespace, and
15495
 
# are all built from PIC.
15496
 
case $host_os in
15497
 
aix3*)
15498
 
  test "$enable_shared" = yes && enable_static=no
15499
 
  if test -n "$RANLIB"; then
15500
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
15501
 
    postinstall_cmds='$RANLIB $lib'
15502
 
  fi
15503
 
  ;;
15504
 
aix[4-9]*)
15505
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15506
 
    test "$enable_shared" = yes && enable_static=no
15507
 
  fi
15508
 
  ;;
15509
 
esac
15510
 
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
15511
 
$as_echo "$enable_shared" >&6; }
15512
 
 
15513
 
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15514
 
$as_echo_n "checking whether to build static libraries... " >&6; }
15515
 
# Make sure either enable_shared or enable_static is yes.
15516
 
test "$enable_shared" = yes || enable_static=yes
15517
 
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
15518
 
$as_echo "$enable_static" >&6; }
15519
 
 
15520
 
GCC_F77="$G77"
15521
 
LD_F77="$LD"
15522
 
 
15523
 
lt_prog_compiler_wl_F77=
15524
 
lt_prog_compiler_pic_F77=
15525
 
lt_prog_compiler_static_F77=
15526
 
 
15527
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15528
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15529
 
 
15530
 
  if test "$GCC" = yes; then
15531
 
    lt_prog_compiler_wl_F77='-Wl,'
15532
 
    lt_prog_compiler_static_F77='-static'
15533
 
 
15534
 
    case $host_os in
15535
 
      aix*)
15536
 
      # All AIX code is PIC.
15537
 
      if test "$host_cpu" = ia64; then
15538
 
        # AIX 5 now supports IA64 processor
15539
 
        lt_prog_compiler_static_F77='-Bstatic'
15540
 
      fi
15541
 
      ;;
15542
 
 
15543
 
    amigaos*)
15544
 
      # FIXME: we need at least 68020 code to build shared libraries, but
15545
 
      # adding the `-m68020' flag to GCC prevents building anything better,
15546
 
      # like `-m68040'.
15547
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15548
 
      ;;
15549
 
 
15550
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15551
 
      # PIC is the default for these OSes.
15552
 
      ;;
15553
 
 
15554
 
    mingw* | cygwin* | pw32* | os2*)
15555
 
      # This hack is so that the source file can tell whether it is being
15556
 
      # built for inclusion in a dll (and should export symbols for example).
15557
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15558
 
      # (--disable-auto-import) libraries
15559
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15560
 
      ;;
15561
 
 
15562
 
    darwin* | rhapsody*)
15563
 
      # PIC is the default on this platform
15564
 
      # Common symbols not allowed in MH_DYLIB files
15565
 
      lt_prog_compiler_pic_F77='-fno-common'
15566
 
      ;;
15567
 
 
15568
 
    interix[3-9]*)
15569
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15570
 
      # Instead, we relocate shared libraries at runtime.
15571
 
      ;;
15572
 
 
15573
 
    msdosdjgpp*)
15574
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15575
 
      # on systems that don't support them.
15576
 
      lt_prog_compiler_can_build_shared_F77=no
15577
 
      enable_shared=no
15578
 
      ;;
15579
 
 
15580
 
    sysv4*MP*)
15581
 
      if test -d /usr/nec; then
15582
 
        lt_prog_compiler_pic_F77=-Kconform_pic
15583
 
      fi
15584
 
      ;;
15585
 
 
15586
 
    hpux*)
15587
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15588
 
      # not for PA HP-UX.
15589
 
      case $host_cpu in
15590
 
      hppa*64*|ia64*)
15591
 
        # +Z the default
15592
 
        ;;
15593
 
      *)
15594
 
        lt_prog_compiler_pic_F77='-fPIC'
15595
 
        ;;
15596
 
      esac
15597
 
      ;;
15598
 
 
15599
 
    *)
15600
 
      lt_prog_compiler_pic_F77='-fPIC'
15601
 
      ;;
15602
 
    esac
15603
 
  else
15604
 
    # PORTME Check for flag to pass linker flags through the system compiler.
15605
 
    case $host_os in
15606
 
    aix*)
15607
 
      lt_prog_compiler_wl_F77='-Wl,'
15608
 
      if test "$host_cpu" = ia64; then
15609
 
        # AIX 5 now supports IA64 processor
15610
 
        lt_prog_compiler_static_F77='-Bstatic'
15611
 
      else
15612
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15613
 
      fi
15614
 
      ;;
15615
 
      darwin*)
15616
 
        # PIC is the default on this platform
15617
 
        # Common symbols not allowed in MH_DYLIB files
15618
 
       case $cc_basename in
15619
 
         xlc*)
15620
 
         lt_prog_compiler_pic_F77='-qnocommon'
15621
 
         lt_prog_compiler_wl_F77='-Wl,'
15622
 
         ;;
15623
 
       esac
15624
 
       ;;
15625
 
 
15626
 
    mingw* | cygwin* | pw32* | os2*)
15627
 
      # This hack is so that the source file can tell whether it is being
15628
 
      # built for inclusion in a dll (and should export symbols for example).
15629
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15630
 
      ;;
15631
 
 
15632
 
    hpux9* | hpux10* | hpux11*)
15633
 
      lt_prog_compiler_wl_F77='-Wl,'
15634
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15635
 
      # not for PA HP-UX.
15636
 
      case $host_cpu in
15637
 
      hppa*64*|ia64*)
15638
 
        # +Z the default
15639
 
        ;;
15640
 
      *)
15641
 
        lt_prog_compiler_pic_F77='+Z'
15642
 
        ;;
15643
 
      esac
15644
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
15645
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15646
 
      ;;
15647
 
 
15648
 
    irix5* | irix6* | nonstopux*)
15649
 
      lt_prog_compiler_wl_F77='-Wl,'
15650
 
      # PIC (with -KPIC) is the default.
15651
 
      lt_prog_compiler_static_F77='-non_shared'
15652
 
      ;;
15653
 
 
15654
 
    newsos6)
15655
 
      lt_prog_compiler_pic_F77='-KPIC'
15656
 
      lt_prog_compiler_static_F77='-Bstatic'
15657
 
      ;;
15658
 
 
15659
 
    linux* | k*bsd*-gnu)
15660
 
      case $cc_basename in
15661
 
      icc* | ecc*)
15662
 
        lt_prog_compiler_wl_F77='-Wl,'
15663
 
        lt_prog_compiler_pic_F77='-KPIC'
15664
 
        lt_prog_compiler_static_F77='-static'
15665
 
        ;;
15666
 
      pgcc* | pgf77* | pgf90* | pgf95*)
15667
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
15668
 
        # which looks to be a dead project)
15669
 
        lt_prog_compiler_wl_F77='-Wl,'
15670
 
        lt_prog_compiler_pic_F77='-fpic'
15671
 
        lt_prog_compiler_static_F77='-Bstatic'
15672
 
        ;;
15673
 
      ccc*)
15674
 
        lt_prog_compiler_wl_F77='-Wl,'
15675
 
        # All Alpha code is PIC.
15676
 
        lt_prog_compiler_static_F77='-non_shared'
15677
 
        ;;
15678
 
      *)
15679
 
        case `$CC -V 2>&1 | sed 5q` in
15680
 
        *Sun\ C*)
15681
 
          # Sun C 5.9
15682
 
          lt_prog_compiler_pic_F77='-KPIC'
15683
 
          lt_prog_compiler_static_F77='-Bstatic'
15684
 
          lt_prog_compiler_wl_F77='-Wl,'
15685
 
          ;;
15686
 
        *Sun\ F*)
15687
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
15688
 
          lt_prog_compiler_pic_F77='-KPIC'
15689
 
          lt_prog_compiler_static_F77='-Bstatic'
15690
 
          lt_prog_compiler_wl_F77=''
15691
 
          ;;
15692
 
        esac
15693
 
        ;;
15694
 
      esac
15695
 
      ;;
15696
 
 
15697
 
    osf3* | osf4* | osf5*)
15698
 
      lt_prog_compiler_wl_F77='-Wl,'
15699
 
      # All OSF/1 code is PIC.
15700
 
      lt_prog_compiler_static_F77='-non_shared'
15701
 
      ;;
15702
 
 
15703
 
    rdos*)
15704
 
      lt_prog_compiler_static_F77='-non_shared'
15705
 
      ;;
15706
 
 
15707
 
    solaris*)
15708
 
      lt_prog_compiler_pic_F77='-KPIC'
15709
 
      lt_prog_compiler_static_F77='-Bstatic'
15710
 
      case $cc_basename in
15711
 
      f77* | f90* | f95*)
15712
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
15713
 
      *)
15714
 
        lt_prog_compiler_wl_F77='-Wl,';;
15715
 
      esac
15716
 
      ;;
15717
 
 
15718
 
    sunos4*)
15719
 
      lt_prog_compiler_wl_F77='-Qoption ld '
15720
 
      lt_prog_compiler_pic_F77='-PIC'
15721
 
      lt_prog_compiler_static_F77='-Bstatic'
15722
 
      ;;
15723
 
 
15724
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
15725
 
      lt_prog_compiler_wl_F77='-Wl,'
15726
 
      lt_prog_compiler_pic_F77='-KPIC'
15727
 
      lt_prog_compiler_static_F77='-Bstatic'
15728
 
      ;;
15729
 
 
15730
 
    sysv4*MP*)
15731
 
      if test -d /usr/nec ;then
15732
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
15733
 
        lt_prog_compiler_static_F77='-Bstatic'
15734
 
      fi
15735
 
      ;;
15736
 
 
15737
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15738
 
      lt_prog_compiler_wl_F77='-Wl,'
15739
 
      lt_prog_compiler_pic_F77='-KPIC'
15740
 
      lt_prog_compiler_static_F77='-Bstatic'
15741
 
      ;;
15742
 
 
15743
 
    unicos*)
15744
 
      lt_prog_compiler_wl_F77='-Wl,'
15745
 
      lt_prog_compiler_can_build_shared_F77=no
15746
 
      ;;
15747
 
 
15748
 
    uts4*)
15749
 
      lt_prog_compiler_pic_F77='-pic'
15750
 
      lt_prog_compiler_static_F77='-Bstatic'
15751
 
      ;;
15752
 
 
15753
 
    *)
15754
 
      lt_prog_compiler_can_build_shared_F77=no
15755
 
      ;;
15756
 
    esac
15757
 
  fi
15758
 
 
15759
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15760
 
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
15761
 
 
15762
 
#
15763
 
# Check to make sure the PIC flag actually works.
15764
 
#
15765
 
if test -n "$lt_prog_compiler_pic_F77"; then
15766
 
 
15767
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15768
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
15769
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
15770
 
  $as_echo_n "(cached) " >&6
15771
 
else
15772
 
  lt_cv_prog_compiler_pic_works_F77=no
15773
 
  ac_outfile=conftest.$ac_objext
15774
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15775
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15776
 
   # Insert the option either (1) after the last *FLAGS variable, or
15777
 
   # (2) before a word containing "conftest.", or (3) at the end.
15778
 
   # Note that $ac_compile itself does not contain backslashes and begins
15779
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15780
 
   # The option is referenced via a variable to avoid confusing sed.
15781
 
   lt_compile=`echo "$ac_compile" | $SED \
15782
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15783
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15784
 
   -e 's:$: $lt_compiler_flag:'`
15785
 
   (eval echo "\"\$as_me:15785: $lt_compile\"" >&5)
15786
 
   (eval "$lt_compile" 2>conftest.err)
15787
 
   ac_status=$?
15788
 
   cat conftest.err >&5
15789
 
   echo "$as_me:15789: \$? = $ac_status" >&5
15790
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
15791
 
     # The compiler can only warn and ignore the option if not recognized
15792
 
     # So say no if there are warnings other than the usual output.
15793
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15794
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15795
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15796
 
       lt_cv_prog_compiler_pic_works_F77=yes
15797
 
     fi
15798
 
   fi
15799
 
   $rm conftest*
15800
 
 
15801
 
fi
15802
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
15803
 
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
15804
 
 
15805
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
15806
 
    case $lt_prog_compiler_pic_F77 in
15807
 
     "" | " "*) ;;
15808
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15809
 
     esac
15810
 
else
15811
 
    lt_prog_compiler_pic_F77=
15812
 
     lt_prog_compiler_can_build_shared_F77=no
15813
 
fi
15814
 
 
15815
 
fi
15816
 
case $host_os in
15817
 
  # For platforms which do not support PIC, -DPIC is meaningless:
15818
 
  *djgpp*)
15819
 
    lt_prog_compiler_pic_F77=
15820
 
    ;;
15821
 
  *)
15822
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15823
 
    ;;
15824
 
esac
15825
 
 
15826
 
#
15827
 
# Check to make sure the static flag actually works.
15828
 
#
15829
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15830
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15831
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15832
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
15833
 
  $as_echo_n "(cached) " >&6
15834
 
else
15835
 
  lt_cv_prog_compiler_static_works_F77=no
15836
 
   save_LDFLAGS="$LDFLAGS"
15837
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15838
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15839
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15840
 
     # The linker can only warn and ignore the option if not recognized
15841
 
     # So say no if there are warnings
15842
 
     if test -s conftest.err; then
15843
 
       # Append any errors to the config.log.
15844
 
       cat conftest.err 1>&5
15845
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15846
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15847
 
       if diff conftest.exp conftest.er2 >/dev/null; then
15848
 
         lt_cv_prog_compiler_static_works_F77=yes
15849
 
       fi
15850
 
     else
15851
 
       lt_cv_prog_compiler_static_works_F77=yes
15852
 
     fi
15853
 
   fi
15854
 
   $rm -r conftest*
15855
 
   LDFLAGS="$save_LDFLAGS"
15856
 
 
15857
 
fi
15858
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
15859
 
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
15860
 
 
15861
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
15862
 
    :
15863
 
else
15864
 
    lt_prog_compiler_static_F77=
15865
 
fi
15866
 
 
15867
 
 
15868
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15869
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15870
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15871
 
  $as_echo_n "(cached) " >&6
15872
 
else
15873
 
  lt_cv_prog_compiler_c_o_F77=no
15874
 
   $rm -r conftest 2>/dev/null
15875
 
   mkdir conftest
15876
 
   cd conftest
15877
 
   mkdir out
15878
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15879
 
 
15880
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15881
 
   # Insert the option either (1) after the last *FLAGS variable, or
15882
 
   # (2) before a word containing "conftest.", or (3) at the end.
15883
 
   # Note that $ac_compile itself does not contain backslashes and begins
15884
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15885
 
   lt_compile=`echo "$ac_compile" | $SED \
15886
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15887
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15888
 
   -e 's:$: $lt_compiler_flag:'`
15889
 
   (eval echo "\"\$as_me:15889: $lt_compile\"" >&5)
15890
 
   (eval "$lt_compile" 2>out/conftest.err)
15891
 
   ac_status=$?
15892
 
   cat out/conftest.err >&5
15893
 
   echo "$as_me:15893: \$? = $ac_status" >&5
15894
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15895
 
   then
15896
 
     # The compiler can only warn and ignore the option if not recognized
15897
 
     # So say no if there are warnings
15898
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15899
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15900
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15901
 
       lt_cv_prog_compiler_c_o_F77=yes
15902
 
     fi
15903
 
   fi
15904
 
   chmod u+w . 2>&5
15905
 
   $rm conftest*
15906
 
   # SGI C++ compiler will create directory out/ii_files/ for
15907
 
   # template instantiation
15908
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15909
 
   $rm out/* && rmdir out
15910
 
   cd ..
15911
 
   rmdir conftest
15912
 
   $rm conftest*
15913
 
 
15914
 
fi
15915
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15916
 
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
15917
 
 
15918
 
 
15919
 
hard_links="nottested"
15920
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15921
 
  # do not overwrite the value of need_locks provided by the user
15922
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15923
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
15924
 
  hard_links=yes
15925
 
  $rm conftest*
15926
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15927
 
  touch conftest.a
15928
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
15929
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15930
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
15931
 
$as_echo "$hard_links" >&6; }
15932
 
  if test "$hard_links" = no; then
15933
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15934
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15935
 
    need_locks=warn
15936
 
  fi
15937
 
else
15938
 
  need_locks=no
15939
 
fi
15940
 
 
15941
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15942
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15943
 
 
15944
 
  runpath_var=
15945
 
  allow_undefined_flag_F77=
15946
 
  enable_shared_with_static_runtimes_F77=no
15947
 
  archive_cmds_F77=
15948
 
  archive_expsym_cmds_F77=
15949
 
  old_archive_From_new_cmds_F77=
15950
 
  old_archive_from_expsyms_cmds_F77=
15951
 
  export_dynamic_flag_spec_F77=
15952
 
  whole_archive_flag_spec_F77=
15953
 
  thread_safe_flag_spec_F77=
15954
 
  hardcode_libdir_flag_spec_F77=
15955
 
  hardcode_libdir_flag_spec_ld_F77=
15956
 
  hardcode_libdir_separator_F77=
15957
 
  hardcode_direct_F77=no
15958
 
  hardcode_minus_L_F77=no
15959
 
  hardcode_shlibpath_var_F77=unsupported
15960
 
  link_all_deplibs_F77=unknown
15961
 
  hardcode_automatic_F77=no
15962
 
  module_cmds_F77=
15963
 
  module_expsym_cmds_F77=
15964
 
  always_export_symbols_F77=no
15965
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15966
 
  # include_expsyms should be a list of space-separated symbols to be *always*
15967
 
  # included in the symbol list
15968
 
  include_expsyms_F77=
15969
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
15970
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15971
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15972
 
  # as well as any symbol that contains `d'.
15973
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15974
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15975
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
15976
 
  # the symbol is explicitly referenced.  Since portable code cannot
15977
 
  # rely on this symbol name, it's probably fine to never include it in
15978
 
  # preloaded symbol tables.
15979
 
  # Exclude shared library initialization/finalization symbols.
15980
 
  extract_expsyms_cmds=
15981
 
  # Just being paranoid about ensuring that cc_basename is set.
15982
 
  for cc_temp in $compiler""; do
15983
 
  case $cc_temp in
15984
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15985
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15986
 
    \-*) ;;
15987
 
    *) break;;
15988
 
  esac
15989
 
done
15990
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15991
 
 
15992
 
  case $host_os in
15993
 
  cygwin* | mingw* | pw32*)
15994
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15995
 
    # When not using gcc, we currently assume that we are using
15996
 
    # Microsoft Visual C++.
15997
 
    if test "$GCC" != yes; then
15998
 
      with_gnu_ld=no
15999
 
    fi
16000
 
    ;;
16001
 
  interix*)
16002
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
16003
 
    with_gnu_ld=yes
16004
 
    ;;
16005
 
  openbsd*)
16006
 
    with_gnu_ld=no
16007
 
    ;;
16008
 
  esac
16009
 
 
16010
 
  ld_shlibs_F77=yes
16011
 
  if test "$with_gnu_ld" = yes; then
16012
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
16013
 
    wlarc='${wl}'
16014
 
 
16015
 
    # Set some defaults for GNU ld with shared library support. These
16016
 
    # are reset later if shared libraries are not supported. Putting them
16017
 
    # here allows them to be overridden if necessary.
16018
 
    runpath_var=LD_RUN_PATH
16019
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
16020
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
16021
 
    # ancient GNU ld didn't support --whole-archive et. al.
16022
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16023
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16024
 
      else
16025
 
        whole_archive_flag_spec_F77=
16026
 
    fi
16027
 
    supports_anon_versioning=no
16028
 
    case `$LD -v 2>/dev/null` in
16029
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16030
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16031
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16032
 
      *\ 2.11.*) ;; # other 2.11 versions
16033
 
      *) supports_anon_versioning=yes ;;
16034
 
    esac
16035
 
 
16036
 
    # See if GNU ld supports shared libraries.
16037
 
    case $host_os in
16038
 
    aix[3-9]*)
16039
 
      # On AIX/PPC, the GNU linker is very broken
16040
 
      if test "$host_cpu" != ia64; then
16041
 
        ld_shlibs_F77=no
16042
 
        cat <<EOF 1>&2
16043
 
 
16044
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16045
 
*** to be unable to reliably create shared libraries on AIX.
16046
 
*** Therefore, libtool is disabling shared libraries support.  If you
16047
 
*** really care for shared libraries, you may want to modify your PATH
16048
 
*** so that a non-GNU linker is found, and then restart.
16049
 
 
16050
 
EOF
16051
 
      fi
16052
 
      ;;
16053
 
 
16054
 
    amigaos*)
16055
 
      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)'
16056
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16057
 
      hardcode_minus_L_F77=yes
16058
 
 
16059
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16060
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
16061
 
      # to version 4, is to share data among multiple programs linked
16062
 
      # with the same dynamic library.  Since this doesn't match the
16063
 
      # behavior of shared libraries on other platforms, we can't use
16064
 
      # them.
16065
 
      ld_shlibs_F77=no
16066
 
      ;;
16067
 
 
16068
 
    beos*)
16069
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16070
 
        allow_undefined_flag_F77=unsupported
16071
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16072
 
        # support --undefined.  This deserves some investigation.  FIXME
16073
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16074
 
      else
16075
 
        ld_shlibs_F77=no
16076
 
      fi
16077
 
      ;;
16078
 
 
16079
 
    cygwin* | mingw* | pw32*)
16080
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16081
 
      # as there is no search path for DLLs.
16082
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16083
 
      allow_undefined_flag_F77=unsupported
16084
 
      always_export_symbols_F77=no
16085
 
      enable_shared_with_static_runtimes_F77=yes
16086
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16087
 
 
16088
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16089
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16090
 
        # If the export-symbols file already is a .def file (1st line
16091
 
        # is EXPORTS), use it as is; otherwise, prepend...
16092
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16093
 
          cp $export_symbols $output_objdir/$soname.def;
16094
 
        else
16095
 
          echo EXPORTS > $output_objdir/$soname.def;
16096
 
          cat $export_symbols >> $output_objdir/$soname.def;
16097
 
        fi~
16098
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16099
 
      else
16100
 
        ld_shlibs_F77=no
16101
 
      fi
16102
 
      ;;
16103
 
 
16104
 
    interix[3-9]*)
16105
 
      hardcode_direct_F77=no
16106
 
      hardcode_shlibpath_var_F77=no
16107
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16108
 
      export_dynamic_flag_spec_F77='${wl}-E'
16109
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16110
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
16111
 
      # default) and relocated if they conflict, which is a slow very memory
16112
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
16113
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16114
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
16115
 
      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'
16116
 
      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'
16117
 
      ;;
16118
 
 
16119
 
    gnu* | linux* | k*bsd*-gnu)
16120
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16121
 
        tmp_addflag=
16122
 
        case $cc_basename,$host_cpu in
16123
 
        pgcc*)                          # Portland Group C compiler
16124
 
          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'
16125
 
          tmp_addflag=' $pic_flag'
16126
 
          ;;
16127
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
16128
 
          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'
16129
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
16130
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
16131
 
          tmp_addflag=' -i_dynamic' ;;
16132
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
16133
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
16134
 
        ifc* | ifort*)                  # Intel Fortran compiler
16135
 
          tmp_addflag=' -nofor_main' ;;
16136
 
        esac
16137
 
        case `$CC -V 2>&1 | sed 5q` in
16138
 
        *Sun\ C*)                       # Sun C 5.9
16139
 
          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'
16140
 
          tmp_sharedflag='-G' ;;
16141
 
        *Sun\ F*)                       # Sun Fortran 8.3
16142
 
          tmp_sharedflag='-G' ;;
16143
 
        *)
16144
 
          tmp_sharedflag='-shared' ;;
16145
 
        esac
16146
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16147
 
 
16148
 
        if test $supports_anon_versioning = yes; then
16149
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
16150
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16151
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16152
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16153
 
        fi
16154
 
      else
16155
 
        ld_shlibs_F77=no
16156
 
      fi
16157
 
      ;;
16158
 
 
16159
 
    netbsd*)
16160
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16161
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16162
 
        wlarc=
16163
 
      else
16164
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16165
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16166
 
      fi
16167
 
      ;;
16168
 
 
16169
 
    solaris*)
16170
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16171
 
        ld_shlibs_F77=no
16172
 
        cat <<EOF 1>&2
16173
 
 
16174
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16175
 
*** create shared libraries on Solaris systems.  Therefore, libtool
16176
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16177
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
16178
 
*** your PATH or compiler configuration so that the native linker is
16179
 
*** used, and then restart.
16180
 
 
16181
 
EOF
16182
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16183
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16184
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16185
 
      else
16186
 
        ld_shlibs_F77=no
16187
 
      fi
16188
 
      ;;
16189
 
 
16190
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16191
 
      case `$LD -v 2>&1` in
16192
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16193
 
        ld_shlibs_F77=no
16194
 
        cat <<_LT_EOF 1>&2
16195
 
 
16196
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16197
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
16198
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16199
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
16200
 
*** your PATH or compiler configuration so that the native linker is
16201
 
*** used, and then restart.
16202
 
 
16203
 
_LT_EOF
16204
 
        ;;
16205
 
        *)
16206
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16207
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16208
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16209
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16210
 
          else
16211
 
            ld_shlibs_F77=no
16212
 
          fi
16213
 
        ;;
16214
 
      esac
16215
 
      ;;
16216
 
 
16217
 
    sunos4*)
16218
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16219
 
      wlarc=
16220
 
      hardcode_direct_F77=yes
16221
 
      hardcode_shlibpath_var_F77=no
16222
 
      ;;
16223
 
 
16224
 
    *)
16225
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16226
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16227
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16228
 
      else
16229
 
        ld_shlibs_F77=no
16230
 
      fi
16231
 
      ;;
16232
 
    esac
16233
 
 
16234
 
    if test "$ld_shlibs_F77" = no; then
16235
 
      runpath_var=
16236
 
      hardcode_libdir_flag_spec_F77=
16237
 
      export_dynamic_flag_spec_F77=
16238
 
      whole_archive_flag_spec_F77=
16239
 
    fi
16240
 
  else
16241
 
    # PORTME fill in a description of your system's linker (not GNU ld)
16242
 
    case $host_os in
16243
 
    aix3*)
16244
 
      allow_undefined_flag_F77=unsupported
16245
 
      always_export_symbols_F77=yes
16246
 
      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'
16247
 
      # Note: this linker hardcodes the directories in LIBPATH if there
16248
 
      # are no directories specified by -L.
16249
 
      hardcode_minus_L_F77=yes
16250
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16251
 
        # Neither direct hardcoding nor static linking is supported with a
16252
 
        # broken collect2.
16253
 
        hardcode_direct_F77=unsupported
16254
 
      fi
16255
 
      ;;
16256
 
 
16257
 
    aix[4-9]*)
16258
 
      if test "$host_cpu" = ia64; then
16259
 
        # On IA64, the linker does run time linking by default, so we don't
16260
 
        # have to do anything special.
16261
 
        aix_use_runtimelinking=no
16262
 
        exp_sym_flag='-Bexport'
16263
 
        no_entry_flag=""
16264
 
      else
16265
 
        # If we're using GNU nm, then we don't want the "-C" option.
16266
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
16267
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16268
 
          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'
16269
 
        else
16270
 
          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'
16271
 
        fi
16272
 
        aix_use_runtimelinking=no
16273
 
 
16274
 
        # Test if we are trying to use run time linking or normal
16275
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16276
 
        # need to do runtime linking.
16277
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16278
 
          for ld_flag in $LDFLAGS; do
16279
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16280
 
            aix_use_runtimelinking=yes
16281
 
            break
16282
 
          fi
16283
 
          done
16284
 
          ;;
16285
 
        esac
16286
 
 
16287
 
        exp_sym_flag='-bexport'
16288
 
        no_entry_flag='-bnoentry'
16289
 
      fi
16290
 
 
16291
 
      # When large executables or shared objects are built, AIX ld can
16292
 
      # have problems creating the table of contents.  If linking a library
16293
 
      # or program results in "error TOC overflow" add -mminimal-toc to
16294
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
16295
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16296
 
 
16297
 
      archive_cmds_F77=''
16298
 
      hardcode_direct_F77=yes
16299
 
      hardcode_libdir_separator_F77=':'
16300
 
      link_all_deplibs_F77=yes
16301
 
 
16302
 
      if test "$GCC" = yes; then
16303
 
        case $host_os in aix4.[012]|aix4.[012].*)
16304
 
        # We only want to do this on AIX 4.2 and lower, the check
16305
 
        # below for broken collect2 doesn't work under 4.3+
16306
 
          collect2name=`${CC} -print-prog-name=collect2`
16307
 
          if test -f "$collect2name" && \
16308
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16309
 
          then
16310
 
          # We have reworked collect2
16311
 
          :
16312
 
          else
16313
 
          # We have old collect2
16314
 
          hardcode_direct_F77=unsupported
16315
 
          # It fails to find uninstalled libraries when the uninstalled
16316
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
16317
 
          # to unsupported forces relinking
16318
 
          hardcode_minus_L_F77=yes
16319
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
16320
 
          hardcode_libdir_separator_F77=
16321
 
          fi
16322
 
          ;;
16323
 
        esac
16324
 
        shared_flag='-shared'
16325
 
        if test "$aix_use_runtimelinking" = yes; then
16326
 
          shared_flag="$shared_flag "'${wl}-G'
16327
 
        fi
16328
 
      else
16329
 
        # not using gcc
16330
 
        if test "$host_cpu" = ia64; then
16331
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16332
 
        # chokes on -Wl,-G. The following line is correct:
16333
 
          shared_flag='-G'
16334
 
        else
16335
 
          if test "$aix_use_runtimelinking" = yes; then
16336
 
            shared_flag='${wl}-G'
16337
 
          else
16338
 
            shared_flag='${wl}-bM:SRE'
16339
 
          fi
16340
 
        fi
16341
 
      fi
16342
 
 
16343
 
      # It seems that -bexpall does not export symbols beginning with
16344
 
      # underscore (_), so it is better to generate a list of symbols to export.
16345
 
      always_export_symbols_F77=yes
16346
 
      if test "$aix_use_runtimelinking" = yes; then
16347
 
        # Warning - without using the other runtime loading flags (-brtl),
16348
 
        # -berok will link without error, but may produce a broken library.
16349
 
        allow_undefined_flag_F77='-berok'
16350
 
       # Determine the default libpath from the value encoded in an empty executable.
16351
 
       cat >conftest.$ac_ext <<_ACEOF
16352
 
      program main
16353
 
 
16354
 
      end
16355
 
_ACEOF
16356
 
rm -f conftest.$ac_objext conftest$ac_exeext
16357
 
if { (ac_try="$ac_link"
16358
 
case "(($ac_try" in
16359
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16360
 
  *) ac_try_echo=$ac_try;;
16361
 
esac
16362
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16363
 
$as_echo "$ac_try_echo") >&5
16364
 
  (eval "$ac_link") 2>conftest.er1
16365
 
  ac_status=$?
16366
 
  grep -v '^ *+' conftest.er1 >conftest.err
16367
 
  rm -f conftest.er1
16368
 
  cat conftest.err >&5
16369
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16370
 
  (exit $ac_status); } && {
16371
 
         test -z "$ac_f77_werror_flag" ||
16372
 
         test ! -s conftest.err
16373
 
       } && test -s conftest$ac_exeext && {
16374
 
         test "$cross_compiling" = yes ||
16375
 
         $as_test_x conftest$ac_exeext
16376
 
       }; then
16377
 
 
16378
 
lt_aix_libpath_sed='
16379
 
    /Import File Strings/,/^$/ {
16380
 
        /^0/ {
16381
 
            s/^0  *\(.*\)$/\1/
16382
 
            p
16383
 
        }
16384
 
    }'
16385
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16386
 
# Check for a 64-bit object if we didn't find anything.
16387
 
if test -z "$aix_libpath"; then
16388
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16389
 
fi
16390
 
else
16391
 
  $as_echo "$as_me: failed program was:" >&5
16392
 
sed 's/^/| /' conftest.$ac_ext >&5
16393
 
 
16394
 
 
16395
 
fi
16396
 
 
16397
 
rm -rf conftest.dSYM
16398
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16399
 
      conftest$ac_exeext conftest.$ac_ext
16400
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16401
 
 
16402
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16403
 
        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"
16404
 
       else
16405
 
        if test "$host_cpu" = ia64; then
16406
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16407
 
          allow_undefined_flag_F77="-z nodefs"
16408
 
          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"
16409
 
        else
16410
 
         # Determine the default libpath from the value encoded in an empty executable.
16411
 
         cat >conftest.$ac_ext <<_ACEOF
16412
 
      program main
16413
 
 
16414
 
      end
16415
 
_ACEOF
16416
 
rm -f conftest.$ac_objext conftest$ac_exeext
16417
 
if { (ac_try="$ac_link"
16418
 
case "(($ac_try" in
16419
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16420
 
  *) ac_try_echo=$ac_try;;
16421
 
esac
16422
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16423
 
$as_echo "$ac_try_echo") >&5
16424
 
  (eval "$ac_link") 2>conftest.er1
16425
 
  ac_status=$?
16426
 
  grep -v '^ *+' conftest.er1 >conftest.err
16427
 
  rm -f conftest.er1
16428
 
  cat conftest.err >&5
16429
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430
 
  (exit $ac_status); } && {
16431
 
         test -z "$ac_f77_werror_flag" ||
16432
 
         test ! -s conftest.err
16433
 
       } && test -s conftest$ac_exeext && {
16434
 
         test "$cross_compiling" = yes ||
16435
 
         $as_test_x conftest$ac_exeext
16436
 
       }; then
16437
 
 
16438
 
lt_aix_libpath_sed='
16439
 
    /Import File Strings/,/^$/ {
16440
 
        /^0/ {
16441
 
            s/^0  *\(.*\)$/\1/
16442
 
            p
16443
 
        }
16444
 
    }'
16445
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16446
 
# Check for a 64-bit object if we didn't find anything.
16447
 
if test -z "$aix_libpath"; then
16448
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16449
 
fi
16450
 
else
16451
 
  $as_echo "$as_me: failed program was:" >&5
16452
 
sed 's/^/| /' conftest.$ac_ext >&5
16453
 
 
16454
 
 
16455
 
fi
16456
 
 
16457
 
rm -rf conftest.dSYM
16458
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16459
 
      conftest$ac_exeext conftest.$ac_ext
16460
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16461
 
 
16462
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16463
 
          # Warning - without using the other run time loading flags,
16464
 
          # -berok will link without error, but may produce a broken library.
16465
 
          no_undefined_flag_F77=' ${wl}-bernotok'
16466
 
          allow_undefined_flag_F77=' ${wl}-berok'
16467
 
          # Exported symbols can be pulled into shared objects from archives
16468
 
          whole_archive_flag_spec_F77='$convenience'
16469
 
          archive_cmds_need_lc_F77=yes
16470
 
          # This is similar to how AIX traditionally builds its shared libraries.
16471
 
          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'
16472
 
        fi
16473
 
      fi
16474
 
      ;;
16475
 
 
16476
 
    amigaos*)
16477
 
      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)'
16478
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16479
 
      hardcode_minus_L_F77=yes
16480
 
      # see comment about different semantics on the GNU ld section
16481
 
      ld_shlibs_F77=no
16482
 
      ;;
16483
 
 
16484
 
    bsdi[45]*)
16485
 
      export_dynamic_flag_spec_F77=-rdynamic
16486
 
      ;;
16487
 
 
16488
 
    cygwin* | mingw* | pw32*)
16489
 
      # When not using gcc, we currently assume that we are using
16490
 
      # Microsoft Visual C++.
16491
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
16492
 
      # no search path for DLLs.
16493
 
      hardcode_libdir_flag_spec_F77=' '
16494
 
      allow_undefined_flag_F77=unsupported
16495
 
      # Tell ltmain to make .lib files, not .a files.
16496
 
      libext=lib
16497
 
      # Tell ltmain to make .dll files, not .so files.
16498
 
      shrext_cmds=".dll"
16499
 
      # FIXME: Setting linknames here is a bad hack.
16500
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16501
 
      # The linker will automatically build a .lib file if we build a DLL.
16502
 
      old_archive_From_new_cmds_F77='true'
16503
 
      # FIXME: Should let the user specify the lib program.
16504
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16505
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16506
 
      enable_shared_with_static_runtimes_F77=yes
16507
 
      ;;
16508
 
 
16509
 
    darwin* | rhapsody*)
16510
 
      case $host_os in
16511
 
        rhapsody* | darwin1.[012])
16512
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
16513
 
         ;;
16514
 
       *) # Darwin 1.3 on
16515
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16516
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16517
 
         else
16518
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
16519
 
             10.[012])
16520
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16521
 
               ;;
16522
 
             10.*)
16523
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
16524
 
               ;;
16525
 
           esac
16526
 
         fi
16527
 
         ;;
16528
 
      esac
16529
 
      archive_cmds_need_lc_F77=no
16530
 
      hardcode_direct_F77=no
16531
 
      hardcode_automatic_F77=yes
16532
 
      hardcode_shlibpath_var_F77=unsupported
16533
 
      whole_archive_flag_spec_F77=''
16534
 
      link_all_deplibs_F77=yes
16535
 
    if test "$GCC" = yes ; then
16536
 
        output_verbose_link_cmd='echo'
16537
 
        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}"
16538
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16539
 
        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}"
16540
 
        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}"
16541
 
    else
16542
 
      case $cc_basename in
16543
 
        xlc*)
16544
 
         output_verbose_link_cmd='echo'
16545
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16546
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16547
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16548
 
         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}'
16549
 
          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}'
16550
 
          ;;
16551
 
       *)
16552
 
         ld_shlibs_F77=no
16553
 
          ;;
16554
 
      esac
16555
 
    fi
16556
 
      ;;
16557
 
 
16558
 
    dgux*)
16559
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16560
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16561
 
      hardcode_shlibpath_var_F77=no
16562
 
      ;;
16563
 
 
16564
 
    freebsd1*)
16565
 
      ld_shlibs_F77=no
16566
 
      ;;
16567
 
 
16568
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16569
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
16570
 
    # does not break anything, and helps significantly (at the cost of a little
16571
 
    # extra space).
16572
 
    freebsd2.2*)
16573
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16574
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16575
 
      hardcode_direct_F77=yes
16576
 
      hardcode_shlibpath_var_F77=no
16577
 
      ;;
16578
 
 
16579
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16580
 
    freebsd2*)
16581
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16582
 
      hardcode_direct_F77=yes
16583
 
      hardcode_minus_L_F77=yes
16584
 
      hardcode_shlibpath_var_F77=no
16585
 
      ;;
16586
 
 
16587
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16588
 
    freebsd* | dragonfly*)
16589
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16590
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16591
 
      hardcode_direct_F77=yes
16592
 
      hardcode_shlibpath_var_F77=no
16593
 
      ;;
16594
 
 
16595
 
    hpux9*)
16596
 
      if test "$GCC" = yes; then
16597
 
        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'
16598
 
      else
16599
 
        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'
16600
 
      fi
16601
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16602
 
      hardcode_libdir_separator_F77=:
16603
 
      hardcode_direct_F77=yes
16604
 
 
16605
 
      # hardcode_minus_L: Not really in the search PATH,
16606
 
      # but as the default location of the library.
16607
 
      hardcode_minus_L_F77=yes
16608
 
      export_dynamic_flag_spec_F77='${wl}-E'
16609
 
      ;;
16610
 
 
16611
 
    hpux10*)
16612
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16613
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16614
 
      else
16615
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16616
 
      fi
16617
 
      if test "$with_gnu_ld" = no; then
16618
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16619
 
        hardcode_libdir_separator_F77=:
16620
 
 
16621
 
        hardcode_direct_F77=yes
16622
 
        export_dynamic_flag_spec_F77='${wl}-E'
16623
 
 
16624
 
        # hardcode_minus_L: Not really in the search PATH,
16625
 
        # but as the default location of the library.
16626
 
        hardcode_minus_L_F77=yes
16627
 
      fi
16628
 
      ;;
16629
 
 
16630
 
    hpux11*)
16631
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16632
 
        case $host_cpu in
16633
 
        hppa*64*)
16634
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16635
 
          ;;
16636
 
        ia64*)
16637
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16638
 
          ;;
16639
 
        *)
16640
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16641
 
          ;;
16642
 
        esac
16643
 
      else
16644
 
        case $host_cpu in
16645
 
        hppa*64*)
16646
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16647
 
          ;;
16648
 
        ia64*)
16649
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16650
 
          ;;
16651
 
        *)
16652
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16653
 
          ;;
16654
 
        esac
16655
 
      fi
16656
 
      if test "$with_gnu_ld" = no; then
16657
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16658
 
        hardcode_libdir_separator_F77=:
16659
 
 
16660
 
        case $host_cpu in
16661
 
        hppa*64*|ia64*)
16662
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16663
 
          hardcode_direct_F77=no
16664
 
          hardcode_shlibpath_var_F77=no
16665
 
          ;;
16666
 
        *)
16667
 
          hardcode_direct_F77=yes
16668
 
          export_dynamic_flag_spec_F77='${wl}-E'
16669
 
 
16670
 
          # hardcode_minus_L: Not really in the search PATH,
16671
 
          # but as the default location of the library.
16672
 
          hardcode_minus_L_F77=yes
16673
 
          ;;
16674
 
        esac
16675
 
      fi
16676
 
      ;;
16677
 
 
16678
 
    irix5* | irix6* | nonstopux*)
16679
 
      if test "$GCC" = yes; then
16680
 
        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'
16681
 
      else
16682
 
        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'
16683
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16684
 
      fi
16685
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16686
 
      hardcode_libdir_separator_F77=:
16687
 
      link_all_deplibs_F77=yes
16688
 
      ;;
16689
 
 
16690
 
    netbsd*)
16691
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16692
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16693
 
      else
16694
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
16695
 
      fi
16696
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16697
 
      hardcode_direct_F77=yes
16698
 
      hardcode_shlibpath_var_F77=no
16699
 
      ;;
16700
 
 
16701
 
    newsos6)
16702
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16703
 
      hardcode_direct_F77=yes
16704
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16705
 
      hardcode_libdir_separator_F77=:
16706
 
      hardcode_shlibpath_var_F77=no
16707
 
      ;;
16708
 
 
16709
 
    openbsd*)
16710
 
      if test -f /usr/libexec/ld.so; then
16711
 
        hardcode_direct_F77=yes
16712
 
        hardcode_shlibpath_var_F77=no
16713
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16714
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16715
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16716
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16717
 
          export_dynamic_flag_spec_F77='${wl}-E'
16718
 
        else
16719
 
          case $host_os in
16720
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16721
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16722
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
16723
 
             ;;
16724
 
           *)
16725
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16726
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16727
 
             ;;
16728
 
          esac
16729
 
        fi
16730
 
      else
16731
 
        ld_shlibs_F77=no
16732
 
      fi
16733
 
      ;;
16734
 
 
16735
 
    os2*)
16736
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16737
 
      hardcode_minus_L_F77=yes
16738
 
      allow_undefined_flag_F77=unsupported
16739
 
      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'
16740
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16741
 
      ;;
16742
 
 
16743
 
    osf3*)
16744
 
      if test "$GCC" = yes; then
16745
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16746
 
        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'
16747
 
      else
16748
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16749
 
        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'
16750
 
      fi
16751
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16752
 
      hardcode_libdir_separator_F77=:
16753
 
      ;;
16754
 
 
16755
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
16756
 
      if test "$GCC" = yes; then
16757
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16758
 
        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'
16759
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16760
 
      else
16761
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16762
 
        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'
16763
 
        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~
16764
 
        $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'
16765
 
 
16766
 
        # Both c and cxx compiler support -rpath directly
16767
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
16768
 
      fi
16769
 
      hardcode_libdir_separator_F77=:
16770
 
      ;;
16771
 
 
16772
 
    solaris*)
16773
 
      no_undefined_flag_F77=' -z text'
16774
 
      if test "$GCC" = yes; then
16775
 
        wlarc='${wl}'
16776
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16777
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16778
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16779
 
      else
16780
 
        wlarc=''
16781
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16782
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16783
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16784
 
      fi
16785
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16786
 
      hardcode_shlibpath_var_F77=no
16787
 
      case $host_os in
16788
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16789
 
      *)
16790
 
        # The compiler driver will combine and reorder linker options,
16791
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
16792
 
        # but is careful enough not to reorder.
16793
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16794
 
        if test "$GCC" = yes; then
16795
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16796
 
        else
16797
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16798
 
        fi
16799
 
        ;;
16800
 
      esac
16801
 
      link_all_deplibs_F77=yes
16802
 
      ;;
16803
 
 
16804
 
    sunos4*)
16805
 
      if test "x$host_vendor" = xsequent; then
16806
 
        # Use $CC to link under sequent, because it throws in some extra .o
16807
 
        # files that make .init and .fini sections work.
16808
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16809
 
      else
16810
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16811
 
      fi
16812
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16813
 
      hardcode_direct_F77=yes
16814
 
      hardcode_minus_L_F77=yes
16815
 
      hardcode_shlibpath_var_F77=no
16816
 
      ;;
16817
 
 
16818
 
    sysv4)
16819
 
      case $host_vendor in
16820
 
        sni)
16821
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16822
 
          hardcode_direct_F77=yes # is this really true???
16823
 
        ;;
16824
 
        siemens)
16825
 
          ## LD is ld it makes a PLAMLIB
16826
 
          ## CC just makes a GrossModule.
16827
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16828
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
16829
 
          hardcode_direct_F77=no
16830
 
        ;;
16831
 
        motorola)
16832
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16833
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16834
 
        ;;
16835
 
      esac
16836
 
      runpath_var='LD_RUN_PATH'
16837
 
      hardcode_shlibpath_var_F77=no
16838
 
      ;;
16839
 
 
16840
 
    sysv4.3*)
16841
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16842
 
      hardcode_shlibpath_var_F77=no
16843
 
      export_dynamic_flag_spec_F77='-Bexport'
16844
 
      ;;
16845
 
 
16846
 
    sysv4*MP*)
16847
 
      if test -d /usr/nec; then
16848
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16849
 
        hardcode_shlibpath_var_F77=no
16850
 
        runpath_var=LD_RUN_PATH
16851
 
        hardcode_runpath_var=yes
16852
 
        ld_shlibs_F77=yes
16853
 
      fi
16854
 
      ;;
16855
 
 
16856
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16857
 
      no_undefined_flag_F77='${wl}-z,text'
16858
 
      archive_cmds_need_lc_F77=no
16859
 
      hardcode_shlibpath_var_F77=no
16860
 
      runpath_var='LD_RUN_PATH'
16861
 
 
16862
 
      if test "$GCC" = yes; then
16863
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16864
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16865
 
      else
16866
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16867
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16868
 
      fi
16869
 
      ;;
16870
 
 
16871
 
    sysv5* | sco3.2v5* | sco5v6*)
16872
 
      # Note: We can NOT use -z defs as we might desire, because we do not
16873
 
      # link with -lc, and that would cause any symbols used from libc to
16874
 
      # always be unresolved, which means just about no library would
16875
 
      # ever link correctly.  If we're not using GNU ld we use -z text
16876
 
      # though, which does catch some bad symbols but isn't as heavy-handed
16877
 
      # as -z defs.
16878
 
      no_undefined_flag_F77='${wl}-z,text'
16879
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
16880
 
      archive_cmds_need_lc_F77=no
16881
 
      hardcode_shlibpath_var_F77=no
16882
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16883
 
      hardcode_libdir_separator_F77=':'
16884
 
      link_all_deplibs_F77=yes
16885
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
16886
 
      runpath_var='LD_RUN_PATH'
16887
 
 
16888
 
      if test "$GCC" = yes; then
16889
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16890
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16891
 
      else
16892
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16893
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16894
 
      fi
16895
 
      ;;
16896
 
 
16897
 
    uts4*)
16898
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16899
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16900
 
      hardcode_shlibpath_var_F77=no
16901
 
      ;;
16902
 
 
16903
 
    *)
16904
 
      ld_shlibs_F77=no
16905
 
      ;;
16906
 
    esac
16907
 
  fi
16908
 
 
16909
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16910
 
$as_echo "$ld_shlibs_F77" >&6; }
16911
 
test "$ld_shlibs_F77" = no && can_build_shared=no
16912
 
 
16913
 
#
16914
 
# Do we need to explicitly link libc?
16915
 
#
16916
 
case "x$archive_cmds_need_lc_F77" in
16917
 
x|xyes)
16918
 
  # Assume -lc should be added
16919
 
  archive_cmds_need_lc_F77=yes
16920
 
 
16921
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
16922
 
    case $archive_cmds_F77 in
16923
 
    *'~'*)
16924
 
      # FIXME: we may have to deal with multi-command sequences.
16925
 
      ;;
16926
 
    '$CC '*)
16927
 
      # Test whether the compiler implicitly links with -lc since on some
16928
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16929
 
      # to ld, don't add -lc before -lgcc.
16930
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16931
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16932
 
      $rm conftest*
16933
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16934
 
 
16935
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16936
 
  (eval $ac_compile) 2>&5
16937
 
  ac_status=$?
16938
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939
 
  (exit $ac_status); } 2>conftest.err; then
16940
 
        soname=conftest
16941
 
        lib=conftest
16942
 
        libobjs=conftest.$ac_objext
16943
 
        deplibs=
16944
 
        wl=$lt_prog_compiler_wl_F77
16945
 
        pic_flag=$lt_prog_compiler_pic_F77
16946
 
        compiler_flags=-v
16947
 
        linker_flags=-v
16948
 
        verstring=
16949
 
        output_objdir=.
16950
 
        libname=conftest
16951
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16952
 
        allow_undefined_flag_F77=
16953
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16954
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16955
 
  ac_status=$?
16956
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957
 
  (exit $ac_status); }
16958
 
        then
16959
 
          archive_cmds_need_lc_F77=no
16960
 
        else
16961
 
          archive_cmds_need_lc_F77=yes
16962
 
        fi
16963
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16964
 
      else
16965
 
        cat conftest.err 1>&5
16966
 
      fi
16967
 
      $rm conftest*
16968
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16969
 
$as_echo "$archive_cmds_need_lc_F77" >&6; }
16970
 
      ;;
16971
 
    esac
16972
 
  fi
16973
 
  ;;
16974
 
esac
16975
 
 
16976
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16977
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
16978
 
library_names_spec=
16979
 
libname_spec='lib$name'
16980
 
soname_spec=
16981
 
shrext_cmds=".so"
16982
 
postinstall_cmds=
16983
 
postuninstall_cmds=
16984
 
finish_cmds=
16985
 
finish_eval=
16986
 
shlibpath_var=
16987
 
shlibpath_overrides_runpath=unknown
16988
 
version_type=none
16989
 
dynamic_linker="$host_os ld.so"
16990
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16991
 
 
16992
 
need_lib_prefix=unknown
16993
 
hardcode_into_libs=no
16994
 
 
16995
 
# when you set need_version to no, make sure it does not cause -set_version
16996
 
# flags to be left without arguments
16997
 
need_version=unknown
16998
 
 
16999
 
case $host_os in
17000
 
aix3*)
17001
 
  version_type=linux
17002
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17003
 
  shlibpath_var=LIBPATH
17004
 
 
17005
 
  # AIX 3 has no versioning support, so we append a major version to the name.
17006
 
  soname_spec='${libname}${release}${shared_ext}$major'
17007
 
  ;;
17008
 
 
17009
 
aix[4-9]*)
17010
 
  version_type=linux
17011
 
  need_lib_prefix=no
17012
 
  need_version=no
17013
 
  hardcode_into_libs=yes
17014
 
  if test "$host_cpu" = ia64; then
17015
 
    # AIX 5 supports IA64
17016
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17017
 
    shlibpath_var=LD_LIBRARY_PATH
17018
 
  else
17019
 
    # With GCC up to 2.95.x, collect2 would create an import file
17020
 
    # for dependence libraries.  The import file would start with
17021
 
    # the line `#! .'.  This would cause the generated library to
17022
 
    # depend on `.', always an invalid library.  This was fixed in
17023
 
    # development snapshots of GCC prior to 3.0.
17024
 
    case $host_os in
17025
 
      aix4 | aix4.[01] | aix4.[01].*)
17026
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17027
 
           echo ' yes '
17028
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17029
 
        :
17030
 
      else
17031
 
        can_build_shared=no
17032
 
      fi
17033
 
      ;;
17034
 
    esac
17035
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17036
 
    # soname into executable. Probably we can add versioning support to
17037
 
    # collect2, so additional links can be useful in future.
17038
 
    if test "$aix_use_runtimelinking" = yes; then
17039
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17040
 
      # instead of lib<name>.a to let people know that these are not
17041
 
      # typical AIX shared libraries.
17042
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17043
 
    else
17044
 
      # We preserve .a as extension for shared libraries through AIX4.2
17045
 
      # and later when we are not doing run time linking.
17046
 
      library_names_spec='${libname}${release}.a $libname.a'
17047
 
      soname_spec='${libname}${release}${shared_ext}$major'
17048
 
    fi
17049
 
    shlibpath_var=LIBPATH
17050
 
  fi
17051
 
  ;;
17052
 
 
17053
 
amigaos*)
17054
 
  library_names_spec='$libname.ixlibrary $libname.a'
17055
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
17056
 
  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'
17057
 
  ;;
17058
 
 
17059
 
beos*)
17060
 
  library_names_spec='${libname}${shared_ext}'
17061
 
  dynamic_linker="$host_os ld.so"
17062
 
  shlibpath_var=LIBRARY_PATH
17063
 
  ;;
17064
 
 
17065
 
bsdi[45]*)
17066
 
  version_type=linux
17067
 
  need_version=no
17068
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17069
 
  soname_spec='${libname}${release}${shared_ext}$major'
17070
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17071
 
  shlibpath_var=LD_LIBRARY_PATH
17072
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17073
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17074
 
  # the default ld.so.conf also contains /usr/contrib/lib and
17075
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17076
 
  # libtool to hard-code these into programs
17077
 
  ;;
17078
 
 
17079
 
cygwin* | mingw* | pw32*)
17080
 
  version_type=windows
17081
 
  shrext_cmds=".dll"
17082
 
  need_version=no
17083
 
  need_lib_prefix=no
17084
 
 
17085
 
  case $GCC,$host_os in
17086
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
17087
 
    library_names_spec='$libname.dll.a'
17088
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17089
 
    postinstall_cmds='base_file=`basename \${file}`~
17090
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17091
 
      dldir=$destdir/`dirname \$dlpath`~
17092
 
      test -d \$dldir || mkdir -p \$dldir~
17093
 
      $install_prog $dir/$dlname \$dldir/$dlname~
17094
 
      chmod a+x \$dldir/$dlname'
17095
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17096
 
      dlpath=$dir/\$dldll~
17097
 
       $rm \$dlpath'
17098
 
    shlibpath_overrides_runpath=yes
17099
 
 
17100
 
    case $host_os in
17101
 
    cygwin*)
17102
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17103
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17104
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17105
 
      ;;
17106
 
    mingw*)
17107
 
      # MinGW DLLs use traditional 'lib' prefix
17108
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17109
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17110
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17111
 
        # It is most probably a Windows format PATH printed by
17112
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
17113
 
        # path with ; separators, and with drive letters. We can handle the
17114
 
        # drive letters (cygwin fileutils understands them), so leave them,
17115
 
        # especially as we might pass files found there to a mingw objdump,
17116
 
        # which wouldn't understand a cygwinified path. Ahh.
17117
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17118
 
      else
17119
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17120
 
      fi
17121
 
      ;;
17122
 
    pw32*)
17123
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17124
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17125
 
      ;;
17126
 
    esac
17127
 
    ;;
17128
 
 
17129
 
  *)
17130
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17131
 
    ;;
17132
 
  esac
17133
 
  dynamic_linker='Win32 ld.exe'
17134
 
  # FIXME: first we should search . and the directory the executable is in
17135
 
  shlibpath_var=PATH
17136
 
  ;;
17137
 
 
17138
 
darwin* | rhapsody*)
17139
 
  dynamic_linker="$host_os dyld"
17140
 
  version_type=darwin
17141
 
  need_lib_prefix=no
17142
 
  need_version=no
17143
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17144
 
  soname_spec='${libname}${release}${major}$shared_ext'
17145
 
  shlibpath_overrides_runpath=yes
17146
 
  shlibpath_var=DYLD_LIBRARY_PATH
17147
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17148
 
 
17149
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17150
 
  ;;
17151
 
 
17152
 
dgux*)
17153
 
  version_type=linux
17154
 
  need_lib_prefix=no
17155
 
  need_version=no
17156
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17157
 
  soname_spec='${libname}${release}${shared_ext}$major'
17158
 
  shlibpath_var=LD_LIBRARY_PATH
17159
 
  ;;
17160
 
 
17161
 
freebsd1*)
17162
 
  dynamic_linker=no
17163
 
  ;;
17164
 
 
17165
 
freebsd* | dragonfly*)
17166
 
  # DragonFly does not have aout.  When/if they implement a new
17167
 
  # versioning mechanism, adjust this.
17168
 
  if test -x /usr/bin/objformat; then
17169
 
    objformat=`/usr/bin/objformat`
17170
 
  else
17171
 
    case $host_os in
17172
 
    freebsd[123]*) objformat=aout ;;
17173
 
    *) objformat=elf ;;
17174
 
    esac
17175
 
  fi
17176
 
  version_type=freebsd-$objformat
17177
 
  case $version_type in
17178
 
    freebsd-elf*)
17179
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17180
 
      need_version=no
17181
 
      need_lib_prefix=no
17182
 
      ;;
17183
 
    freebsd-*)
17184
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17185
 
      need_version=yes
17186
 
      ;;
17187
 
  esac
17188
 
  shlibpath_var=LD_LIBRARY_PATH
17189
 
  case $host_os in
17190
 
  freebsd2*)
17191
 
    shlibpath_overrides_runpath=yes
17192
 
    ;;
17193
 
  freebsd3.[01]* | freebsdelf3.[01]*)
17194
 
    shlibpath_overrides_runpath=yes
17195
 
    hardcode_into_libs=yes
17196
 
    ;;
17197
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17198
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17199
 
    shlibpath_overrides_runpath=no
17200
 
    hardcode_into_libs=yes
17201
 
    ;;
17202
 
  *) # from 4.6 on, and DragonFly
17203
 
    shlibpath_overrides_runpath=yes
17204
 
    hardcode_into_libs=yes
17205
 
    ;;
17206
 
  esac
17207
 
  ;;
17208
 
 
17209
 
gnu*)
17210
 
  version_type=linux
17211
 
  need_lib_prefix=no
17212
 
  need_version=no
17213
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17214
 
  soname_spec='${libname}${release}${shared_ext}$major'
17215
 
  shlibpath_var=LD_LIBRARY_PATH
17216
 
  hardcode_into_libs=yes
17217
 
  ;;
17218
 
 
17219
 
hpux9* | hpux10* | hpux11*)
17220
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
17221
 
  # link against other versions.
17222
 
  version_type=sunos
17223
 
  need_lib_prefix=no
17224
 
  need_version=no
17225
 
  case $host_cpu in
17226
 
  ia64*)
17227
 
    shrext_cmds='.so'
17228
 
    hardcode_into_libs=yes
17229
 
    dynamic_linker="$host_os dld.so"
17230
 
    shlibpath_var=LD_LIBRARY_PATH
17231
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17232
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17233
 
    soname_spec='${libname}${release}${shared_ext}$major'
17234
 
    if test "X$HPUX_IA64_MODE" = X32; then
17235
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17236
 
    else
17237
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17238
 
    fi
17239
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17240
 
    ;;
17241
 
   hppa*64*)
17242
 
     shrext_cmds='.sl'
17243
 
     hardcode_into_libs=yes
17244
 
     dynamic_linker="$host_os dld.sl"
17245
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17246
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17247
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17248
 
     soname_spec='${libname}${release}${shared_ext}$major'
17249
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17250
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17251
 
     ;;
17252
 
   *)
17253
 
    shrext_cmds='.sl'
17254
 
    dynamic_linker="$host_os dld.sl"
17255
 
    shlibpath_var=SHLIB_PATH
17256
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17257
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17258
 
    soname_spec='${libname}${release}${shared_ext}$major'
17259
 
    ;;
17260
 
  esac
17261
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
17262
 
  postinstall_cmds='chmod 555 $lib'
17263
 
  ;;
17264
 
 
17265
 
interix[3-9]*)
17266
 
  version_type=linux
17267
 
  need_lib_prefix=no
17268
 
  need_version=no
17269
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17270
 
  soname_spec='${libname}${release}${shared_ext}$major'
17271
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17272
 
  shlibpath_var=LD_LIBRARY_PATH
17273
 
  shlibpath_overrides_runpath=no
17274
 
  hardcode_into_libs=yes
17275
 
  ;;
17276
 
 
17277
 
irix5* | irix6* | nonstopux*)
17278
 
  case $host_os in
17279
 
    nonstopux*) version_type=nonstopux ;;
17280
 
    *)
17281
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
17282
 
                version_type=linux
17283
 
        else
17284
 
                version_type=irix
17285
 
        fi ;;
17286
 
  esac
17287
 
  need_lib_prefix=no
17288
 
  need_version=no
17289
 
  soname_spec='${libname}${release}${shared_ext}$major'
17290
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17291
 
  case $host_os in
17292
 
  irix5* | nonstopux*)
17293
 
    libsuff= shlibsuff=
17294
 
    ;;
17295
 
  *)
17296
 
    case $LD in # libtool.m4 will add one of these switches to LD
17297
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17298
 
      libsuff= shlibsuff= libmagic=32-bit;;
17299
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17300
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
17301
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17302
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
17303
 
    *) libsuff= shlibsuff= libmagic=never-match;;
17304
 
    esac
17305
 
    ;;
17306
 
  esac
17307
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17308
 
  shlibpath_overrides_runpath=no
17309
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17310
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17311
 
  hardcode_into_libs=yes
17312
 
  ;;
17313
 
 
17314
 
# No shared lib support for Linux oldld, aout, or coff.
17315
 
linux*oldld* | linux*aout* | linux*coff*)
17316
 
  dynamic_linker=no
17317
 
  ;;
17318
 
 
17319
 
# This must be Linux ELF.
17320
 
linux* | k*bsd*-gnu)
17321
 
  version_type=linux
17322
 
  need_lib_prefix=no
17323
 
  need_version=no
17324
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17325
 
  soname_spec='${libname}${release}${shared_ext}$major'
17326
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17327
 
  shlibpath_var=LD_LIBRARY_PATH
17328
 
  shlibpath_overrides_runpath=no
17329
 
  # This implies no fast_install, which is unacceptable.
17330
 
  # Some rework will be needed to allow for fast_install
17331
 
  # before this can be enabled.
17332
 
  hardcode_into_libs=yes
17333
 
 
17334
 
  # Append ld.so.conf contents to the search path
17335
 
  if test -f /etc/ld.so.conf; then
17336
 
    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' ' '`
17337
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17338
 
  fi
17339
 
 
17340
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17341
 
  # powerpc, because MkLinux only supported shared libraries with the
17342
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
17343
 
  # most powerpc-linux boxes support dynamic linking these days and
17344
 
  # people can always --disable-shared, the test was removed, and we
17345
 
  # assume the GNU/Linux dynamic linker is in use.
17346
 
  dynamic_linker='GNU/Linux ld.so'
17347
 
  ;;
17348
 
 
17349
 
netbsd*)
17350
 
  version_type=sunos
17351
 
  need_lib_prefix=no
17352
 
  need_version=no
17353
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17354
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17355
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17356
 
    dynamic_linker='NetBSD (a.out) ld.so'
17357
 
  else
17358
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17359
 
    soname_spec='${libname}${release}${shared_ext}$major'
17360
 
    dynamic_linker='NetBSD ld.elf_so'
17361
 
  fi
17362
 
  shlibpath_var=LD_LIBRARY_PATH
17363
 
  shlibpath_overrides_runpath=yes
17364
 
  hardcode_into_libs=yes
17365
 
  ;;
17366
 
 
17367
 
newsos6)
17368
 
  version_type=linux
17369
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17370
 
  shlibpath_var=LD_LIBRARY_PATH
17371
 
  shlibpath_overrides_runpath=yes
17372
 
  ;;
17373
 
 
17374
 
nto-qnx*)
17375
 
  version_type=linux
17376
 
  need_lib_prefix=no
17377
 
  need_version=no
17378
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17379
 
  soname_spec='${libname}${release}${shared_ext}$major'
17380
 
  shlibpath_var=LD_LIBRARY_PATH
17381
 
  shlibpath_overrides_runpath=yes
17382
 
  ;;
17383
 
 
17384
 
openbsd*)
17385
 
  version_type=sunos
17386
 
  sys_lib_dlsearch_path_spec="/usr/lib"
17387
 
  need_lib_prefix=no
17388
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17389
 
  case $host_os in
17390
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17391
 
    *)                         need_version=no  ;;
17392
 
  esac
17393
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17394
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17395
 
  shlibpath_var=LD_LIBRARY_PATH
17396
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17397
 
    case $host_os in
17398
 
      openbsd2.[89] | openbsd2.[89].*)
17399
 
        shlibpath_overrides_runpath=no
17400
 
        ;;
17401
 
      *)
17402
 
        shlibpath_overrides_runpath=yes
17403
 
        ;;
17404
 
      esac
17405
 
  else
17406
 
    shlibpath_overrides_runpath=yes
17407
 
  fi
17408
 
  ;;
17409
 
 
17410
 
os2*)
17411
 
  libname_spec='$name'
17412
 
  shrext_cmds=".dll"
17413
 
  need_lib_prefix=no
17414
 
  library_names_spec='$libname${shared_ext} $libname.a'
17415
 
  dynamic_linker='OS/2 ld.exe'
17416
 
  shlibpath_var=LIBPATH
17417
 
  ;;
17418
 
 
17419
 
osf3* | osf4* | osf5*)
17420
 
  version_type=osf
17421
 
  need_lib_prefix=no
17422
 
  need_version=no
17423
 
  soname_spec='${libname}${release}${shared_ext}$major'
17424
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17425
 
  shlibpath_var=LD_LIBRARY_PATH
17426
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17427
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17428
 
  ;;
17429
 
 
17430
 
rdos*)
17431
 
  dynamic_linker=no
17432
 
  ;;
17433
 
 
17434
 
solaris*)
17435
 
  version_type=linux
17436
 
  need_lib_prefix=no
17437
 
  need_version=no
17438
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17439
 
  soname_spec='${libname}${release}${shared_ext}$major'
17440
 
  shlibpath_var=LD_LIBRARY_PATH
17441
 
  shlibpath_overrides_runpath=yes
17442
 
  hardcode_into_libs=yes
17443
 
  # ldd complains unless libraries are executable
17444
 
  postinstall_cmds='chmod +x $lib'
17445
 
  ;;
17446
 
 
17447
 
sunos4*)
17448
 
  version_type=sunos
17449
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17450
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17451
 
  shlibpath_var=LD_LIBRARY_PATH
17452
 
  shlibpath_overrides_runpath=yes
17453
 
  if test "$with_gnu_ld" = yes; then
17454
 
    need_lib_prefix=no
17455
 
  fi
17456
 
  need_version=yes
17457
 
  ;;
17458
 
 
17459
 
sysv4 | sysv4.3*)
17460
 
  version_type=linux
17461
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17462
 
  soname_spec='${libname}${release}${shared_ext}$major'
17463
 
  shlibpath_var=LD_LIBRARY_PATH
17464
 
  case $host_vendor in
17465
 
    sni)
17466
 
      shlibpath_overrides_runpath=no
17467
 
      need_lib_prefix=no
17468
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
17469
 
      runpath_var=LD_RUN_PATH
17470
 
      ;;
17471
 
    siemens)
17472
 
      need_lib_prefix=no
17473
 
      ;;
17474
 
    motorola)
17475
 
      need_lib_prefix=no
17476
 
      need_version=no
17477
 
      shlibpath_overrides_runpath=no
17478
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17479
 
      ;;
17480
 
  esac
17481
 
  ;;
17482
 
 
17483
 
sysv4*MP*)
17484
 
  if test -d /usr/nec ;then
17485
 
    version_type=linux
17486
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17487
 
    soname_spec='$libname${shared_ext}.$major'
17488
 
    shlibpath_var=LD_LIBRARY_PATH
17489
 
  fi
17490
 
  ;;
17491
 
 
17492
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17493
 
  version_type=freebsd-elf
17494
 
  need_lib_prefix=no
17495
 
  need_version=no
17496
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17497
 
  soname_spec='${libname}${release}${shared_ext}$major'
17498
 
  shlibpath_var=LD_LIBRARY_PATH
17499
 
  hardcode_into_libs=yes
17500
 
  if test "$with_gnu_ld" = yes; then
17501
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17502
 
    shlibpath_overrides_runpath=no
17503
 
  else
17504
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17505
 
    shlibpath_overrides_runpath=yes
17506
 
    case $host_os in
17507
 
      sco3.2v5*)
17508
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17509
 
        ;;
17510
 
    esac
17511
 
  fi
17512
 
  sys_lib_dlsearch_path_spec='/usr/lib'
17513
 
  ;;
17514
 
 
17515
 
uts4*)
17516
 
  version_type=linux
17517
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17518
 
  soname_spec='${libname}${release}${shared_ext}$major'
17519
 
  shlibpath_var=LD_LIBRARY_PATH
17520
 
  ;;
17521
 
 
17522
 
*)
17523
 
  dynamic_linker=no
17524
 
  ;;
17525
 
esac
17526
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17527
 
$as_echo "$dynamic_linker" >&6; }
17528
 
test "$dynamic_linker" = no && can_build_shared=no
17529
 
 
17530
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17531
 
  $as_echo_n "(cached) " >&6
17532
 
else
17533
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
17534
 
fi
17535
 
 
17536
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17537
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17538
 
  $as_echo_n "(cached) " >&6
17539
 
else
17540
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
17541
 
fi
17542
 
 
17543
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17544
 
 
17545
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17546
 
if test "$GCC" = yes; then
17547
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17548
 
fi
17549
 
 
17550
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17551
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17552
 
hardcode_action_F77=
17553
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
17554
 
   test -n "$runpath_var_F77" || \
17555
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
17556
 
 
17557
 
  # We can hardcode non-existant directories.
17558
 
  if test "$hardcode_direct_F77" != no &&
17559
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17560
 
     # have to relink, otherwise we might link with an installed library
17561
 
     # when we should be linking with a yet-to-be-installed one
17562
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17563
 
     test "$hardcode_minus_L_F77" != no; then
17564
 
    # Linking always hardcodes the temporary library directory.
17565
 
    hardcode_action_F77=relink
17566
 
  else
17567
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17568
 
    hardcode_action_F77=immediate
17569
 
  fi
17570
 
else
17571
 
  # We cannot hardcode anything, or else we can only hardcode existing
17572
 
  # directories.
17573
 
  hardcode_action_F77=unsupported
17574
 
fi
17575
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17576
 
$as_echo "$hardcode_action_F77" >&6; }
17577
 
 
17578
 
if test "$hardcode_action_F77" = relink; then
17579
 
  # Fast installation is not supported
17580
 
  enable_fast_install=no
17581
 
elif test "$shlibpath_overrides_runpath" = yes ||
17582
 
     test "$enable_shared" = no; then
17583
 
  # Fast installation is not necessary
17584
 
  enable_fast_install=needless
17585
 
fi
17586
 
 
17587
 
 
17588
 
# The else clause should only fire when bootstrapping the
17589
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
17590
 
# with your package, and you will get complaints that there are
17591
 
# no rules to generate ltmain.sh.
17592
 
if test -f "$ltmain"; then
17593
 
  # See if we are running on zsh, and set the options which allow our commands through
17594
 
  # without removal of \ escapes.
17595
 
  if test -n "${ZSH_VERSION+set}" ; then
17596
 
    setopt NO_GLOB_SUBST
17597
 
  fi
17598
 
  # Now quote all the things that may contain metacharacters while being
17599
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17600
 
  # variables and quote the copies for generation of the libtool script.
17601
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17602
 
    SED SHELL STRIP \
17603
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17604
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17605
 
    deplibs_check_method reload_flag reload_cmds need_locks \
17606
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17607
 
    lt_cv_sys_global_symbol_to_c_name_address \
17608
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17609
 
    old_postinstall_cmds old_postuninstall_cmds \
17610
 
    compiler_F77 \
17611
 
    CC_F77 \
17612
 
    LD_F77 \
17613
 
    lt_prog_compiler_wl_F77 \
17614
 
    lt_prog_compiler_pic_F77 \
17615
 
    lt_prog_compiler_static_F77 \
17616
 
    lt_prog_compiler_no_builtin_flag_F77 \
17617
 
    export_dynamic_flag_spec_F77 \
17618
 
    thread_safe_flag_spec_F77 \
17619
 
    whole_archive_flag_spec_F77 \
17620
 
    enable_shared_with_static_runtimes_F77 \
17621
 
    old_archive_cmds_F77 \
17622
 
    old_archive_from_new_cmds_F77 \
17623
 
    predep_objects_F77 \
17624
 
    postdep_objects_F77 \
17625
 
    predeps_F77 \
17626
 
    postdeps_F77 \
17627
 
    compiler_lib_search_path_F77 \
17628
 
    compiler_lib_search_dirs_F77 \
17629
 
    archive_cmds_F77 \
17630
 
    archive_expsym_cmds_F77 \
17631
 
    postinstall_cmds_F77 \
17632
 
    postuninstall_cmds_F77 \
17633
 
    old_archive_from_expsyms_cmds_F77 \
17634
 
    allow_undefined_flag_F77 \
17635
 
    no_undefined_flag_F77 \
17636
 
    export_symbols_cmds_F77 \
17637
 
    hardcode_libdir_flag_spec_F77 \
17638
 
    hardcode_libdir_flag_spec_ld_F77 \
17639
 
    hardcode_libdir_separator_F77 \
17640
 
    hardcode_automatic_F77 \
17641
 
    module_cmds_F77 \
17642
 
    module_expsym_cmds_F77 \
17643
 
    lt_cv_prog_compiler_c_o_F77 \
17644
 
    fix_srcfile_path_F77 \
17645
 
    exclude_expsyms_F77 \
17646
 
    include_expsyms_F77; do
17647
 
 
17648
 
    case $var in
17649
 
    old_archive_cmds_F77 | \
17650
 
    old_archive_from_new_cmds_F77 | \
17651
 
    archive_cmds_F77 | \
17652
 
    archive_expsym_cmds_F77 | \
17653
 
    module_cmds_F77 | \
17654
 
    module_expsym_cmds_F77 | \
17655
 
    old_archive_from_expsyms_cmds_F77 | \
17656
 
    export_symbols_cmds_F77 | \
17657
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
17658
 
    postinstall_cmds | postuninstall_cmds | \
17659
 
    old_postinstall_cmds | old_postuninstall_cmds | \
17660
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17661
 
      # Double-quote double-evaled strings.
17662
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17663
 
      ;;
17664
 
    *)
17665
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17666
 
      ;;
17667
 
    esac
17668
 
  done
17669
 
 
17670
 
  case $lt_echo in
17671
 
  *'\$0 --fallback-echo"')
17672
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17673
 
    ;;
17674
 
  esac
17675
 
 
17676
 
cfgfile="$ofile"
17677
 
 
17678
 
  cat <<__EOF__ >> "$cfgfile"
17679
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17680
 
 
17681
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17682
 
 
17683
 
# Shell to use when invoking shell scripts.
17684
 
SHELL=$lt_SHELL
17685
 
 
17686
 
# Whether or not to build shared libraries.
17687
 
build_libtool_libs=$enable_shared
17688
 
 
17689
 
# Whether or not to build static libraries.
17690
 
build_old_libs=$enable_static
17691
 
 
17692
 
# Whether or not to add -lc for building shared libraries.
17693
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
17694
 
 
17695
 
# Whether or not to disallow shared libs when runtime libs are static
17696
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17697
 
 
17698
 
# Whether or not to optimize for fast installation.
17699
 
fast_install=$enable_fast_install
17700
 
 
17701
 
# The host system.
17702
 
host_alias=$host_alias
17703
 
host=$host
17704
 
host_os=$host_os
17705
 
 
17706
 
# The build system.
17707
 
build_alias=$build_alias
17708
 
build=$build
17709
 
build_os=$build_os
17710
 
 
17711
 
# An echo program that does not interpret backslashes.
17712
 
echo=$lt_echo
17713
 
 
17714
 
# The archiver.
17715
 
AR=$lt_AR
17716
 
AR_FLAGS=$lt_AR_FLAGS
17717
 
 
17718
 
# A C compiler.
17719
 
LTCC=$lt_LTCC
17720
 
 
17721
 
# LTCC compiler flags.
17722
 
LTCFLAGS=$lt_LTCFLAGS
17723
 
 
17724
 
# A language-specific compiler.
17725
 
CC=$lt_compiler_F77
17726
 
 
17727
 
# Is the compiler the GNU C compiler?
17728
 
with_gcc=$GCC_F77
17729
 
 
17730
 
# An ERE matcher.
17731
 
EGREP=$lt_EGREP
17732
 
 
17733
 
# The linker used to build libraries.
17734
 
LD=$lt_LD_F77
17735
 
 
17736
 
# Whether we need hard or soft links.
17737
 
LN_S=$lt_LN_S
17738
 
 
17739
 
# A BSD-compatible nm program.
17740
 
NM=$lt_NM
17741
 
 
17742
 
# A symbol stripping program
17743
 
STRIP=$lt_STRIP
17744
 
 
17745
 
# Used to examine libraries when file_magic_cmd begins "file"
17746
 
MAGIC_CMD=$MAGIC_CMD
17747
 
 
17748
 
# Used on cygwin: DLL creation program.
17749
 
DLLTOOL="$DLLTOOL"
17750
 
 
17751
 
# Used on cygwin: object dumper.
17752
 
OBJDUMP="$OBJDUMP"
17753
 
 
17754
 
# Used on cygwin: assembler.
17755
 
AS="$AS"
17756
 
 
17757
 
# The name of the directory that contains temporary libtool files.
17758
 
objdir=$objdir
17759
 
 
17760
 
# How to create reloadable object files.
17761
 
reload_flag=$lt_reload_flag
17762
 
reload_cmds=$lt_reload_cmds
17763
 
 
17764
 
# How to pass a linker flag through the compiler.
17765
 
wl=$lt_lt_prog_compiler_wl_F77
17766
 
 
17767
 
# Object file suffix (normally "o").
17768
 
objext="$ac_objext"
17769
 
 
17770
 
# Old archive suffix (normally "a").
17771
 
libext="$libext"
17772
 
 
17773
 
# Shared library suffix (normally ".so").
17774
 
shrext_cmds='$shrext_cmds'
17775
 
 
17776
 
# Executable file suffix (normally "").
17777
 
exeext="$exeext"
17778
 
 
17779
 
# Additional compiler flags for building library objects.
17780
 
pic_flag=$lt_lt_prog_compiler_pic_F77
17781
 
pic_mode=$pic_mode
17782
 
 
17783
 
# What is the maximum length of a command?
17784
 
max_cmd_len=$lt_cv_sys_max_cmd_len
17785
 
 
17786
 
# Does compiler simultaneously support -c and -o options?
17787
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17788
 
 
17789
 
# Must we lock files when doing compilation?
17790
 
need_locks=$lt_need_locks
17791
 
 
17792
 
# Do we need the lib prefix for modules?
17793
 
need_lib_prefix=$need_lib_prefix
17794
 
 
17795
 
# Do we need a version for libraries?
17796
 
need_version=$need_version
17797
 
 
17798
 
# Whether dlopen is supported.
17799
 
dlopen_support=$enable_dlopen
17800
 
 
17801
 
# Whether dlopen of programs is supported.
17802
 
dlopen_self=$enable_dlopen_self
17803
 
 
17804
 
# Whether dlopen of statically linked programs is supported.
17805
 
dlopen_self_static=$enable_dlopen_self_static
17806
 
 
17807
 
# Compiler flag to prevent dynamic linking.
17808
 
link_static_flag=$lt_lt_prog_compiler_static_F77
17809
 
 
17810
 
# Compiler flag to turn off builtin functions.
17811
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17812
 
 
17813
 
# Compiler flag to allow reflexive dlopens.
17814
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17815
 
 
17816
 
# Compiler flag to generate shared objects directly from archives.
17817
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17818
 
 
17819
 
# Compiler flag to generate thread-safe objects.
17820
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17821
 
 
17822
 
# Library versioning type.
17823
 
version_type=$version_type
17824
 
 
17825
 
# Format of library name prefix.
17826
 
libname_spec=$lt_libname_spec
17827
 
 
17828
 
# List of archive names.  First name is the real one, the rest are links.
17829
 
# The last name is the one that the linker finds with -lNAME.
17830
 
library_names_spec=$lt_library_names_spec
17831
 
 
17832
 
# The coded name of the library, if different from the real name.
17833
 
soname_spec=$lt_soname_spec
17834
 
 
17835
 
# Commands used to build and install an old-style archive.
17836
 
RANLIB=$lt_RANLIB
17837
 
old_archive_cmds=$lt_old_archive_cmds_F77
17838
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17839
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17840
 
 
17841
 
# Create an old-style archive from a shared archive.
17842
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17843
 
 
17844
 
# Create a temporary old-style archive to link instead of a shared archive.
17845
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17846
 
 
17847
 
# Commands used to build and install a shared archive.
17848
 
archive_cmds=$lt_archive_cmds_F77
17849
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17850
 
postinstall_cmds=$lt_postinstall_cmds
17851
 
postuninstall_cmds=$lt_postuninstall_cmds
17852
 
 
17853
 
# Commands used to build a loadable module (assumed same as above if empty)
17854
 
module_cmds=$lt_module_cmds_F77
17855
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
17856
 
 
17857
 
# Commands to strip libraries.
17858
 
old_striplib=$lt_old_striplib
17859
 
striplib=$lt_striplib
17860
 
 
17861
 
# Dependencies to place before the objects being linked to create a
17862
 
# shared library.
17863
 
predep_objects=$lt_predep_objects_F77
17864
 
 
17865
 
# Dependencies to place after the objects being linked to create a
17866
 
# shared library.
17867
 
postdep_objects=$lt_postdep_objects_F77
17868
 
 
17869
 
# Dependencies to place before the objects being linked to create a
17870
 
# shared library.
17871
 
predeps=$lt_predeps_F77
17872
 
 
17873
 
# Dependencies to place after the objects being linked to create a
17874
 
# shared library.
17875
 
postdeps=$lt_postdeps_F77
17876
 
 
17877
 
# The directories searched by this compiler when creating a shared
17878
 
# library
17879
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
17880
 
 
17881
 
# The library search path used internally by the compiler when linking
17882
 
# a shared library.
17883
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17884
 
 
17885
 
# Method to check whether dependent libraries are shared objects.
17886
 
deplibs_check_method=$lt_deplibs_check_method
17887
 
 
17888
 
# Command to use when deplibs_check_method == file_magic.
17889
 
file_magic_cmd=$lt_file_magic_cmd
17890
 
 
17891
 
# Flag that allows shared libraries with undefined symbols to be built.
17892
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
17893
 
 
17894
 
# Flag that forces no undefined symbols.
17895
 
no_undefined_flag=$lt_no_undefined_flag_F77
17896
 
 
17897
 
# Commands used to finish a libtool library installation in a directory.
17898
 
finish_cmds=$lt_finish_cmds
17899
 
 
17900
 
# Same as above, but a single script fragment to be evaled but not shown.
17901
 
finish_eval=$lt_finish_eval
17902
 
 
17903
 
# Take the output of nm and produce a listing of raw symbols and C names.
17904
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17905
 
 
17906
 
# Transform the output of nm in a proper C declaration
17907
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17908
 
 
17909
 
# Transform the output of nm in a C name address pair
17910
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17911
 
 
17912
 
# This is the shared library runtime path variable.
17913
 
runpath_var=$runpath_var
17914
 
 
17915
 
# This is the shared library path variable.
17916
 
shlibpath_var=$shlibpath_var
17917
 
 
17918
 
# Is shlibpath searched before the hard-coded library search path?
17919
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17920
 
 
17921
 
# How to hardcode a shared library path into an executable.
17922
 
hardcode_action=$hardcode_action_F77
17923
 
 
17924
 
# Whether we should hardcode library paths into libraries.
17925
 
hardcode_into_libs=$hardcode_into_libs
17926
 
 
17927
 
# Flag to hardcode \$libdir into a binary during linking.
17928
 
# This must work even if \$libdir does not exist.
17929
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17930
 
 
17931
 
# If ld is used when linking, flag to hardcode \$libdir into
17932
 
# a binary during linking. This must work even if \$libdir does
17933
 
# not exist.
17934
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17935
 
 
17936
 
# Whether we need a single -rpath flag with a separated argument.
17937
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17938
 
 
17939
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17940
 
# resulting binary.
17941
 
hardcode_direct=$hardcode_direct_F77
17942
 
 
17943
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17944
 
# resulting binary.
17945
 
hardcode_minus_L=$hardcode_minus_L_F77
17946
 
 
17947
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17948
 
# the resulting binary.
17949
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17950
 
 
17951
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
17952
 
# and all subsequent libraries and executables linked against it.
17953
 
hardcode_automatic=$hardcode_automatic_F77
17954
 
 
17955
 
# Variables whose values should be saved in libtool wrapper scripts and
17956
 
# restored at relink time.
17957
 
variables_saved_for_relink="$variables_saved_for_relink"
17958
 
 
17959
 
# Whether libtool must link a program against all its dependency libraries.
17960
 
link_all_deplibs=$link_all_deplibs_F77
17961
 
 
17962
 
# Compile-time system search path for libraries
17963
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17964
 
 
17965
 
# Run-time system search path for libraries
17966
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17967
 
 
17968
 
# Fix the shell variable \$srcfile for the compiler.
17969
 
fix_srcfile_path=$lt_fix_srcfile_path
17970
 
 
17971
 
# Set to yes if exported symbols are required.
17972
 
always_export_symbols=$always_export_symbols_F77
17973
 
 
17974
 
# The commands to list exported symbols.
17975
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
17976
 
 
17977
 
# The commands to extract the exported symbol list from a shared archive.
17978
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17979
 
 
17980
 
# Symbols that should not be listed in the preloaded symbols.
17981
 
exclude_expsyms=$lt_exclude_expsyms_F77
17982
 
 
17983
 
# Symbols that must always be exported.
17984
 
include_expsyms=$lt_include_expsyms_F77
17985
 
 
17986
 
# ### END LIBTOOL TAG CONFIG: $tagname
17987
 
 
17988
 
__EOF__
17989
 
 
17990
 
 
17991
 
else
17992
 
  # If there is no Makefile yet, we rely on a make rule to execute
17993
 
  # `config.status --recheck' to rerun these tests and create the
17994
 
  # libtool script then.
17995
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17996
 
  if test -f "$ltmain_in"; then
17997
 
    test -f Makefile && make "$ltmain"
17998
 
  fi
17999
 
fi
18000
 
 
18001
 
 
18002
 
ac_ext=c
18003
 
ac_cpp='$CPP $CPPFLAGS'
18004
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18005
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18006
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18007
 
 
18008
 
CC="$lt_save_CC"
18009
 
 
18010
 
        else
18011
 
          tagname=""
18012
 
        fi
18013
 
        ;;
18014
 
 
18015
 
      GCJ)
18016
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18017
 
 
18018
 
 
18019
 
# Source file extension for Java test sources.
18020
 
ac_ext=java
18021
 
 
18022
 
# Object file extension for compiled Java test sources.
18023
 
objext=o
18024
 
objext_GCJ=$objext
18025
 
 
18026
 
# Code to be used in simple compile tests
18027
 
lt_simple_compile_test_code="class foo {}"
18028
 
 
18029
 
# Code to be used in simple link tests
18030
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
18031
 
 
18032
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18033
 
 
18034
 
# If no C compiler was specified, use CC.
18035
 
LTCC=${LTCC-"$CC"}
18036
 
 
18037
 
# If no C compiler flags were specified, use CFLAGS.
18038
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18039
 
 
18040
 
# Allow CC to be a program name with arguments.
18041
 
compiler=$CC
18042
 
 
18043
 
 
18044
 
# save warnings/boilerplate of simple test code
18045
 
ac_outfile=conftest.$ac_objext
18046
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18047
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18048
 
_lt_compiler_boilerplate=`cat conftest.err`
18049
 
$rm conftest*
18050
 
 
18051
 
ac_outfile=conftest.$ac_objext
18052
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18053
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18054
 
_lt_linker_boilerplate=`cat conftest.err`
18055
 
$rm -r conftest*
18056
 
 
18057
 
 
18058
 
# Allow CC to be a program name with arguments.
18059
 
lt_save_CC="$CC"
18060
 
CC=${GCJ-"gcj"}
18061
 
compiler=$CC
18062
 
compiler_GCJ=$CC
18063
 
for cc_temp in $compiler""; do
18064
 
  case $cc_temp in
18065
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18066
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18067
 
    \-*) ;;
18068
 
    *) break;;
18069
 
  esac
18070
 
done
18071
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18072
 
 
18073
 
 
18074
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
18075
 
archive_cmds_need_lc_GCJ=no
18076
 
 
18077
 
old_archive_cmds_GCJ=$old_archive_cmds
18078
 
 
18079
 
 
18080
 
lt_prog_compiler_no_builtin_flag_GCJ=
18081
 
 
18082
 
if test "$GCC" = yes; then
18083
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18084
 
 
18085
 
 
18086
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18087
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
18088
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18089
 
  $as_echo_n "(cached) " >&6
18090
 
else
18091
 
  lt_cv_prog_compiler_rtti_exceptions=no
18092
 
  ac_outfile=conftest.$ac_objext
18093
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18094
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
18095
 
   # Insert the option either (1) after the last *FLAGS variable, or
18096
 
   # (2) before a word containing "conftest.", or (3) at the end.
18097
 
   # Note that $ac_compile itself does not contain backslashes and begins
18098
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18099
 
   # The option is referenced via a variable to avoid confusing sed.
18100
 
   lt_compile=`echo "$ac_compile" | $SED \
18101
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18102
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18103
 
   -e 's:$: $lt_compiler_flag:'`
18104
 
   (eval echo "\"\$as_me:18104: $lt_compile\"" >&5)
18105
 
   (eval "$lt_compile" 2>conftest.err)
18106
 
   ac_status=$?
18107
 
   cat conftest.err >&5
18108
 
   echo "$as_me:18108: \$? = $ac_status" >&5
18109
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18110
 
     # The compiler can only warn and ignore the option if not recognized
18111
 
     # So say no if there are warnings other than the usual output.
18112
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18113
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18114
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18115
 
       lt_cv_prog_compiler_rtti_exceptions=yes
18116
 
     fi
18117
 
   fi
18118
 
   $rm conftest*
18119
 
 
18120
 
fi
18121
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18122
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18123
 
 
18124
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18125
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18126
 
else
18127
 
    :
18128
 
fi
18129
 
 
18130
 
fi
18131
 
 
18132
 
lt_prog_compiler_wl_GCJ=
18133
 
lt_prog_compiler_pic_GCJ=
18134
 
lt_prog_compiler_static_GCJ=
18135
 
 
18136
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18137
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18138
 
 
18139
 
  if test "$GCC" = yes; then
18140
 
    lt_prog_compiler_wl_GCJ='-Wl,'
18141
 
    lt_prog_compiler_static_GCJ='-static'
18142
 
 
18143
 
    case $host_os in
18144
 
      aix*)
18145
 
      # All AIX code is PIC.
18146
 
      if test "$host_cpu" = ia64; then
18147
 
        # AIX 5 now supports IA64 processor
18148
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18149
 
      fi
18150
 
      ;;
18151
 
 
18152
 
    amigaos*)
18153
 
      # FIXME: we need at least 68020 code to build shared libraries, but
18154
 
      # adding the `-m68020' flag to GCC prevents building anything better,
18155
 
      # like `-m68040'.
18156
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
18157
 
      ;;
18158
 
 
18159
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18160
 
      # PIC is the default for these OSes.
18161
 
      ;;
18162
 
 
18163
 
    mingw* | cygwin* | pw32* | os2*)
18164
 
      # This hack is so that the source file can tell whether it is being
18165
 
      # built for inclusion in a dll (and should export symbols for example).
18166
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
18167
 
      # (--disable-auto-import) libraries
18168
 
 
18169
 
      ;;
18170
 
 
18171
 
    darwin* | rhapsody*)
18172
 
      # PIC is the default on this platform
18173
 
      # Common symbols not allowed in MH_DYLIB files
18174
 
      lt_prog_compiler_pic_GCJ='-fno-common'
18175
 
      ;;
18176
 
 
18177
 
    interix[3-9]*)
18178
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18179
 
      # Instead, we relocate shared libraries at runtime.
18180
 
      ;;
18181
 
 
18182
 
    msdosdjgpp*)
18183
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
18184
 
      # on systems that don't support them.
18185
 
      lt_prog_compiler_can_build_shared_GCJ=no
18186
 
      enable_shared=no
18187
 
      ;;
18188
 
 
18189
 
    sysv4*MP*)
18190
 
      if test -d /usr/nec; then
18191
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
18192
 
      fi
18193
 
      ;;
18194
 
 
18195
 
    hpux*)
18196
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18197
 
      # not for PA HP-UX.
18198
 
      case $host_cpu in
18199
 
      hppa*64*|ia64*)
18200
 
        # +Z the default
18201
 
        ;;
18202
 
      *)
18203
 
        lt_prog_compiler_pic_GCJ='-fPIC'
18204
 
        ;;
18205
 
      esac
18206
 
      ;;
18207
 
 
18208
 
    *)
18209
 
      lt_prog_compiler_pic_GCJ='-fPIC'
18210
 
      ;;
18211
 
    esac
18212
 
  else
18213
 
    # PORTME Check for flag to pass linker flags through the system compiler.
18214
 
    case $host_os in
18215
 
    aix*)
18216
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18217
 
      if test "$host_cpu" = ia64; then
18218
 
        # AIX 5 now supports IA64 processor
18219
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18220
 
      else
18221
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
18222
 
      fi
18223
 
      ;;
18224
 
      darwin*)
18225
 
        # PIC is the default on this platform
18226
 
        # Common symbols not allowed in MH_DYLIB files
18227
 
       case $cc_basename in
18228
 
         xlc*)
18229
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
18230
 
         lt_prog_compiler_wl_GCJ='-Wl,'
18231
 
         ;;
18232
 
       esac
18233
 
       ;;
18234
 
 
18235
 
    mingw* | cygwin* | pw32* | os2*)
18236
 
      # This hack is so that the source file can tell whether it is being
18237
 
      # built for inclusion in a dll (and should export symbols for example).
18238
 
 
18239
 
      ;;
18240
 
 
18241
 
    hpux9* | hpux10* | hpux11*)
18242
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18243
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18244
 
      # not for PA HP-UX.
18245
 
      case $host_cpu in
18246
 
      hppa*64*|ia64*)
18247
 
        # +Z the default
18248
 
        ;;
18249
 
      *)
18250
 
        lt_prog_compiler_pic_GCJ='+Z'
18251
 
        ;;
18252
 
      esac
18253
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
18254
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
18255
 
      ;;
18256
 
 
18257
 
    irix5* | irix6* | nonstopux*)
18258
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18259
 
      # PIC (with -KPIC) is the default.
18260
 
      lt_prog_compiler_static_GCJ='-non_shared'
18261
 
      ;;
18262
 
 
18263
 
    newsos6)
18264
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18265
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18266
 
      ;;
18267
 
 
18268
 
    linux* | k*bsd*-gnu)
18269
 
      case $cc_basename in
18270
 
      icc* | ecc*)
18271
 
        lt_prog_compiler_wl_GCJ='-Wl,'
18272
 
        lt_prog_compiler_pic_GCJ='-KPIC'
18273
 
        lt_prog_compiler_static_GCJ='-static'
18274
 
        ;;
18275
 
      pgcc* | pgf77* | pgf90* | pgf95*)
18276
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
18277
 
        # which looks to be a dead project)
18278
 
        lt_prog_compiler_wl_GCJ='-Wl,'
18279
 
        lt_prog_compiler_pic_GCJ='-fpic'
18280
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18281
 
        ;;
18282
 
      ccc*)
18283
 
        lt_prog_compiler_wl_GCJ='-Wl,'
18284
 
        # All Alpha code is PIC.
18285
 
        lt_prog_compiler_static_GCJ='-non_shared'
18286
 
        ;;
18287
 
      *)
18288
 
        case `$CC -V 2>&1 | sed 5q` in
18289
 
        *Sun\ C*)
18290
 
          # Sun C 5.9
18291
 
          lt_prog_compiler_pic_GCJ='-KPIC'
18292
 
          lt_prog_compiler_static_GCJ='-Bstatic'
18293
 
          lt_prog_compiler_wl_GCJ='-Wl,'
18294
 
          ;;
18295
 
        *Sun\ F*)
18296
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
18297
 
          lt_prog_compiler_pic_GCJ='-KPIC'
18298
 
          lt_prog_compiler_static_GCJ='-Bstatic'
18299
 
          lt_prog_compiler_wl_GCJ=''
18300
 
          ;;
18301
 
        esac
18302
 
        ;;
18303
 
      esac
18304
 
      ;;
18305
 
 
18306
 
    osf3* | osf4* | osf5*)
18307
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18308
 
      # All OSF/1 code is PIC.
18309
 
      lt_prog_compiler_static_GCJ='-non_shared'
18310
 
      ;;
18311
 
 
18312
 
    rdos*)
18313
 
      lt_prog_compiler_static_GCJ='-non_shared'
18314
 
      ;;
18315
 
 
18316
 
    solaris*)
18317
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18318
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18319
 
      case $cc_basename in
18320
 
      f77* | f90* | f95*)
18321
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
18322
 
      *)
18323
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
18324
 
      esac
18325
 
      ;;
18326
 
 
18327
 
    sunos4*)
18328
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
18329
 
      lt_prog_compiler_pic_GCJ='-PIC'
18330
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18331
 
      ;;
18332
 
 
18333
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
18334
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18335
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18336
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18337
 
      ;;
18338
 
 
18339
 
    sysv4*MP*)
18340
 
      if test -d /usr/nec ;then
18341
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
18342
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18343
 
      fi
18344
 
      ;;
18345
 
 
18346
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18347
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18348
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18349
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18350
 
      ;;
18351
 
 
18352
 
    unicos*)
18353
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18354
 
      lt_prog_compiler_can_build_shared_GCJ=no
18355
 
      ;;
18356
 
 
18357
 
    uts4*)
18358
 
      lt_prog_compiler_pic_GCJ='-pic'
18359
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18360
 
      ;;
18361
 
 
18362
 
    *)
18363
 
      lt_prog_compiler_can_build_shared_GCJ=no
18364
 
      ;;
18365
 
    esac
18366
 
  fi
18367
 
 
18368
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18369
 
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
18370
 
 
18371
 
#
18372
 
# Check to make sure the PIC flag actually works.
18373
 
#
18374
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
18375
 
 
18376
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18377
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
18378
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
18379
 
  $as_echo_n "(cached) " >&6
18380
 
else
18381
 
  lt_cv_prog_compiler_pic_works_GCJ=no
18382
 
  ac_outfile=conftest.$ac_objext
18383
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18384
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18385
 
   # Insert the option either (1) after the last *FLAGS variable, or
18386
 
   # (2) before a word containing "conftest.", or (3) at the end.
18387
 
   # Note that $ac_compile itself does not contain backslashes and begins
18388
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18389
 
   # The option is referenced via a variable to avoid confusing sed.
18390
 
   lt_compile=`echo "$ac_compile" | $SED \
18391
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18392
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18393
 
   -e 's:$: $lt_compiler_flag:'`
18394
 
   (eval echo "\"\$as_me:18394: $lt_compile\"" >&5)
18395
 
   (eval "$lt_compile" 2>conftest.err)
18396
 
   ac_status=$?
18397
 
   cat conftest.err >&5
18398
 
   echo "$as_me:18398: \$? = $ac_status" >&5
18399
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18400
 
     # The compiler can only warn and ignore the option if not recognized
18401
 
     # So say no if there are warnings other than the usual output.
18402
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18403
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18404
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18405
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
18406
 
     fi
18407
 
   fi
18408
 
   $rm conftest*
18409
 
 
18410
 
fi
18411
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
18412
 
$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
18413
 
 
18414
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
18415
 
    case $lt_prog_compiler_pic_GCJ in
18416
 
     "" | " "*) ;;
18417
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18418
 
     esac
18419
 
else
18420
 
    lt_prog_compiler_pic_GCJ=
18421
 
     lt_prog_compiler_can_build_shared_GCJ=no
18422
 
fi
18423
 
 
18424
 
fi
18425
 
case $host_os in
18426
 
  # For platforms which do not support PIC, -DPIC is meaningless:
18427
 
  *djgpp*)
18428
 
    lt_prog_compiler_pic_GCJ=
18429
 
    ;;
18430
 
  *)
18431
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
18432
 
    ;;
18433
 
esac
18434
 
 
18435
 
#
18436
 
# Check to make sure the static flag actually works.
18437
 
#
18438
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18439
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18440
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18441
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
18442
 
  $as_echo_n "(cached) " >&6
18443
 
else
18444
 
  lt_cv_prog_compiler_static_works_GCJ=no
18445
 
   save_LDFLAGS="$LDFLAGS"
18446
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18447
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18448
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18449
 
     # The linker can only warn and ignore the option if not recognized
18450
 
     # So say no if there are warnings
18451
 
     if test -s conftest.err; then
18452
 
       # Append any errors to the config.log.
18453
 
       cat conftest.err 1>&5
18454
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18455
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18456
 
       if diff conftest.exp conftest.er2 >/dev/null; then
18457
 
         lt_cv_prog_compiler_static_works_GCJ=yes
18458
 
       fi
18459
 
     else
18460
 
       lt_cv_prog_compiler_static_works_GCJ=yes
18461
 
     fi
18462
 
   fi
18463
 
   $rm -r conftest*
18464
 
   LDFLAGS="$save_LDFLAGS"
18465
 
 
18466
 
fi
18467
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
18468
 
$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
18469
 
 
18470
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
18471
 
    :
18472
 
else
18473
 
    lt_prog_compiler_static_GCJ=
18474
 
fi
18475
 
 
18476
 
 
18477
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18478
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18479
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18480
 
  $as_echo_n "(cached) " >&6
18481
 
else
18482
 
  lt_cv_prog_compiler_c_o_GCJ=no
18483
 
   $rm -r conftest 2>/dev/null
18484
 
   mkdir conftest
18485
 
   cd conftest
18486
 
   mkdir out
18487
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18488
 
 
18489
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18490
 
   # Insert the option either (1) after the last *FLAGS variable, or
18491
 
   # (2) before a word containing "conftest.", or (3) at the end.
18492
 
   # Note that $ac_compile itself does not contain backslashes and begins
18493
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18494
 
   lt_compile=`echo "$ac_compile" | $SED \
18495
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18496
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18497
 
   -e 's:$: $lt_compiler_flag:'`
18498
 
   (eval echo "\"\$as_me:18498: $lt_compile\"" >&5)
18499
 
   (eval "$lt_compile" 2>out/conftest.err)
18500
 
   ac_status=$?
18501
 
   cat out/conftest.err >&5
18502
 
   echo "$as_me:18502: \$? = $ac_status" >&5
18503
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18504
 
   then
18505
 
     # The compiler can only warn and ignore the option if not recognized
18506
 
     # So say no if there are warnings
18507
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18508
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18509
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18510
 
       lt_cv_prog_compiler_c_o_GCJ=yes
18511
 
     fi
18512
 
   fi
18513
 
   chmod u+w . 2>&5
18514
 
   $rm conftest*
18515
 
   # SGI C++ compiler will create directory out/ii_files/ for
18516
 
   # template instantiation
18517
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18518
 
   $rm out/* && rmdir out
18519
 
   cd ..
18520
 
   rmdir conftest
18521
 
   $rm conftest*
18522
 
 
18523
 
fi
18524
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18525
 
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18526
 
 
18527
 
 
18528
 
hard_links="nottested"
18529
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18530
 
  # do not overwrite the value of need_locks provided by the user
18531
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18532
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
18533
 
  hard_links=yes
18534
 
  $rm conftest*
18535
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18536
 
  touch conftest.a
18537
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
18538
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18539
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
18540
 
$as_echo "$hard_links" >&6; }
18541
 
  if test "$hard_links" = no; then
18542
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18543
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18544
 
    need_locks=warn
18545
 
  fi
18546
 
else
18547
 
  need_locks=no
18548
 
fi
18549
 
 
18550
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18551
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18552
 
 
18553
 
  runpath_var=
18554
 
  allow_undefined_flag_GCJ=
18555
 
  enable_shared_with_static_runtimes_GCJ=no
18556
 
  archive_cmds_GCJ=
18557
 
  archive_expsym_cmds_GCJ=
18558
 
  old_archive_From_new_cmds_GCJ=
18559
 
  old_archive_from_expsyms_cmds_GCJ=
18560
 
  export_dynamic_flag_spec_GCJ=
18561
 
  whole_archive_flag_spec_GCJ=
18562
 
  thread_safe_flag_spec_GCJ=
18563
 
  hardcode_libdir_flag_spec_GCJ=
18564
 
  hardcode_libdir_flag_spec_ld_GCJ=
18565
 
  hardcode_libdir_separator_GCJ=
18566
 
  hardcode_direct_GCJ=no
18567
 
  hardcode_minus_L_GCJ=no
18568
 
  hardcode_shlibpath_var_GCJ=unsupported
18569
 
  link_all_deplibs_GCJ=unknown
18570
 
  hardcode_automatic_GCJ=no
18571
 
  module_cmds_GCJ=
18572
 
  module_expsym_cmds_GCJ=
18573
 
  always_export_symbols_GCJ=no
18574
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18575
 
  # include_expsyms should be a list of space-separated symbols to be *always*
18576
 
  # included in the symbol list
18577
 
  include_expsyms_GCJ=
18578
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
18579
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
18580
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18581
 
  # as well as any symbol that contains `d'.
18582
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18583
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18584
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
18585
 
  # the symbol is explicitly referenced.  Since portable code cannot
18586
 
  # rely on this symbol name, it's probably fine to never include it in
18587
 
  # preloaded symbol tables.
18588
 
  # Exclude shared library initialization/finalization symbols.
18589
 
  extract_expsyms_cmds=
18590
 
  # Just being paranoid about ensuring that cc_basename is set.
18591
 
  for cc_temp in $compiler""; do
18592
 
  case $cc_temp in
18593
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18594
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18595
 
    \-*) ;;
18596
 
    *) break;;
18597
 
  esac
18598
 
done
18599
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18600
 
 
18601
 
  case $host_os in
18602
 
  cygwin* | mingw* | pw32*)
18603
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
18604
 
    # When not using gcc, we currently assume that we are using
18605
 
    # Microsoft Visual C++.
18606
 
    if test "$GCC" != yes; then
18607
 
      with_gnu_ld=no
18608
 
    fi
18609
 
    ;;
18610
 
  interix*)
18611
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
18612
 
    with_gnu_ld=yes
18613
 
    ;;
18614
 
  openbsd*)
18615
 
    with_gnu_ld=no
18616
 
    ;;
18617
 
  esac
18618
 
 
18619
 
  ld_shlibs_GCJ=yes
18620
 
  if test "$with_gnu_ld" = yes; then
18621
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
18622
 
    wlarc='${wl}'
18623
 
 
18624
 
    # Set some defaults for GNU ld with shared library support. These
18625
 
    # are reset later if shared libraries are not supported. Putting them
18626
 
    # here allows them to be overridden if necessary.
18627
 
    runpath_var=LD_RUN_PATH
18628
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18629
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18630
 
    # ancient GNU ld didn't support --whole-archive et. al.
18631
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18632
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18633
 
      else
18634
 
        whole_archive_flag_spec_GCJ=
18635
 
    fi
18636
 
    supports_anon_versioning=no
18637
 
    case `$LD -v 2>/dev/null` in
18638
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18639
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18640
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18641
 
      *\ 2.11.*) ;; # other 2.11 versions
18642
 
      *) supports_anon_versioning=yes ;;
18643
 
    esac
18644
 
 
18645
 
    # See if GNU ld supports shared libraries.
18646
 
    case $host_os in
18647
 
    aix[3-9]*)
18648
 
      # On AIX/PPC, the GNU linker is very broken
18649
 
      if test "$host_cpu" != ia64; then
18650
 
        ld_shlibs_GCJ=no
18651
 
        cat <<EOF 1>&2
18652
 
 
18653
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18654
 
*** to be unable to reliably create shared libraries on AIX.
18655
 
*** Therefore, libtool is disabling shared libraries support.  If you
18656
 
*** really care for shared libraries, you may want to modify your PATH
18657
 
*** so that a non-GNU linker is found, and then restart.
18658
 
 
18659
 
EOF
18660
 
      fi
18661
 
      ;;
18662
 
 
18663
 
    amigaos*)
18664
 
      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)'
18665
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18666
 
      hardcode_minus_L_GCJ=yes
18667
 
 
18668
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18669
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
18670
 
      # to version 4, is to share data among multiple programs linked
18671
 
      # with the same dynamic library.  Since this doesn't match the
18672
 
      # behavior of shared libraries on other platforms, we can't use
18673
 
      # them.
18674
 
      ld_shlibs_GCJ=no
18675
 
      ;;
18676
 
 
18677
 
    beos*)
18678
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18679
 
        allow_undefined_flag_GCJ=unsupported
18680
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18681
 
        # support --undefined.  This deserves some investigation.  FIXME
18682
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18683
 
      else
18684
 
        ld_shlibs_GCJ=no
18685
 
      fi
18686
 
      ;;
18687
 
 
18688
 
    cygwin* | mingw* | pw32*)
18689
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18690
 
      # as there is no search path for DLLs.
18691
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18692
 
      allow_undefined_flag_GCJ=unsupported
18693
 
      always_export_symbols_GCJ=no
18694
 
      enable_shared_with_static_runtimes_GCJ=yes
18695
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18696
 
 
18697
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18698
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18699
 
        # If the export-symbols file already is a .def file (1st line
18700
 
        # is EXPORTS), use it as is; otherwise, prepend...
18701
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18702
 
          cp $export_symbols $output_objdir/$soname.def;
18703
 
        else
18704
 
          echo EXPORTS > $output_objdir/$soname.def;
18705
 
          cat $export_symbols >> $output_objdir/$soname.def;
18706
 
        fi~
18707
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18708
 
      else
18709
 
        ld_shlibs_GCJ=no
18710
 
      fi
18711
 
      ;;
18712
 
 
18713
 
    interix[3-9]*)
18714
 
      hardcode_direct_GCJ=no
18715
 
      hardcode_shlibpath_var_GCJ=no
18716
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18717
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18718
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18719
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
18720
 
      # default) and relocated if they conflict, which is a slow very memory
18721
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
18722
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18723
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18724
 
      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'
18725
 
      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'
18726
 
      ;;
18727
 
 
18728
 
    gnu* | linux* | k*bsd*-gnu)
18729
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18730
 
        tmp_addflag=
18731
 
        case $cc_basename,$host_cpu in
18732
 
        pgcc*)                          # Portland Group C compiler
18733
 
          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'
18734
 
          tmp_addflag=' $pic_flag'
18735
 
          ;;
18736
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
18737
 
          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'
18738
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
18739
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
18740
 
          tmp_addflag=' -i_dynamic' ;;
18741
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
18742
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
18743
 
        ifc* | ifort*)                  # Intel Fortran compiler
18744
 
          tmp_addflag=' -nofor_main' ;;
18745
 
        esac
18746
 
        case `$CC -V 2>&1 | sed 5q` in
18747
 
        *Sun\ C*)                       # Sun C 5.9
18748
 
          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'
18749
 
          tmp_sharedflag='-G' ;;
18750
 
        *Sun\ F*)                       # Sun Fortran 8.3
18751
 
          tmp_sharedflag='-G' ;;
18752
 
        *)
18753
 
          tmp_sharedflag='-shared' ;;
18754
 
        esac
18755
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18756
 
 
18757
 
        if test $supports_anon_versioning = yes; then
18758
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18759
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18760
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18761
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18762
 
        fi
18763
 
      else
18764
 
        ld_shlibs_GCJ=no
18765
 
      fi
18766
 
      ;;
18767
 
 
18768
 
    netbsd*)
18769
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18770
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18771
 
        wlarc=
18772
 
      else
18773
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18774
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18775
 
      fi
18776
 
      ;;
18777
 
 
18778
 
    solaris*)
18779
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18780
 
        ld_shlibs_GCJ=no
18781
 
        cat <<EOF 1>&2
18782
 
 
18783
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18784
 
*** create shared libraries on Solaris systems.  Therefore, libtool
18785
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18786
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
18787
 
*** your PATH or compiler configuration so that the native linker is
18788
 
*** used, and then restart.
18789
 
 
18790
 
EOF
18791
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18792
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18793
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18794
 
      else
18795
 
        ld_shlibs_GCJ=no
18796
 
      fi
18797
 
      ;;
18798
 
 
18799
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18800
 
      case `$LD -v 2>&1` in
18801
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18802
 
        ld_shlibs_GCJ=no
18803
 
        cat <<_LT_EOF 1>&2
18804
 
 
18805
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18806
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
18807
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18808
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
18809
 
*** your PATH or compiler configuration so that the native linker is
18810
 
*** used, and then restart.
18811
 
 
18812
 
_LT_EOF
18813
 
        ;;
18814
 
        *)
18815
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18816
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18817
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18818
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18819
 
          else
18820
 
            ld_shlibs_GCJ=no
18821
 
          fi
18822
 
        ;;
18823
 
      esac
18824
 
      ;;
18825
 
 
18826
 
    sunos4*)
18827
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18828
 
      wlarc=
18829
 
      hardcode_direct_GCJ=yes
18830
 
      hardcode_shlibpath_var_GCJ=no
18831
 
      ;;
18832
 
 
18833
 
    *)
18834
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18835
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18836
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18837
 
      else
18838
 
        ld_shlibs_GCJ=no
18839
 
      fi
18840
 
      ;;
18841
 
    esac
18842
 
 
18843
 
    if test "$ld_shlibs_GCJ" = no; then
18844
 
      runpath_var=
18845
 
      hardcode_libdir_flag_spec_GCJ=
18846
 
      export_dynamic_flag_spec_GCJ=
18847
 
      whole_archive_flag_spec_GCJ=
18848
 
    fi
18849
 
  else
18850
 
    # PORTME fill in a description of your system's linker (not GNU ld)
18851
 
    case $host_os in
18852
 
    aix3*)
18853
 
      allow_undefined_flag_GCJ=unsupported
18854
 
      always_export_symbols_GCJ=yes
18855
 
      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'
18856
 
      # Note: this linker hardcodes the directories in LIBPATH if there
18857
 
      # are no directories specified by -L.
18858
 
      hardcode_minus_L_GCJ=yes
18859
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18860
 
        # Neither direct hardcoding nor static linking is supported with a
18861
 
        # broken collect2.
18862
 
        hardcode_direct_GCJ=unsupported
18863
 
      fi
18864
 
      ;;
18865
 
 
18866
 
    aix[4-9]*)
18867
 
      if test "$host_cpu" = ia64; then
18868
 
        # On IA64, the linker does run time linking by default, so we don't
18869
 
        # have to do anything special.
18870
 
        aix_use_runtimelinking=no
18871
 
        exp_sym_flag='-Bexport'
18872
 
        no_entry_flag=""
18873
 
      else
18874
 
        # If we're using GNU nm, then we don't want the "-C" option.
18875
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
18876
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18877
 
          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'
18878
 
        else
18879
 
          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'
18880
 
        fi
18881
 
        aix_use_runtimelinking=no
18882
 
 
18883
 
        # Test if we are trying to use run time linking or normal
18884
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18885
 
        # need to do runtime linking.
18886
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18887
 
          for ld_flag in $LDFLAGS; do
18888
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18889
 
            aix_use_runtimelinking=yes
18890
 
            break
18891
 
          fi
18892
 
          done
18893
 
          ;;
18894
 
        esac
18895
 
 
18896
 
        exp_sym_flag='-bexport'
18897
 
        no_entry_flag='-bnoentry'
18898
 
      fi
18899
 
 
18900
 
      # When large executables or shared objects are built, AIX ld can
18901
 
      # have problems creating the table of contents.  If linking a library
18902
 
      # or program results in "error TOC overflow" add -mminimal-toc to
18903
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18904
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18905
 
 
18906
 
      archive_cmds_GCJ=''
18907
 
      hardcode_direct_GCJ=yes
18908
 
      hardcode_libdir_separator_GCJ=':'
18909
 
      link_all_deplibs_GCJ=yes
18910
 
 
18911
 
      if test "$GCC" = yes; then
18912
 
        case $host_os in aix4.[012]|aix4.[012].*)
18913
 
        # We only want to do this on AIX 4.2 and lower, the check
18914
 
        # below for broken collect2 doesn't work under 4.3+
18915
 
          collect2name=`${CC} -print-prog-name=collect2`
18916
 
          if test -f "$collect2name" && \
18917
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18918
 
          then
18919
 
          # We have reworked collect2
18920
 
          :
18921
 
          else
18922
 
          # We have old collect2
18923
 
          hardcode_direct_GCJ=unsupported
18924
 
          # It fails to find uninstalled libraries when the uninstalled
18925
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
18926
 
          # to unsupported forces relinking
18927
 
          hardcode_minus_L_GCJ=yes
18928
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
18929
 
          hardcode_libdir_separator_GCJ=
18930
 
          fi
18931
 
          ;;
18932
 
        esac
18933
 
        shared_flag='-shared'
18934
 
        if test "$aix_use_runtimelinking" = yes; then
18935
 
          shared_flag="$shared_flag "'${wl}-G'
18936
 
        fi
18937
 
      else
18938
 
        # not using gcc
18939
 
        if test "$host_cpu" = ia64; then
18940
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18941
 
        # chokes on -Wl,-G. The following line is correct:
18942
 
          shared_flag='-G'
18943
 
        else
18944
 
          if test "$aix_use_runtimelinking" = yes; then
18945
 
            shared_flag='${wl}-G'
18946
 
          else
18947
 
            shared_flag='${wl}-bM:SRE'
18948
 
          fi
18949
 
        fi
18950
 
      fi
18951
 
 
18952
 
      # It seems that -bexpall does not export symbols beginning with
18953
 
      # underscore (_), so it is better to generate a list of symbols to export.
18954
 
      always_export_symbols_GCJ=yes
18955
 
      if test "$aix_use_runtimelinking" = yes; then
18956
 
        # Warning - without using the other runtime loading flags (-brtl),
18957
 
        # -berok will link without error, but may produce a broken library.
18958
 
        allow_undefined_flag_GCJ='-berok'
18959
 
       # Determine the default libpath from the value encoded in an empty executable.
18960
 
       cat >conftest.$ac_ext <<_ACEOF
18961
 
/* confdefs.h.  */
18962
 
_ACEOF
18963
 
cat confdefs.h >>conftest.$ac_ext
18964
 
cat >>conftest.$ac_ext <<_ACEOF
18965
 
/* end confdefs.h.  */
18966
 
 
18967
 
int
18968
 
main ()
18969
 
{
18970
 
 
18971
 
  ;
18972
 
  return 0;
18973
 
}
18974
 
_ACEOF
18975
 
rm -f conftest.$ac_objext conftest$ac_exeext
18976
 
if { (ac_try="$ac_link"
18977
 
case "(($ac_try" in
18978
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18979
 
  *) ac_try_echo=$ac_try;;
18980
 
esac
18981
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18982
 
$as_echo "$ac_try_echo") >&5
18983
 
  (eval "$ac_link") 2>conftest.er1
18984
 
  ac_status=$?
18985
 
  grep -v '^ *+' conftest.er1 >conftest.err
18986
 
  rm -f conftest.er1
18987
 
  cat conftest.err >&5
18988
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989
 
  (exit $ac_status); } && {
18990
 
         test -z "$ac_c_werror_flag" ||
18991
 
         test ! -s conftest.err
18992
 
       } && test -s conftest$ac_exeext && {
18993
 
         test "$cross_compiling" = yes ||
18994
 
         $as_test_x conftest$ac_exeext
18995
 
       }; then
18996
 
 
18997
 
lt_aix_libpath_sed='
18998
 
    /Import File Strings/,/^$/ {
18999
 
        /^0/ {
19000
 
            s/^0  *\(.*\)$/\1/
19001
 
            p
19002
 
        }
19003
 
    }'
19004
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19005
 
# Check for a 64-bit object if we didn't find anything.
19006
 
if test -z "$aix_libpath"; then
19007
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19008
 
fi
19009
 
else
19010
 
  $as_echo "$as_me: failed program was:" >&5
19011
 
sed 's/^/| /' conftest.$ac_ext >&5
19012
 
 
19013
 
 
19014
 
fi
19015
 
 
19016
 
rm -rf conftest.dSYM
19017
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19018
 
      conftest$ac_exeext conftest.$ac_ext
19019
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19020
 
 
19021
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19022
 
        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"
19023
 
       else
19024
 
        if test "$host_cpu" = ia64; then
19025
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19026
 
          allow_undefined_flag_GCJ="-z nodefs"
19027
 
          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"
19028
 
        else
19029
 
         # Determine the default libpath from the value encoded in an empty executable.
19030
 
         cat >conftest.$ac_ext <<_ACEOF
19031
 
/* confdefs.h.  */
19032
 
_ACEOF
19033
 
cat confdefs.h >>conftest.$ac_ext
19034
 
cat >>conftest.$ac_ext <<_ACEOF
19035
 
/* end confdefs.h.  */
19036
 
 
19037
 
int
19038
 
main ()
19039
 
{
19040
 
 
19041
 
  ;
19042
 
  return 0;
19043
 
}
19044
 
_ACEOF
19045
 
rm -f conftest.$ac_objext conftest$ac_exeext
19046
 
if { (ac_try="$ac_link"
19047
 
case "(($ac_try" in
19048
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19049
 
  *) ac_try_echo=$ac_try;;
19050
 
esac
19051
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19052
 
$as_echo "$ac_try_echo") >&5
19053
 
  (eval "$ac_link") 2>conftest.er1
19054
 
  ac_status=$?
19055
 
  grep -v '^ *+' conftest.er1 >conftest.err
19056
 
  rm -f conftest.er1
19057
 
  cat conftest.err >&5
19058
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059
 
  (exit $ac_status); } && {
19060
 
         test -z "$ac_c_werror_flag" ||
19061
 
         test ! -s conftest.err
19062
 
       } && test -s conftest$ac_exeext && {
19063
 
         test "$cross_compiling" = yes ||
19064
 
         $as_test_x conftest$ac_exeext
19065
 
       }; then
19066
 
 
19067
 
lt_aix_libpath_sed='
19068
 
    /Import File Strings/,/^$/ {
19069
 
        /^0/ {
19070
 
            s/^0  *\(.*\)$/\1/
19071
 
            p
19072
 
        }
19073
 
    }'
19074
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19075
 
# Check for a 64-bit object if we didn't find anything.
19076
 
if test -z "$aix_libpath"; then
19077
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19078
 
fi
19079
 
else
19080
 
  $as_echo "$as_me: failed program was:" >&5
19081
 
sed 's/^/| /' conftest.$ac_ext >&5
19082
 
 
19083
 
 
19084
 
fi
19085
 
 
19086
 
rm -rf conftest.dSYM
19087
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19088
 
      conftest$ac_exeext conftest.$ac_ext
19089
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19090
 
 
19091
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19092
 
          # Warning - without using the other run time loading flags,
19093
 
          # -berok will link without error, but may produce a broken library.
19094
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
19095
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
19096
 
          # Exported symbols can be pulled into shared objects from archives
19097
 
          whole_archive_flag_spec_GCJ='$convenience'
19098
 
          archive_cmds_need_lc_GCJ=yes
19099
 
          # This is similar to how AIX traditionally builds its shared libraries.
19100
 
          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'
19101
 
        fi
19102
 
      fi
19103
 
      ;;
19104
 
 
19105
 
    amigaos*)
19106
 
      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)'
19107
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19108
 
      hardcode_minus_L_GCJ=yes
19109
 
      # see comment about different semantics on the GNU ld section
19110
 
      ld_shlibs_GCJ=no
19111
 
      ;;
19112
 
 
19113
 
    bsdi[45]*)
19114
 
      export_dynamic_flag_spec_GCJ=-rdynamic
19115
 
      ;;
19116
 
 
19117
 
    cygwin* | mingw* | pw32*)
19118
 
      # When not using gcc, we currently assume that we are using
19119
 
      # Microsoft Visual C++.
19120
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
19121
 
      # no search path for DLLs.
19122
 
      hardcode_libdir_flag_spec_GCJ=' '
19123
 
      allow_undefined_flag_GCJ=unsupported
19124
 
      # Tell ltmain to make .lib files, not .a files.
19125
 
      libext=lib
19126
 
      # Tell ltmain to make .dll files, not .so files.
19127
 
      shrext_cmds=".dll"
19128
 
      # FIXME: Setting linknames here is a bad hack.
19129
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19130
 
      # The linker will automatically build a .lib file if we build a DLL.
19131
 
      old_archive_From_new_cmds_GCJ='true'
19132
 
      # FIXME: Should let the user specify the lib program.
19133
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
19134
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
19135
 
      enable_shared_with_static_runtimes_GCJ=yes
19136
 
      ;;
19137
 
 
19138
 
    darwin* | rhapsody*)
19139
 
      case $host_os in
19140
 
        rhapsody* | darwin1.[012])
19141
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
19142
 
         ;;
19143
 
       *) # Darwin 1.3 on
19144
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19145
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19146
 
         else
19147
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
19148
 
             10.[012])
19149
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19150
 
               ;;
19151
 
             10.*)
19152
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
19153
 
               ;;
19154
 
           esac
19155
 
         fi
19156
 
         ;;
19157
 
      esac
19158
 
      archive_cmds_need_lc_GCJ=no
19159
 
      hardcode_direct_GCJ=no
19160
 
      hardcode_automatic_GCJ=yes
19161
 
      hardcode_shlibpath_var_GCJ=unsupported
19162
 
      whole_archive_flag_spec_GCJ=''
19163
 
      link_all_deplibs_GCJ=yes
19164
 
    if test "$GCC" = yes ; then
19165
 
        output_verbose_link_cmd='echo'
19166
 
        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}"
19167
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19168
 
        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}"
19169
 
        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}"
19170
 
    else
19171
 
      case $cc_basename in
19172
 
        xlc*)
19173
 
         output_verbose_link_cmd='echo'
19174
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
19175
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19176
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19177
 
         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}'
19178
 
          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}'
19179
 
          ;;
19180
 
       *)
19181
 
         ld_shlibs_GCJ=no
19182
 
          ;;
19183
 
      esac
19184
 
    fi
19185
 
      ;;
19186
 
 
19187
 
    dgux*)
19188
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19189
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19190
 
      hardcode_shlibpath_var_GCJ=no
19191
 
      ;;
19192
 
 
19193
 
    freebsd1*)
19194
 
      ld_shlibs_GCJ=no
19195
 
      ;;
19196
 
 
19197
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19198
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
19199
 
    # does not break anything, and helps significantly (at the cost of a little
19200
 
    # extra space).
19201
 
    freebsd2.2*)
19202
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19203
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19204
 
      hardcode_direct_GCJ=yes
19205
 
      hardcode_shlibpath_var_GCJ=no
19206
 
      ;;
19207
 
 
19208
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19209
 
    freebsd2*)
19210
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19211
 
      hardcode_direct_GCJ=yes
19212
 
      hardcode_minus_L_GCJ=yes
19213
 
      hardcode_shlibpath_var_GCJ=no
19214
 
      ;;
19215
 
 
19216
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19217
 
    freebsd* | dragonfly*)
19218
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19219
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19220
 
      hardcode_direct_GCJ=yes
19221
 
      hardcode_shlibpath_var_GCJ=no
19222
 
      ;;
19223
 
 
19224
 
    hpux9*)
19225
 
      if test "$GCC" = yes; then
19226
 
        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'
19227
 
      else
19228
 
        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'
19229
 
      fi
19230
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19231
 
      hardcode_libdir_separator_GCJ=:
19232
 
      hardcode_direct_GCJ=yes
19233
 
 
19234
 
      # hardcode_minus_L: Not really in the search PATH,
19235
 
      # but as the default location of the library.
19236
 
      hardcode_minus_L_GCJ=yes
19237
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
19238
 
      ;;
19239
 
 
19240
 
    hpux10*)
19241
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19242
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19243
 
      else
19244
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19245
 
      fi
19246
 
      if test "$with_gnu_ld" = no; then
19247
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19248
 
        hardcode_libdir_separator_GCJ=:
19249
 
 
19250
 
        hardcode_direct_GCJ=yes
19251
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
19252
 
 
19253
 
        # hardcode_minus_L: Not really in the search PATH,
19254
 
        # but as the default location of the library.
19255
 
        hardcode_minus_L_GCJ=yes
19256
 
      fi
19257
 
      ;;
19258
 
 
19259
 
    hpux11*)
19260
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19261
 
        case $host_cpu in
19262
 
        hppa*64*)
19263
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19264
 
          ;;
19265
 
        ia64*)
19266
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19267
 
          ;;
19268
 
        *)
19269
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19270
 
          ;;
19271
 
        esac
19272
 
      else
19273
 
        case $host_cpu in
19274
 
        hppa*64*)
19275
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19276
 
          ;;
19277
 
        ia64*)
19278
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19279
 
          ;;
19280
 
        *)
19281
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19282
 
          ;;
19283
 
        esac
19284
 
      fi
19285
 
      if test "$with_gnu_ld" = no; then
19286
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19287
 
        hardcode_libdir_separator_GCJ=:
19288
 
 
19289
 
        case $host_cpu in
19290
 
        hppa*64*|ia64*)
19291
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
19292
 
          hardcode_direct_GCJ=no
19293
 
          hardcode_shlibpath_var_GCJ=no
19294
 
          ;;
19295
 
        *)
19296
 
          hardcode_direct_GCJ=yes
19297
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
19298
 
 
19299
 
          # hardcode_minus_L: Not really in the search PATH,
19300
 
          # but as the default location of the library.
19301
 
          hardcode_minus_L_GCJ=yes
19302
 
          ;;
19303
 
        esac
19304
 
      fi
19305
 
      ;;
19306
 
 
19307
 
    irix5* | irix6* | nonstopux*)
19308
 
      if test "$GCC" = yes; then
19309
 
        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'
19310
 
      else
19311
 
        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'
19312
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
19313
 
      fi
19314
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19315
 
      hardcode_libdir_separator_GCJ=:
19316
 
      link_all_deplibs_GCJ=yes
19317
 
      ;;
19318
 
 
19319
 
    netbsd*)
19320
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19321
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19322
 
      else
19323
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
19324
 
      fi
19325
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19326
 
      hardcode_direct_GCJ=yes
19327
 
      hardcode_shlibpath_var_GCJ=no
19328
 
      ;;
19329
 
 
19330
 
    newsos6)
19331
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19332
 
      hardcode_direct_GCJ=yes
19333
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19334
 
      hardcode_libdir_separator_GCJ=:
19335
 
      hardcode_shlibpath_var_GCJ=no
19336
 
      ;;
19337
 
 
19338
 
    openbsd*)
19339
 
      if test -f /usr/libexec/ld.so; then
19340
 
        hardcode_direct_GCJ=yes
19341
 
        hardcode_shlibpath_var_GCJ=no
19342
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19343
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19344
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19345
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19346
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
19347
 
        else
19348
 
          case $host_os in
19349
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19350
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19351
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
19352
 
             ;;
19353
 
           *)
19354
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19355
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19356
 
             ;;
19357
 
          esac
19358
 
        fi
19359
 
      else
19360
 
        ld_shlibs_GCJ=no
19361
 
      fi
19362
 
      ;;
19363
 
 
19364
 
    os2*)
19365
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19366
 
      hardcode_minus_L_GCJ=yes
19367
 
      allow_undefined_flag_GCJ=unsupported
19368
 
      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'
19369
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19370
 
      ;;
19371
 
 
19372
 
    osf3*)
19373
 
      if test "$GCC" = yes; then
19374
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19375
 
        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'
19376
 
      else
19377
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
19378
 
        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'
19379
 
      fi
19380
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19381
 
      hardcode_libdir_separator_GCJ=:
19382
 
      ;;
19383
 
 
19384
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
19385
 
      if test "$GCC" = yes; then
19386
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19387
 
        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'
19388
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19389
 
      else
19390
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
19391
 
        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'
19392
 
        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~
19393
 
        $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'
19394
 
 
19395
 
        # Both c and cxx compiler support -rpath directly
19396
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
19397
 
      fi
19398
 
      hardcode_libdir_separator_GCJ=:
19399
 
      ;;
19400
 
 
19401
 
    solaris*)
19402
 
      no_undefined_flag_GCJ=' -z text'
19403
 
      if test "$GCC" = yes; then
19404
 
        wlarc='${wl}'
19405
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19406
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19407
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19408
 
      else
19409
 
        wlarc=''
19410
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19411
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19412
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19413
 
      fi
19414
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19415
 
      hardcode_shlibpath_var_GCJ=no
19416
 
      case $host_os in
19417
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19418
 
      *)
19419
 
        # The compiler driver will combine and reorder linker options,
19420
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
19421
 
        # but is careful enough not to reorder.
19422
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19423
 
        if test "$GCC" = yes; then
19424
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19425
 
        else
19426
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
19427
 
        fi
19428
 
        ;;
19429
 
      esac
19430
 
      link_all_deplibs_GCJ=yes
19431
 
      ;;
19432
 
 
19433
 
    sunos4*)
19434
 
      if test "x$host_vendor" = xsequent; then
19435
 
        # Use $CC to link under sequent, because it throws in some extra .o
19436
 
        # files that make .init and .fini sections work.
19437
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19438
 
      else
19439
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19440
 
      fi
19441
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19442
 
      hardcode_direct_GCJ=yes
19443
 
      hardcode_minus_L_GCJ=yes
19444
 
      hardcode_shlibpath_var_GCJ=no
19445
 
      ;;
19446
 
 
19447
 
    sysv4)
19448
 
      case $host_vendor in
19449
 
        sni)
19450
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19451
 
          hardcode_direct_GCJ=yes # is this really true???
19452
 
        ;;
19453
 
        siemens)
19454
 
          ## LD is ld it makes a PLAMLIB
19455
 
          ## CC just makes a GrossModule.
19456
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19457
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
19458
 
          hardcode_direct_GCJ=no
19459
 
        ;;
19460
 
        motorola)
19461
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19462
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
19463
 
        ;;
19464
 
      esac
19465
 
      runpath_var='LD_RUN_PATH'
19466
 
      hardcode_shlibpath_var_GCJ=no
19467
 
      ;;
19468
 
 
19469
 
    sysv4.3*)
19470
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19471
 
      hardcode_shlibpath_var_GCJ=no
19472
 
      export_dynamic_flag_spec_GCJ='-Bexport'
19473
 
      ;;
19474
 
 
19475
 
    sysv4*MP*)
19476
 
      if test -d /usr/nec; then
19477
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19478
 
        hardcode_shlibpath_var_GCJ=no
19479
 
        runpath_var=LD_RUN_PATH
19480
 
        hardcode_runpath_var=yes
19481
 
        ld_shlibs_GCJ=yes
19482
 
      fi
19483
 
      ;;
19484
 
 
19485
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19486
 
      no_undefined_flag_GCJ='${wl}-z,text'
19487
 
      archive_cmds_need_lc_GCJ=no
19488
 
      hardcode_shlibpath_var_GCJ=no
19489
 
      runpath_var='LD_RUN_PATH'
19490
 
 
19491
 
      if test "$GCC" = yes; then
19492
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19493
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19494
 
      else
19495
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19496
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19497
 
      fi
19498
 
      ;;
19499
 
 
19500
 
    sysv5* | sco3.2v5* | sco5v6*)
19501
 
      # Note: We can NOT use -z defs as we might desire, because we do not
19502
 
      # link with -lc, and that would cause any symbols used from libc to
19503
 
      # always be unresolved, which means just about no library would
19504
 
      # ever link correctly.  If we're not using GNU ld we use -z text
19505
 
      # though, which does catch some bad symbols but isn't as heavy-handed
19506
 
      # as -z defs.
19507
 
      no_undefined_flag_GCJ='${wl}-z,text'
19508
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
19509
 
      archive_cmds_need_lc_GCJ=no
19510
 
      hardcode_shlibpath_var_GCJ=no
19511
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19512
 
      hardcode_libdir_separator_GCJ=':'
19513
 
      link_all_deplibs_GCJ=yes
19514
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19515
 
      runpath_var='LD_RUN_PATH'
19516
 
 
19517
 
      if test "$GCC" = yes; then
19518
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19519
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19520
 
      else
19521
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19522
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19523
 
      fi
19524
 
      ;;
19525
 
 
19526
 
    uts4*)
19527
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19528
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19529
 
      hardcode_shlibpath_var_GCJ=no
19530
 
      ;;
19531
 
 
19532
 
    *)
19533
 
      ld_shlibs_GCJ=no
19534
 
      ;;
19535
 
    esac
19536
 
  fi
19537
 
 
19538
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19539
 
$as_echo "$ld_shlibs_GCJ" >&6; }
19540
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
19541
 
 
19542
 
#
19543
 
# Do we need to explicitly link libc?
19544
 
#
19545
 
case "x$archive_cmds_need_lc_GCJ" in
19546
 
x|xyes)
19547
 
  # Assume -lc should be added
19548
 
  archive_cmds_need_lc_GCJ=yes
19549
 
 
19550
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
19551
 
    case $archive_cmds_GCJ in
19552
 
    *'~'*)
19553
 
      # FIXME: we may have to deal with multi-command sequences.
19554
 
      ;;
19555
 
    '$CC '*)
19556
 
      # Test whether the compiler implicitly links with -lc since on some
19557
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
19558
 
      # to ld, don't add -lc before -lgcc.
19559
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19560
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
19561
 
      $rm conftest*
19562
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19563
 
 
19564
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19565
 
  (eval $ac_compile) 2>&5
19566
 
  ac_status=$?
19567
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568
 
  (exit $ac_status); } 2>conftest.err; then
19569
 
        soname=conftest
19570
 
        lib=conftest
19571
 
        libobjs=conftest.$ac_objext
19572
 
        deplibs=
19573
 
        wl=$lt_prog_compiler_wl_GCJ
19574
 
        pic_flag=$lt_prog_compiler_pic_GCJ
19575
 
        compiler_flags=-v
19576
 
        linker_flags=-v
19577
 
        verstring=
19578
 
        output_objdir=.
19579
 
        libname=conftest
19580
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19581
 
        allow_undefined_flag_GCJ=
19582
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19583
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19584
 
  ac_status=$?
19585
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586
 
  (exit $ac_status); }
19587
 
        then
19588
 
          archive_cmds_need_lc_GCJ=no
19589
 
        else
19590
 
          archive_cmds_need_lc_GCJ=yes
19591
 
        fi
19592
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19593
 
      else
19594
 
        cat conftest.err 1>&5
19595
 
      fi
19596
 
      $rm conftest*
19597
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19598
 
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
19599
 
      ;;
19600
 
    esac
19601
 
  fi
19602
 
  ;;
19603
 
esac
19604
 
 
19605
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19606
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
19607
 
library_names_spec=
19608
 
libname_spec='lib$name'
19609
 
soname_spec=
19610
 
shrext_cmds=".so"
19611
 
postinstall_cmds=
19612
 
postuninstall_cmds=
19613
 
finish_cmds=
19614
 
finish_eval=
19615
 
shlibpath_var=
19616
 
shlibpath_overrides_runpath=unknown
19617
 
version_type=none
19618
 
dynamic_linker="$host_os ld.so"
19619
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19620
 
 
19621
 
need_lib_prefix=unknown
19622
 
hardcode_into_libs=no
19623
 
 
19624
 
# when you set need_version to no, make sure it does not cause -set_version
19625
 
# flags to be left without arguments
19626
 
need_version=unknown
19627
 
 
19628
 
case $host_os in
19629
 
aix3*)
19630
 
  version_type=linux
19631
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19632
 
  shlibpath_var=LIBPATH
19633
 
 
19634
 
  # AIX 3 has no versioning support, so we append a major version to the name.
19635
 
  soname_spec='${libname}${release}${shared_ext}$major'
19636
 
  ;;
19637
 
 
19638
 
aix[4-9]*)
19639
 
  version_type=linux
19640
 
  need_lib_prefix=no
19641
 
  need_version=no
19642
 
  hardcode_into_libs=yes
19643
 
  if test "$host_cpu" = ia64; then
19644
 
    # AIX 5 supports IA64
19645
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19646
 
    shlibpath_var=LD_LIBRARY_PATH
19647
 
  else
19648
 
    # With GCC up to 2.95.x, collect2 would create an import file
19649
 
    # for dependence libraries.  The import file would start with
19650
 
    # the line `#! .'.  This would cause the generated library to
19651
 
    # depend on `.', always an invalid library.  This was fixed in
19652
 
    # development snapshots of GCC prior to 3.0.
19653
 
    case $host_os in
19654
 
      aix4 | aix4.[01] | aix4.[01].*)
19655
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19656
 
           echo ' yes '
19657
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19658
 
        :
19659
 
      else
19660
 
        can_build_shared=no
19661
 
      fi
19662
 
      ;;
19663
 
    esac
19664
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19665
 
    # soname into executable. Probably we can add versioning support to
19666
 
    # collect2, so additional links can be useful in future.
19667
 
    if test "$aix_use_runtimelinking" = yes; then
19668
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19669
 
      # instead of lib<name>.a to let people know that these are not
19670
 
      # typical AIX shared libraries.
19671
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19672
 
    else
19673
 
      # We preserve .a as extension for shared libraries through AIX4.2
19674
 
      # and later when we are not doing run time linking.
19675
 
      library_names_spec='${libname}${release}.a $libname.a'
19676
 
      soname_spec='${libname}${release}${shared_ext}$major'
19677
 
    fi
19678
 
    shlibpath_var=LIBPATH
19679
 
  fi
19680
 
  ;;
19681
 
 
19682
 
amigaos*)
19683
 
  library_names_spec='$libname.ixlibrary $libname.a'
19684
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
19685
 
  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'
19686
 
  ;;
19687
 
 
19688
 
beos*)
19689
 
  library_names_spec='${libname}${shared_ext}'
19690
 
  dynamic_linker="$host_os ld.so"
19691
 
  shlibpath_var=LIBRARY_PATH
19692
 
  ;;
19693
 
 
19694
 
bsdi[45]*)
19695
 
  version_type=linux
19696
 
  need_version=no
19697
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19698
 
  soname_spec='${libname}${release}${shared_ext}$major'
19699
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19700
 
  shlibpath_var=LD_LIBRARY_PATH
19701
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19702
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19703
 
  # the default ld.so.conf also contains /usr/contrib/lib and
19704
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19705
 
  # libtool to hard-code these into programs
19706
 
  ;;
19707
 
 
19708
 
cygwin* | mingw* | pw32*)
19709
 
  version_type=windows
19710
 
  shrext_cmds=".dll"
19711
 
  need_version=no
19712
 
  need_lib_prefix=no
19713
 
 
19714
 
  case $GCC,$host_os in
19715
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
19716
 
    library_names_spec='$libname.dll.a'
19717
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
19718
 
    postinstall_cmds='base_file=`basename \${file}`~
19719
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19720
 
      dldir=$destdir/`dirname \$dlpath`~
19721
 
      test -d \$dldir || mkdir -p \$dldir~
19722
 
      $install_prog $dir/$dlname \$dldir/$dlname~
19723
 
      chmod a+x \$dldir/$dlname'
19724
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19725
 
      dlpath=$dir/\$dldll~
19726
 
       $rm \$dlpath'
19727
 
    shlibpath_overrides_runpath=yes
19728
 
 
19729
 
    case $host_os in
19730
 
    cygwin*)
19731
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19732
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19733
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19734
 
      ;;
19735
 
    mingw*)
19736
 
      # MinGW DLLs use traditional 'lib' prefix
19737
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19738
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19739
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19740
 
        # It is most probably a Windows format PATH printed by
19741
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
19742
 
        # path with ; separators, and with drive letters. We can handle the
19743
 
        # drive letters (cygwin fileutils understands them), so leave them,
19744
 
        # especially as we might pass files found there to a mingw objdump,
19745
 
        # which wouldn't understand a cygwinified path. Ahh.
19746
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19747
 
      else
19748
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19749
 
      fi
19750
 
      ;;
19751
 
    pw32*)
19752
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
19753
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19754
 
      ;;
19755
 
    esac
19756
 
    ;;
19757
 
 
19758
 
  *)
19759
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19760
 
    ;;
19761
 
  esac
19762
 
  dynamic_linker='Win32 ld.exe'
19763
 
  # FIXME: first we should search . and the directory the executable is in
19764
 
  shlibpath_var=PATH
19765
 
  ;;
19766
 
 
19767
 
darwin* | rhapsody*)
19768
 
  dynamic_linker="$host_os dyld"
19769
 
  version_type=darwin
19770
 
  need_lib_prefix=no
19771
 
  need_version=no
19772
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19773
 
  soname_spec='${libname}${release}${major}$shared_ext'
19774
 
  shlibpath_overrides_runpath=yes
19775
 
  shlibpath_var=DYLD_LIBRARY_PATH
19776
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19777
 
 
19778
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19779
 
  ;;
19780
 
 
19781
 
dgux*)
19782
 
  version_type=linux
19783
 
  need_lib_prefix=no
19784
 
  need_version=no
19785
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19786
 
  soname_spec='${libname}${release}${shared_ext}$major'
19787
 
  shlibpath_var=LD_LIBRARY_PATH
19788
 
  ;;
19789
 
 
19790
 
freebsd1*)
19791
 
  dynamic_linker=no
19792
 
  ;;
19793
 
 
19794
 
freebsd* | dragonfly*)
19795
 
  # DragonFly does not have aout.  When/if they implement a new
19796
 
  # versioning mechanism, adjust this.
19797
 
  if test -x /usr/bin/objformat; then
19798
 
    objformat=`/usr/bin/objformat`
19799
 
  else
19800
 
    case $host_os in
19801
 
    freebsd[123]*) objformat=aout ;;
19802
 
    *) objformat=elf ;;
19803
 
    esac
19804
 
  fi
19805
 
  version_type=freebsd-$objformat
19806
 
  case $version_type in
19807
 
    freebsd-elf*)
19808
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19809
 
      need_version=no
19810
 
      need_lib_prefix=no
19811
 
      ;;
19812
 
    freebsd-*)
19813
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19814
 
      need_version=yes
19815
 
      ;;
19816
 
  esac
19817
 
  shlibpath_var=LD_LIBRARY_PATH
19818
 
  case $host_os in
19819
 
  freebsd2*)
19820
 
    shlibpath_overrides_runpath=yes
19821
 
    ;;
19822
 
  freebsd3.[01]* | freebsdelf3.[01]*)
19823
 
    shlibpath_overrides_runpath=yes
19824
 
    hardcode_into_libs=yes
19825
 
    ;;
19826
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19827
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19828
 
    shlibpath_overrides_runpath=no
19829
 
    hardcode_into_libs=yes
19830
 
    ;;
19831
 
  *) # from 4.6 on, and DragonFly
19832
 
    shlibpath_overrides_runpath=yes
19833
 
    hardcode_into_libs=yes
19834
 
    ;;
19835
 
  esac
19836
 
  ;;
19837
 
 
19838
 
gnu*)
19839
 
  version_type=linux
19840
 
  need_lib_prefix=no
19841
 
  need_version=no
19842
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19843
 
  soname_spec='${libname}${release}${shared_ext}$major'
19844
 
  shlibpath_var=LD_LIBRARY_PATH
19845
 
  hardcode_into_libs=yes
19846
 
  ;;
19847
 
 
19848
 
hpux9* | hpux10* | hpux11*)
19849
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
19850
 
  # link against other versions.
19851
 
  version_type=sunos
19852
 
  need_lib_prefix=no
19853
 
  need_version=no
19854
 
  case $host_cpu in
19855
 
  ia64*)
19856
 
    shrext_cmds='.so'
19857
 
    hardcode_into_libs=yes
19858
 
    dynamic_linker="$host_os dld.so"
19859
 
    shlibpath_var=LD_LIBRARY_PATH
19860
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19861
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19862
 
    soname_spec='${libname}${release}${shared_ext}$major'
19863
 
    if test "X$HPUX_IA64_MODE" = X32; then
19864
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19865
 
    else
19866
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19867
 
    fi
19868
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19869
 
    ;;
19870
 
   hppa*64*)
19871
 
     shrext_cmds='.sl'
19872
 
     hardcode_into_libs=yes
19873
 
     dynamic_linker="$host_os dld.sl"
19874
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19875
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19876
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19877
 
     soname_spec='${libname}${release}${shared_ext}$major'
19878
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19879
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19880
 
     ;;
19881
 
   *)
19882
 
    shrext_cmds='.sl'
19883
 
    dynamic_linker="$host_os dld.sl"
19884
 
    shlibpath_var=SHLIB_PATH
19885
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19886
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19887
 
    soname_spec='${libname}${release}${shared_ext}$major'
19888
 
    ;;
19889
 
  esac
19890
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
19891
 
  postinstall_cmds='chmod 555 $lib'
19892
 
  ;;
19893
 
 
19894
 
interix[3-9]*)
19895
 
  version_type=linux
19896
 
  need_lib_prefix=no
19897
 
  need_version=no
19898
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19899
 
  soname_spec='${libname}${release}${shared_ext}$major'
19900
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19901
 
  shlibpath_var=LD_LIBRARY_PATH
19902
 
  shlibpath_overrides_runpath=no
19903
 
  hardcode_into_libs=yes
19904
 
  ;;
19905
 
 
19906
 
irix5* | irix6* | nonstopux*)
19907
 
  case $host_os in
19908
 
    nonstopux*) version_type=nonstopux ;;
19909
 
    *)
19910
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
19911
 
                version_type=linux
19912
 
        else
19913
 
                version_type=irix
19914
 
        fi ;;
19915
 
  esac
19916
 
  need_lib_prefix=no
19917
 
  need_version=no
19918
 
  soname_spec='${libname}${release}${shared_ext}$major'
19919
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19920
 
  case $host_os in
19921
 
  irix5* | nonstopux*)
19922
 
    libsuff= shlibsuff=
19923
 
    ;;
19924
 
  *)
19925
 
    case $LD in # libtool.m4 will add one of these switches to LD
19926
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19927
 
      libsuff= shlibsuff= libmagic=32-bit;;
19928
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19929
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
19930
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19931
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
19932
 
    *) libsuff= shlibsuff= libmagic=never-match;;
19933
 
    esac
19934
 
    ;;
19935
 
  esac
19936
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19937
 
  shlibpath_overrides_runpath=no
19938
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19939
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19940
 
  hardcode_into_libs=yes
19941
 
  ;;
19942
 
 
19943
 
# No shared lib support for Linux oldld, aout, or coff.
19944
 
linux*oldld* | linux*aout* | linux*coff*)
19945
 
  dynamic_linker=no
19946
 
  ;;
19947
 
 
19948
 
# This must be Linux ELF.
19949
 
linux* | k*bsd*-gnu)
19950
 
  version_type=linux
19951
 
  need_lib_prefix=no
19952
 
  need_version=no
19953
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19954
 
  soname_spec='${libname}${release}${shared_ext}$major'
19955
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19956
 
  shlibpath_var=LD_LIBRARY_PATH
19957
 
  shlibpath_overrides_runpath=no
19958
 
  # This implies no fast_install, which is unacceptable.
19959
 
  # Some rework will be needed to allow for fast_install
19960
 
  # before this can be enabled.
19961
 
  hardcode_into_libs=yes
19962
 
 
19963
 
  # Append ld.so.conf contents to the search path
19964
 
  if test -f /etc/ld.so.conf; then
19965
 
    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' ' '`
19966
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19967
 
  fi
19968
 
 
19969
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19970
 
  # powerpc, because MkLinux only supported shared libraries with the
19971
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
19972
 
  # most powerpc-linux boxes support dynamic linking these days and
19973
 
  # people can always --disable-shared, the test was removed, and we
19974
 
  # assume the GNU/Linux dynamic linker is in use.
19975
 
  dynamic_linker='GNU/Linux ld.so'
19976
 
  ;;
19977
 
 
19978
 
netbsd*)
19979
 
  version_type=sunos
19980
 
  need_lib_prefix=no
19981
 
  need_version=no
19982
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19983
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19984
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19985
 
    dynamic_linker='NetBSD (a.out) ld.so'
19986
 
  else
19987
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19988
 
    soname_spec='${libname}${release}${shared_ext}$major'
19989
 
    dynamic_linker='NetBSD ld.elf_so'
19990
 
  fi
19991
 
  shlibpath_var=LD_LIBRARY_PATH
19992
 
  shlibpath_overrides_runpath=yes
19993
 
  hardcode_into_libs=yes
19994
 
  ;;
19995
 
 
19996
 
newsos6)
19997
 
  version_type=linux
19998
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19999
 
  shlibpath_var=LD_LIBRARY_PATH
20000
 
  shlibpath_overrides_runpath=yes
20001
 
  ;;
20002
 
 
20003
 
nto-qnx*)
20004
 
  version_type=linux
20005
 
  need_lib_prefix=no
20006
 
  need_version=no
20007
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20008
 
  soname_spec='${libname}${release}${shared_ext}$major'
20009
 
  shlibpath_var=LD_LIBRARY_PATH
20010
 
  shlibpath_overrides_runpath=yes
20011
 
  ;;
20012
 
 
20013
 
openbsd*)
20014
 
  version_type=sunos
20015
 
  sys_lib_dlsearch_path_spec="/usr/lib"
20016
 
  need_lib_prefix=no
20017
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20018
 
  case $host_os in
20019
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20020
 
    *)                         need_version=no  ;;
20021
 
  esac
20022
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20023
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20024
 
  shlibpath_var=LD_LIBRARY_PATH
20025
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20026
 
    case $host_os in
20027
 
      openbsd2.[89] | openbsd2.[89].*)
20028
 
        shlibpath_overrides_runpath=no
20029
 
        ;;
20030
 
      *)
20031
 
        shlibpath_overrides_runpath=yes
20032
 
        ;;
20033
 
      esac
20034
 
  else
20035
 
    shlibpath_overrides_runpath=yes
20036
 
  fi
20037
 
  ;;
20038
 
 
20039
 
os2*)
20040
 
  libname_spec='$name'
20041
 
  shrext_cmds=".dll"
20042
 
  need_lib_prefix=no
20043
 
  library_names_spec='$libname${shared_ext} $libname.a'
20044
 
  dynamic_linker='OS/2 ld.exe'
20045
 
  shlibpath_var=LIBPATH
20046
 
  ;;
20047
 
 
20048
 
osf3* | osf4* | osf5*)
20049
 
  version_type=osf
20050
 
  need_lib_prefix=no
20051
 
  need_version=no
20052
 
  soname_spec='${libname}${release}${shared_ext}$major'
20053
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20054
 
  shlibpath_var=LD_LIBRARY_PATH
20055
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20056
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20057
 
  ;;
20058
 
 
20059
 
rdos*)
20060
 
  dynamic_linker=no
20061
 
  ;;
20062
 
 
20063
 
solaris*)
20064
 
  version_type=linux
20065
 
  need_lib_prefix=no
20066
 
  need_version=no
20067
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20068
 
  soname_spec='${libname}${release}${shared_ext}$major'
20069
 
  shlibpath_var=LD_LIBRARY_PATH
20070
 
  shlibpath_overrides_runpath=yes
20071
 
  hardcode_into_libs=yes
20072
 
  # ldd complains unless libraries are executable
20073
 
  postinstall_cmds='chmod +x $lib'
20074
 
  ;;
20075
 
 
20076
 
sunos4*)
20077
 
  version_type=sunos
20078
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20079
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20080
 
  shlibpath_var=LD_LIBRARY_PATH
20081
 
  shlibpath_overrides_runpath=yes
20082
 
  if test "$with_gnu_ld" = yes; then
20083
 
    need_lib_prefix=no
20084
 
  fi
20085
 
  need_version=yes
20086
 
  ;;
20087
 
 
20088
 
sysv4 | sysv4.3*)
20089
 
  version_type=linux
20090
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20091
 
  soname_spec='${libname}${release}${shared_ext}$major'
20092
 
  shlibpath_var=LD_LIBRARY_PATH
20093
 
  case $host_vendor in
20094
 
    sni)
20095
 
      shlibpath_overrides_runpath=no
20096
 
      need_lib_prefix=no
20097
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
20098
 
      runpath_var=LD_RUN_PATH
20099
 
      ;;
20100
 
    siemens)
20101
 
      need_lib_prefix=no
20102
 
      ;;
20103
 
    motorola)
20104
 
      need_lib_prefix=no
20105
 
      need_version=no
20106
 
      shlibpath_overrides_runpath=no
20107
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20108
 
      ;;
20109
 
  esac
20110
 
  ;;
20111
 
 
20112
 
sysv4*MP*)
20113
 
  if test -d /usr/nec ;then
20114
 
    version_type=linux
20115
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20116
 
    soname_spec='$libname${shared_ext}.$major'
20117
 
    shlibpath_var=LD_LIBRARY_PATH
20118
 
  fi
20119
 
  ;;
20120
 
 
20121
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20122
 
  version_type=freebsd-elf
20123
 
  need_lib_prefix=no
20124
 
  need_version=no
20125
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20126
 
  soname_spec='${libname}${release}${shared_ext}$major'
20127
 
  shlibpath_var=LD_LIBRARY_PATH
20128
 
  hardcode_into_libs=yes
20129
 
  if test "$with_gnu_ld" = yes; then
20130
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20131
 
    shlibpath_overrides_runpath=no
20132
 
  else
20133
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20134
 
    shlibpath_overrides_runpath=yes
20135
 
    case $host_os in
20136
 
      sco3.2v5*)
20137
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20138
 
        ;;
20139
 
    esac
20140
 
  fi
20141
 
  sys_lib_dlsearch_path_spec='/usr/lib'
20142
 
  ;;
20143
 
 
20144
 
uts4*)
20145
 
  version_type=linux
20146
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20147
 
  soname_spec='${libname}${release}${shared_ext}$major'
20148
 
  shlibpath_var=LD_LIBRARY_PATH
20149
 
  ;;
20150
 
 
20151
 
*)
20152
 
  dynamic_linker=no
20153
 
  ;;
20154
 
esac
20155
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20156
 
$as_echo "$dynamic_linker" >&6; }
20157
 
test "$dynamic_linker" = no && can_build_shared=no
20158
 
 
20159
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20160
 
  $as_echo_n "(cached) " >&6
20161
 
else
20162
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
20163
 
fi
20164
 
 
20165
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20166
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20167
 
  $as_echo_n "(cached) " >&6
20168
 
else
20169
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
20170
 
fi
20171
 
 
20172
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20173
 
 
20174
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20175
 
if test "$GCC" = yes; then
20176
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20177
 
fi
20178
 
 
20179
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20180
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20181
 
hardcode_action_GCJ=
20182
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20183
 
   test -n "$runpath_var_GCJ" || \
20184
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
20185
 
 
20186
 
  # We can hardcode non-existant directories.
20187
 
  if test "$hardcode_direct_GCJ" != no &&
20188
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
20189
 
     # have to relink, otherwise we might link with an installed library
20190
 
     # when we should be linking with a yet-to-be-installed one
20191
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20192
 
     test "$hardcode_minus_L_GCJ" != no; then
20193
 
    # Linking always hardcodes the temporary library directory.
20194
 
    hardcode_action_GCJ=relink
20195
 
  else
20196
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
20197
 
    hardcode_action_GCJ=immediate
20198
 
  fi
20199
 
else
20200
 
  # We cannot hardcode anything, or else we can only hardcode existing
20201
 
  # directories.
20202
 
  hardcode_action_GCJ=unsupported
20203
 
fi
20204
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20205
 
$as_echo "$hardcode_action_GCJ" >&6; }
20206
 
 
20207
 
if test "$hardcode_action_GCJ" = relink; then
20208
 
  # Fast installation is not supported
20209
 
  enable_fast_install=no
20210
 
elif test "$shlibpath_overrides_runpath" = yes ||
20211
 
     test "$enable_shared" = no; then
20212
 
  # Fast installation is not necessary
20213
 
  enable_fast_install=needless
20214
 
fi
20215
 
 
20216
 
 
20217
 
# The else clause should only fire when bootstrapping the
20218
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
20219
 
# with your package, and you will get complaints that there are
20220
 
# no rules to generate ltmain.sh.
20221
 
if test -f "$ltmain"; then
20222
 
  # See if we are running on zsh, and set the options which allow our commands through
20223
 
  # without removal of \ escapes.
20224
 
  if test -n "${ZSH_VERSION+set}" ; then
20225
 
    setopt NO_GLOB_SUBST
20226
 
  fi
20227
 
  # Now quote all the things that may contain metacharacters while being
20228
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20229
 
  # variables and quote the copies for generation of the libtool script.
20230
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20231
 
    SED SHELL STRIP \
20232
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20233
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20234
 
    deplibs_check_method reload_flag reload_cmds need_locks \
20235
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20236
 
    lt_cv_sys_global_symbol_to_c_name_address \
20237
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20238
 
    old_postinstall_cmds old_postuninstall_cmds \
20239
 
    compiler_GCJ \
20240
 
    CC_GCJ \
20241
 
    LD_GCJ \
20242
 
    lt_prog_compiler_wl_GCJ \
20243
 
    lt_prog_compiler_pic_GCJ \
20244
 
    lt_prog_compiler_static_GCJ \
20245
 
    lt_prog_compiler_no_builtin_flag_GCJ \
20246
 
    export_dynamic_flag_spec_GCJ \
20247
 
    thread_safe_flag_spec_GCJ \
20248
 
    whole_archive_flag_spec_GCJ \
20249
 
    enable_shared_with_static_runtimes_GCJ \
20250
 
    old_archive_cmds_GCJ \
20251
 
    old_archive_from_new_cmds_GCJ \
20252
 
    predep_objects_GCJ \
20253
 
    postdep_objects_GCJ \
20254
 
    predeps_GCJ \
20255
 
    postdeps_GCJ \
20256
 
    compiler_lib_search_path_GCJ \
20257
 
    compiler_lib_search_dirs_GCJ \
20258
 
    archive_cmds_GCJ \
20259
 
    archive_expsym_cmds_GCJ \
20260
 
    postinstall_cmds_GCJ \
20261
 
    postuninstall_cmds_GCJ \
20262
 
    old_archive_from_expsyms_cmds_GCJ \
20263
 
    allow_undefined_flag_GCJ \
20264
 
    no_undefined_flag_GCJ \
20265
 
    export_symbols_cmds_GCJ \
20266
 
    hardcode_libdir_flag_spec_GCJ \
20267
 
    hardcode_libdir_flag_spec_ld_GCJ \
20268
 
    hardcode_libdir_separator_GCJ \
20269
 
    hardcode_automatic_GCJ \
20270
 
    module_cmds_GCJ \
20271
 
    module_expsym_cmds_GCJ \
20272
 
    lt_cv_prog_compiler_c_o_GCJ \
20273
 
    fix_srcfile_path_GCJ \
20274
 
    exclude_expsyms_GCJ \
20275
 
    include_expsyms_GCJ; do
20276
 
 
20277
 
    case $var in
20278
 
    old_archive_cmds_GCJ | \
20279
 
    old_archive_from_new_cmds_GCJ | \
20280
 
    archive_cmds_GCJ | \
20281
 
    archive_expsym_cmds_GCJ | \
20282
 
    module_cmds_GCJ | \
20283
 
    module_expsym_cmds_GCJ | \
20284
 
    old_archive_from_expsyms_cmds_GCJ | \
20285
 
    export_symbols_cmds_GCJ | \
20286
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20287
 
    postinstall_cmds | postuninstall_cmds | \
20288
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20289
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20290
 
      # Double-quote double-evaled strings.
20291
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20292
 
      ;;
20293
 
    *)
20294
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20295
 
      ;;
20296
 
    esac
20297
 
  done
20298
 
 
20299
 
  case $lt_echo in
20300
 
  *'\$0 --fallback-echo"')
20301
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20302
 
    ;;
20303
 
  esac
20304
 
 
20305
 
cfgfile="$ofile"
20306
 
 
20307
 
  cat <<__EOF__ >> "$cfgfile"
20308
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20309
 
 
20310
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20311
 
 
20312
 
# Shell to use when invoking shell scripts.
20313
 
SHELL=$lt_SHELL
20314
 
 
20315
 
# Whether or not to build shared libraries.
20316
 
build_libtool_libs=$enable_shared
20317
 
 
20318
 
# Whether or not to build static libraries.
20319
 
build_old_libs=$enable_static
20320
 
 
20321
 
# Whether or not to add -lc for building shared libraries.
20322
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20323
 
 
20324
 
# Whether or not to disallow shared libs when runtime libs are static
20325
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20326
 
 
20327
 
# Whether or not to optimize for fast installation.
20328
 
fast_install=$enable_fast_install
20329
 
 
20330
 
# The host system.
20331
 
host_alias=$host_alias
20332
 
host=$host
20333
 
host_os=$host_os
20334
 
 
20335
 
# The build system.
20336
 
build_alias=$build_alias
20337
 
build=$build
20338
 
build_os=$build_os
20339
 
 
20340
 
# An echo program that does not interpret backslashes.
20341
 
echo=$lt_echo
20342
 
 
20343
 
# The archiver.
20344
 
AR=$lt_AR
20345
 
AR_FLAGS=$lt_AR_FLAGS
20346
 
 
20347
 
# A C compiler.
20348
 
LTCC=$lt_LTCC
20349
 
 
20350
 
# LTCC compiler flags.
20351
 
LTCFLAGS=$lt_LTCFLAGS
20352
 
 
20353
 
# A language-specific compiler.
20354
 
CC=$lt_compiler_GCJ
20355
 
 
20356
 
# Is the compiler the GNU C compiler?
20357
 
with_gcc=$GCC_GCJ
20358
 
 
20359
 
# An ERE matcher.
20360
 
EGREP=$lt_EGREP
20361
 
 
20362
 
# The linker used to build libraries.
20363
 
LD=$lt_LD_GCJ
20364
 
 
20365
 
# Whether we need hard or soft links.
20366
 
LN_S=$lt_LN_S
20367
 
 
20368
 
# A BSD-compatible nm program.
20369
 
NM=$lt_NM
20370
 
 
20371
 
# A symbol stripping program
20372
 
STRIP=$lt_STRIP
20373
 
 
20374
 
# Used to examine libraries when file_magic_cmd begins "file"
20375
 
MAGIC_CMD=$MAGIC_CMD
20376
 
 
20377
 
# Used on cygwin: DLL creation program.
20378
 
DLLTOOL="$DLLTOOL"
20379
 
 
20380
 
# Used on cygwin: object dumper.
20381
 
OBJDUMP="$OBJDUMP"
20382
 
 
20383
 
# Used on cygwin: assembler.
20384
 
AS="$AS"
20385
 
 
20386
 
# The name of the directory that contains temporary libtool files.
20387
 
objdir=$objdir
20388
 
 
20389
 
# How to create reloadable object files.
20390
 
reload_flag=$lt_reload_flag
20391
 
reload_cmds=$lt_reload_cmds
20392
 
 
20393
 
# How to pass a linker flag through the compiler.
20394
 
wl=$lt_lt_prog_compiler_wl_GCJ
20395
 
 
20396
 
# Object file suffix (normally "o").
20397
 
objext="$ac_objext"
20398
 
 
20399
 
# Old archive suffix (normally "a").
20400
 
libext="$libext"
20401
 
 
20402
 
# Shared library suffix (normally ".so").
20403
 
shrext_cmds='$shrext_cmds'
20404
 
 
20405
 
# Executable file suffix (normally "").
20406
 
exeext="$exeext"
20407
 
 
20408
 
# Additional compiler flags for building library objects.
20409
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
20410
 
pic_mode=$pic_mode
20411
 
 
20412
 
# What is the maximum length of a command?
20413
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20414
 
 
20415
 
# Does compiler simultaneously support -c and -o options?
20416
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20417
 
 
20418
 
# Must we lock files when doing compilation?
20419
 
need_locks=$lt_need_locks
20420
 
 
20421
 
# Do we need the lib prefix for modules?
20422
 
need_lib_prefix=$need_lib_prefix
20423
 
 
20424
 
# Do we need a version for libraries?
20425
 
need_version=$need_version
20426
 
 
20427
 
# Whether dlopen is supported.
20428
 
dlopen_support=$enable_dlopen
20429
 
 
20430
 
# Whether dlopen of programs is supported.
20431
 
dlopen_self=$enable_dlopen_self
20432
 
 
20433
 
# Whether dlopen of statically linked programs is supported.
20434
 
dlopen_self_static=$enable_dlopen_self_static
20435
 
 
20436
 
# Compiler flag to prevent dynamic linking.
20437
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
20438
 
 
20439
 
# Compiler flag to turn off builtin functions.
20440
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20441
 
 
20442
 
# Compiler flag to allow reflexive dlopens.
20443
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20444
 
 
20445
 
# Compiler flag to generate shared objects directly from archives.
20446
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20447
 
 
20448
 
# Compiler flag to generate thread-safe objects.
20449
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20450
 
 
20451
 
# Library versioning type.
20452
 
version_type=$version_type
20453
 
 
20454
 
# Format of library name prefix.
20455
 
libname_spec=$lt_libname_spec
20456
 
 
20457
 
# List of archive names.  First name is the real one, the rest are links.
20458
 
# The last name is the one that the linker finds with -lNAME.
20459
 
library_names_spec=$lt_library_names_spec
20460
 
 
20461
 
# The coded name of the library, if different from the real name.
20462
 
soname_spec=$lt_soname_spec
20463
 
 
20464
 
# Commands used to build and install an old-style archive.
20465
 
RANLIB=$lt_RANLIB
20466
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
20467
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20468
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20469
 
 
20470
 
# Create an old-style archive from a shared archive.
20471
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20472
 
 
20473
 
# Create a temporary old-style archive to link instead of a shared archive.
20474
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20475
 
 
20476
 
# Commands used to build and install a shared archive.
20477
 
archive_cmds=$lt_archive_cmds_GCJ
20478
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20479
 
postinstall_cmds=$lt_postinstall_cmds
20480
 
postuninstall_cmds=$lt_postuninstall_cmds
20481
 
 
20482
 
# Commands used to build a loadable module (assumed same as above if empty)
20483
 
module_cmds=$lt_module_cmds_GCJ
20484
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20485
 
 
20486
 
# Commands to strip libraries.
20487
 
old_striplib=$lt_old_striplib
20488
 
striplib=$lt_striplib
20489
 
 
20490
 
# Dependencies to place before the objects being linked to create a
20491
 
# shared library.
20492
 
predep_objects=$lt_predep_objects_GCJ
20493
 
 
20494
 
# Dependencies to place after the objects being linked to create a
20495
 
# shared library.
20496
 
postdep_objects=$lt_postdep_objects_GCJ
20497
 
 
20498
 
# Dependencies to place before the objects being linked to create a
20499
 
# shared library.
20500
 
predeps=$lt_predeps_GCJ
20501
 
 
20502
 
# Dependencies to place after the objects being linked to create a
20503
 
# shared library.
20504
 
postdeps=$lt_postdeps_GCJ
20505
 
 
20506
 
# The directories searched by this compiler when creating a shared
20507
 
# library
20508
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
20509
 
 
20510
 
# The library search path used internally by the compiler when linking
20511
 
# a shared library.
20512
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20513
 
 
20514
 
# Method to check whether dependent libraries are shared objects.
20515
 
deplibs_check_method=$lt_deplibs_check_method
20516
 
 
20517
 
# Command to use when deplibs_check_method == file_magic.
20518
 
file_magic_cmd=$lt_file_magic_cmd
20519
 
 
20520
 
# Flag that allows shared libraries with undefined symbols to be built.
20521
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20522
 
 
20523
 
# Flag that forces no undefined symbols.
20524
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
20525
 
 
20526
 
# Commands used to finish a libtool library installation in a directory.
20527
 
finish_cmds=$lt_finish_cmds
20528
 
 
20529
 
# Same as above, but a single script fragment to be evaled but not shown.
20530
 
finish_eval=$lt_finish_eval
20531
 
 
20532
 
# Take the output of nm and produce a listing of raw symbols and C names.
20533
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20534
 
 
20535
 
# Transform the output of nm in a proper C declaration
20536
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20537
 
 
20538
 
# Transform the output of nm in a C name address pair
20539
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20540
 
 
20541
 
# This is the shared library runtime path variable.
20542
 
runpath_var=$runpath_var
20543
 
 
20544
 
# This is the shared library path variable.
20545
 
shlibpath_var=$shlibpath_var
20546
 
 
20547
 
# Is shlibpath searched before the hard-coded library search path?
20548
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20549
 
 
20550
 
# How to hardcode a shared library path into an executable.
20551
 
hardcode_action=$hardcode_action_GCJ
20552
 
 
20553
 
# Whether we should hardcode library paths into libraries.
20554
 
hardcode_into_libs=$hardcode_into_libs
20555
 
 
20556
 
# Flag to hardcode \$libdir into a binary during linking.
20557
 
# This must work even if \$libdir does not exist.
20558
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20559
 
 
20560
 
# If ld is used when linking, flag to hardcode \$libdir into
20561
 
# a binary during linking. This must work even if \$libdir does
20562
 
# not exist.
20563
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20564
 
 
20565
 
# Whether we need a single -rpath flag with a separated argument.
20566
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20567
 
 
20568
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20569
 
# resulting binary.
20570
 
hardcode_direct=$hardcode_direct_GCJ
20571
 
 
20572
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20573
 
# resulting binary.
20574
 
hardcode_minus_L=$hardcode_minus_L_GCJ
20575
 
 
20576
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20577
 
# the resulting binary.
20578
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20579
 
 
20580
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20581
 
# and all subsequent libraries and executables linked against it.
20582
 
hardcode_automatic=$hardcode_automatic_GCJ
20583
 
 
20584
 
# Variables whose values should be saved in libtool wrapper scripts and
20585
 
# restored at relink time.
20586
 
variables_saved_for_relink="$variables_saved_for_relink"
20587
 
 
20588
 
# Whether libtool must link a program against all its dependency libraries.
20589
 
link_all_deplibs=$link_all_deplibs_GCJ
20590
 
 
20591
 
# Compile-time system search path for libraries
20592
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20593
 
 
20594
 
# Run-time system search path for libraries
20595
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20596
 
 
20597
 
# Fix the shell variable \$srcfile for the compiler.
20598
 
fix_srcfile_path=$lt_fix_srcfile_path
20599
 
 
20600
 
# Set to yes if exported symbols are required.
20601
 
always_export_symbols=$always_export_symbols_GCJ
20602
 
 
20603
 
# The commands to list exported symbols.
20604
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20605
 
 
20606
 
# The commands to extract the exported symbol list from a shared archive.
20607
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20608
 
 
20609
 
# Symbols that should not be listed in the preloaded symbols.
20610
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
20611
 
 
20612
 
# Symbols that must always be exported.
20613
 
include_expsyms=$lt_include_expsyms_GCJ
20614
 
 
20615
 
# ### END LIBTOOL TAG CONFIG: $tagname
20616
 
 
20617
 
__EOF__
20618
 
 
20619
 
 
20620
 
else
20621
 
  # If there is no Makefile yet, we rely on a make rule to execute
20622
 
  # `config.status --recheck' to rerun these tests and create the
20623
 
  # libtool script then.
20624
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20625
 
  if test -f "$ltmain_in"; then
20626
 
    test -f Makefile && make "$ltmain"
20627
 
  fi
20628
 
fi
20629
 
 
20630
 
 
20631
 
ac_ext=c
20632
 
ac_cpp='$CPP $CPPFLAGS'
20633
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20634
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20635
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20636
 
 
20637
 
CC="$lt_save_CC"
20638
 
 
20639
 
        else
20640
 
          tagname=""
20641
 
        fi
20642
 
        ;;
20643
 
 
20644
 
      RC)
20645
 
 
20646
 
 
20647
 
# Source file extension for RC test sources.
20648
 
ac_ext=rc
20649
 
 
20650
 
# Object file extension for compiled RC test sources.
20651
 
objext=o
20652
 
objext_RC=$objext
20653
 
 
20654
 
# Code to be used in simple compile tests
20655
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20656
 
 
20657
 
# Code to be used in simple link tests
20658
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
20659
 
 
20660
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
20661
 
 
20662
 
# If no C compiler was specified, use CC.
20663
 
LTCC=${LTCC-"$CC"}
20664
 
 
20665
 
# If no C compiler flags were specified, use CFLAGS.
20666
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20667
 
 
20668
 
# Allow CC to be a program name with arguments.
20669
 
compiler=$CC
20670
 
 
20671
 
 
20672
 
# save warnings/boilerplate of simple test code
20673
 
ac_outfile=conftest.$ac_objext
20674
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20675
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20676
 
_lt_compiler_boilerplate=`cat conftest.err`
20677
 
$rm conftest*
20678
 
 
20679
 
ac_outfile=conftest.$ac_objext
20680
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20681
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20682
 
_lt_linker_boilerplate=`cat conftest.err`
20683
 
$rm -r conftest*
20684
 
 
20685
 
 
20686
 
# Allow CC to be a program name with arguments.
20687
 
lt_save_CC="$CC"
20688
 
CC=${RC-"windres"}
20689
 
compiler=$CC
20690
 
compiler_RC=$CC
20691
 
for cc_temp in $compiler""; do
20692
 
  case $cc_temp in
20693
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20694
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20695
 
    \-*) ;;
20696
 
    *) break;;
20697
 
  esac
20698
 
done
20699
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20700
 
 
20701
 
lt_cv_prog_compiler_c_o_RC=yes
20702
 
 
20703
 
# The else clause should only fire when bootstrapping the
20704
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
20705
 
# with your package, and you will get complaints that there are
20706
 
# no rules to generate ltmain.sh.
20707
 
if test -f "$ltmain"; then
20708
 
  # See if we are running on zsh, and set the options which allow our commands through
20709
 
  # without removal of \ escapes.
20710
 
  if test -n "${ZSH_VERSION+set}" ; then
20711
 
    setopt NO_GLOB_SUBST
20712
 
  fi
20713
 
  # Now quote all the things that may contain metacharacters while being
20714
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20715
 
  # variables and quote the copies for generation of the libtool script.
20716
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20717
 
    SED SHELL STRIP \
20718
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20719
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20720
 
    deplibs_check_method reload_flag reload_cmds need_locks \
20721
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20722
 
    lt_cv_sys_global_symbol_to_c_name_address \
20723
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20724
 
    old_postinstall_cmds old_postuninstall_cmds \
20725
 
    compiler_RC \
20726
 
    CC_RC \
20727
 
    LD_RC \
20728
 
    lt_prog_compiler_wl_RC \
20729
 
    lt_prog_compiler_pic_RC \
20730
 
    lt_prog_compiler_static_RC \
20731
 
    lt_prog_compiler_no_builtin_flag_RC \
20732
 
    export_dynamic_flag_spec_RC \
20733
 
    thread_safe_flag_spec_RC \
20734
 
    whole_archive_flag_spec_RC \
20735
 
    enable_shared_with_static_runtimes_RC \
20736
 
    old_archive_cmds_RC \
20737
 
    old_archive_from_new_cmds_RC \
20738
 
    predep_objects_RC \
20739
 
    postdep_objects_RC \
20740
 
    predeps_RC \
20741
 
    postdeps_RC \
20742
 
    compiler_lib_search_path_RC \
20743
 
    compiler_lib_search_dirs_RC \
20744
 
    archive_cmds_RC \
20745
 
    archive_expsym_cmds_RC \
20746
 
    postinstall_cmds_RC \
20747
 
    postuninstall_cmds_RC \
20748
 
    old_archive_from_expsyms_cmds_RC \
20749
 
    allow_undefined_flag_RC \
20750
 
    no_undefined_flag_RC \
20751
 
    export_symbols_cmds_RC \
20752
 
    hardcode_libdir_flag_spec_RC \
20753
 
    hardcode_libdir_flag_spec_ld_RC \
20754
 
    hardcode_libdir_separator_RC \
20755
 
    hardcode_automatic_RC \
20756
 
    module_cmds_RC \
20757
 
    module_expsym_cmds_RC \
20758
 
    lt_cv_prog_compiler_c_o_RC \
20759
 
    fix_srcfile_path_RC \
20760
 
    exclude_expsyms_RC \
20761
 
    include_expsyms_RC; do
20762
 
 
20763
 
    case $var in
20764
 
    old_archive_cmds_RC | \
20765
 
    old_archive_from_new_cmds_RC | \
20766
 
    archive_cmds_RC | \
20767
 
    archive_expsym_cmds_RC | \
20768
 
    module_cmds_RC | \
20769
 
    module_expsym_cmds_RC | \
20770
 
    old_archive_from_expsyms_cmds_RC | \
20771
 
    export_symbols_cmds_RC | \
20772
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20773
 
    postinstall_cmds | postuninstall_cmds | \
20774
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20775
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20776
 
      # Double-quote double-evaled strings.
20777
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20778
 
      ;;
20779
 
    *)
20780
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20781
 
      ;;
20782
 
    esac
20783
 
  done
20784
 
 
20785
 
  case $lt_echo in
20786
 
  *'\$0 --fallback-echo"')
20787
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20788
 
    ;;
20789
 
  esac
20790
 
 
20791
 
cfgfile="$ofile"
20792
 
 
20793
 
  cat <<__EOF__ >> "$cfgfile"
20794
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20795
 
 
20796
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20797
 
 
20798
 
# Shell to use when invoking shell scripts.
20799
 
SHELL=$lt_SHELL
20800
 
 
20801
 
# Whether or not to build shared libraries.
20802
 
build_libtool_libs=$enable_shared
20803
 
 
20804
 
# Whether or not to build static libraries.
20805
 
build_old_libs=$enable_static
20806
 
 
20807
 
# Whether or not to add -lc for building shared libraries.
20808
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
20809
 
 
20810
 
# Whether or not to disallow shared libs when runtime libs are static
20811
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20812
 
 
20813
 
# Whether or not to optimize for fast installation.
20814
 
fast_install=$enable_fast_install
20815
 
 
20816
 
# The host system.
20817
 
host_alias=$host_alias
20818
 
host=$host
20819
 
host_os=$host_os
20820
 
 
20821
 
# The build system.
20822
 
build_alias=$build_alias
20823
 
build=$build
20824
 
build_os=$build_os
20825
 
 
20826
 
# An echo program that does not interpret backslashes.
20827
 
echo=$lt_echo
20828
 
 
20829
 
# The archiver.
20830
 
AR=$lt_AR
20831
 
AR_FLAGS=$lt_AR_FLAGS
20832
 
 
20833
 
# A C compiler.
20834
 
LTCC=$lt_LTCC
20835
 
 
20836
 
# LTCC compiler flags.
20837
 
LTCFLAGS=$lt_LTCFLAGS
20838
 
 
20839
 
# A language-specific compiler.
20840
 
CC=$lt_compiler_RC
20841
 
 
20842
 
# Is the compiler the GNU C compiler?
20843
 
with_gcc=$GCC_RC
20844
 
 
20845
 
# An ERE matcher.
20846
 
EGREP=$lt_EGREP
20847
 
 
20848
 
# The linker used to build libraries.
20849
 
LD=$lt_LD_RC
20850
 
 
20851
 
# Whether we need hard or soft links.
20852
 
LN_S=$lt_LN_S
20853
 
 
20854
 
# A BSD-compatible nm program.
20855
 
NM=$lt_NM
20856
 
 
20857
 
# A symbol stripping program
20858
 
STRIP=$lt_STRIP
20859
 
 
20860
 
# Used to examine libraries when file_magic_cmd begins "file"
20861
 
MAGIC_CMD=$MAGIC_CMD
20862
 
 
20863
 
# Used on cygwin: DLL creation program.
20864
 
DLLTOOL="$DLLTOOL"
20865
 
 
20866
 
# Used on cygwin: object dumper.
20867
 
OBJDUMP="$OBJDUMP"
20868
 
 
20869
 
# Used on cygwin: assembler.
20870
 
AS="$AS"
20871
 
 
20872
 
# The name of the directory that contains temporary libtool files.
20873
 
objdir=$objdir
20874
 
 
20875
 
# How to create reloadable object files.
20876
 
reload_flag=$lt_reload_flag
20877
 
reload_cmds=$lt_reload_cmds
20878
 
 
20879
 
# How to pass a linker flag through the compiler.
20880
 
wl=$lt_lt_prog_compiler_wl_RC
20881
 
 
20882
 
# Object file suffix (normally "o").
20883
 
objext="$ac_objext"
20884
 
 
20885
 
# Old archive suffix (normally "a").
20886
 
libext="$libext"
20887
 
 
20888
 
# Shared library suffix (normally ".so").
20889
 
shrext_cmds='$shrext_cmds'
20890
 
 
20891
 
# Executable file suffix (normally "").
20892
 
exeext="$exeext"
20893
 
 
20894
 
# Additional compiler flags for building library objects.
20895
 
pic_flag=$lt_lt_prog_compiler_pic_RC
20896
 
pic_mode=$pic_mode
20897
 
 
20898
 
# What is the maximum length of a command?
20899
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20900
 
 
20901
 
# Does compiler simultaneously support -c and -o options?
20902
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20903
 
 
20904
 
# Must we lock files when doing compilation?
20905
 
need_locks=$lt_need_locks
20906
 
 
20907
 
# Do we need the lib prefix for modules?
20908
 
need_lib_prefix=$need_lib_prefix
20909
 
 
20910
 
# Do we need a version for libraries?
20911
 
need_version=$need_version
20912
 
 
20913
 
# Whether dlopen is supported.
20914
 
dlopen_support=$enable_dlopen
20915
 
 
20916
 
# Whether dlopen of programs is supported.
20917
 
dlopen_self=$enable_dlopen_self
20918
 
 
20919
 
# Whether dlopen of statically linked programs is supported.
20920
 
dlopen_self_static=$enable_dlopen_self_static
20921
 
 
20922
 
# Compiler flag to prevent dynamic linking.
20923
 
link_static_flag=$lt_lt_prog_compiler_static_RC
20924
 
 
20925
 
# Compiler flag to turn off builtin functions.
20926
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20927
 
 
20928
 
# Compiler flag to allow reflexive dlopens.
20929
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20930
 
 
20931
 
# Compiler flag to generate shared objects directly from archives.
20932
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20933
 
 
20934
 
# Compiler flag to generate thread-safe objects.
20935
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20936
 
 
20937
 
# Library versioning type.
20938
 
version_type=$version_type
20939
 
 
20940
 
# Format of library name prefix.
20941
 
libname_spec=$lt_libname_spec
20942
 
 
20943
 
# List of archive names.  First name is the real one, the rest are links.
20944
 
# The last name is the one that the linker finds with -lNAME.
20945
 
library_names_spec=$lt_library_names_spec
20946
 
 
20947
 
# The coded name of the library, if different from the real name.
20948
 
soname_spec=$lt_soname_spec
20949
 
 
20950
 
# Commands used to build and install an old-style archive.
20951
 
RANLIB=$lt_RANLIB
20952
 
old_archive_cmds=$lt_old_archive_cmds_RC
20953
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20954
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20955
 
 
20956
 
# Create an old-style archive from a shared archive.
20957
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20958
 
 
20959
 
# Create a temporary old-style archive to link instead of a shared archive.
20960
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20961
 
 
20962
 
# Commands used to build and install a shared archive.
20963
 
archive_cmds=$lt_archive_cmds_RC
20964
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20965
 
postinstall_cmds=$lt_postinstall_cmds
20966
 
postuninstall_cmds=$lt_postuninstall_cmds
20967
 
 
20968
 
# Commands used to build a loadable module (assumed same as above if empty)
20969
 
module_cmds=$lt_module_cmds_RC
20970
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
20971
 
 
20972
 
# Commands to strip libraries.
20973
 
old_striplib=$lt_old_striplib
20974
 
striplib=$lt_striplib
20975
 
 
20976
 
# Dependencies to place before the objects being linked to create a
20977
 
# shared library.
20978
 
predep_objects=$lt_predep_objects_RC
20979
 
 
20980
 
# Dependencies to place after the objects being linked to create a
20981
 
# shared library.
20982
 
postdep_objects=$lt_postdep_objects_RC
20983
 
 
20984
 
# Dependencies to place before the objects being linked to create a
20985
 
# shared library.
20986
 
predeps=$lt_predeps_RC
20987
 
 
20988
 
# Dependencies to place after the objects being linked to create a
20989
 
# shared library.
20990
 
postdeps=$lt_postdeps_RC
20991
 
 
20992
 
# The directories searched by this compiler when creating a shared
20993
 
# library
20994
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
20995
 
 
20996
 
# The library search path used internally by the compiler when linking
20997
 
# a shared library.
20998
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20999
 
 
21000
 
# Method to check whether dependent libraries are shared objects.
21001
 
deplibs_check_method=$lt_deplibs_check_method
21002
 
 
21003
 
# Command to use when deplibs_check_method == file_magic.
21004
 
file_magic_cmd=$lt_file_magic_cmd
21005
 
 
21006
 
# Flag that allows shared libraries with undefined symbols to be built.
21007
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
21008
 
 
21009
 
# Flag that forces no undefined symbols.
21010
 
no_undefined_flag=$lt_no_undefined_flag_RC
21011
 
 
21012
 
# Commands used to finish a libtool library installation in a directory.
21013
 
finish_cmds=$lt_finish_cmds
21014
 
 
21015
 
# Same as above, but a single script fragment to be evaled but not shown.
21016
 
finish_eval=$lt_finish_eval
21017
 
 
21018
 
# Take the output of nm and produce a listing of raw symbols and C names.
21019
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21020
 
 
21021
 
# Transform the output of nm in a proper C declaration
21022
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21023
 
 
21024
 
# Transform the output of nm in a C name address pair
21025
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21026
 
 
21027
 
# This is the shared library runtime path variable.
21028
 
runpath_var=$runpath_var
21029
 
 
21030
 
# This is the shared library path variable.
21031
 
shlibpath_var=$shlibpath_var
21032
 
 
21033
 
# Is shlibpath searched before the hard-coded library search path?
21034
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21035
 
 
21036
 
# How to hardcode a shared library path into an executable.
21037
 
hardcode_action=$hardcode_action_RC
21038
 
 
21039
 
# Whether we should hardcode library paths into libraries.
21040
 
hardcode_into_libs=$hardcode_into_libs
21041
 
 
21042
 
# Flag to hardcode \$libdir into a binary during linking.
21043
 
# This must work even if \$libdir does not exist.
21044
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21045
 
 
21046
 
# If ld is used when linking, flag to hardcode \$libdir into
21047
 
# a binary during linking. This must work even if \$libdir does
21048
 
# not exist.
21049
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21050
 
 
21051
 
# Whether we need a single -rpath flag with a separated argument.
21052
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21053
 
 
21054
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21055
 
# resulting binary.
21056
 
hardcode_direct=$hardcode_direct_RC
21057
 
 
21058
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21059
 
# resulting binary.
21060
 
hardcode_minus_L=$hardcode_minus_L_RC
21061
 
 
21062
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21063
 
# the resulting binary.
21064
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21065
 
 
21066
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
21067
 
# and all subsequent libraries and executables linked against it.
21068
 
hardcode_automatic=$hardcode_automatic_RC
21069
 
 
21070
 
# Variables whose values should be saved in libtool wrapper scripts and
21071
 
# restored at relink time.
21072
 
variables_saved_for_relink="$variables_saved_for_relink"
21073
 
 
21074
 
# Whether libtool must link a program against all its dependency libraries.
21075
 
link_all_deplibs=$link_all_deplibs_RC
21076
 
 
21077
 
# Compile-time system search path for libraries
21078
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21079
 
 
21080
 
# Run-time system search path for libraries
21081
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21082
 
 
21083
 
# Fix the shell variable \$srcfile for the compiler.
21084
 
fix_srcfile_path=$lt_fix_srcfile_path
21085
 
 
21086
 
# Set to yes if exported symbols are required.
21087
 
always_export_symbols=$always_export_symbols_RC
21088
 
 
21089
 
# The commands to list exported symbols.
21090
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
21091
 
 
21092
 
# The commands to extract the exported symbol list from a shared archive.
21093
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21094
 
 
21095
 
# Symbols that should not be listed in the preloaded symbols.
21096
 
exclude_expsyms=$lt_exclude_expsyms_RC
21097
 
 
21098
 
# Symbols that must always be exported.
21099
 
include_expsyms=$lt_include_expsyms_RC
21100
 
 
21101
 
# ### END LIBTOOL TAG CONFIG: $tagname
21102
 
 
21103
 
__EOF__
21104
 
 
21105
 
 
21106
 
else
21107
 
  # If there is no Makefile yet, we rely on a make rule to execute
21108
 
  # `config.status --recheck' to rerun these tests and create the
21109
 
  # libtool script then.
21110
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21111
 
  if test -f "$ltmain_in"; then
21112
 
    test -f Makefile && make "$ltmain"
21113
 
  fi
21114
 
fi
21115
 
 
21116
 
 
21117
 
ac_ext=c
21118
 
ac_cpp='$CPP $CPPFLAGS'
21119
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21120
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21121
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21122
 
 
21123
 
CC="$lt_save_CC"
21124
 
 
21125
 
        ;;
21126
 
 
21127
 
      *)
21128
 
        { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21129
 
$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21130
 
   { (exit 1); exit 1; }; }
21131
 
        ;;
21132
 
      esac
21133
 
 
21134
 
      # Append the new tag name to the list of available tags.
21135
 
      if test -n "$tagname" ; then
21136
 
      available_tags="$available_tags $tagname"
21137
 
    fi
21138
 
    fi
21139
 
  done
21140
 
  IFS="$lt_save_ifs"
21141
 
 
21142
 
  # Now substitute the updated list of available tags.
21143
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21144
 
    mv "${ofile}T" "$ofile"
21145
 
    chmod +x "$ofile"
21146
 
  else
21147
 
    rm -f "${ofile}T"
21148
 
    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21149
 
$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21150
 
   { (exit 1); exit 1; }; }
21151
 
  fi
21152
 
fi
21153
 
 
21154
 
 
21155
 
 
21156
 
# This can be used to rebuild libtool when needed
21157
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
21158
 
 
21159
 
# Always use our own libtool.
21160
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
21161
 
 
21162
 
# Prevent multiple expansion
21163
 
 
21164
 
 
21165
 
 
21166
 
 
21167
 
 
21168
 
 
21169
 
 
21170
 
 
21171
 
 
21172
 
 
21173
 
 
21174
 
 
21175
 
 
21176
 
 
21177
 
 
21178
 
 
21179
 
 
21180
 
 
 
12149
 
 
12150
 
 
12151
 
 
12152
 
 
12153
 
 
12154
 
 
12155
 
 
12156
 
 
12157
 
 
12158
 
 
12159
 
 
12160
 
 
12161
 
 
12162
 
 
12163
 
 
12164
striplib=
 
12165
old_striplib=
 
12166
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12167
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
12168
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
12169
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
12170
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
12171
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12172
$as_echo "yes" >&6; }
 
12173
else
 
12174
# FIXME - insert some real tests, host_os isn't really good enough
 
12175
  case $host_os in
 
12176
  darwin*)
 
12177
    if test -n "$STRIP" ; then
 
12178
      striplib="$STRIP -x"
 
12179
      old_striplib="$STRIP -S"
 
12180
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12181
$as_echo "yes" >&6; }
 
12182
    else
 
12183
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
12184
$as_echo "no" >&6; }
 
12185
    fi
 
12186
    ;;
 
12187
  *)
 
12188
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
12189
$as_echo "no" >&6; }
 
12190
    ;;
 
12191
  esac
 
12192
fi
 
12193
 
 
12194
 
 
12195
 
 
12196
 
 
12197
 
 
12198
 
 
12199
 
 
12200
 
 
12201
 
 
12202
 
 
12203
 
 
12204
 
 
12205
  # Report which library types will actually be built
 
12206
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12207
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
12208
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12209
$as_echo "$can_build_shared" >&6; }
 
12210
 
 
12211
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12212
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
12213
  test "$can_build_shared" = "no" && enable_shared=no
 
12214
 
 
12215
  # On AIX, shared libraries and static libraries use the same namespace, and
 
12216
  # are all built from PIC.
 
12217
  case $host_os in
 
12218
  aix3*)
 
12219
    test "$enable_shared" = yes && enable_static=no
 
12220
    if test -n "$RANLIB"; then
 
12221
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
12222
      postinstall_cmds='$RANLIB $lib'
 
12223
    fi
 
12224
    ;;
 
12225
 
 
12226
  aix[4-9]*)
 
12227
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12228
      test "$enable_shared" = yes && enable_static=no
 
12229
    fi
 
12230
    ;;
 
12231
  esac
 
12232
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12233
$as_echo "$enable_shared" >&6; }
 
12234
 
 
12235
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12236
$as_echo_n "checking whether to build static libraries... " >&6; }
 
12237
  # Make sure either enable_shared or enable_static is yes.
 
12238
  test "$enable_shared" = yes || enable_static=yes
 
12239
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
12240
$as_echo "$enable_static" >&6; }
 
12241
 
 
12242
 
 
12243
 
 
12244
 
 
12245
fi
 
12246
ac_ext=c
 
12247
ac_cpp='$CPP $CPPFLAGS'
 
12248
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12249
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12250
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12251
 
 
12252
CC="$lt_save_CC"
 
12253
 
 
12254
 
 
12255
 
 
12256
 
 
12257
 
 
12258
 
 
12259
 
 
12260
 
 
12261
 
 
12262
 
 
12263
 
 
12264
 
 
12265
 
 
12266
        ac_config_commands="$ac_config_commands libtool"
 
12267
 
 
12268
 
 
12269
 
 
12270
 
 
12271
# Only expand once:
21181
12272
 
21182
12273
 
21183
12274
 
21191
12282
 
21192
12283
 
21193
12284
 
 
12285
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
12286
$as_echo_n "checking whether NLS is requested... " >&6; }
 
12287
    # Check whether --enable-nls was given.
 
12288
if test "${enable_nls+set}" = set; then
 
12289
  enableval=$enable_nls; USE_NLS=$enableval
 
12290
else
 
12291
  USE_NLS=yes
 
12292
fi
 
12293
 
 
12294
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
12295
$as_echo "$USE_NLS" >&6; }
 
12296
 
 
12297
 
 
12298
 
 
12299
 
21194
12300
case "$am__api_version" in
21195
12301
    1.01234)
21196
12302
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
21504
12610
fi
21505
12611
 
21506
12612
 
 
12613
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
12614
set dummy gmsgfmt; ac_word=$2
 
12615
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12616
$as_echo_n "checking for $ac_word... " >&6; }
 
12617
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
12618
  $as_echo_n "(cached) " >&6
 
12619
else
 
12620
  case $GMSGFMT in
 
12621
  [\\/]* | ?:[\\/]*)
 
12622
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
12623
  ;;
 
12624
  *)
 
12625
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12626
for as_dir in $PATH
 
12627
do
 
12628
  IFS=$as_save_IFS
 
12629
  test -z "$as_dir" && as_dir=.
 
12630
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12631
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12632
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
12633
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12634
    break 2
 
12635
  fi
 
12636
done
 
12637
done
 
12638
IFS=$as_save_IFS
 
12639
 
 
12640
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
12641
  ;;
 
12642
esac
 
12643
fi
 
12644
GMSGFMT=$ac_cv_path_GMSGFMT
 
12645
if test -n "$GMSGFMT"; then
 
12646
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
12647
$as_echo "$GMSGFMT" >&6; }
 
12648
else
 
12649
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12650
$as_echo "no" >&6; }
 
12651
fi
 
12652
 
 
12653
 
21507
12654
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
21508
12655
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
21509
12656
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
21716
12863
fi
21717
12864
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
21718
12865
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
21719
 
if test $ac_cv_func_bind_textdomain_codeset = yes; then
 
12866
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
21720
12867
  DATADIRNAME=share
21721
12868
else
21722
12869
  DATADIRNAME=lib
21879
13026
$as_echo "$ac_res" >&6; }
21880
13027
 
21881
13028
fi
21882
 
if test `eval 'as_val=${'$as_ac_Header'}
21883
 
                 $as_echo "$as_val"'` = yes; then
 
13029
as_val=`eval 'as_val=${'$as_ac_Header'}
 
13030
                 $as_echo "$as_val"'`
 
13031
   if test "x$as_val" = x""yes; then
21884
13032
  cat >>confdefs.h <<_ACEOF
21885
13033
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21886
13034
_ACEOF
22094
13242
$as_echo "$ac_cv_header_libintl_h" >&6; }
22095
13243
 
22096
13244
fi
22097
 
if test $ac_cv_header_libintl_h = yes; then
 
13245
if test "x$ac_cv_header_libintl_h" = x""yes; then
22098
13246
  gt_cv_func_dgettext_libintl="no"
22099
13247
      libintl_extra_libs=""
22100
13248
 
22313
13461
                 $as_echo "$as_val"'`
22314
13462
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22315
13463
$as_echo "$ac_res" >&6; }
22316
 
if test `eval 'as_val=${'$as_ac_var'}
22317
 
                 $as_echo "$as_val"'` = yes; then
 
13464
as_val=`eval 'as_val=${'$as_ac_var'}
 
13465
                 $as_echo "$as_val"'`
 
13466
   if test "x$as_val" = x""yes; then
22318
13467
  cat >>confdefs.h <<_ACEOF
22319
13468
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22320
13469
_ACEOF
22396
13545
fi
22397
13546
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
22398
13547
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
22399
 
if test $ac_cv_lib_intl_bindtextdomain = yes; then
 
13548
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
22400
13549
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
22401
13550
$as_echo_n "checking for ngettext in -lintl... " >&6; }
22402
13551
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
22462
13611
fi
22463
13612
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
22464
13613
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
22465
 
if test $ac_cv_lib_intl_ngettext = yes; then
 
13614
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
22466
13615
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
22467
13616
$as_echo_n "checking for dgettext in -lintl... " >&6; }
22468
13617
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
22528
13677
fi
22529
13678
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
22530
13679
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
22531
 
if test $ac_cv_lib_intl_dgettext = yes; then
 
13680
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
22532
13681
  gt_cv_func_dgettext_libintl=yes
22533
13682
fi
22534
13683
 
22607
13756
fi
22608
13757
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
22609
13758
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
22610
 
if test $ac_cv_lib_intl_ngettext = yes; then
 
13759
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
22611
13760
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
22612
13761
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
22613
13762
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
22673
13822
fi
22674
13823
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
22675
13824
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
22676
 
if test $ac_cv_lib_intl_dcgettext = yes; then
 
13825
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
22677
13826
  gt_cv_func_dgettext_libintl=yes
22678
13827
                        libintl_extra_libs=-liconv
22679
13828
else
22786
13935
                 $as_echo "$as_val"'`
22787
13936
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22788
13937
$as_echo "$ac_res" >&6; }
22789
 
if test `eval 'as_val=${'$as_ac_var'}
22790
 
                 $as_echo "$as_val"'` = yes; then
 
13938
as_val=`eval 'as_val=${'$as_ac_var'}
 
13939
                 $as_echo "$as_val"'`
 
13940
   if test "x$as_val" = x""yes; then
22791
13941
  cat >>confdefs.h <<_ACEOF
22792
13942
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22793
13943
_ACEOF
22952
14102
                 $as_echo "$as_val"'`
22953
14103
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22954
14104
$as_echo "$ac_res" >&6; }
22955
 
if test `eval 'as_val=${'$as_ac_var'}
22956
 
                 $as_echo "$as_val"'` = yes; then
 
14105
as_val=`eval 'as_val=${'$as_ac_var'}
 
14106
                 $as_echo "$as_val"'`
 
14107
   if test "x$as_val" = x""yes; then
22957
14108
  cat >>confdefs.h <<_ACEOF
22958
14109
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22959
14110
_ACEOF
23197
14348
fi
23198
14349
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
23199
14350
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
23200
 
if test $ac_cv_func_bind_textdomain_codeset = yes; then
 
14351
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
23201
14352
  CATOBJEXT=.gmo
23202
14353
               DATADIRNAME=share
23203
14354
else
23446
14597
  else
23447
14598
    case $cross_compiling:$ac_tool_warned in
23448
14599
yes:)
23449
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23450
 
whose name does not start with the host triplet.  If you think this
23451
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
23452
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23453
 
whose name does not start with the host triplet.  If you think this
23454
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
14600
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
14601
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23455
14602
ac_tool_warned=yes ;;
23456
14603
esac
23457
14604
    PKG_CONFIG=$ac_pt_PKG_CONFIG
23824
14971
" >&2;}
23825
14972
   { (exit 1); exit 1; }; }
23826
14973
elif test $pkg_failed = untried; then
23827
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
14974
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
14975
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14976
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
23828
14977
is in your PATH or set the PKG_CONFIG environment variable to the full
23829
14978
path to pkg-config.
23830
14979
 
23844
14993
 
23845
14994
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23846
14995
See \`config.log' for more details." >&2;}
23847
 
   { (exit 1); exit 1; }; }
 
14996
   { (exit 1); exit 1; }; }; }
23848
14997
else
23849
14998
        GLADE_CFLAGS=$pkg_cv_GLADE_CFLAGS
23850
14999
        GLADE_LIBS=$pkg_cv_GLADE_LIBS
23864
15013
    pkg_cv_LIBSLAB_CFLAGS="$LIBSLAB_CFLAGS"
23865
15014
 elif test -n "$PKG_CONFIG"; then
23866
15015
    if test -n "$PKG_CONFIG" && \
23867
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" \$COMMON_MODULES gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango \"") >&5
23868
 
  ($PKG_CONFIG --exists --print-errors " $COMMON_MODULES gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango ") 2>&5
 
15016
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" \$COMMON_MODULES libgnomeui-2.0 gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango \"") >&5
 
15017
  ($PKG_CONFIG --exists --print-errors " $COMMON_MODULES libgnomeui-2.0 gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango ") 2>&5
23869
15018
  ac_status=$?
23870
15019
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871
15020
  (exit $ac_status); }; then
23872
 
  pkg_cv_LIBSLAB_CFLAGS=`$PKG_CONFIG --cflags " $COMMON_MODULES gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango " 2>/dev/null`
 
15021
  pkg_cv_LIBSLAB_CFLAGS=`$PKG_CONFIG --cflags " $COMMON_MODULES libgnomeui-2.0 gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango " 2>/dev/null`
23873
15022
else
23874
15023
  pkg_failed=yes
23875
15024
fi
23880
15029
    pkg_cv_LIBSLAB_LIBS="$LIBSLAB_LIBS"
23881
15030
 elif test -n "$PKG_CONFIG"; then
23882
15031
    if test -n "$PKG_CONFIG" && \
23883
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" \$COMMON_MODULES gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango \"") >&5
23884
 
  ($PKG_CONFIG --exists --print-errors " $COMMON_MODULES gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango ") 2>&5
 
15032
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" \$COMMON_MODULES libgnomeui-2.0 gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango \"") >&5
 
15033
  ($PKG_CONFIG --exists --print-errors " $COMMON_MODULES libgnomeui-2.0 gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango ") 2>&5
23885
15034
  ac_status=$?
23886
15035
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23887
15036
  (exit $ac_status); }; then
23888
 
  pkg_cv_LIBSLAB_LIBS=`$PKG_CONFIG --libs " $COMMON_MODULES gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango " 2>/dev/null`
 
15037
  pkg_cv_LIBSLAB_LIBS=`$PKG_CONFIG --libs " $COMMON_MODULES libgnomeui-2.0 gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango " 2>/dev/null`
23889
15038
else
23890
15039
  pkg_failed=yes
23891
15040
fi
23903
15052
        _pkg_short_errors_supported=no
23904
15053
fi
23905
15054
        if test $_pkg_short_errors_supported = yes; then
23906
 
                LIBSLAB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " $COMMON_MODULES gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango " 2>&1`
 
15055
                LIBSLAB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " $COMMON_MODULES libgnomeui-2.0 gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango " 2>&1`
23907
15056
        else
23908
 
                LIBSLAB_PKG_ERRORS=`$PKG_CONFIG --print-errors " $COMMON_MODULES gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango " 2>&1`
 
15057
                LIBSLAB_PKG_ERRORS=`$PKG_CONFIG --print-errors " $COMMON_MODULES libgnomeui-2.0 gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango " 2>&1`
23909
15058
        fi
23910
15059
        # Put the nasty error message in config.log where it belongs
23911
15060
        echo "$LIBSLAB_PKG_ERRORS" >&5
23912
15061
 
23913
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements ( $COMMON_MODULES gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango ) were not met:
 
15062
        { { $as_echo "$as_me:$LINENO: error: Package requirements ( $COMMON_MODULES libgnomeui-2.0 gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango ) were not met:
23914
15063
 
23915
15064
$LIBSLAB_PKG_ERRORS
23916
15065
 
23921
15070
and LIBSLAB_LIBS to avoid the need to call pkg-config.
23922
15071
See the pkg-config man page for more details.
23923
15072
" >&5
23924
 
$as_echo "$as_me: error: Package requirements ( $COMMON_MODULES gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango ) were not met:
 
15073
$as_echo "$as_me: error: Package requirements ( $COMMON_MODULES libgnomeui-2.0 gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango ) were not met:
23925
15074
 
23926
15075
$LIBSLAB_PKG_ERRORS
23927
15076
 
23934
15083
" >&2;}
23935
15084
   { (exit 1); exit 1; }; }
23936
15085
elif test $pkg_failed = untried; then
23937
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
15086
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
15087
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15088
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
23938
15089
is in your PATH or set the PKG_CONFIG environment variable to the full
23939
15090
path to pkg-config.
23940
15091
 
23954
15105
 
23955
15106
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23956
15107
See \`config.log' for more details." >&2;}
23957
 
   { (exit 1); exit 1; }; }
 
15108
   { (exit 1); exit 1; }; }; }
23958
15109
else
23959
15110
        LIBSLAB_CFLAGS=$pkg_cv_LIBSLAB_CFLAGS
23960
15111
        LIBSLAB_LIBS=$pkg_cv_LIBSLAB_LIBS
24045
15196
" >&2;}
24046
15197
   { (exit 1); exit 1; }; }
24047
15198
elif test $pkg_failed = untried; then
24048
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
15199
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
15200
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15201
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
24049
15202
is in your PATH or set the PKG_CONFIG environment variable to the full
24050
15203
path to pkg-config.
24051
15204
 
24065
15218
 
24066
15219
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24067
15220
See \`config.log' for more details." >&2;}
24068
 
   { (exit 1); exit 1; }; }
 
15221
   { (exit 1); exit 1; }; }; }
24069
15222
else
24070
15223
        MAIN_MENU_CFLAGS=$pkg_cv_MAIN_MENU_CFLAGS
24071
15224
        MAIN_MENU_LIBS=$pkg_cv_MAIN_MENU_LIBS
24214
15367
$as_echo "$ac_res" >&6; }
24215
15368
 
24216
15369
fi
24217
 
if test `eval 'as_val=${'$as_ac_Header'}
24218
 
                 $as_echo "$as_val"'` = yes; then
 
15370
as_val=`eval 'as_val=${'$as_ac_Header'}
 
15371
                 $as_echo "$as_val"'`
 
15372
   if test "x$as_val" = x""yes; then
24219
15373
  cat >>confdefs.h <<_ACEOF
24220
15374
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24221
15375
_ACEOF
24284
15438
fi
24285
15439
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iw_iw_sockets_open" >&5
24286
15440
$as_echo "$ac_cv_lib_iw_iw_sockets_open" >&6; }
24287
 
if test $ac_cv_lib_iw_iw_sockets_open = yes; then
 
15441
if test "x$ac_cv_lib_iw_iw_sockets_open" = x""yes; then
24288
15442
  have_iwlib=yes
24289
15443
else
24290
15444
  have_iwlib=no
24388
15542
" >&2;}
24389
15543
   { (exit 1); exit 1; }; }
24390
15544
elif test $pkg_failed = untried; then
24391
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
15545
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
15546
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15547
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
24392
15548
is in your PATH or set the PKG_CONFIG environment variable to the full
24393
15549
path to pkg-config.
24394
15550
 
24408
15564
 
24409
15565
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24410
15566
See \`config.log' for more details." >&2;}
24411
 
   { (exit 1); exit 1; }; }
 
15567
   { (exit 1); exit 1; }; }; }
24412
15568
else
24413
15569
        APPLICATION_BROWSER_CFLAGS=$pkg_cv_APPLICATION_BROWSER_CFLAGS
24414
15570
        APPLICATION_BROWSER_LIBS=$pkg_cv_APPLICATION_BROWSER_LIBS
24712
15868
" >&2;}
24713
15869
   { (exit 1); exit 1; }; }
24714
15870
elif test $pkg_failed = untried; then
24715
 
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
15871
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
15872
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15873
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
24716
15874
is in your PATH or set the PKG_CONFIG environment variable to the full
24717
15875
path to pkg-config.
24718
15876
 
24732
15890
 
24733
15891
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24734
15892
See \`config.log' for more details." >&2;}
24735
 
   { (exit 1); exit 1; }; }
 
15893
   { (exit 1); exit 1; }; }; }
24736
15894
else
24737
15895
        NAUTILUS_CFLAGS=$pkg_cv_NAUTILUS_CFLAGS
24738
15896
        NAUTILUS_LIBS=$pkg_cv_NAUTILUS_LIBS
24890
16048
    case $ac_val in #(
24891
16049
    *${as_nl}*)
24892
16050
      case $ac_var in #(
24893
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24894
 
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
16051
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
16052
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24895
16053
      esac
24896
16054
      case $ac_var in #(
24897
16055
      _ | IFS | as_nl) ;; #(
24988
16146
Usually this means the macro was only invoked conditionally." >&2;}
24989
16147
   { (exit 1); exit 1; }; }
24990
16148
fi
24991
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24992
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
24993
 
Usually this means the macro was only invoked conditionally." >&5
24994
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
24995
 
Usually this means the macro was only invoked conditionally." >&2;}
24996
 
   { (exit 1); exit 1; }; }
24997
 
fi
24998
16149
 
24999
16150
  ac_config_commands="$ac_config_commands po/stamp-it"
25000
16151
 
25356
16507
# report actual input values of CONFIG_FILES etc. instead of their
25357
16508
# values after options handling.
25358
16509
ac_log="
25359
 
This file was extended by gnome-main-menu $as_me 0.9.11, which was
25360
 
generated by GNU Autoconf 2.62.  Invocation command line was
 
16510
This file was extended by gnome-main-menu $as_me 0.9.12, which was
 
16511
generated by GNU Autoconf 2.63.  Invocation command line was
25361
16512
 
25362
16513
  CONFIG_FILES    = $CONFIG_FILES
25363
16514
  CONFIG_HEADERS  = $CONFIG_HEADERS
25370
16521
 
25371
16522
_ACEOF
25372
16523
 
 
16524
case $ac_config_files in *"
 
16525
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
16526
esac
 
16527
 
 
16528
case $ac_config_headers in *"
 
16529
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
16530
esac
 
16531
 
 
16532
 
25373
16533
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25374
16534
# Files that config.status was made for.
25375
16535
config_files="$ac_config_files"
25383
16543
\`$as_me' instantiates files from templates according to the
25384
16544
current configuration.
25385
16545
 
25386
 
Usage: $0 [OPTIONS] [FILE]...
 
16546
Usage: $0 [OPTION]... [FILE]...
25387
16547
 
25388
16548
  -h, --help       print this help, then exit
25389
16549
  -V, --version    print version number and configuration settings, then exit
25390
 
  -q, --quiet      do not print progress messages
 
16550
  -q, --quiet, --silent
 
16551
                   do not print progress messages
25391
16552
  -d, --debug      don't remove temporary files
25392
16553
      --recheck    update $as_me by reconfiguring in the same conditions
25393
 
  --file=FILE[:TEMPLATE]
 
16554
      --file=FILE[:TEMPLATE]
25394
16555
                   instantiate the configuration file FILE
25395
 
  --header=FILE[:TEMPLATE]
 
16556
      --header=FILE[:TEMPLATE]
25396
16557
                   instantiate the configuration header FILE
25397
16558
 
25398
16559
Configuration files:
25409
16570
_ACEOF
25410
16571
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25411
16572
ac_cs_version="\\
25412
 
gnome-main-menu config.status 0.9.11
25413
 
configured by $0, generated by GNU Autoconf 2.62,
 
16573
gnome-main-menu config.status 0.9.12
 
16574
configured by $0, generated by GNU Autoconf 2.63,
25414
16575
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25415
16576
 
25416
16577
Copyright (C) 2008 Free Software Foundation, Inc.
25525
16686
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25526
16687
 
25527
16688
 
 
16689
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
16690
# if CDPATH is set.
 
16691
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16692
 
 
16693
sed_quote_subst='$sed_quote_subst'
 
16694
double_quote_subst='$double_quote_subst'
 
16695
delay_variable_subst='$delay_variable_subst'
 
16696
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
16697
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
16698
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
16699
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16700
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
16701
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
16702
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
16703
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
16704
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
16705
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
16706
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
16707
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
16708
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
16709
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
16710
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16711
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16712
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16713
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
16714
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
16715
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
16716
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
16717
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
16718
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
16719
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
16720
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
16721
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
16722
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16723
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16724
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
16725
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
16726
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
16727
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
16728
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
16729
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
16730
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
16731
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16732
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16733
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16734
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
16735
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
16736
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
16737
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
16738
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
16739
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
16740
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"`'
 
16741
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"`'
 
16742
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
16743
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
16744
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
16745
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
16746
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16747
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
16748
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
16749
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16750
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
16751
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
16752
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
16753
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
16754
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
16755
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
16756
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
16757
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
16758
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16759
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16760
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
16761
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
16762
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16763
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16764
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
16765
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16766
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16767
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16768
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16769
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16770
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16771
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
16772
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16773
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16774
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16775
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
16776
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
16777
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
16778
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
16779
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
16780
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16781
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
16782
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
16783
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
16784
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
16785
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
16786
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16787
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
16788
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
16789
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16790
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16791
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
16792
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
16793
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
16794
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
16795
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16796
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16797
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
16798
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16799
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16800
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16801
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16802
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16803
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16804
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
16805
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
16806
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16807
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16808
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
16809
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
16810
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
16811
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16812
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
16813
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
16814
 
 
16815
LTCC='$LTCC'
 
16816
LTCFLAGS='$LTCFLAGS'
 
16817
compiler='$compiler_DEFAULT'
 
16818
 
 
16819
# Quote evaled strings.
 
16820
for var in SED \
 
16821
GREP \
 
16822
EGREP \
 
16823
FGREP \
 
16824
LD \
 
16825
NM \
 
16826
LN_S \
 
16827
lt_SP2NL \
 
16828
lt_NL2SP \
 
16829
reload_flag \
 
16830
OBJDUMP \
 
16831
deplibs_check_method \
 
16832
file_magic_cmd \
 
16833
AR \
 
16834
AR_FLAGS \
 
16835
STRIP \
 
16836
RANLIB \
 
16837
CC \
 
16838
CFLAGS \
 
16839
compiler \
 
16840
lt_cv_sys_global_symbol_pipe \
 
16841
lt_cv_sys_global_symbol_to_cdecl \
 
16842
lt_cv_sys_global_symbol_to_c_name_address \
 
16843
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
16844
SHELL \
 
16845
ECHO \
 
16846
lt_prog_compiler_no_builtin_flag \
 
16847
lt_prog_compiler_wl \
 
16848
lt_prog_compiler_pic \
 
16849
lt_prog_compiler_static \
 
16850
lt_cv_prog_compiler_c_o \
 
16851
need_locks \
 
16852
DSYMUTIL \
 
16853
NMEDIT \
 
16854
LIPO \
 
16855
OTOOL \
 
16856
OTOOL64 \
 
16857
shrext_cmds \
 
16858
export_dynamic_flag_spec \
 
16859
whole_archive_flag_spec \
 
16860
compiler_needs_object \
 
16861
with_gnu_ld \
 
16862
allow_undefined_flag \
 
16863
no_undefined_flag \
 
16864
hardcode_libdir_flag_spec \
 
16865
hardcode_libdir_flag_spec_ld \
 
16866
hardcode_libdir_separator \
 
16867
fix_srcfile_path \
 
16868
exclude_expsyms \
 
16869
include_expsyms \
 
16870
file_list_spec \
 
16871
variables_saved_for_relink \
 
16872
libname_spec \
 
16873
library_names_spec \
 
16874
soname_spec \
 
16875
finish_eval \
 
16876
old_striplib \
 
16877
striplib; do
 
16878
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16879
    *[\\\\\\\`\\"\\\$]*)
 
16880
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
16881
      ;;
 
16882
    *)
 
16883
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16884
      ;;
 
16885
    esac
 
16886
done
 
16887
 
 
16888
# Double-quote double-evaled strings.
 
16889
for var in reload_cmds \
 
16890
old_postinstall_cmds \
 
16891
old_postuninstall_cmds \
 
16892
old_archive_cmds \
 
16893
extract_expsyms_cmds \
 
16894
old_archive_from_new_cmds \
 
16895
old_archive_from_expsyms_cmds \
 
16896
archive_cmds \
 
16897
archive_expsym_cmds \
 
16898
module_cmds \
 
16899
module_expsym_cmds \
 
16900
export_symbols_cmds \
 
16901
prelink_cmds \
 
16902
postinstall_cmds \
 
16903
postuninstall_cmds \
 
16904
finish_cmds \
 
16905
sys_lib_search_path_spec \
 
16906
sys_lib_dlsearch_path_spec; do
 
16907
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16908
    *[\\\\\\\`\\"\\\$]*)
 
16909
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
16910
      ;;
 
16911
    *)
 
16912
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16913
      ;;
 
16914
    esac
 
16915
done
 
16916
 
 
16917
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
16918
case \$lt_ECHO in
 
16919
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
16920
  ;;
 
16921
esac
 
16922
 
 
16923
ac_aux_dir='$ac_aux_dir'
 
16924
xsi_shell='$xsi_shell'
 
16925
lt_shell_append='$lt_shell_append'
 
16926
 
 
16927
# See if we are running on zsh, and set the options which allow our
 
16928
# commands through without removal of \ escapes INIT.
 
16929
if test -n "\${ZSH_VERSION+set}" ; then
 
16930
   setopt NO_GLOB_SUBST
 
16931
fi
 
16932
 
 
16933
 
 
16934
    PACKAGE='$PACKAGE'
 
16935
    VERSION='$VERSION'
 
16936
    TIMESTAMP='$TIMESTAMP'
 
16937
    RM='$RM'
 
16938
    ofile='$ofile'
 
16939
 
 
16940
 
 
16941
 
 
16942
 
 
16943
 
25528
16944
_ACEOF
25529
16945
 
25530
16946
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25535
16951
  case $ac_config_target in
25536
16952
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
25537
16953
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
16954
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
25538
16955
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
25539
16956
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25540
16957
    "application-browser/etc/Makefile") CONFIG_FILES="$CONFIG_FILES application-browser/etc/Makefile" ;;
25628
17045
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25629
17046
   { (exit 1); exit 1; }; }
25630
17047
 
25631
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
 
17048
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
17049
  if test $ac_delim_n = $ac_delim_num; then
25632
17050
    break
25633
17051
  elif $ac_last_try; then
25634
17052
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25867
17285
  esac
25868
17286
  case $ac_mode$ac_tag in
25869
17287
  :[FHL]*:*);;
25870
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25871
 
$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
17288
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
17289
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
25872
17290
   { (exit 1); exit 1; }; };;
25873
17291
  :[FH]-) ac_tag=-:-;;
25874
17292
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26324
17742
  done
26325
17743
done
26326
17744
 ;;
 
17745
    "libtool":C)
 
17746
 
 
17747
    # See if we are running on zsh, and set the options which allow our
 
17748
    # commands through without removal of \ escapes.
 
17749
    if test -n "${ZSH_VERSION+set}" ; then
 
17750
      setopt NO_GLOB_SUBST
 
17751
    fi
 
17752
 
 
17753
    cfgfile="${ofile}T"
 
17754
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
17755
    $RM "$cfgfile"
 
17756
 
 
17757
    cat <<_LT_EOF >> "$cfgfile"
 
17758
#! $SHELL
 
17759
 
 
17760
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
17761
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
17762
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
17763
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
17764
#
 
17765
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
17766
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
17767
#   Written by Gordon Matzigkeit, 1996
 
17768
#
 
17769
#   This file is part of GNU Libtool.
 
17770
#
 
17771
# GNU Libtool is free software; you can redistribute it and/or
 
17772
# modify it under the terms of the GNU General Public License as
 
17773
# published by the Free Software Foundation; either version 2 of
 
17774
# the License, or (at your option) any later version.
 
17775
#
 
17776
# As a special exception to the GNU General Public License,
 
17777
# if you distribute this file as part of a program or library that
 
17778
# is built using GNU Libtool, you may include this file under the
 
17779
# same distribution terms that you use for the rest of that program.
 
17780
#
 
17781
# GNU Libtool is distributed in the hope that it will be useful,
 
17782
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17783
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17784
# GNU General Public License for more details.
 
17785
#
 
17786
# You should have received a copy of the GNU General Public License
 
17787
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
17788
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
17789
# obtained by writing to the Free Software Foundation, Inc.,
 
17790
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
17791
 
 
17792
 
 
17793
# The names of the tagged configurations supported by this script.
 
17794
available_tags=""
 
17795
 
 
17796
# ### BEGIN LIBTOOL CONFIG
 
17797
 
 
17798
# Which release of libtool.m4 was used?
 
17799
macro_version=$macro_version
 
17800
macro_revision=$macro_revision
 
17801
 
 
17802
# Whether or not to build shared libraries.
 
17803
build_libtool_libs=$enable_shared
 
17804
 
 
17805
# Whether or not to build static libraries.
 
17806
build_old_libs=$enable_static
 
17807
 
 
17808
# What type of objects to build.
 
17809
pic_mode=$pic_mode
 
17810
 
 
17811
# Whether or not to optimize for fast installation.
 
17812
fast_install=$enable_fast_install
 
17813
 
 
17814
# The host system.
 
17815
host_alias=$host_alias
 
17816
host=$host
 
17817
host_os=$host_os
 
17818
 
 
17819
# The build system.
 
17820
build_alias=$build_alias
 
17821
build=$build
 
17822
build_os=$build_os
 
17823
 
 
17824
# A sed program that does not truncate output.
 
17825
SED=$lt_SED
 
17826
 
 
17827
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
17828
Xsed="\$SED -e 1s/^X//"
 
17829
 
 
17830
# A grep program that handles long lines.
 
17831
GREP=$lt_GREP
 
17832
 
 
17833
# An ERE matcher.
 
17834
EGREP=$lt_EGREP
 
17835
 
 
17836
# A literal string matcher.
 
17837
FGREP=$lt_FGREP
 
17838
 
 
17839
# A BSD- or MS-compatible name lister.
 
17840
NM=$lt_NM
 
17841
 
 
17842
# Whether we need soft or hard links.
 
17843
LN_S=$lt_LN_S
 
17844
 
 
17845
# What is the maximum length of a command?
 
17846
max_cmd_len=$max_cmd_len
 
17847
 
 
17848
# Object file suffix (normally "o").
 
17849
objext=$ac_objext
 
17850
 
 
17851
# Executable file suffix (normally "").
 
17852
exeext=$exeext
 
17853
 
 
17854
# whether the shell understands "unset".
 
17855
lt_unset=$lt_unset
 
17856
 
 
17857
# turn spaces into newlines.
 
17858
SP2NL=$lt_lt_SP2NL
 
17859
 
 
17860
# turn newlines into spaces.
 
17861
NL2SP=$lt_lt_NL2SP
 
17862
 
 
17863
# How to create reloadable object files.
 
17864
reload_flag=$lt_reload_flag
 
17865
reload_cmds=$lt_reload_cmds
 
17866
 
 
17867
# An object symbol dumper.
 
17868
OBJDUMP=$lt_OBJDUMP
 
17869
 
 
17870
# Method to check whether dependent libraries are shared objects.
 
17871
deplibs_check_method=$lt_deplibs_check_method
 
17872
 
 
17873
# Command to use when deplibs_check_method == "file_magic".
 
17874
file_magic_cmd=$lt_file_magic_cmd
 
17875
 
 
17876
# The archiver.
 
17877
AR=$lt_AR
 
17878
AR_FLAGS=$lt_AR_FLAGS
 
17879
 
 
17880
# A symbol stripping program.
 
17881
STRIP=$lt_STRIP
 
17882
 
 
17883
# Commands used to install an old-style archive.
 
17884
RANLIB=$lt_RANLIB
 
17885
old_postinstall_cmds=$lt_old_postinstall_cmds
 
17886
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
17887
 
 
17888
# A C compiler.
 
17889
LTCC=$lt_CC
 
17890
 
 
17891
# LTCC compiler flags.
 
17892
LTCFLAGS=$lt_CFLAGS
 
17893
 
 
17894
# Take the output of nm and produce a listing of raw symbols and C names.
 
17895
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
17896
 
 
17897
# Transform the output of nm in a proper C declaration.
 
17898
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
17899
 
 
17900
# Transform the output of nm in a C name address pair.
 
17901
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
17902
 
 
17903
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
17904
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
17905
 
 
17906
# The name of the directory that contains temporary libtool files.
 
17907
objdir=$objdir
 
17908
 
 
17909
# Shell to use when invoking shell scripts.
 
17910
SHELL=$lt_SHELL
 
17911
 
 
17912
# An echo program that does not interpret backslashes.
 
17913
ECHO=$lt_ECHO
 
17914
 
 
17915
# Used to examine libraries when file_magic_cmd begins with "file".
 
17916
MAGIC_CMD=$MAGIC_CMD
 
17917
 
 
17918
# Must we lock files when doing compilation?
 
17919
need_locks=$lt_need_locks
 
17920
 
 
17921
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
17922
DSYMUTIL=$lt_DSYMUTIL
 
17923
 
 
17924
# Tool to change global to local symbols on Mac OS X.
 
17925
NMEDIT=$lt_NMEDIT
 
17926
 
 
17927
# Tool to manipulate fat objects and archives on Mac OS X.
 
17928
LIPO=$lt_LIPO
 
17929
 
 
17930
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
17931
OTOOL=$lt_OTOOL
 
17932
 
 
17933
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
17934
OTOOL64=$lt_OTOOL64
 
17935
 
 
17936
# Old archive suffix (normally "a").
 
17937
libext=$libext
 
17938
 
 
17939
# Shared library suffix (normally ".so").
 
17940
shrext_cmds=$lt_shrext_cmds
 
17941
 
 
17942
# The commands to extract the exported symbol list from a shared archive.
 
17943
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
17944
 
 
17945
# Variables whose values should be saved in libtool wrapper scripts and
 
17946
# restored at link time.
 
17947
variables_saved_for_relink=$lt_variables_saved_for_relink
 
17948
 
 
17949
# Do we need the "lib" prefix for modules?
 
17950
need_lib_prefix=$need_lib_prefix
 
17951
 
 
17952
# Do we need a version for libraries?
 
17953
need_version=$need_version
 
17954
 
 
17955
# Library versioning type.
 
17956
version_type=$version_type
 
17957
 
 
17958
# Shared library runtime path variable.
 
17959
runpath_var=$runpath_var
 
17960
 
 
17961
# Shared library path variable.
 
17962
shlibpath_var=$shlibpath_var
 
17963
 
 
17964
# Is shlibpath searched before the hard-coded library search path?
 
17965
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
17966
 
 
17967
# Format of library name prefix.
 
17968
libname_spec=$lt_libname_spec
 
17969
 
 
17970
# List of archive names.  First name is the real one, the rest are links.
 
17971
# The last name is the one that the linker finds with -lNAME
 
17972
library_names_spec=$lt_library_names_spec
 
17973
 
 
17974
# The coded name of the library, if different from the real name.
 
17975
soname_spec=$lt_soname_spec
 
17976
 
 
17977
# Command to use after installation of a shared archive.
 
17978
postinstall_cmds=$lt_postinstall_cmds
 
17979
 
 
17980
# Command to use after uninstallation of a shared archive.
 
17981
postuninstall_cmds=$lt_postuninstall_cmds
 
17982
 
 
17983
# Commands used to finish a libtool library installation in a directory.
 
17984
finish_cmds=$lt_finish_cmds
 
17985
 
 
17986
# As "finish_cmds", except a single script fragment to be evaled but
 
17987
# not shown.
 
17988
finish_eval=$lt_finish_eval
 
17989
 
 
17990
# Whether we should hardcode library paths into libraries.
 
17991
hardcode_into_libs=$hardcode_into_libs
 
17992
 
 
17993
# Compile-time system search path for libraries.
 
17994
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
17995
 
 
17996
# Run-time system search path for libraries.
 
17997
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
17998
 
 
17999
# Whether dlopen is supported.
 
18000
dlopen_support=$enable_dlopen
 
18001
 
 
18002
# Whether dlopen of programs is supported.
 
18003
dlopen_self=$enable_dlopen_self
 
18004
 
 
18005
# Whether dlopen of statically linked programs is supported.
 
18006
dlopen_self_static=$enable_dlopen_self_static
 
18007
 
 
18008
# Commands to strip libraries.
 
18009
old_striplib=$lt_old_striplib
 
18010
striplib=$lt_striplib
 
18011
 
 
18012
 
 
18013
# The linker used to build libraries.
 
18014
LD=$lt_LD
 
18015
 
 
18016
# Commands used to build an old-style archive.
 
18017
old_archive_cmds=$lt_old_archive_cmds
 
18018
 
 
18019
# A language specific compiler.
 
18020
CC=$lt_compiler
 
18021
 
 
18022
# Is the compiler the GNU compiler?
 
18023
with_gcc=$GCC
 
18024
 
 
18025
# Compiler flag to turn off builtin functions.
 
18026
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
18027
 
 
18028
# How to pass a linker flag through the compiler.
 
18029
wl=$lt_lt_prog_compiler_wl
 
18030
 
 
18031
# Additional compiler flags for building library objects.
 
18032
pic_flag=$lt_lt_prog_compiler_pic
 
18033
 
 
18034
# Compiler flag to prevent dynamic linking.
 
18035
link_static_flag=$lt_lt_prog_compiler_static
 
18036
 
 
18037
# Does compiler simultaneously support -c and -o options?
 
18038
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
18039
 
 
18040
# Whether or not to add -lc for building shared libraries.
 
18041
build_libtool_need_lc=$archive_cmds_need_lc
 
18042
 
 
18043
# Whether or not to disallow shared libs when runtime libs are static.
 
18044
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
18045
 
 
18046
# Compiler flag to allow reflexive dlopens.
 
18047
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
18048
 
 
18049
# Compiler flag to generate shared objects directly from archives.
 
18050
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
18051
 
 
18052
# Whether the compiler copes with passing no objects directly.
 
18053
compiler_needs_object=$lt_compiler_needs_object
 
18054
 
 
18055
# Create an old-style archive from a shared archive.
 
18056
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
18057
 
 
18058
# Create a temporary old-style archive to link instead of a shared archive.
 
18059
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
18060
 
 
18061
# Commands used to build a shared archive.
 
18062
archive_cmds=$lt_archive_cmds
 
18063
archive_expsym_cmds=$lt_archive_expsym_cmds
 
18064
 
 
18065
# Commands used to build a loadable module if different from building
 
18066
# a shared archive.
 
18067
module_cmds=$lt_module_cmds
 
18068
module_expsym_cmds=$lt_module_expsym_cmds
 
18069
 
 
18070
# Whether we are building with GNU ld or not.
 
18071
with_gnu_ld=$lt_with_gnu_ld
 
18072
 
 
18073
# Flag that allows shared libraries with undefined symbols to be built.
 
18074
allow_undefined_flag=$lt_allow_undefined_flag
 
18075
 
 
18076
# Flag that enforces no undefined symbols.
 
18077
no_undefined_flag=$lt_no_undefined_flag
 
18078
 
 
18079
# Flag to hardcode \$libdir into a binary during linking.
 
18080
# This must work even if \$libdir does not exist
 
18081
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
18082
 
 
18083
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
18084
# during linking.  This must work even if \$libdir does not exist.
 
18085
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
18086
 
 
18087
# Whether we need a single "-rpath" flag with a separated argument.
 
18088
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
18089
 
 
18090
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
18091
# DIR into the resulting binary.
 
18092
hardcode_direct=$hardcode_direct
 
18093
 
 
18094
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
18095
# DIR into the resulting binary and the resulting library dependency is
 
18096
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
18097
# library is relocated.
 
18098
hardcode_direct_absolute=$hardcode_direct_absolute
 
18099
 
 
18100
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
18101
# into the resulting binary.
 
18102
hardcode_minus_L=$hardcode_minus_L
 
18103
 
 
18104
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
18105
# into the resulting binary.
 
18106
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
18107
 
 
18108
# Set to "yes" if building a shared library automatically hardcodes DIR
 
18109
# into the library and all subsequent libraries and executables linked
 
18110
# against it.
 
18111
hardcode_automatic=$hardcode_automatic
 
18112
 
 
18113
# Set to yes if linker adds runtime paths of dependent libraries
 
18114
# to runtime path list.
 
18115
inherit_rpath=$inherit_rpath
 
18116
 
 
18117
# Whether libtool must link a program against all its dependency libraries.
 
18118
link_all_deplibs=$link_all_deplibs
 
18119
 
 
18120
# Fix the shell variable \$srcfile for the compiler.
 
18121
fix_srcfile_path=$lt_fix_srcfile_path
 
18122
 
 
18123
# Set to "yes" if exported symbols are required.
 
18124
always_export_symbols=$always_export_symbols
 
18125
 
 
18126
# The commands to list exported symbols.
 
18127
export_symbols_cmds=$lt_export_symbols_cmds
 
18128
 
 
18129
# Symbols that should not be listed in the preloaded symbols.
 
18130
exclude_expsyms=$lt_exclude_expsyms
 
18131
 
 
18132
# Symbols that must always be exported.
 
18133
include_expsyms=$lt_include_expsyms
 
18134
 
 
18135
# Commands necessary for linking programs (against libraries) with templates.
 
18136
prelink_cmds=$lt_prelink_cmds
 
18137
 
 
18138
# Specify filename containing input files.
 
18139
file_list_spec=$lt_file_list_spec
 
18140
 
 
18141
# How to hardcode a shared library path into an executable.
 
18142
hardcode_action=$hardcode_action
 
18143
 
 
18144
# ### END LIBTOOL CONFIG
 
18145
 
 
18146
_LT_EOF
 
18147
 
 
18148
  case $host_os in
 
18149
  aix3*)
 
18150
    cat <<\_LT_EOF >> "$cfgfile"
 
18151
# AIX sometimes has problems with the GCC collect2 program.  For some
 
18152
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
18153
# vanish in a puff of smoke.
 
18154
if test "X${COLLECT_NAMES+set}" != Xset; then
 
18155
  COLLECT_NAMES=
 
18156
  export COLLECT_NAMES
 
18157
fi
 
18158
_LT_EOF
 
18159
    ;;
 
18160
  esac
 
18161
 
 
18162
 
 
18163
ltmain="$ac_aux_dir/ltmain.sh"
 
18164
 
 
18165
 
 
18166
  # We use sed instead of cat because bash on DJGPP gets confused if
 
18167
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
18168
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
18169
  # is reportedly fixed, but why not run on old versions too?
 
18170
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
18171
    || (rm -f "$cfgfile"; exit 1)
 
18172
 
 
18173
  case $xsi_shell in
 
18174
  yes)
 
18175
    cat << \_LT_EOF >> "$cfgfile"
 
18176
 
 
18177
# func_dirname file append nondir_replacement
 
18178
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
18179
# otherwise set result to NONDIR_REPLACEMENT.
 
18180
func_dirname ()
 
18181
{
 
18182
  case ${1} in
 
18183
    */*) func_dirname_result="${1%/*}${2}" ;;
 
18184
    *  ) func_dirname_result="${3}" ;;
 
18185
  esac
 
18186
}
 
18187
 
 
18188
# func_basename file
 
18189
func_basename ()
 
18190
{
 
18191
  func_basename_result="${1##*/}"
 
18192
}
 
18193
 
 
18194
# func_dirname_and_basename file append nondir_replacement
 
18195
# perform func_basename and func_dirname in a single function
 
18196
# call:
 
18197
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
18198
#             add APPEND to the result, otherwise set result
 
18199
#             to NONDIR_REPLACEMENT.
 
18200
#             value returned in "$func_dirname_result"
 
18201
#   basename: Compute filename of FILE.
 
18202
#             value retuned in "$func_basename_result"
 
18203
# Implementation must be kept synchronized with func_dirname
 
18204
# and func_basename. For efficiency, we do not delegate to
 
18205
# those functions but instead duplicate the functionality here.
 
18206
func_dirname_and_basename ()
 
18207
{
 
18208
  case ${1} in
 
18209
    */*) func_dirname_result="${1%/*}${2}" ;;
 
18210
    *  ) func_dirname_result="${3}" ;;
 
18211
  esac
 
18212
  func_basename_result="${1##*/}"
 
18213
}
 
18214
 
 
18215
# func_stripname prefix suffix name
 
18216
# strip PREFIX and SUFFIX off of NAME.
 
18217
# PREFIX and SUFFIX must not contain globbing or regex special
 
18218
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
18219
# dot (in which case that matches only a dot).
 
18220
func_stripname ()
 
18221
{
 
18222
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
18223
  # positional parameters, so assign one to ordinary parameter first.
 
18224
  func_stripname_result=${3}
 
18225
  func_stripname_result=${func_stripname_result#"${1}"}
 
18226
  func_stripname_result=${func_stripname_result%"${2}"}
 
18227
}
 
18228
 
 
18229
# func_opt_split
 
18230
func_opt_split ()
 
18231
{
 
18232
  func_opt_split_opt=${1%%=*}
 
18233
  func_opt_split_arg=${1#*=}
 
18234
}
 
18235
 
 
18236
# func_lo2o object
 
18237
func_lo2o ()
 
18238
{
 
18239
  case ${1} in
 
18240
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
18241
    *)    func_lo2o_result=${1} ;;
 
18242
  esac
 
18243
}
 
18244
 
 
18245
# func_xform libobj-or-source
 
18246
func_xform ()
 
18247
{
 
18248
  func_xform_result=${1%.*}.lo
 
18249
}
 
18250
 
 
18251
# func_arith arithmetic-term...
 
18252
func_arith ()
 
18253
{
 
18254
  func_arith_result=$(( $* ))
 
18255
}
 
18256
 
 
18257
# func_len string
 
18258
# STRING may not start with a hyphen.
 
18259
func_len ()
 
18260
{
 
18261
  func_len_result=${#1}
 
18262
}
 
18263
 
 
18264
_LT_EOF
 
18265
    ;;
 
18266
  *) # Bourne compatible functions.
 
18267
    cat << \_LT_EOF >> "$cfgfile"
 
18268
 
 
18269
# func_dirname file append nondir_replacement
 
18270
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
18271
# otherwise set result to NONDIR_REPLACEMENT.
 
18272
func_dirname ()
 
18273
{
 
18274
  # Extract subdirectory from the argument.
 
18275
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
18276
  if test "X$func_dirname_result" = "X${1}"; then
 
18277
    func_dirname_result="${3}"
 
18278
  else
 
18279
    func_dirname_result="$func_dirname_result${2}"
 
18280
  fi
 
18281
}
 
18282
 
 
18283
# func_basename file
 
18284
func_basename ()
 
18285
{
 
18286
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
18287
}
 
18288
 
 
18289
 
 
18290
# func_stripname prefix suffix name
 
18291
# strip PREFIX and SUFFIX off of NAME.
 
18292
# PREFIX and SUFFIX must not contain globbing or regex special
 
18293
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
18294
# dot (in which case that matches only a dot).
 
18295
# func_strip_suffix prefix name
 
18296
func_stripname ()
 
18297
{
 
18298
  case ${2} in
 
18299
    .*) func_stripname_result=`$ECHO "X${3}" \
 
18300
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
18301
    *)  func_stripname_result=`$ECHO "X${3}" \
 
18302
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
18303
  esac
 
18304
}
 
18305
 
 
18306
# sed scripts:
 
18307
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
18308
my_sed_long_arg='1s/^-[^=]*=//'
 
18309
 
 
18310
# func_opt_split
 
18311
func_opt_split ()
 
18312
{
 
18313
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
18314
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
18315
}
 
18316
 
 
18317
# func_lo2o object
 
18318
func_lo2o ()
 
18319
{
 
18320
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
18321
}
 
18322
 
 
18323
# func_xform libobj-or-source
 
18324
func_xform ()
 
18325
{
 
18326
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
18327
}
 
18328
 
 
18329
# func_arith arithmetic-term...
 
18330
func_arith ()
 
18331
{
 
18332
  func_arith_result=`expr "$@"`
 
18333
}
 
18334
 
 
18335
# func_len string
 
18336
# STRING may not start with a hyphen.
 
18337
func_len ()
 
18338
{
 
18339
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
18340
}
 
18341
 
 
18342
_LT_EOF
 
18343
esac
 
18344
 
 
18345
case $lt_shell_append in
 
18346
  yes)
 
18347
    cat << \_LT_EOF >> "$cfgfile"
 
18348
 
 
18349
# func_append var value
 
18350
# Append VALUE to the end of shell variable VAR.
 
18351
func_append ()
 
18352
{
 
18353
  eval "$1+=\$2"
 
18354
}
 
18355
_LT_EOF
 
18356
    ;;
 
18357
  *)
 
18358
    cat << \_LT_EOF >> "$cfgfile"
 
18359
 
 
18360
# func_append var value
 
18361
# Append VALUE to the end of shell variable VAR.
 
18362
func_append ()
 
18363
{
 
18364
  eval "$1=\$$1\$2"
 
18365
}
 
18366
 
 
18367
_LT_EOF
 
18368
    ;;
 
18369
  esac
 
18370
 
 
18371
 
 
18372
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
18373
    || (rm -f "$cfgfile"; exit 1)
 
18374
 
 
18375
  mv -f "$cfgfile" "$ofile" ||
 
18376
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
18377
  chmod +x "$ofile"
 
18378
 
 
18379
 ;;
26327
18380
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
26328
18381
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
26329
18382
      esac ;;
26330
18383
    "po/stamp-it":C)
 
18384
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" ; then
 
18385
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
 
18386
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
 
18387
   { (exit 1); exit 1; }; }
 
18388
    fi
26331
18389
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
26332
18390
    >"po/stamp-it.tmp"
26333
18391
    sed '/^#/d
26336
18394
        '"s|^|  $ac_top_srcdir/|" \
26337
18395
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
26338
18396
 
26339
 
    if test ! -f "po/Makefile"; then
26340
 
      { { $as_echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
26341
 
$as_echo "$as_me: error: po/Makefile is not ready." >&2;}
26342
 
   { (exit 1); exit 1; }; }
26343
 
    fi
26344
 
    mv "po/Makefile" "po/Makefile.tmp"
26345
18397
    sed '/^POTFILES =/,/[^\\]$/ {
26346
18398
                /^POTFILES =/!d
26347
18399
                r po/POTFILES
26348
18400
          }
26349
 
         ' "po/Makefile.tmp" >"po/Makefile"
 
18401
         ' "po/Makefile.in" >"po/Makefile"
26350
18402
    rm -f "po/Makefile.tmp"
26351
18403
    mv "po/stamp-it.tmp" "po/stamp-it"
26352
18404
   ;;
26387
18439
  $ac_cs_success || { (exit 1); exit 1; }
26388
18440
fi
26389
18441
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
26390
 
  { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
26391
 
$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
 
18442
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
18443
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
26392
18444
fi
26393
18445