Diff for /embedaddon/libxml2/m4/libtool.m4 between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2013/07/22 01:22:22 version 1.1.1.3, 2014/06/15 19:53:38
Line 1 Line 1
 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-  # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 #  #
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
#                 Inc.#                 Foundation, Inc.
 #   Written by Gordon Matzigkeit, 1996  #   Written by Gordon Matzigkeit, 1996
 #  #
 # This file is free software; the Free Software Foundation gives  # This file is free software; the Free Software Foundation gives
Line 11 Line 11
   
 m4_define([_LT_COPYING], [dnl  m4_define([_LT_COPYING], [dnl
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
#                 Inc.#                 Foundation, Inc.
 #   Written by Gordon Matzigkeit, 1996  #   Written by Gordon Matzigkeit, 1996
 #  #
 #   This file is part of GNU Libtool.  #   This file is part of GNU Libtool.
Line 146  AC_REQUIRE([AC_CANONICAL_BUILD])dnl Line 146  AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl  AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl  AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
   
   _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
   dnl
 _LT_DECL([], [host_alias], [0], [The host system])dnl  _LT_DECL([], [host_alias], [0], [The host system])dnl
 _LT_DECL([], [host], [0])dnl  _LT_DECL([], [host], [0])dnl
 _LT_DECL([], [host_os], [0])dnl  _LT_DECL([], [host_os], [0])dnl
Line 637  m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config. Line 639  m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.
 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])  m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
 configured by $[0], generated by m4_PACKAGE_STRING.  configured by $[0], generated by m4_PACKAGE_STRING.
   
Copyright (C) 2010 Free Software Foundation, Inc.Copyright (C) 2011 Free Software Foundation, Inc.
 This config.lt script is free software; the Free Software Foundation  This config.lt script is free software; the Free Software Foundation
 gives unlimited permision to copy, distribute and modify it."  gives unlimited permision to copy, distribute and modify it."
   
Line 801  AC_DEFUN([LT_LANG], Line 803  AC_DEFUN([LT_LANG],
 m4_case([$1],  m4_case([$1],
   [C],                  [_LT_LANG(C)],    [C],                  [_LT_LANG(C)],
   [C++],                [_LT_LANG(CXX)],    [C++],                [_LT_LANG(CXX)],
     [Go],                 [_LT_LANG(GO)],
   [Java],               [_LT_LANG(GCJ)],    [Java],               [_LT_LANG(GCJ)],
   [Fortran 77],         [_LT_LANG(F77)],    [Fortran 77],         [_LT_LANG(F77)],
   [Fortran],            [_LT_LANG(FC)],    [Fortran],            [_LT_LANG(FC)],
Line 822  m4_defun([_LT_LANG], Line 825  m4_defun([_LT_LANG],
 ])# _LT_LANG  ])# _LT_LANG
   
   
   m4_ifndef([AC_PROG_GO], [
   ############################################################
   # NOTE: This macro has been submitted for inclusion into   #
   #  GNU Autoconf as AC_PROG_GO.  When it is available in    #
   #  a released version of Autoconf we should remove this    #
   #  macro and use it instead.                               #
   ############################################################
   m4_defun([AC_PROG_GO],
   [AC_LANG_PUSH(Go)dnl
   AC_ARG_VAR([GOC],     [Go compiler command])dnl
   AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
   _AC_ARG_VAR_LDFLAGS()dnl
   AC_CHECK_TOOL(GOC, gccgo)
   if test -z "$GOC"; then
     if test -n "$ac_tool_prefix"; then
       AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
     fi
   fi
   if test -z "$GOC"; then
     AC_CHECK_PROG(GOC, gccgo, gccgo, false)
   fi
   ])#m4_defun
   ])#m4_ifndef
   
   
 # _LT_LANG_DEFAULT_CONFIG  # _LT_LANG_DEFAULT_CONFIG
 # -----------------------  # -----------------------
 m4_defun([_LT_LANG_DEFAULT_CONFIG],  m4_defun([_LT_LANG_DEFAULT_CONFIG],
Line 852  AC_PROVIDE_IFELSE([AC_PROG_GCJ], Line 880  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
        m4_ifdef([LT_PROG_GCJ],         m4_ifdef([LT_PROG_GCJ],
         [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])          [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
   
   AC_PROVIDE_IFELSE([AC_PROG_GO],
     [LT_LANG(GO)],
     [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
   
 AC_PROVIDE_IFELSE([LT_PROG_RC],  AC_PROVIDE_IFELSE([LT_PROG_RC],
   [LT_LANG(RC)],    [LT_LANG(RC)],
   [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])    [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
Line 954  m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ Line 986  m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
         _lt_result=$?          _lt_result=$?
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then        # If there is a non-empty error log, and "single_module"
         # appears in it, assume the flag caused a linker warning
         if test -s conftest.err && $GREP single_module conftest.err; then
           cat conftest.err >&AS_MESSAGE_LOG_FD
         # Otherwise, if the output was created with a 0 exit code from
         # the compiler, it worked.
         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
           lt_cv_apple_cc_single_mod=yes            lt_cv_apple_cc_single_mod=yes
         else          else
           cat conftest.err >&AS_MESSAGE_LOG_FD            cat conftest.err >&AS_MESSAGE_LOG_FD
Line 962  m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ Line 1000  m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
         rm -rf libconftest.dylib*          rm -rf libconftest.dylib*
         rm -f conftest.*          rm -f conftest.*
       fi])        fi])
   
     AC_CACHE_CHECK([for -exported_symbols_list linker flag],      AC_CACHE_CHECK([for -exported_symbols_list linker flag],
       [lt_cv_ld_exported_symbols_list],        [lt_cv_ld_exported_symbols_list],
       [lt_cv_ld_exported_symbols_list=no        [lt_cv_ld_exported_symbols_list=no
Line 973  m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ Line 1012  m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
         [lt_cv_ld_exported_symbols_list=no])          [lt_cv_ld_exported_symbols_list=no])
         LDFLAGS="$save_LDFLAGS"          LDFLAGS="$save_LDFLAGS"
     ])      ])
   
     AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],      AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
       [lt_cv_ld_force_load=no        [lt_cv_ld_force_load=no
       cat > conftest.c << _LT_EOF        cat > conftest.c << _LT_EOF
Line 990  _LT_EOF Line 1030  _LT_EOF
       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
       _lt_result=$?        _lt_result=$?
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then      if test -s conftest.err && $GREP force_load conftest.err; then
         cat conftest.err >&AS_MESSAGE_LOG_FD
       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
         lt_cv_ld_force_load=yes          lt_cv_ld_force_load=yes
       else        else
         cat conftest.err >&AS_MESSAGE_LOG_FD          cat conftest.err >&AS_MESSAGE_LOG_FD
Line 1035  _LT_EOF Line 1077  _LT_EOF
 ])  ])
   
   
# _LT_DARWIN_LINKER_FEATURES# _LT_DARWIN_LINKER_FEATURES([TAG])
# --------------------------# ---------------------------------
 # Checks for linker and compiler features on darwin  # Checks for linker and compiler features on darwin
 m4_defun([_LT_DARWIN_LINKER_FEATURES],  m4_defun([_LT_DARWIN_LINKER_FEATURES],
 [  [
Line 1047  m4_defun([_LT_DARWIN_LINKER_FEATURES], Line 1089  m4_defun([_LT_DARWIN_LINKER_FEATURES],
   _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported    _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
   if test "$lt_cv_ld_force_load" = "yes"; then    if test "$lt_cv_ld_force_load" = "yes"; then
     _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'      _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
       m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
                     [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
   else    else
     _LT_TAGVAR(whole_archive_flag_spec, $1)=''      _LT_TAGVAR(whole_archive_flag_spec, $1)=''
   fi    fi
Line 1330  s390*-*linux*|s390*-*tpf*|sparc*-*linux*) Line 1374  s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
     CFLAGS="$SAVE_CFLAGS"      CFLAGS="$SAVE_CFLAGS"
   fi    fi
   ;;    ;;
sparc*-*solaris*)*-*solaris*)
   # Find out which ABI we are using.    # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext    echo 'int i;' > conftest.$ac_ext
   if AC_TRY_EVAL(ac_compile); then    if AC_TRY_EVAL(ac_compile); then
     case `/usr/bin/file conftest.o` in      case `/usr/bin/file conftest.o` in
     *64-bit*)      *64-bit*)
       case $lt_cv_prog_gnu_ld in        case $lt_cv_prog_gnu_ld in
      yes*) LD="${LD-ld} -m elf64_sparc" ;;      yes*)
         case $host in
         i?86-*-solaris*)
           LD="${LD-ld} -m elf_x86_64"
           ;;
         sparc*-*-solaris*)
           LD="${LD-ld} -m elf64_sparc"
           ;;
         esac
         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
           LD="${LD-ld}_sol2"
         fi
         ;;
       *)        *)
         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
           LD="${LD-ld} -64"            LD="${LD-ld} -64"
Line 1414  old_postuninstall_cmds= Line 1471  old_postuninstall_cmds=
 if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
   case $host_os in    case $host_os in
   openbsd*)    openbsd*)
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
     ;;      ;;
   *)    *)
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
     ;;      ;;
   esac    esac
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 fi  fi
   
 case $host_os in  case $host_os in
