~ubuntu-branches/ubuntu/trusty/xtables-addons/trusty

« back to all changes in this revision

Viewing changes to m4/libtool.m4

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2011-05-09 21:42:42 UTC
  • mfrom: (1.3.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110509214242-x3qc2okkyupvefoy
Tags: 1.35-1
* Imported Upstream version 1.35
* Update version numbers for DKMS package (Closes: #620662)
* Bump Standards Version to 3.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1020
1020
# to the aix ld manual.
1021
1021
m4_defun([_LT_SYS_MODULE_PATH_AIX],
1022
1022
[m4_require([_LT_DECL_SED])dnl
1023
 
AC_LINK_IFELSE(AC_LANG_PROGRAM,[
 
1023
AC_LINK_IFELSE([AC_LANG_PROGRAM],[
1024
1024
lt_aix_libpath_sed='
1025
1025
    /Import File Strings/,/^$/ {
1026
1026
        /^0/ {
4825
4825
        # implicitly export all symbols.
4826
4826
        save_LDFLAGS="$LDFLAGS"
4827
4827
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
4828
 
        AC_LINK_IFELSE(int foo(void) {},
 
4828
        AC_LINK_IFELSE(
 
4829
          [AC_LANG_SOURCE(
 
4830
             [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
 
4831
                           [C++], [[int foo (void) { return 0; }]],
 
4832
                           [Fortran 77], [[
 
4833
       subroutine foo
 
4834
       end]],
 
4835
                           [Fortran], [[
 
4836
       subroutine foo
 
4837
       end]])])], [
4829
4838
          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
4830
 
        )
 
4839
        ])
4831
4840
        LDFLAGS="$save_LDFLAGS"
4832
4841
      else
4833
4842
        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'