/[svn]/ircd-hybrid-7.3/aclocal.m4
ViewVC logotype

Diff of /ircd-hybrid-7.3/aclocal.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1252 by michael, Tue Nov 2 15:10:53 2010 UTC revision 1253 by michael, Tue Nov 1 09:03:49 2011 UTC
# Line 102  AC_DEFUN([gl_PREREQ_ARGZ], [:]) Line 102  AC_DEFUN([gl_PREREQ_ARGZ], [:])
102  # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-  # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
103  #  #
104  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
105  #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,  #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
106  #                 Inc.  #                 Foundation, Inc.
107  #   Written by Gordon Matzigkeit, 1996  #   Written by Gordon Matzigkeit, 1996
108  #  #
109  # This file is free software; the Free Software Foundation gives  # This file is free software; the Free Software Foundation gives
# Line 112  AC_DEFUN([gl_PREREQ_ARGZ], [:]) Line 112  AC_DEFUN([gl_PREREQ_ARGZ], [:])
112    
113  m4_define([_LT_COPYING], [dnl  m4_define([_LT_COPYING], [dnl
114  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
115  #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,  #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
116  #                 Inc.  #                 Foundation, Inc.
117  #   Written by Gordon Matzigkeit, 1996  #   Written by Gordon Matzigkeit, 1996
118  #  #
119  #   This file is part of GNU Libtool.  #   This file is part of GNU Libtool.
# Line 247  AC_REQUIRE([AC_CANONICAL_BUILD])dnl Line 247  AC_REQUIRE([AC_CANONICAL_BUILD])dnl
247  AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl  AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
248  AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl  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  _LT_DECL([], [host_alias], [0], [The host system])dnl
253  _LT_DECL([], [host], [0])dnl  _LT_DECL([], [host], [0])dnl
254  _LT_DECL([], [host_os], [0])dnl  _LT_DECL([], [host_os], [0])dnl
# Line 732  m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_ Line 734  m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_
734  m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])  m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
735  configured by $[0], generated by m4_PACKAGE_STRING.  configured by $[0], generated by m4_PACKAGE_STRING.
736    
737  Copyright (C) 2010 Free Software Foundation, Inc.  Copyright (C) 2011 Free Software Foundation, Inc.
738  This config.lt script is free software; the Free Software Foundation  This config.lt script is free software; the Free Software Foundation
739  gives unlimited permision to copy, distribute and modify it."  gives unlimited permision to copy, distribute and modify it."
740    
# Line 896  AC_DEFUN([LT_LANG], Line 898  AC_DEFUN([LT_LANG],
898  m4_case([$1],  m4_case([$1],
899    [C],                  [_LT_LANG(C)],    [C],                  [_LT_LANG(C)],
900    [C++],                [_LT_LANG(CXX)],    [C++],                [_LT_LANG(CXX)],
901      [Go],                 [_LT_LANG(GO)],
902    [Java],               [_LT_LANG(GCJ)],    [Java],               [_LT_LANG(GCJ)],
903    [Fortran 77],         [_LT_LANG(F77)],    [Fortran 77],         [_LT_LANG(F77)],
904    [Fortran],            [_LT_LANG(FC)],    [Fortran],            [_LT_LANG(FC)],
# Line 917  m4_defun([_LT_LANG], Line 920  m4_defun([_LT_LANG],
920  ])# _LT_LANG  ])# _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  # _LT_LANG_DEFAULT_CONFIG
947  # -----------------------  # -----------------------
948  m4_defun([_LT_LANG_DEFAULT_CONFIG],  m4_defun([_LT_LANG_DEFAULT_CONFIG],
# Line 947  AC_PROVIDE_IFELSE([AC_PROG_GCJ], Line 973  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
973         m4_ifdef([LT_PROG_GCJ],         m4_ifdef([LT_PROG_GCJ],
974          [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])          [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],  AC_PROVIDE_IFELSE([LT_PROG_RC],
981    [LT_LANG(RC)],    [LT_LANG(RC)],
982    [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 1049  m4_defun_once([_LT_REQUIRED_DARWIN_CHECK Line 1079  m4_defun_once([_LT_REQUIRED_DARWIN_CHECK
1079          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1080            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1081          _lt_result=$?          _lt_result=$?
1082          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"
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            lt_cv_apple_cc_single_mod=yes
1090          else          else
1091            cat conftest.err >&AS_MESSAGE_LOG_FD            cat conftest.err >&AS_MESSAGE_LOG_FD
# Line 1057  m4_defun_once([_LT_REQUIRED_DARWIN_CHECK Line 1093  m4_defun_once([_LT_REQUIRED_DARWIN_CHECK
1093          rm -rf libconftest.dylib*          rm -rf libconftest.dylib*
1094          rm -f conftest.*          rm -f conftest.*
1095        fi])        fi])
1096    
1097      AC_CACHE_CHECK([for -exported_symbols_list linker flag],      AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1098        [lt_cv_ld_exported_symbols_list],        [lt_cv_ld_exported_symbols_list],
1099        [lt_cv_ld_exported_symbols_list=no        [lt_cv_ld_exported_symbols_list=no
# Line 1068  m4_defun_once([_LT_REQUIRED_DARWIN_CHECK Line 1105  m4_defun_once([_LT_REQUIRED_DARWIN_CHECK
1105          [lt_cv_ld_exported_symbols_list=no])          [lt_cv_ld_exported_symbols_list=no])
1106          LDFLAGS="$save_LDFLAGS"          LDFLAGS="$save_LDFLAGS"
1107      ])      ])
1108    
1109      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],
1110        [lt_cv_ld_force_load=no        [lt_cv_ld_force_load=no
1111        cat > conftest.c << _LT_EOF        cat > conftest.c << _LT_EOF
# Line 1085  _LT_EOF Line 1123  _LT_EOF
1123        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
1124        $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
1125        _lt_result=$?        _lt_result=$?
1126        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
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          lt_cv_ld_force_load=yes
1130        else        else
1131          cat conftest.err >&AS_MESSAGE_LOG_FD          cat conftest.err >&AS_MESSAGE_LOG_FD
# Line 1130  _LT_EOF Line 1170  _LT_EOF
1170  ])  ])
1171    
1172    
1173  # _LT_DARWIN_LINKER_FEATURES  # _LT_DARWIN_LINKER_FEATURES([TAG])
1174  # --------------------------  # ---------------------------------
1175  # Checks for linker and compiler features on darwin  # Checks for linker and compiler features on darwin
1176  m4_defun([_LT_DARWIN_LINKER_FEATURES],  m4_defun([_LT_DARWIN_LINKER_FEATURES],
1177  [  [
# Line 1142  m4_defun([_LT_DARWIN_LINKER_FEATURES], Line 1182  m4_defun([_LT_DARWIN_LINKER_FEATURES],
1182    _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported    _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1183    if test "$lt_cv_ld_force_load" = "yes"; then    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\"`'      _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    else
1188      _LT_TAGVAR(whole_archive_flag_spec, $1)=''      _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1189    fi    fi
# Line 1425  s390*-*linux*|s390*-*tpf*|sparc*-*linux* Line 1467  s390*-*linux*|s390*-*tpf*|sparc*-*linux*
1467      CFLAGS="$SAVE_CFLAGS"      CFLAGS="$SAVE_CFLAGS"
1468    fi    fi
1469    ;;    ;;
1470  sparc*-*solaris*)  *-*solaris*)
1471    # Find out which ABI we are using.    # Find out which ABI we are using.
1472    echo 'int i;' > conftest.$ac_ext    echo 'int i;' > conftest.$ac_ext
1473    if AC_TRY_EVAL(ac_compile); then    if AC_TRY_EVAL(ac_compile); then
1474      case `/usr/bin/file conftest.o` in      case `/usr/bin/file conftest.o` in
1475      *64-bit*)      *64-bit*)
1476        case $lt_cv_prog_gnu_ld in        case $lt_cv_prog_gnu_ld in
1477        yes*) LD="${LD-ld} -m elf64_sparc" ;;        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          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1493            LD="${LD-ld} -64"            LD="${LD-ld} -64"
# Line 1509  old_postuninstall_cmds= Line 1564  old_postuninstall_cmds=
1564  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
1565    case $host_os in    case $host_os in
1566    openbsd*)    openbsd*)
1567      old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"      old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1568      ;;      ;;
1569    *)    *)
1570      old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"      old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1571      ;;      ;;
1572    esac    esac
1573    old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"    old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1574  fi  fi
1575    
1576  case $host_os in  case $host_os in
# Line 1695  AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [d Line 1750  AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [d
1750      lt_cv_sys_max_cmd_len=196608      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*)    osf*)
1759      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure      # 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      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 1734  AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [d 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        # 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        # maximum length that is only half of the actual maximum length, but
1796        # we can't tell.        # we can't tell.
1797        while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \        while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
1798                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1799                test $i != 17 # 1/2 MB should be enough                test $i != 17 # 1/2 MB should be enough
1800        do        do
# Line 2280  need_version=unknown Line 2340  need_version=unknown
2340    
2341  case $host_os in  case $host_os in
2342  aix3*)  aix3*)
2343    version_type=linux    version_type=linux # correct to gnu/linux during the next big refactor
2344    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
2345    shlibpath_var=LIBPATH    shlibpath_var=LIBPATH
2346    
# Line 2289  aix3*) Line 2349  aix3*)
2349    ;;    ;;
2350    
2351  aix[[4-9]]*)  aix[[4-9]]*)
2352    version_type=linux    version_type=linux # correct to gnu/linux during the next big refactor
2353    need_lib_prefix=no    need_lib_prefix=no
2354    need_version=no    need_version=no
2355    hardcode_into_libs=yes    hardcode_into_libs=yes
# Line 2354  beos*) Line 2414  beos*)
2414    ;;    ;;
2415    
2416  bsdi[[45]]*)  bsdi[[45]]*)
2417    version_type=linux    version_type=linux # correct to gnu/linux during the next big refactor
2418    need_version=no    need_version=no
2419    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}'
2420    soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
# Line 2493  m4_if([$1], [],[ Line 2553  m4_if([$1], [],[
2553    ;;    ;;
2554    
2555  dgux*)  dgux*)
2556    version_type=linux    version_type=linux # correct to gnu/linux during the next big refactor
2557    need_lib_prefix=no    need_lib_prefix=no
2558    need_version=no    need_version=no
2559    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 2501  dgux*) Line 2561  dgux*)
2561    shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
2562    ;;    ;;
2563    
 freebsd1*)  
   dynamic_linker=no  
   ;;  
   