Line 1600  AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl Line 1657  AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
     lt_cv_sys_max_cmd_len=196608      lt_cv_sys_max_cmd_len=196608
     ;;      ;;
   
     os2*)
       # The test takes a long time on OS/2.
       lt_cv_sys_max_cmd_len=8192
       ;;
   
   osf*)    osf*)
     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
Line 1639  AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl Line 1701  AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
       # If test is not a shell built-in, we'll probably end up computing a        # If test is not a shell built-in, we'll probably end up computing a
       # maximum length that is only half of the actual maximum length, but        # maximum length that is only half of the actual maximum length, but
       # we can't tell.        # we can't tell.
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
               test $i != 17 # 1/2 MB should be enough                test $i != 17 # 1/2 MB should be enough
       do        do
Line 2185  need_version=unknown Line 2247  need_version=unknown
   
 case $host_os in  case $host_os in
 aix3*)  aix3*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   shlibpath_var=LIBPATH    shlibpath_var=LIBPATH
   
Line 2194  aix3*) Line 2256  aix3*)
   ;;    ;;
   
 aix[[4-9]]*)  aix[[4-9]]*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   hardcode_into_libs=yes    hardcode_into_libs=yes
Line 2259  beos*) Line 2321  beos*)
   ;;    ;;
   
 bsdi[[45]]*)  bsdi[[45]]*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_version=no    need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
