libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.2.10-122-g2680f79


From: Ralf Wildenhues
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-122-g2680f79
Date: Sat, 28 Aug 2010 10:08:14 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  2680f79c22e6bb1f8b9c7b5428da728b7e028b0c (commit)
      from  8f5c58990dd80e4505d057a3deefcf63c8bd31e0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2680f79c22e6bb1f8b9c7b5428da728b7e028b0c
Author: Ralf Wildenhues <address@hidden>
Date:   Sat Aug 28 11:34:24 2010 +0200

    Fix AC_LANG_PROGRAM warnings from git Autoconf.
    
    * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Fix
    underquoted AC_LANG_PROGRAM call.
    (LT_PROG_AR): Use AC_LANG_PROGRAM.
    (_LT_LINKER_SHLIBS) [irix, GCC]: Use the right source for the
    given language.
    * NEWS: Update.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |   10 ++++++++++
 NEWS                  |    3 +++
 libltdl/m4/libtool.m4 |   17 +++++++++++++----
 3 files changed, 26 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 036eb2d..8e07775 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2010-08-28  Ralf Wildenhues  <address@hidden>
+
+       Fix AC_LANG_PROGRAM warnings from git Autoconf.
+       * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Fix
+       underquoted AC_LANG_PROGRAM call.
+       (LT_PROG_AR): Use AC_LANG_PROGRAM.
+       (_LT_LINKER_SHLIBS) [irix, GCC]: Use the right source for the
+       given language.
+       * NEWS: Update.
+
 2010-08-22  Ralf Wildenhues  <address@hidden>
 
        fix AIX testsuite regression
diff --git a/NEWS b/NEWS
index a6e73c2..ba7ce00 100644
--- a/NEWS
+++ b/NEWS
@@ -37,6 +37,9 @@ New in 2.2.12 2010-08-??: git version 2.2.11a, Libtool team:
 
   - The `check-interactive' and `check-noninteractive' convenience make
     targets now also work for the old testsuite.
+  - Warnings from Autoconf v2.67-36-g1e604ec about incomplete programs
+    passed to AC_*_IFELSE tests have been fixed.
+  - On IRIX, the test for -Wl,-exported_symbol now also works with gfortran.
 
 New in 2.2.10 2010-06-10: git version 2.2.9a, Libtool team:
 
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 5bf28b7..efb20de 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1083,7 +1083,7 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
 m4_defun([_LT_SYS_MODULE_PATH_AIX],
 [m4_require([_LT_DECL_SED])dnl
 AC_CACHE_VAL([lt_cv_aix_libpath],
-[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
+[AC_LINK_IFELSE([AC_LANG_PROGRAM],[
 lt_aix_libpath_sed='
     /Import File Strings/,/^$/ {
        /^0/ {
@@ -1357,7 +1357,7 @@ _LT_DECL([], [AR_FLAGS], [1], [Flags to create an 
archive])
 
 AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
   [lt_cv_ar_at_file=no
-   AC_COMPILE_IFELSE([[int some_variable = 0;]],
+   AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
      [echo conftest.$ac_objext > conftest.lst
       am_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst'
       AC_TRY_EVAL([am_ar_try])
@@ -5163,9 +5163,18 @@ _LT_EOF
        # implicitly export all symbols.
         save_LDFLAGS="$LDFLAGS"
         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo 
${wl}-update_registry ${wl}/dev/null"
-        AC_LINK_IFELSE(int foo(void) {},
+        AC_LINK_IFELSE(
+          [AC_LANG_SOURCE(
+            [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
+                          [C++], [[int foo (void) { return 0; }]],
+                          [Fortran 77], [[
+       subroutine foo
+       end]],
+                          [Fortran], [[
+       subroutine foo
+       end]])])], [
           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs 
$compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && 
func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry 
${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o 
$lib'
-        )
+        ])
         LDFLAGS="$save_LDFLAGS"
       else
        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs 
$compiler_flags -soname $soname `test -n "$verstring" && func_echo_all 
"-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o 
$lib'


hooks/post-receive
-- 
GNU Libtool



reply via email to

[Prev in Thread] Current Thread [Next in Thread]