2564  freebsd* | dragonfly*)  freebsd* | dragonfly*)
2565    # DragonFly does not have aout.  When/if they implement a new    # DragonFly does not have aout.  When/if they implement a new
2566    # versioning mechanism, adjust this.    # versioning mechanism, adjust this.
# Line 2512  freebsd* | dragonfly*) Line 2568  freebsd* | dragonfly*)
2568      objformat=`/usr/bin/objformat`      objformat=`/usr/bin/objformat`
2569    else    else
2570      case $host_os in      case $host_os in
2571      freebsd[[123]]*) objformat=aout ;;      freebsd[[23]].*) objformat=aout ;;
2572      *) objformat=elf ;;      *) objformat=elf ;;
2573      esac      esac
2574    fi    fi
# Line 2530  freebsd* | dragonfly*) Line 2586  freebsd* | dragonfly*)
2586    esac    esac
2587    shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
2588    case $host_os in    case $host_os in
2589    freebsd2*)    freebsd2.*)
2590      shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
2591      ;;      ;;
2592    freebsd3.[[01]]* | freebsdelf3.[[01]]*)    freebsd3.[[01]]* | freebsdelf3.[[01]]*)
# Line 2550  freebsd* | dragonfly*) Line 2606  freebsd* | dragonfly*)
2606    ;;    ;;
2607    
2608  gnu*)  gnu*)
2609    version_type=linux    version_type=linux # correct to gnu/linux during the next big refactor
2610    need_lib_prefix=no    need_lib_prefix=no
2611    need_version=no    need_version=no
2612    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}'
2613    soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
2614    shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
2615      shlibpath_overrides_runpath=no
2616    hardcode_into_libs=yes    hardcode_into_libs=yes
2617    ;;    ;;
2618    
2619  haiku*)  haiku*)
2620    version_type=linux    version_type=linux # correct to gnu/linux during the next big refactor
2621    need_lib_prefix=no    need_lib_prefix=no
2622    need_version=no    need_version=no
2623    dynamic_linker="$host_os runtime_loader"    dynamic_linker="$host_os runtime_loader"
# Line 2621  hpux9* | hpux10* | hpux11*) Line 2678  hpux9* | hpux10* | hpux11*)
2678    ;;    ;;
2679    
2680  interix[[3-9]]*)  interix[[3-9]]*)
2681    version_type=linux    version_type=linux # correct to gnu/linux during the next big refactor
2682    need_lib_prefix=no    need_lib_prefix=no
2683    need_version=no    need_version=no
2684    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 2637  irix5* | irix6* | nonstopux*) Line 2694  irix5* | irix6* | nonstopux*)
2694      nonstopux*) version_type=nonstopux ;;      nonstopux*) version_type=nonstopux ;;
2695      *)      *)
2696          if test "$lt_cv_prog_gnu_ld" = yes; then          if test "$lt_cv_prog_gnu_ld" = yes; then
2697                  version_type=linux                  version_type=linux # correct to gnu/linux during the next big refactor
2698          else          else
2699                  version_type=irix                  version_type=irix
2700          fi ;;          fi ;;
# Line 2674  linux*oldld* | linux*aout* | linux*coff* Line 2731  linux*oldld* | linux*aout* | linux*coff*
2731    dynamic_linker=no    dynamic_linker=no
2732    ;;    ;;
2733    
2734  # This must be Linux ELF.  # This must be glibc/ELF.
2735  linux* | k*bsd*-gnu | kopensolaris*-gnu)  linux* | k*bsd*-gnu | kopensolaris*-gnu)
2736    version_type=linux    version_type=linux # correct to gnu/linux during the next big refactor
2737    need_lib_prefix=no    need_lib_prefix=no
2738    need_version=no    need_version=no
2739    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 2739  netbsd*) Line 2796  netbsd*)
2796    ;;    ;;
2797    
2798  newsos6)  newsos6)
2799    version_type=linux    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}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2801    shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
2802    shlibpath_overrides_runpath=yes    shlibpath_overrides_runpath=yes
# Line 2808  rdos*) Line 2865  rdos*)
2865    ;;    ;;
2866    
2867  solaris*)  solaris*)
2868    version_type=linux    version_type=linux # correct to gnu/linux during the next big refactor
2869    need_lib_prefix=no    need_lib_prefix=no
2870    need_version=no    need_version=no
2871    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 2833  sunos4*) Line 2890  sunos4*)
2890    ;;    ;;
2891    
2892  sysv4 | sysv4.3*)  sysv4 | sysv4.3*)
2893    version_type=linux    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}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2895    soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
2896    shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
# Line 2857  sysv4 | sysv4.3*) Line 2914  sysv4 | sysv4.3*)
2914    
2915  sysv4*MP*)  sysv4*MP*)
2916    if test -d /usr/nec ;then    if test -d /usr/nec ;then
2917      version_type=linux      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}'      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
2919      soname_spec='$libname${shared_ext}.$major'      soname_spec='$libname${shared_ext}.$major'
2920      shlibpath_var=LD_LIBRARY_PATH      shlibpath_var=LD_LIBRARY_PATH
# Line 2888  sysv5* | sco3.2v5* | sco5v6* | unixware* Line 2945  sysv5* | sco3.2v5* | sco5v6* | unixware*
2945    
2946  tpf*)  tpf*)
2947    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
2948    version_type=linux    version_type=linux # correct to gnu/linux during the next big refactor
2949    need_lib_prefix=no    need_lib_prefix=no
2950    need_version=no    need_version=no
2951    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 2898  tpf*) Line 2955  tpf*)
2955    ;;    ;;
2956    
2957  uts4*)  uts4*)
2958    version_type=linux    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}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2960    soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
2961    shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
# Line 3320  irix5* | irix6* | nonstopux*) Line 3377  irix5* | irix6* | nonstopux*)
3377    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
3378    ;;    ;;
3379    
3380  # This must be Linux ELF.  # This must be glibc/ELF.
3381  linux* | k*bsd*-gnu | kopensolaris*-gnu)  linux* | k*bsd*-gnu | kopensolaris*-gnu)
3382    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
3383    ;;    ;;
# Line 3740  for ac_symprfx in "" "_"; do Line 3797  for ac_symprfx in "" "_"; do
3797      # which start with @ or ?.      # which start with @ or ?.
3798      lt_cv_sys_global_symbol_pipe="$AWK ['"\      lt_cv_sys_global_symbol_pipe="$AWK ['"\
3799  "     {last_section=section; section=\$ 3};"\  "     {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};"\  "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
3802  "     \$ 0!~/External *\|/{next};"\  "     \$ 0!~/External *\|/{next};"\
3803  "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\  "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 4324  m4_if([$1], [CXX], [ Line 4382  m4_if([$1], [CXX], [
4382      case $cc_basename in      case $cc_basename in
4383      nvcc*) # Cuda Compiler Driver 2.2      nvcc*) # Cuda Compiler Driver 2.2
4384        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4385        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'        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      esac
4390    else    else
# Line 4416  m4_if([$1], [CXX], [ Line 4476  m4_if([$1], [CXX], [
4476          ;;          ;;
4477        *)        *)
4478          case `$CC -V 2>&1 | sed 5q` in          case `$CC -V 2>&1 | sed 5q` in
4479          *Sun\ F* | *Sun*Fortran*)          *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4480            # Sun Fortran 8.3 passes all unrecognized flags to the linker            # Sun Fortran 8.3 passes all unrecognized flags to the linker
4481            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4482            _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'            _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4483            _LT_TAGVAR(lt_prog_compiler_wl, $1)=''            _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*)          *Sun\ C*)
4491            # Sun C 5.9            # Sun C 5.9
4492            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4493            _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'            _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4494            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'            _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          esac
4507          ;;          ;;
4508        esac        esac
# Line 4587  m4_if([$1], [CXX], [ Line 4662  m4_if([$1], [CXX], [
4662      ;;      ;;
4663    cygwin* | mingw* | cegcc*)    cygwin* | mingw* | cegcc*)
4664      case $cc_basename in      case $cc_basename in
4665      cl*) ;;      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'        _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']        _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
# Line 4612  m4_if([$1], [CXX], [ Line 4689  m4_if([$1], [CXX], [
4689    _LT_TAGVAR(hardcode_direct, $1)=no    _LT_TAGVAR(hardcode_direct, $1)=no
4690    _LT_TAGVAR(hardcode_direct_absolute, $1)=no    _LT_TAGVAR(hardcode_direct_absolute, $1)=no
4691    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
   _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=  