Line 2398  m4_if([$1], [],[ Line 2460  m4_if([$1], [],[
   ;;    ;;
   
 dgux*)  dgux*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
Line 2406  dgux*) Line 2468  dgux*)
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
   ;;    ;;
   
 freebsd1*)  
   dynamic_linker=no  
   ;;  
   
 freebsd* | dragonfly*)  freebsd* | dragonfly*)
   # DragonFly does not have aout.  When/if they implement a new    # DragonFly does not have aout.  When/if they implement a new
   # versioning mechanism, adjust this.    # versioning mechanism, adjust this.
Line 2417  freebsd* | dragonfly*) Line 2475  freebsd* | dragonfly*)
     objformat=`/usr/bin/objformat`      objformat=`/usr/bin/objformat`
   else    else
     case $host_os in      case $host_os in
    freebsd[[123]]*) objformat=aout ;;    freebsd[[23]].*) objformat=aout ;;
     *) objformat=elf ;;      *) objformat=elf ;;
     esac      esac
   fi    fi
Line 2435  freebsd* | dragonfly*) Line 2493  freebsd* | dragonfly*)
   esac    esac
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
   case $host_os in    case $host_os in
  freebsd2*)  freebsd2.*)
     shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
     ;;      ;;
   freebsd3.[[01]]* | freebsdelf3.[[01]]*)    freebsd3.[[01]]* | freebsdelf3.[[01]]*)
