~ubuntu-branches/ubuntu/raring/psqlodbc/raring

« back to all changes in this revision

Viewing changes to config/libtool.m4

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2011-12-30 19:09:04 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20111230190904-pmdip68ou7i4vzk8
Tags: 1:09.01.0100-1
New upgrade release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
684
684
 
685
685
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
686
686
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
687
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
688
687
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
689
688
#
690
689
_LT_COPYING
1021
1020
# to the aix ld manual.
1022
1021
m4_defun([_LT_SYS_MODULE_PATH_AIX],
1023
1022
[m4_require([_LT_DECL_SED])dnl
1024
 
AC_LINK_IFELSE(AC_LANG_PROGRAM,[
 
1023
AC_LINK_IFELSE([AC_LANG_PROGRAM],[
1025
1024
lt_aix_libpath_sed='
1026
1025
    /Import File Strings/,/^$/ {
1027
1026
        /^0/ {
4826
4825
        # implicitly export all symbols.
4827
4826
        save_LDFLAGS="$LDFLAGS"
4828
4827
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
4829
 
        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]])])], [
4830
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'
4831
 
        )
 
4839
        ])
4832
4840
        LDFLAGS="$save_LDFLAGS"
4833
4841
      else
4834
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'