4692    _LT_TAGVAR(hardcode_libdir_separator, $1)=    _LT_TAGVAR(hardcode_libdir_separator, $1)=
4693    _LT_TAGVAR(hardcode_minus_L, $1)=no    _LT_TAGVAR(hardcode_minus_L, $1)=no
4694    _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported    _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
# Line 4863  _LT_EOF Line 4939  _LT_EOF
4939          xlf* | bgf* | bgxlf* | mpixlf*)          xlf* | bgf* | bgxlf* | mpixlf*)
4940            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself            # 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'            _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
4942            _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'  
4943            _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'
4944            if test "x$supports_anon_versioning" = xyes; then            if test "x$supports_anon_versioning" = xyes; then
4945              _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 5159  _LT_EOF Line 5234  _LT_EOF
5234          # 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.
5235          # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'          # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5236          _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes          _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'          _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          # Don't use ranlib
5240          _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'          _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
# Line 5205  _LT_EOF Line 5281  _LT_EOF
5281        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5282        ;;        ;;
5283    
     freebsd1*)  
       _LT_TAGVAR(ld_shlibs, $1)=no  
       ;;  
   
5284      # 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
5285      # support.  Future versions do this automatically, but an explicit c++rt0.o      # 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      # does not break anything, and helps significantly (at the cost of a little
# Line 5221  _LT_EOF Line 5293  _LT_EOF
5293        ;;        ;;
5294    
5295      # Unfortunately, older versions of FreeBSD 2 do not have this feature.      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
5296      freebsd2*)      freebsd2.*)
5297        _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'
5298        _LT_TAGVAR(hardcode_direct, $1)=yes        _LT_TAGVAR(hardcode_direct, $1)=yes
5299        _LT_TAGVAR(hardcode_minus_L, $1)=yes        _LT_TAGVAR(hardcode_minus_L, $1)=yes
# Line 5260  _LT_EOF Line 5332  _LT_EOF
5332        fi        fi
5333        if test "$with_gnu_ld" = no; then        if test "$with_gnu_ld" = no; then
5334          _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'  
5335          _LT_TAGVAR(hardcode_libdir_separator, $1)=:          _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5336          _LT_TAGVAR(hardcode_direct, $1)=yes          _LT_TAGVAR(hardcode_direct, $1)=yes
5337          _LT_TAGVAR(hardcode_direct_absolute, $1)=yes          _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
# Line 5702  _LT_TAGDECL([], [no_undefined_flag], [1] Line 5773  _LT_TAGDECL([], [no_undefined_flag], [1]
5773  _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],  _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
5774      [Flag to hardcode $libdir into a binary during linking.      [Flag to hardcode $libdir into a binary during linking.
5775      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]])  
5776  _LT_TAGDECL([], [hardcode_libdir_separator], [1],  _LT_TAGDECL([], [hardcode_libdir_separator], [1],
5777      [Whether we need a single "-rpath" flag with a separated argument])      [Whether we need a single "-rpath" flag with a separated argument])
5778  _LT_TAGDECL([], [hardcode_direct], [0],  _LT_TAGDECL([], [hardcode_direct], [0],
# Line 5858  _LT_TAGVAR(export_dynamic_flag_spec, $1) Line 5926  _LT_TAGVAR(export_dynamic_flag_spec, $1)
5926  _LT_TAGVAR(hardcode_direct, $1)=no  _LT_TAGVAR(hardcode_direct, $1)=no
5927  _LT_TAGVAR(hardcode_direct_absolute, $1)=no  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
5928  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=  
5929  _LT_TAGVAR(hardcode_libdir_separator, $1)=  _LT_TAGVAR(hardcode_libdir_separator, $1)=
5930  _LT_TAGVAR(hardcode_minus_L, $1)=no  _LT_TAGVAR(hardcode_minus_L, $1)=no
5931  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
# Line 6228  if test "$_lt_caught_CXX_error" != yes; Line 6295  if test "$_lt_caught_CXX_error" != yes;
6295          esac          esac
6296          ;;          ;;
6297    
6298        freebsd[[12]]*)        freebsd2.*)
6299          # C++ shared libraries reported to be fairly broken before          # C++ shared libraries reported to be fairly broken before
6300          # switch to ELF          # switch to ELF
6301          _LT_TAGVAR(ld_shlibs, $1)=no          _LT_TAGVAR(ld_shlibs, $1)=no
# Line 6989  public class foo { Line 7056  public class foo {
7056    }    }
7057  };  };
7058  _LT_EOF  _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  _lt_libdeps_save_CFLAGS=$CFLAGS
7067  case "$CC $CFLAGS " in #(  case "$CC $CFLAGS " in #(
7068  *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;  *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7069  *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;  *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7070    *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7071  esac  esac
7072    
7073  dnl Parse the compiler output and extract the necessary  dnl Parse the compiler output and extract the necessary
# Line 7191  _LT_TAGVAR(export_dynamic_flag_spec, $1) Line 7264  _LT_TAGVAR(export_dynamic_flag_spec, $1)
7264  _LT_TAGVAR(hardcode_direct, $1)=no  _LT_TAGVAR(hardcode_direct, $1)=no
7265  _LT_TAGVAR(hardcode_direct_absolute, $1)=no  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
7266  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=  
7267  _LT_TAGVAR(hardcode_libdir_separator, $1)=  _LT_TAGVAR(hardcode_libdir_separator, $1)=
7268  _LT_TAGVAR(hardcode_minus_L, $1)=no  _LT_TAGVAR(hardcode_minus_L, $1)=no
7269  _LT_TAGVAR(hardcode_automatic, $1)=no  _LT_TAGVAR(hardcode_automatic, $1)=no
# Line 7324  _LT_TAGVAR(export_dynamic_flag_spec, $1) Line 7396  _LT_TAGVAR(export_dynamic_flag_spec, $1)
7396  _LT_TAGVAR(hardcode_direct, $1)=no  _LT_TAGVAR(hardcode_direct, $1)=no
7397  _LT_TAGVAR(hardcode_direct_absolute, $1)=no  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
7398  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=  
7399  _LT_TAGVAR(hardcode_libdir_separator, $1)=  _LT_TAGVAR(hardcode_libdir_separator, $1)=
7400  _LT_TAGVAR(hardcode_minus_L, $1)=no  _LT_TAGVAR(hardcode_minus_L, $1)=no
7401  _LT_TAGVAR(hardcode_automatic, $1)=no  _LT_TAGVAR(hardcode_automatic, $1)=no
# Line 7507  CFLAGS=$lt_save_CFLAGS Line 7578  CFLAGS=$lt_save_CFLAGS
7578  ])# _LT_LANG_GCJ_CONFIG  ])# _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])  # _LT_LANG_RC_CONFIG([TAG])
7649  # -------------------------  # -------------------------
7650  # Ensure that the configuration variables for the Windows resource compiler  # Ensure that the configuration variables for the Windows resource compiler
# Line 7576  dnl aclocal-1.4 backwards compatibility: Line 7714  dnl aclocal-1.4 backwards compatibility:
7714  dnl AC_DEFUN([LT_AC_PROG_GCJ], [])  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  # LT_PROG_RC
7725  # ----------  # ----------
7726  AC_DEFUN([LT_PROG_RC],  AC_DEFUN([LT_PROG_RC],
# Line 7917  _LT_DECL([to_tool_file_cmd], [lt_cv_to_t Line 8062  _LT_DECL([to_tool_file_cmd], [lt_cv_to_t
8062    
8063  # ltdl.m4 - Configure ltdl for the target system. -*-Autoconf-*-  # ltdl.m4 - Configure ltdl for the target system. -*-Autoconf-*-
8064  #  #
8065  #   Copyright (C) 1999-2006, 2007, 2008 Free Software Foundation, Inc.  #   Copyright (C) 1999-2006, 2007, 2008, 2011 Free Software Foundation, Inc.
8066  #   Written by Thomas Tanner, 1999  #   Written by Thomas Tanner, 1999
8067  #  #
8068  # This file is free software; the Free Software Foundation gives  # This file is free software; the Free Software Foundation gives
# Line 8470  AC_CACHE_CHECK([which extension is used Line 8615  AC_CACHE_CHECK([which extension is used
8615  [  [
8616  module=yes  module=yes
8617  eval libltdl_cv_shlibext=$shrext_cmds  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  if test -n "$libltdl_cv_shlibext"; then
8622    m4_pattern_allow([LT_MODULE_EXT])dnl    m4_pattern_allow([LT_MODULE_EXT])dnl
8623    AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],    AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
8624      [Define to the extension used for runtime loadable modules, say, ".so".])      [Define to the extension used for runtime loadable modules, say, ".so".])
8625  fi  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  ])# LT_SYS_MODULE_EXT
8632    
8633  # Old name:  # Old name:
# Line 9051  dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], Line 9203  dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL],
9203  # MODE is either `yes' or `no'.  If omitted, it defaults to `both'.  # MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
9204  m4_define([_LT_WITH_PIC],  m4_define([_LT_WITH_PIC],
9205  [AC_ARG_WITH([pic],  [AC_ARG_WITH([pic],
9206      [AS_HELP_STRING([--with-pic],      [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
9207          [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],          [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
9208      [pic_mode="$withval"],      [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])      [pic_mode=default])
9225    
9226  test -z "$pic_mode" && pic_mode=m4_default([$1], [default])  test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
# Line 9225  m4_define([lt_dict_filter], Line 9392  m4_define([lt_dict_filter],
9392    
9393  # @configure_input@  # @configure_input@
9394    
9395  # serial 3293 ltversion.m4  # serial 3337 ltversion.m4
9396  # This file is part of GNU Libtool  # This file is part of GNU Libtool
9397    
9398  m4_define([LT_PACKAGE_VERSION], [2.4])  m4_define([LT_PACKAGE_VERSION], [2.4.2])
9399  m4_define([LT_PACKAGE_REVISION], [1.3293])  m4_define([LT_PACKAGE_REVISION], [1.3337])
9400    
9401  AC_DEFUN([LTVERSION_VERSION],  AC_DEFUN([LTVERSION_VERSION],
9402  [macro_version='2.4'  [macro_version='2.4.2'
9403  macro_revision='1.3293'  macro_revision='1.3337'
9404  _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])  _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
9405  _LT_DECL(, macro_revision, 0)  _LT_DECL(, macro_revision, 0)
9406  ])  ])

Legend:
Removed from v.1252  
changed lines
  Added in v.1253

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28