Line 2455  freebsd* | dragonfly*) Line 2513  freebsd* | dragonfly*)
   ;;    ;;
   
 gnu*)  gnu*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=no
   hardcode_into_libs=yes    hardcode_into_libs=yes
   ;;    ;;
   
 haiku*)  haiku*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   dynamic_linker="$host_os runtime_loader"    dynamic_linker="$host_os runtime_loader"
Line 2526  hpux9* | hpux10* | hpux11*) Line 2585  hpux9* | hpux10* | hpux11*)
   ;;    ;;
   
 interix[[3-9]]*)  interix[[3-9]]*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
Line 2542  irix5* | irix6* | nonstopux*) Line 2601  irix5* | irix6* | nonstopux*)
     nonstopux*) version_type=nonstopux ;;      nonstopux*) version_type=nonstopux ;;
     *)      *)
         if test "$lt_cv_prog_gnu_ld" = yes; then          if test "$lt_cv_prog_gnu_ld" = yes; then
                version_type=linux                version_type=linux # correct to gnu/linux during the next big refactor
         else          else
                 version_type=irix                  version_type=irix
         fi ;;          fi ;;
Line 2579  linux*oldld* | linux*aout* | linux*coff*) Line 2638  linux*oldld* | linux*aout* | linux*coff*)
   dynamic_linker=no    dynamic_linker=no
   ;;    ;;
   
# This must be Linux ELF.# This must be glibc/ELF.
 linux* | k*bsd*-gnu | kopensolaris*-gnu)  linux* | k*bsd*-gnu | kopensolaris*-gnu)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
Line 2648  netbsd*) Line 2707  netbsd*)
   ;;    ;;
   
 newsos6)  newsos6)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=yes    shlibpath_overrides_runpath=yes
Line 2717  rdos*) Line 2776  rdos*)
   ;;    ;;
   
 solaris*)  solaris*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
Line 2742  sunos4*) Line 2801  sunos4*)
   ;;    ;;
   
 sysv4 | sysv4.3*)  sysv4 | sysv4.3*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
Line 2766  sysv4 | sysv4.3*) Line 2825  sysv4 | sysv4.3*)
   
 sysv4*MP*)  sysv4*MP*)
   if test -d /usr/nec ;then    if test -d /usr/nec ;then
    version_type=linux    version_type=linux # correct to gnu/linux during the next big refactor
     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
     soname_spec='$libname${shared_ext}.$major'      soname_spec='$libname${shared_ext}.$major'
     shlibpath_var=LD_LIBRARY_PATH      shlibpath_var=LD_LIBRARY_PATH
Line 2797  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | Line 2856  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* |
   
 tpf*)  tpf*)
   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
Line 2807  tpf*) Line 2866  tpf*)
   ;;    ;;
   
 uts4*)  uts4*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
Line 3229  irix5* | irix6* | nonstopux*) Line 3288  irix5* | irix6* | nonstopux*)
   lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   ;;    ;;
   
# This must be Linux ELF.# This must be glibc/ELF.
 linux* | k*bsd*-gnu | kopensolaris*-gnu)  linux* | k*bsd*-gnu | kopensolaris*-gnu)
   lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   ;;    ;;
Line 3649  for ac_symprfx in "" "_"; do Line 3708  for ac_symprfx in "" "_"; do
     # which start with @ or ?.      # which start with @ or ?.
     lt_cv_sys_global_symbol_pipe="$AWK ['"\      lt_cv_sys_global_symbol_pipe="$AWK ['"\
 "     {last_section=section; section=\$ 3};"\  "     {last_section=section; section=\$ 3};"\
   "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\  "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 "     \$ 0!~/External *\|/{next};"\  "     \$ 0!~/External *\|/{next};"\
 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\  "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
