ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-7.3/aclocal.m4
(Generate patch)

Comparing ircd-hybrid-7.3/aclocal.m4 (file contents):
Revision 1106 by michael, Tue Nov 2 15:10:53 2010 UTC vs.
Revision 1253 by michael, Tue Nov 1 09:03:49 2011 UTC

# Line 102 | Line 102 | AC_DEFUN([gl_PREREQ_ARGZ], [:])
102   # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
103   #
104   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
105 < #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
106 < #                 Inc.
105 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
106 > #                 Foundation, Inc.
107   #   Written by Gordon Matzigkeit, 1996
108   #
109   # This file is free software; the Free Software Foundation gives
# Line 112 | Line 112 | AC_DEFUN([gl_PREREQ_ARGZ], [:])
112  
113   m4_define([_LT_COPYING], [dnl
114   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
115 < #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
116 < #                 Inc.
115 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
116 > #                 Foundation, Inc.
117   #   Written by Gordon Matzigkeit, 1996
118   #
119   #   This file is part of GNU Libtool.
# Line 247 | Line 247 | AC_REQUIRE([AC_CANONICAL_BUILD])dnl
247   AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
248   AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
249  
250 + _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
251 + dnl
252   _LT_DECL([], [host_alias], [0], [The host system])dnl
253   _LT_DECL([], [host], [0])dnl
254   _LT_DECL([], [host_os], [0])dnl
# Line 732 | Line 734 | m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_
734   m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
735   configured by $[0], generated by m4_PACKAGE_STRING.
736  
737 < Copyright (C) 2010 Free Software Foundation, Inc.
737 > Copyright (C) 2011 Free Software Foundation, Inc.
738   This config.lt script is free software; the Free Software Foundation
739   gives unlimited permision to copy, distribute and modify it."
740  
# Line 896 | Line 898 | AC_DEFUN([LT_LANG],
898   m4_case([$1],
899    [C],                  [_LT_LANG(C)],
900    [C++],                [_LT_LANG(CXX)],
901 +  [Go],                 [_LT_LANG(GO)],
902    [Java],               [_LT_LANG(GCJ)],
903    [Fortran 77],         [_LT_LANG(F77)],
904    [Fortran],            [_LT_LANG(FC)],
# Line 917 | Line 920 | m4_defun([_LT_LANG],
920   ])# _LT_LANG
921  
922  
923 + m4_ifndef([AC_PROG_GO], [
924 + # NOTE: This macro has been submitted for inclusion into   #
925 + #  GNU Autoconf as AC_PROG_GO.  When it is available in    #
926 + #  a released version of Autoconf we should remove this    #
927 + #  macro and use it instead.                               #
928 + m4_defun([AC_PROG_GO],
929 + [AC_LANG_PUSH(Go)dnl
930 + AC_ARG_VAR([GOC],     [Go compiler command])dnl
931 + AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
932 + _AC_ARG_VAR_LDFLAGS()dnl
933 + AC_CHECK_TOOL(GOC, gccgo)
934 + if test -z "$GOC"; then
935 +  if test -n "$ac_tool_prefix"; then
936 +    AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
937 +  fi
938 + fi
939 + if test -z "$GOC"; then
940 +  AC_CHECK_PROG(GOC, gccgo, gccgo, false)
941 + fi
942 + ])#m4_defun
943 + ])#m4_ifndef
944 +
945 +
946   # _LT_LANG_DEFAULT_CONFIG
947   # -----------------------
948   m4_defun([_LT_LANG_DEFAULT_CONFIG],
# Line 947 | Line 973 | AC_PROVIDE_IFELSE([AC_PROG_GCJ],
973         m4_ifdef([LT_PROG_GCJ],
974          [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
975  
976 + AC_PROVIDE_IFELSE([AC_PROG_GO],
977 +  [LT_LANG(GO)],
978 +  [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
979 +
980   AC_PROVIDE_IFELSE([LT_PROG_RC],
981    [LT_LANG(RC)],
982    [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
# Line 1049 | Line 1079 | m4_defun_once([_LT_REQUIRED_DARWIN_CHECK
1079          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1080            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1081          _lt_result=$?
1082 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
1082 >        # If there is a non-empty error log, and "single_module"
1083 >        # appears in it, assume the flag caused a linker warning
1084 >        if test -s conftest.err && $GREP single_module conftest.err; then
1085 >          cat conftest.err >&AS_MESSAGE_LOG_FD
1086 >        # Otherwise, if the output was created with a 0 exit code from
1087 >        # the compiler, it worked.
1088 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
1089            lt_cv_apple_cc_single_mod=yes
1090          else
1091            cat conftest.err >&AS_MESSAGE_LOG_FD
# Line 1057 | Line 1093 | m4_defun_once([_LT_REQUIRED_DARWIN_CHECK
1093          rm -rf libconftest.dylib*
1094          rm -f conftest.*
1095        fi])
1096 +
1097      AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1098        [lt_cv_ld_exported_symbols_list],
1099        [lt_cv_ld_exported_symbols_list=no
# Line 1068 | Line 1105 | m4_defun_once([_LT_REQUIRED_DARWIN_CHECK
1105          [lt_cv_ld_exported_symbols_list=no])
1106          LDFLAGS="$save_LDFLAGS"
1107      ])
1108 +
1109      AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1110        [lt_cv_ld_force_load=no
1111        cat > conftest.c << _LT_EOF
# Line 1085 | Line 1123 | _LT_EOF
1123        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
1124        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1125        _lt_result=$?
1126 <      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
1126 >      if test -s conftest.err && $GREP force_load conftest.err; then
1127 >        cat conftest.err >&AS_MESSAGE_LOG_FD
1128 >      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
1129          lt_cv_ld_force_load=yes
1130        else
1131          cat conftest.err >&AS_MESSAGE_LOG_FD
# Line 1130 | Line 1170 | _LT_EOF
1170   ])
1171  
1172  
1173 < # _LT_DARWIN_LINKER_FEATURES
1174 < # --------------------------
1173 > # _LT_DARWIN_LINKER_FEATURES([TAG])
1174 > # ---------------------------------
1175   # Checks for linker and compiler features on darwin
1176   m4_defun([_LT_DARWIN_LINKER_FEATURES],
1177   [
# Line 1142 | Line 1182 | m4_defun([_LT_DARWIN_LINKER_FEATURES],
1182    _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1183    if test "$lt_cv_ld_force_load" = "yes"; then
1184      _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\"`'
1185 +    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
1186 +                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
1187    else
1188      _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1189    fi
# Line 1425 | Line 1467 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
1467      CFLAGS="$SAVE_CFLAGS"
1468    fi
1469    ;;
1470 < sparc*-*solaris*)
1470 > *-*solaris*)
1471    # Find out which ABI we are using.
1472    echo 'int i;' > conftest.$ac_ext
1473    if AC_TRY_EVAL(ac_compile); then
1474      case `/usr/bin/file conftest.o` in
1475      *64-bit*)
1476        case $lt_cv_prog_gnu_ld in
1477 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
1477 >      yes*)
1478 >        case $host in
1479 >        i?86-*-solaris*)
1480 >          LD="${LD-ld} -m elf_x86_64"
1481 >          ;;
1482 >        sparc*-*-solaris*)
1483 >          LD="${LD-ld} -m elf64_sparc"
1484 >          ;;
1485 >        esac
1486 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
1487 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1488 >          LD="${LD-ld}_sol2"
1489 >        fi
1490 >        ;;
1491        *)
1492          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1493            LD="${LD-ld} -64"
# Line 1509 | Line 1564 | old_postuninstall_cmds=
1564   if test -n "$RANLIB"; then
1565    case $host_os in
1566    openbsd*)
1567 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1567 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1568      ;;
1569    *)
1570 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1570 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1571      ;;
1572    esac
1573 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1573 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1574   fi
1575  
1576   case $host_os in
# Line 1695 | Line 1750 | AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [d
1750      lt_cv_sys_max_cmd_len=196608
1751      ;;
1752  
1753 +  os2*)
1754 +    # The test takes a long time on OS/2.
1755 +    lt_cv_sys_max_cmd_len=8192
1756 +    ;;
1757 +
1758    osf*)
1759      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1760      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 1734 | Line 1794 | AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [d
1794        # If test is not a shell built-in, we'll probably end up computing a
1795        # maximum length that is only half of the actual maximum length, but
1796        # we can't tell.
1797 <      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
1797 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
1798                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1799                test $i != 17 # 1/2 MB should be enough
1800        do
# Line 2280 | Line 2340 | need_version=unknown
2340  
2341   case $host_os in
2342   aix3*)
2343 <  version_type=linux
2343 >  version_type=linux # correct to gnu/linux during the next big refactor
2344    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
2345    shlibpath_var=LIBPATH
2346  
# Line 2289 | Line 2349 | aix3*)
2349    ;;
2350  
2351   aix[[4-9]]*)
2352 <  version_type=linux
2352 >  version_type=linux # correct to gnu/linux during the next big refactor
2353    need_lib_prefix=no
2354    need_version=no
2355    hardcode_into_libs=yes
# Line 2354 | Line 2414 | beos*)
2414    ;;
2415  
2416   bsdi[[45]]*)
2417 <  version_type=linux
2417 >  version_type=linux # correct to gnu/linux during the next big refactor
2418    need_version=no
2419    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2420    soname_spec='${libname}${release}${shared_ext}$major'
# Line 2493 | Line 2553 | m4_if([$1], [],[
2553    ;;
2554  
2555   dgux*)
2556 <  version_type=linux
2556 >  version_type=linux # correct to gnu/linux during the next big refactor
2557    need_lib_prefix=no
2558    need_version=no
2559    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 2501 | Line 2561 | dgux*)
2561    shlibpath_var=LD_LIBRARY_PATH
2562    ;;
2563  
2504 freebsd1*)
2505  dynamic_linker=no
2506  ;;
2507
2564   freebsd* | dragonfly*)
2565    # DragonFly does not have aout.  When/if they implement a new
2566    # versioning mechanism, adjust this.
# Line 2512 | Line 2568 | freebsd* | dragonfly*)
2568      objformat=`/usr/bin/objformat`
2569    else
2570      case $host_os in
2571 <    freebsd[[123]]*) objformat=aout ;;
2571 >    freebsd[[23]].*) objformat=aout ;;
2572      *) objformat=elf ;;
2573      esac
2574    fi
# Line 2530 | Line 2586 | freebsd* | dragonfly*)
2586    esac
2587    shlibpath_var=LD_LIBRARY_PATH
2588    case $host_os in
2589 <  freebsd2*)
2589 >  freebsd2.*)
2590      shlibpath_overrides_runpath=yes
2591      ;;
2592    freebsd3.[[01]]* | freebsdelf3.[[01]]*)
# Line 2550 | Line 2606 | freebsd* | dragonfly*)
2606    ;;
2607  
2608   gnu*)
2609 <  version_type=linux
2609 >  version_type=linux # correct to gnu/linux during the next big refactor
2610    need_lib_prefix=no
2611    need_version=no
2612    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2613    soname_spec='${libname}${release}${shared_ext}$major'
2614    shlibpath_var=LD_LIBRARY_PATH
2615 +  shlibpath_overrides_runpath=no
2616    hardcode_into_libs=yes
2617    ;;
2618  
2619   haiku*)
2620 <  version_type=linux
2620 >  version_type=linux # correct to gnu/linux during the next big refactor
2621    need_lib_prefix=no
2622    need_version=no
2623    dynamic_linker="$host_os runtime_loader"
# Line 2621 | Line 2678 | hpux9* | hpux10* | hpux11*)
2678    ;;
2679  
2680   interix[[3-9]]*)
2681 <  version_type=linux
2681 >  version_type=linux # correct to gnu/linux during the next big refactor
2682    need_lib_prefix=no
2683    need_version=no
2684    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 2637 | Line 2694 | irix5* | irix6* | nonstopux*)
2694      nonstopux*) version_type=nonstopux ;;
2695      *)
2696          if test "$lt_cv_prog_gnu_ld" = yes; then
2697 <                version_type=linux
2697 >                version_type=linux # correct to gnu/linux during the next big refactor
2698          else
2699                  version_type=irix
2700          fi ;;
# Line 2674 | Line 2731 | linux*oldld* | linux*aout* | linux*coff*
2731    dynamic_linker=no
2732    ;;
2733  
2734 < # This must be Linux ELF.
2734 > # This must be glibc/ELF.
2735   linux* | k*bsd*-gnu | kopensolaris*-gnu)
2736 <  version_type=linux
2736 >  version_type=linux # correct to gnu/linux during the next big refactor
2737    need_lib_prefix=no
2738    need_version=no
2739    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 2739 | Line 2796 | netbsd*)
2796    ;;
2797  
2798   newsos6)
2799 <  version_type=linux
2799 >  version_type=linux # correct to gnu/linux during the next big refactor
2800    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2801    shlibpath_var=LD_LIBRARY_PATH
2802    shlibpath_overrides_runpath=yes
# Line 2808 | Line 2865 | rdos*)
2865    ;;
2866  
2867   solaris*)
2868 <  version_type=linux
2868 >  version_type=linux # correct to gnu/linux during the next big refactor
2869    need_lib_prefix=no
2870    need_version=no
2871    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 2833 | Line 2890 | sunos4*)
2890    ;;
2891  
2892   sysv4 | sysv4.3*)
2893 <  version_type=linux
2893 >  version_type=linux # correct to gnu/linux during the next big refactor
2894    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2895    soname_spec='${libname}${release}${shared_ext}$major'
2896    shlibpath_var=LD_LIBRARY_PATH
# Line 2857 | Line 2914 | sysv4 | sysv4.3*)
2914  
2915   sysv4*MP*)
2916    if test -d /usr/nec ;then
2917 <    version_type=linux
2917 >    version_type=linux # correct to gnu/linux during the next big refactor
2918      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
2919      soname_spec='$libname${shared_ext}.$major'
2920      shlibpath_var=LD_LIBRARY_PATH
# Line 2888 | Line 2945 | sysv5* | sco3.2v5* | sco5v6* | unixware*
2945  
2946   tpf*)
2947    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
2948 <  version_type=linux
2948 >  version_type=linux # correct to gnu/linux during the next big refactor
2949    need_lib_prefix=no
2950    need_version=no
2951    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 2898 | Line 2955 | tpf*)
2955    ;;
2956  
2957   uts4*)
2958 <  version_type=linux
2958 >  version_type=linux # correct to gnu/linux during the next big refactor
2959    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2960    soname_spec='${libname}${release}${shared_ext}$major'
2961    shlibpath_var=LD_LIBRARY_PATH
# Line 3320 | Line 3377 | irix5* | irix6* | nonstopux*)
3377    lt_cv_deplibs_check_method=pass_all
3378    ;;
3379  
3380 < # This must be Linux ELF.
3380 > # This must be glibc/ELF.
3381   linux* | k*bsd*-gnu | kopensolaris*-gnu)
3382    lt_cv_deplibs_check_method=pass_all
3383    ;;
# Line 3740 | Line 3797 | for ac_symprfx in "" "_"; do
3797      # which start with @ or ?.
3798      lt_cv_sys_global_symbol_pipe="$AWK ['"\
3799   "     {last_section=section; section=\$ 3};"\
3800 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
3801   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
3802   "     \$ 0!~/External *\|/{next};"\
3803   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 4324 | Line 4382 | m4_if([$1], [CXX], [
4382      case $cc_basename in
4383      nvcc*) # Cuda Compiler Driver 2.2
4384        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4385 <      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
4385 >      if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4386 >        _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4387 >      fi
4388        ;;
4389      esac
4390    else
# Line 4416 | Line 4476 | m4_if([$1], [CXX], [
4476          ;;
4477        *)
4478          case `$CC -V 2>&1 | sed 5q` in
4479 <        *Sun\ F* | *Sun*Fortran*)
4479 >        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4480            # Sun Fortran 8.3 passes all unrecognized flags to the linker
4481            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4482            _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4483            _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4484            ;;
4485 +        *Sun\ F* | *Sun*Fortran*)
4486 +          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4487 +          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4488 +          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4489 +          ;;
4490          *Sun\ C*)
4491            # Sun C 5.9
4492            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4493            _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4494            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4495            ;;
4496 +        *Intel*\ [[CF]]*Compiler*)
4497 +          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4498 +          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4499 +          _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4500 +          ;;
4501 +        *Portland\ Group*)
4502 +          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4503 +          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4504 +          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4505 +          ;;
4506          esac
4507          ;;
4508        esac
# Line 4587 | Line 4662 | m4_if([$1], [CXX], [
4662      ;;
4663    cygwin* | mingw* | cegcc*)
4664      case $cc_basename in
4665 <    cl*) ;;
4665 >    cl*)
4666 >      _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
4667 >      ;;
4668      *)
4669        _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'
4670        _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
# Line 4612 | Line 4689 | m4_if([$1], [CXX], [
4689    _LT_TAGVAR(hardcode_direct, $1)=no
4690    _LT_TAGVAR(hardcode_direct_absolute, $1)=no
4691    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4615  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4692    _LT_TAGVAR(hardcode_libdir_separator, $1)=
4693    _LT_TAGVAR(hardcode_minus_L, $1)=no
4694    _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
# Line 4863 | Line 4939 | _LT_EOF
4939          xlf* | bgf* | bgxlf* | mpixlf*)
4940            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
4941            _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
4942 <          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4867 <          _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
4942 >          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4943            _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
4944            if test "x$supports_anon_versioning" = xyes; then
4945              _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
# Line 5159 | Line 5234 | _LT_EOF
5234          # The linker will not automatically build a static lib if we build a DLL.
5235          # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5236          _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5237 +        _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
5238          _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'
5239          # Don't use ranlib
5240          _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
# Line 5205 | Line 5281 | _LT_EOF
5281        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5282        ;;
5283  
5208    freebsd1*)
5209      _LT_TAGVAR(ld_shlibs, $1)=no
5210      ;;
5211
5284      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5285      # support.  Future versions do this automatically, but an explicit c++rt0.o
5286      # does not break anything, and helps significantly (at the cost of a little
# Line 5221 | Line 5293 | _LT_EOF
5293        ;;
5294  
5295      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
5296 <    freebsd2*)
5296 >    freebsd2.*)
5297        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5298        _LT_TAGVAR(hardcode_direct, $1)=yes
5299        _LT_TAGVAR(hardcode_minus_L, $1)=yes
# Line 5260 | Line 5332 | _LT_EOF
5332        fi
5333        if test "$with_gnu_ld" = no; then
5334          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5263        _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
5335          _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5336          _LT_TAGVAR(hardcode_direct, $1)=yes
5337          _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
# Line 5702 | Line 5773 | _LT_TAGDECL([], [no_undefined_flag], [1]
5773   _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
5774      [Flag to hardcode $libdir into a binary during linking.
5775      This must work even if $libdir does not exist])
5705 _LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
5706    [[If ld is used when linking, flag to hardcode $libdir into a binary
5707    during linking.  This must work even if $libdir does not exist]])
5776   _LT_TAGDECL([], [hardcode_libdir_separator], [1],
5777      [Whether we need a single "-rpath" flag with a separated argument])
5778   _LT_TAGDECL([], [hardcode_direct], [0],
# Line 5858 | Line 5926 | _LT_TAGVAR(export_dynamic_flag_spec, $1)
5926   _LT_TAGVAR(hardcode_direct, $1)=no
5927   _LT_TAGVAR(hardcode_direct_absolute, $1)=no
5928   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
5861 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5929   _LT_TAGVAR(hardcode_libdir_separator, $1)=
5930   _LT_TAGVAR(hardcode_minus_L, $1)=no
5931   _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
# Line 6228 | Line 6295 | if test "$_lt_caught_CXX_error" != yes;
6295          esac
6296          ;;
6297  
6298 <      freebsd[[12]]*)
6298 >      freebsd2.*)
6299          # C++ shared libraries reported to be fairly broken before
6300          # switch to ELF
6301          _LT_TAGVAR(ld_shlibs, $1)=no
# Line 6989 | Line 7056 | public class foo {
7056    }
7057   };
7058   _LT_EOF
7059 + ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
7060 + package foo
7061 + func foo() {
7062 + }
7063 + _LT_EOF
7064   ])
7065  
7066   _lt_libdeps_save_CFLAGS=$CFLAGS
7067   case "$CC $CFLAGS " in #(
7068   *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7069   *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7070 + *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7071   esac
7072  
7073   dnl Parse the compiler output and extract the necessary
# Line 7191 | Line 7264 | _LT_TAGVAR(export_dynamic_flag_spec, $1)
7264   _LT_TAGVAR(hardcode_direct, $1)=no
7265   _LT_TAGVAR(hardcode_direct_absolute, $1)=no
7266   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7194 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7267   _LT_TAGVAR(hardcode_libdir_separator, $1)=
7268   _LT_TAGVAR(hardcode_minus_L, $1)=no
7269   _LT_TAGVAR(hardcode_automatic, $1)=no
# Line 7324 | Line 7396 | _LT_TAGVAR(export_dynamic_flag_spec, $1)
7396   _LT_TAGVAR(hardcode_direct, $1)=no
7397   _LT_TAGVAR(hardcode_direct_absolute, $1)=no
7398   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7327 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7399   _LT_TAGVAR(hardcode_libdir_separator, $1)=
7400   _LT_TAGVAR(hardcode_minus_L, $1)=no
7401   _LT_TAGVAR(hardcode_automatic, $1)=no
# Line 7507 | Line 7578 | CFLAGS=$lt_save_CFLAGS
7578   ])# _LT_LANG_GCJ_CONFIG
7579  
7580  
7581 + # _LT_LANG_GO_CONFIG([TAG])
7582 + # --------------------------
7583 + # Ensure that the configuration variables for the GNU Go compiler
7584 + # are suitably defined.  These variables are subsequently used by _LT_CONFIG
7585 + # to write the compiler configuration to `libtool'.
7586 + m4_defun([_LT_LANG_GO_CONFIG],
7587 + [AC_REQUIRE([LT_PROG_GO])dnl
7588 + AC_LANG_SAVE
7589 +
7590 + # Source file extension for Go test sources.
7591 + ac_ext=go
7592 +
7593 + # Object file extension for compiled Go test sources.
7594 + objext=o
7595 + _LT_TAGVAR(objext, $1)=$objext
7596 +
7597 + # Code to be used in simple compile tests
7598 + lt_simple_compile_test_code="package main; func main() { }"
7599 +
7600 + # Code to be used in simple link tests
7601 + lt_simple_link_test_code='package main; func main() { }'
7602 +
7603 + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
7604 + _LT_TAG_COMPILER
7605 +
7606 + # save warnings/boilerplate of simple test code
7607 + _LT_COMPILER_BOILERPLATE
7608 + _LT_LINKER_BOILERPLATE
7609 +
7610 + # Allow CC to be a program name with arguments.
7611 + lt_save_CC=$CC
7612 + lt_save_CFLAGS=$CFLAGS
7613 + lt_save_GCC=$GCC
7614 + GCC=yes
7615 + CC=${GOC-"gccgo"}
7616 + CFLAGS=$GOFLAGS
7617 + compiler=$CC
7618 + _LT_TAGVAR(compiler, $1)=$CC
7619 + _LT_TAGVAR(LD, $1)="$LD"
7620 + _LT_CC_BASENAME([$compiler])
7621 +
7622 + # Go did not exist at the time GCC didn't implicitly link libc in.
7623 + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7624 +
7625 + _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7626 + _LT_TAGVAR(reload_flag, $1)=$reload_flag
7627 + _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7628 +
7629 + if test -n "$compiler"; then
7630 +  _LT_COMPILER_NO_RTTI($1)
7631 +  _LT_COMPILER_PIC($1)
7632 +  _LT_COMPILER_C_O($1)
7633 +  _LT_COMPILER_FILE_LOCKS($1)
7634 +  _LT_LINKER_SHLIBS($1)
7635 +  _LT_LINKER_HARDCODE_LIBPATH($1)
7636 +
7637 +  _LT_CONFIG($1)
7638 + fi
7639 +
7640 + AC_LANG_RESTORE
7641 +
7642 + GCC=$lt_save_GCC
7643 + CC=$lt_save_CC
7644 + CFLAGS=$lt_save_CFLAGS
7645 + ])# _LT_LANG_GO_CONFIG
7646 +
7647 +
7648   # _LT_LANG_RC_CONFIG([TAG])
7649   # -------------------------
7650   # Ensure that the configuration variables for the Windows resource compiler
# Line 7576 | Line 7714 | dnl aclocal-1.4 backwards compatibility:
7714   dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
7715  
7716  
7717 + # LT_PROG_GO
7718 + # ----------
7719 + AC_DEFUN([LT_PROG_GO],
7720 + [AC_CHECK_TOOL(GOC, gccgo,)
7721 + ])
7722 +
7723 +
7724   # LT_PROG_RC
7725   # ----------
7726   AC_DEFUN([LT_PROG_RC],
# Line 7917 | Line 8062 | _LT_DECL([to_tool_file_cmd], [lt_cv_to_t
8062  
8063   # ltdl.m4 - Configure ltdl for the target system. -*-Autoconf-*-
8064   #
8065 < #   Copyright (C) 1999-2006, 2007, 2008 Free Software Foundation, Inc.
8065 > #   Copyright (C) 1999-2006, 2007, 2008, 2011 Free Software Foundation, Inc.
8066   #   Written by Thomas Tanner, 1999
8067   #
8068   # This file is free software; the Free Software Foundation gives
# Line 8470 | Line 8615 | AC_CACHE_CHECK([which extension is used
8615   [
8616   module=yes
8617   eval libltdl_cv_shlibext=$shrext_cmds
8618 + module=no
8619 + eval libltdl_cv_shrext=$shrext_cmds
8620    ])
8621   if test -n "$libltdl_cv_shlibext"; then
8622    m4_pattern_allow([LT_MODULE_EXT])dnl
8623    AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
8624      [Define to the extension used for runtime loadable modules, say, ".so".])
8625   fi
8626 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
8627 +  m4_pattern_allow([LT_SHARED_EXT])dnl
8628 +  AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
8629 +    [Define to the shared library suffix, say, ".dylib".])
8630 + fi
8631   ])# LT_SYS_MODULE_EXT
8632  
8633   # Old name:
# Line 9051 | Line 9203 | dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL],
9203   # MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
9204   m4_define([_LT_WITH_PIC],
9205   [AC_ARG_WITH([pic],
9206 <    [AS_HELP_STRING([--with-pic],
9206 >    [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
9207          [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
9208 <    [pic_mode="$withval"],
9208 >    [lt_p=${PACKAGE-default}
9209 >    case $withval in
9210 >    yes|no) pic_mode=$withval ;;
9211 >    *)
9212 >      pic_mode=default
9213 >      # Look at the argument we got.  We use all the common list separators.
9214 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9215 >      for lt_pkg in $withval; do
9216 >        IFS="$lt_save_ifs"
9217 >        if test "X$lt_pkg" = "X$lt_p"; then
9218 >          pic_mode=yes
9219 >        fi
9220 >      done
9221 >      IFS="$lt_save_ifs"
9222 >      ;;
9223 >    esac],
9224      [pic_mode=default])
9225  
9226   test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
# Line 9225 | Line 9392 | m4_define([lt_dict_filter],
9392  
9393   # @configure_input@
9394  
9395 < # serial 3293 ltversion.m4
9395 > # serial 3337 ltversion.m4
9396   # This file is part of GNU Libtool
9397  
9398 < m4_define([LT_PACKAGE_VERSION], [2.4])
9399 < m4_define([LT_PACKAGE_REVISION], [1.3293])
9398 > m4_define([LT_PACKAGE_VERSION], [2.4.2])
9399 > m4_define([LT_PACKAGE_REVISION], [1.3337])
9400  
9401   AC_DEFUN([LTVERSION_VERSION],
9402 < [macro_version='2.4'
9403 < macro_revision='1.3293'
9402 > [macro_version='2.4.2'
9403 > macro_revision='1.3337'
9404   _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
9405   _LT_DECL(, macro_revision, 0)
9406   ])

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)