Line 4233  m4_if([$1], [CXX], [ Line 4293  m4_if([$1], [CXX], [
     case $cc_basename in      case $cc_basename in
     nvcc*) # Cuda Compiler Driver 2.2      nvcc*) # Cuda Compiler Driver 2.2
       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'      if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
         _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
       fi
       ;;        ;;
     esac      esac
   else    else
Line 4325  m4_if([$1], [CXX], [ Line 4387  m4_if([$1], [CXX], [
         ;;          ;;
       *)        *)
         case `$CC -V 2>&1 | sed 5q` in          case `$CC -V 2>&1 | sed 5q` in
        *Sun\ F* | *Sun*Fortran*)        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
           # Sun Fortran 8.3 passes all unrecognized flags to the linker            # Sun Fortran 8.3 passes all unrecognized flags to the linker
           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'            _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
           _LT_TAGVAR(lt_prog_compiler_wl, $1)=''            _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
           ;;            ;;
           *Sun\ F* | *Sun*Fortran*)
             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
             _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
             ;;
         *Sun\ C*)          *Sun\ C*)
           # Sun C 5.9            # Sun C 5.9
           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'            _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
           ;;            ;;
           *Intel*\ [[CF]]*Compiler*)
             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
             _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
             ;;
           *Portland\ Group*)
             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
             _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
             ;;
         esac          esac
         ;;          ;;
       esac        esac
Line 4496  m4_if([$1], [CXX], [ Line 4573  m4_if([$1], [CXX], [
     ;;      ;;
   cygwin* | mingw* | cegcc*)    cygwin* | mingw* | cegcc*)
     case $cc_basename in      case $cc_basename in
    cl*) ;;    cl*)
       _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
       ;;
     *)      *)
       _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'        _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
       _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']        _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
Line 4521  m4_if([$1], [CXX], [ Line 4600  m4_if([$1], [CXX], [
   _LT_TAGVAR(hardcode_direct, $1)=no    _LT_TAGVAR(hardcode_direct, $1)=no
   _LT_TAGVAR(hardcode_direct_absolute, $1)=no    _LT_TAGVAR(hardcode_direct_absolute, $1)=no
   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
   _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=  
   _LT_TAGVAR(hardcode_libdir_separator, $1)=    _LT_TAGVAR(hardcode_libdir_separator, $1)=
   _LT_TAGVAR(hardcode_minus_L, $1)=no    _LT_TAGVAR(hardcode_minus_L, $1)=no
   _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported    _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
Line 4772  _LT_EOF Line 4850  _LT_EOF
         xlf* | bgf* | bgxlf* | mpixlf*)          xlf* | bgf* | bgxlf* | mpixlf*)
           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
           _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'            _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
          _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' 
           _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'            _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
           if test "x$supports_anon_versioning" = xyes; then            if test "x$supports_anon_versioning" = xyes; then
             _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~              _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
Line 5068  _LT_EOF Line 5145  _LT_EOF
         # The linker will not automatically build a static lib if we build a DLL.          # The linker will not automatically build a static lib if we build a DLL.
         # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'          # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
         _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes          _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
           _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
         _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'          _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
         # Don't use ranlib          # Don't use ranlib
         _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'          _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
Line 5114  _LT_EOF Line 5192  _LT_EOF
       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
       ;;        ;;
   
     freebsd1*)  
       _LT_TAGVAR(ld_shlibs, $1)=no  
       ;;  
   
     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     # support.  Future versions do this automatically, but an explicit c++rt0.o      # support.  Future versions do this automatically, but an explicit c++rt0.o
     # does not break anything, and helps significantly (at the cost of a little      # does not break anything, and helps significantly (at the cost of a little
Line 5130  _LT_EOF Line 5204  _LT_EOF
       ;;        ;;
   
     # Unfortunately, older versions of FreeBSD 2 do not have this feature.      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    freebsd2*)    freebsd2.*)
       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       _LT_TAGVAR(hardcode_direct, $1)=yes        _LT_TAGVAR(hardcode_direct, $1)=yes
       _LT_TAGVAR(hardcode_minus_L, $1)=yes        _LT_TAGVAR(hardcode_minus_L, $1)=yes
Line 5169  _LT_EOF Line 5243  _LT_EOF
       fi        fi
       if test "$with_gnu_ld" = no; then        if test "$with_gnu_ld" = no; then
         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
         _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'  
         _LT_TAGVAR(hardcode_libdir_separator, $1)=:          _LT_TAGVAR(hardcode_libdir_separator, $1)=:
         _LT_TAGVAR(hardcode_direct, $1)=yes          _LT_TAGVAR(hardcode_direct, $1)=yes
         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes          _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
Line 5611  _LT_TAGDECL([], [no_undefined_flag], [1], Line 5684  _LT_TAGDECL([], [no_undefined_flag], [1],
 _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],  _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
     [Flag to hardcode $libdir into a binary during linking.      [Flag to hardcode $libdir into a binary during linking.
     This must work even if $libdir does not exist])      This must work even if $libdir does not exist])
 _LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],  
     [[If ld is used when linking, flag to hardcode $libdir into a binary  
     during linking.  This must work even if $libdir does not exist]])  
 _LT_TAGDECL([], [hardcode_libdir_separator], [1],  _LT_TAGDECL([], [hardcode_libdir_separator], [1],
     [Whether we need a single "-rpath" flag with a separated argument])      [Whether we need a single "-rpath" flag with a separated argument])
 _LT_TAGDECL([], [hardcode_direct], [0],  _LT_TAGDECL([], [hardcode_direct], [0],
Line 5771  _LT_TAGVAR(export_dynamic_flag_spec, $1)= Line 5841  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 _LT_TAGVAR(hardcode_direct, $1)=no  _LT_TAGVAR(hardcode_direct, $1)=no
 _LT_TAGVAR(hardcode_direct_absolute, $1)=no  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=  
 _LT_TAGVAR(hardcode_libdir_separator, $1)=  _LT_TAGVAR(hardcode_libdir_separator, $1)=
 _LT_TAGVAR(hardcode_minus_L, $1)=no  _LT_TAGVAR(hardcode_minus_L, $1)=no
 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
Line 6141  if test "$_lt_caught_CXX_error" != yes; then Line 6210  if test "$_lt_caught_CXX_error" != yes; then
         esac          esac
         ;;          ;;
   
      freebsd[[12]]*)      freebsd2.*)
         # C++ shared libraries reported to be fairly broken before          # C++ shared libraries reported to be fairly broken before
         # switch to ELF          # switch to ELF
         _LT_TAGVAR(ld_shlibs, $1)=no          _LT_TAGVAR(ld_shlibs, $1)=no
Line 6902  public class foo { Line 6971  public class foo {
   }    }
 };  };
 _LT_EOF  _LT_EOF
   ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
   package foo
   func foo() {
   }
   _LT_EOF
 ])  ])
   
 _lt_libdeps_save_CFLAGS=$CFLAGS  _lt_libdeps_save_CFLAGS=$CFLAGS
 case "$CC $CFLAGS " in #(  case "$CC $CFLAGS " in #(
 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;  *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;  *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
   *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
 esac  esac
   
 dnl Parse the compiler output and extract the necessary  dnl Parse the compiler output and extract the necessary
Line 7104  _LT_TAGVAR(export_dynamic_flag_spec, $1)= Line 7179  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 _LT_TAGVAR(hardcode_direct, $1)=no  _LT_TAGVAR(hardcode_direct, $1)=no
 _LT_TAGVAR(hardcode_direct_absolute, $1)=no  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=  
 _LT_TAGVAR(hardcode_libdir_separator, $1)=  _LT_TAGVAR(hardcode_libdir_separator, $1)=
 _LT_TAGVAR(hardcode_minus_L, $1)=no  _LT_TAGVAR(hardcode_minus_L, $1)=no
 _LT_TAGVAR(hardcode_automatic, $1)=no  _LT_TAGVAR(hardcode_automatic, $1)=no
Line 7237  _LT_TAGVAR(export_dynamic_flag_spec, $1)= Line 7311  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 _LT_TAGVAR(hardcode_direct, $1)=no  _LT_TAGVAR(hardcode_direct, $1)=no
 _LT_TAGVAR(hardcode_direct_absolute, $1)=no  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=  
 _LT_TAGVAR(hardcode_libdir_separator, $1)=  _LT_TAGVAR(hardcode_libdir_separator, $1)=
 _LT_TAGVAR(hardcode_minus_L, $1)=no  _LT_TAGVAR(hardcode_minus_L, $1)=no
 _LT_TAGVAR(hardcode_automatic, $1)=no  _LT_TAGVAR(hardcode_automatic, $1)=no
Line 7424  CFLAGS=$lt_save_CFLAGS Line 7497  CFLAGS=$lt_save_CFLAGS
 ])# _LT_LANG_GCJ_CONFIG  ])# _LT_LANG_GCJ_CONFIG
   
   
   # _LT_LANG_GO_CONFIG([TAG])
   # --------------------------
   # Ensure that the configuration variables for the GNU Go compiler
   # are suitably defined.  These variables are subsequently used by _LT_CONFIG
   # to write the compiler configuration to `libtool'.
   m4_defun([_LT_LANG_GO_CONFIG],
   [AC_REQUIRE([LT_PROG_GO])dnl
   AC_LANG_SAVE
   
   # Source file extension for Go test sources.
   ac_ext=go
   
   # Object file extension for compiled Go test sources.
   objext=o
   _LT_TAGVAR(objext, $1)=$objext
   
   # Code to be used in simple compile tests
   lt_simple_compile_test_code="package main; func main() { }"
   
   # Code to be used in simple link tests
   lt_simple_link_test_code='package main; func main() { }'
   
   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   _LT_TAG_COMPILER
   
   # save warnings/boilerplate of simple test code
   _LT_COMPILER_BOILERPLATE
   _LT_LINKER_BOILERPLATE
   
   # Allow CC to be a program name with arguments.
   lt_save_CC=$CC
   lt_save_CFLAGS=$CFLAGS
   lt_save_GCC=$GCC
   GCC=yes
   CC=${GOC-"gccgo"}
   CFLAGS=$GOFLAGS
   compiler=$CC
   _LT_TAGVAR(compiler, $1)=$CC
   _LT_TAGVAR(LD, $1)="$LD"
   _LT_CC_BASENAME([$compiler])
   
   # Go did not exist at the time GCC didn't implicitly link libc in.
   _LT_TAGVAR(archive_cmds_need_lc, $1)=no
   
   _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
   _LT_TAGVAR(reload_flag, $1)=$reload_flag
   _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
   
   ## CAVEAT EMPTOR:
   ## There is no encapsulation within the following macros, do not change
   ## the running order or otherwise move them around unless you know exactly
   ## what you are doing...
   if test -n "$compiler"; then
     _LT_COMPILER_NO_RTTI($1)
     _LT_COMPILER_PIC($1)
     _LT_COMPILER_C_O($1)
     _LT_COMPILER_FILE_LOCKS($1)
     _LT_LINKER_SHLIBS($1)
     _LT_LINKER_HARDCODE_LIBPATH($1)
   
     _LT_CONFIG($1)
   fi
   
   AC_LANG_RESTORE
   
   GCC=$lt_save_GCC
   CC=$lt_save_CC
   CFLAGS=$lt_save_CFLAGS
   ])# _LT_LANG_GO_CONFIG
   
   
 # _LT_LANG_RC_CONFIG([TAG])  # _LT_LANG_RC_CONFIG([TAG])
 # -------------------------  # -------------------------
 # Ensure that the configuration variables for the Windows resource compiler  # Ensure that the configuration variables for the Windows resource compiler
Line 7491  AC_DEFUN([LT_PROG_GCJ], Line 7635  AC_DEFUN([LT_PROG_GCJ],
 AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])  AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
 dnl aclocal-1.4 backwards compatibility:  dnl aclocal-1.4 backwards compatibility:
 dnl AC_DEFUN([LT_AC_PROG_GCJ], [])  dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
   
   
   # LT_PROG_GO
   # ----------
   AC_DEFUN([LT_PROG_GO],
   [AC_CHECK_TOOL(GOC, gccgo,)
   ])
   
   
 # LT_PROG_RC  # LT_PROG_RC

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>