[SCM] GNU Libtool branch, master, updated. v2.4-52-g1ea9302
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 1ea9302bd1eadf25b466fcd7e8697e4bef111493 (commit) from 1b76054f4763a28ae1b01fbeee86ba0c524d1923 (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 1ea9302bd1eadf25b466fcd7e8697e4bef111493 Author: Svante Signell s...@kth.se Date: Sun Apr 10 10:17:21 2011 +0200 Set shlibpath_overrides_runpath for the Hurd. * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [gnu] shlibpath_overrides_runpath: Set to no. * THANKS: Update. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |7 +++ THANKS|4 +++- libltdl/m4/libtool.m4 |1 + 3 files changed, 11 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index bc7c2af..ff936ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-04-10 Svante Signell s...@kth.se (tiny change) + + Set shlibpath_overrides_runpath for the Hurd. + * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [gnu] + shlibpath_overrides_runpath: Set to no. + * THANKS: Update. + 2011-03-22 Justin Lecher j...@gentoo.org (tiny change) Rhys Ulerich rhys.uler...@gmail.com (tiny change) diff --git a/THANKS b/THANKS index 08d7077..da43e65 100644 --- a/THANKS +++ b/THANKS @@ -180,6 +180,7 @@ Stephan Kulowco...@kde.org Steve Ellcey s...@cup.hp.com Steven M. Schultzs...@wlv.iipo.gtegsc.com + Svante Signell s...@kth.se Sven Verdoolaege sk...@liacs.nl Terry D. Dontje terry.don...@sun.com Tim Mooney moo...@dogbert.cc.ndsu.nodak.edu @@ -202,7 +203,8 @@ -- Copyright (C) 1996, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006, -2007, 2008 Free Software Foundation, Inc. +2007, 2008, 2009, 2010, 2011 Free Software Foundation, +Inc. Written by Gord Matzigkeit, 1996 This file is part of GNU Libtool. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 5cc027b..2ed41b7 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -2519,6 +2519,7 @@ gnu*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.4-53-gd5d35c4
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 d5d35c47e16b18158bf4984cc4371366d373bb2f (commit) from 1ea9302bd1eadf25b466fcd7e8697e4bef111493 (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 d5d35c47e16b18158bf4984cc4371366d373bb2f Author: Kurt Roeckx k...@roeckx.be Date: Sun Apr 10 10:22:43 2011 +0200 tagdemo: do not rely on picking up symbols from indirect deps. * tests/tagdemo/Makefile.am: Link to all libraries that the demo application uses. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |6 ++ tests/tagdemo/Makefile.am |4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ff936ae..dcfab26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-04-10 Kurt Roeckx k...@roeckx.be + + tagdemo: do not rely on picking up symbols from indirect deps. + * tests/tagdemo/Makefile.am: Link to all libraries that the + demo application uses. + 2011-04-10 Svante Signell s...@kth.se (tiny change) Set shlibpath_overrides_runpath for the Hurd. diff --git a/tests/tagdemo/Makefile.am b/tests/tagdemo/Makefile.am index e945c25..295e7b6 100644 --- a/tests/tagdemo/Makefile.am +++ b/tests/tagdemo/Makefile.am @@ -1,6 +1,6 @@ ## Makefile.am -- Process this file with automake to produce Makefile.in ## -## Copyright (C) 2003, 2004, 2005 Free Software Foundation +## Copyright (C) 2003, 2004, 2005, 2011 Free Software Foundation ## Written by Gary V. Vaughan, 2003 ## ## This file is part of GNU Libtool. @@ -47,7 +47,7 @@ noinst_HEADERS = foo.h baz.h conv.h bin_PROGRAMS = tagdemo tagdemo_SOURCES = main.cpp -tagdemo_LDADD = libbaz.la +tagdemo_LDADD = libbaz.la libfoo.la libtool: $(LIBTOOL_DEPS) $(SHELL) ./config.status --recheck hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.4-47-gd6f69ef
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 d6f69ef647cb09d1baed104e769377f743a8aa8f (commit) from 86562ff7358179df2c44669c53525a86b3723312 (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 d6f69ef647cb09d1baed104e769377f743a8aa8f Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Mon Feb 7 07:40:17 2011 +0100 docs: fix copyright years in PDF version of the manual. * doc/libtool.texi: Fix copyright years. --- Summary of changes: ChangeLog|5 + doc/libtool.texi |2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7165e8a..6e89fa8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-02-07 Ralf Wildenhues ralf.wildenh...@gmx.de + + docs: fix copyright years in PDF version of the manual. + * doc/libtool.texi: Fix copyright years. + 2011-02-01 Rainer Orth r...@cebitec.uni-bielefeld.de (tiny change) Fix LD setting for 64-bit Solaris 2/x86. diff --git a/doc/libtool.texi b/doc/libtool.texi index 727a03d..72bb0fc 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -53,7 +53,7 @@ identical to this one except for the removal of this paragraph @page @vskip 0pt plus 1filll -Copyright @copyright{} 2011 Free Software Foundation, Inc. +Copyright @copyright{} 1996-2011 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.4-45-g9196966
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 9196966580f6853a31187a7a3c7e7ff36ef08982 (commit) from 286e87b1030c353d9cfc89dbb72d59e0391cb693 (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 9196966580f6853a31187a7a3c7e7ff36ef08982 Author: Rainer Orth r...@cebitec.uni-bielefeld.de Date: Tue Feb 1 07:34:26 2011 +0100 Fix LD setting for 64-bit Solaris 2/x86. * libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK) [*-*-solaris*): Determine GNU ld options for 64-bit Solaris 2/x86. Detect gld 2.21 _sol2 emulations. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |7 +++ libltdl/m4/libtool.m4 | 17 +++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8ff779b..ef4c27c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-02-01 Rainer Orth r...@cebitec.uni-bielefeld.de (tiny change) + + Fix LD setting for 64-bit Solaris 2/x86. + * libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK) [*-*-solaris*): + Determine GNU ld options for 64-bit Solaris 2/x86. Detect gld + 2.21 _sol2 emulations. + 2011-01-27 Peter O'Gorman pe...@pogma.com Don't loop through wrapper script arguments unnecessarily. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 033c9a0..5cc027b 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -1374,14 +1374,27 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) CFLAGS=$SAVE_CFLAGS fi ;; -sparc*-*solaris*) +*-*solaris*) # Find out which ABI we are using. echo 'int i;' conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in - yes*) LD=${LD-ld} -m elf64_sparc ;; + yes*) +case $host in +i?86-*-solaris*) + LD=${LD-ld} -m elf_x86_64 + ;; +sparc*-*-solaris*) + LD=${LD-ld} -m elf64_sparc + ;; +esac +# GNU ld 2.21 introduced _sol2 emulations. Use them if available. +if ${LD-ld} -V | grep _sol2 /dev/null 21; then + LD=${LD-ld}_sol2 +fi +;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o /dev/null 21; then LD=${LD-ld} -64 hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.4-46-g86562ff
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 86562ff7358179df2c44669c53525a86b3723312 (commit) from 9196966580f6853a31187a7a3c7e7ff36ef08982 (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 86562ff7358179df2c44669c53525a86b3723312 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Tue Feb 1 07:48:39 2011 +0100 fix typo in ChangeLog --- Summary of changes: ChangeLog |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index ef4c27c..7165e8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ 2011-02-01 Rainer Orth r...@cebitec.uni-bielefeld.de (tiny change) Fix LD setting for 64-bit Solaris 2/x86. - * libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK) [*-*-solaris*): + * libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK) [*-*-solaris*]: Determine GNU ld options for 64-bit Solaris 2/x86. Detect gld 2.21 _sol2 emulations. hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.4-40-ga55208d
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 a55208d56bf723f68b245c6ea03ce3f36a2e23ba (commit) from ce87974b8e4315c296629578f9abd089fda60412 (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 a55208d56bf723f68b245c6ea03ce3f36a2e23ba Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Jan 9 17:55:17 2011 +0100 Fix $wl setting for Solaris Studio 12.2 f90 on GNU/Linux. * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] lt_prog_compiler_wl: Set to '-Qoption ld ' if we detect Sun Fortran version 8.4 or newer. Report by Terry Dontje. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |8 libltdl/m4/libtool.m4 |7 ++- 2 files changed, 14 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index bcbc448..186ccc3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-01-09 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix $wl setting for Solaris Studio 12.2 f90 on GNU/Linux. + * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] + lt_prog_compiler_wl: Set to '-Qoption ld ' if we + detect Sun Fortran version 8.4 or newer. + Report by Terry Dontje. + 2011-01-07 Peter Rosin p...@lysator.liu.se Convert file name to toolchain format when blessing archives. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index c144755..fd79dcf 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -4363,12 +4363,17 @@ m4_if([$1], [CXX], [ ;; *) case `$CC -V 21 | sed 5q` in - *Sun\ F* | *Sun*Fortran*) + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; + *Sun\ F* | *Sun*Fortran*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.4-41-g9167aec
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 9167aecabd12c5afe7a65d45dc73f8c92ab42f05 (commit) from a55208d56bf723f68b245c6ea03ce3f36a2e23ba (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 9167aecabd12c5afe7a65d45dc73f8c92ab42f05 Author: John David Anglin dave.ang...@nrc-cnrc.gc.ca Date: Sun Jan 9 19:51:28 2011 +0100 Fix relink mode to use absolute path if hardcode_minus_L. * libltdl/config/ltmain.m4sh (func_mode_link): Use absolute path when hardcoding with -L. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |6 ++ libltdl/config/ltmain.m4sh |2 +- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 186ccc3..1ad3741 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-01-09 John David Anglin dave.ang...@nrc-cnrc.gc.ca (tiny change) + + Fix relink mode to use absolute path if hardcode_minus_L. + * libltdl/config/ltmain.m4sh (func_mode_link): Use absolute path + when hardcoding with -L. + 2011-01-09 Ralf Wildenhues ralf.wildenh...@gmx.de Fix $wl setting for Solaris Studio 12.2 f90 on GNU/Linux. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index d9e1cd2..7baa6aa 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -6050,7 +6050,7 @@ func_mode_link () test $hardcode_direct_absolute = no; then add=$dir/$linklib elif test $hardcode_minus_L = yes; then - add_dir=-L$dir + add_dir=-L$absdir # Try looking first in the location we're being installed to. if test -n $inst_prefix_dir; then case $libdir in hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.4-37-gb78075b
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 b78075b8ae59ff68f6f9ece21be7c5c13fceabee (commit) via 7aabd35c4c78df9c94528c02eae29397bab65987 (commit) via e80566abb3ee6757ff6da59d65a874b3a5f706a1 (commit) via 39ba8c55de025805c69d46e76f1a352658e01382 (commit) from 92eb89aace9fd41e43eee33f5c392adf1bcf8963 (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 b78075b8ae59ff68f6f9ece21be7c5c13fceabee Author: Ian Lance Taylor i...@google.com Date: Tue Oct 12 14:38:49 2010 -0700 Add Go support. * libltdl/m4/libtool.m4 (LT_LANG): Add Go. (AC_PROG_GO): Provide. (_LT_SYS_HIDDEN_LIBDEPS): Add Go case. (_LT_LANG_GO_CONFIG): Define. (LT_PROG_GO): Define. (AC_PROG_GO): Define if not defined. * libltdl/config/ltmain.m4sh: Match *.go. * doc/libtool.texi (LT_INIT): Mention Go. (Tags): Mention Go. * configure.ac: Enable Go. * NEWS: Update. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 7aabd35c4c78df9c94528c02eae29397bab65987 Author: Brice De Bruyne bric...@gmail.com Date: Mon Dec 20 04:16:12 2010 +0100 Also turn off -fuse-linker-plugin for postdep_objects computation. * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Add -fno-use-linker-plugin to temporary compile flags if necessary, to fix C++ postdep_objects setting with -flto -fuse-linker-plugin. * NEWS, THANKS: Update. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit e80566abb3ee6757ff6da59d65a874b3a5f706a1 Author: KO Myung-Hun k...@chollian.net Date: Mon Dec 20 04:10:19 2010 +0100 Set command line length limit for OS/2. * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN) [os2] lt_cv_sys_max_cmd_len: Set to 8192 to avoid long test. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 39ba8c55de025805c69d46e76f1a352658e01382 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Fri Dec 17 20:30:53 2010 +0100 Fix PIC flags with mpif77 using ifort on GNU/Linux. * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]: Match Intel compiler also using $CC -V output, to avoid false negatives with compiler drivers like mpif77. Report by Christian Rössel. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 37 + NEWS |4 ++ THANKS |1 + configure.ac |1 + doc/libtool.texi |3 +- libltdl/config/ltmain.m4sh |2 +- libltdl/m4/libtool.m4 | 124 tests/suffix.test |2 +- 8 files changed, 171 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index cbb0262..4880098 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,40 @@ +2010-12-20 Ian Lance Taylor i...@google.com + + * libltdl/m4/libtool.m4 (LT_LANG): Add Go. + (AC_PROG_GO): Provide. + (_LT_SYS_HIDDEN_LIBDEPS): Add Go case. + (_LT_LANG_GO_CONFIG): Define. + (LT_PROG_GO): Define. + (AC_PROG_GO): Define if not defined. + * libltdl/config/ltmain.m4sh: Match *.go. + * doc/libtool.texi (LT_INIT): Mention Go. + (Tags): Mention Go. + * configure.ac: Enable Go. + * NEWS: Update. + +2010-12-20 Brice De Bruyne bric...@gmail.com (tiny change) + + Also turn off -fuse-linker-plugin for postdep_objects computation. + * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Add + -fno-use-linker-plugin to temporary compile flags if necessary, + to fix C++ postdep_objects setting with -flto + -fuse-linker-plugin. + * NEWS, THANKS: Update. + +2010-12-20 KO Myung-Hun k...@chollian.net (tiny change) + + Set command line length limit for OS/2. + * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN) [os2] + lt_cv_sys_max_cmd_len: Set to 8192 to avoid long test. + +2010-12-20 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix PIC flags with mpif77 using ifort on GNU/Linux. + * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]: + Match Intel compiler also using $CC -V output, to avoid false + negatives with compiler drivers like mpif77. + Report by Christian Rössel. + 2010-12-16 Ralf Wildenhues ralf.wildenh...@gmx.de Fix PIC flags with MPI wrappers using Portland on GNU/Linux. diff --git a/NEWS b/NEWS index 0aeca57..96c9723 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,8 @@ New in 2.4.2 2010-12-??: git version 2.4.1a, Libtool team
[SCM] GNU Libtool branch, master, updated. v2.4-33-g92eb89a
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 92eb89aace9fd41e43eee33f5c392adf1bcf8963 (commit) from 738f282ab18923b0dce5fd1abb3e6aa0d2ae499f (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 92eb89aace9fd41e43eee33f5c392adf1bcf8963 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Thu Dec 16 21:41:27 2010 +0100 Fix PIC flags with MPI wrappers using Portland on GNU/Linux. * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]: Match Portland compilers also using $CC -V output, to avoid false negatives with MPI compiler drivers. Report by Christian Rössel. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |6 ++ libltdl/m4/libtool.m4 |5 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1dac768..cbb0262 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2010-12-16 Ralf Wildenhues ralf.wildenh...@gmx.de + Fix PIC flags with MPI wrappers using Portland on GNU/Linux. + * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]: + Match Portland compilers also using $CC -V output, to avoid + false negatives with MPI compiler drivers. + Report by Christian Rössel. + * libltdl/m4/libtool.m4 (_LT_SETUP): Fix quoting for PATH_SEPARATOR. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 59114b4..62f9040 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -4340,6 +4340,11 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; + *Portland\ Group*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; esac ;; esac hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.4-31-g8c00e12
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 8c00e12df8c8a1cc82e411779b2009e88bd203c2 (commit) from 82beb2a169ac1943df67be90675c3135ece03735 (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 8c00e12df8c8a1cc82e411779b2009e88bd203c2 Author: KO Myung-Hun k...@chollian.net Date: Wed Dec 15 22:29:17 2010 +0100 Fix PATH_SEPARATOR handling for OS/2. * Makefile.am (update_mans): Quote $(PATH_SEPARATOR). * libltdl/m4/libtool.m4 (_LT_SETUP): Add _LT_DECL for PATH_SEPARATOR. * libltdl/config/general.m4sh: Use PATH_SEPARATOR when computing $progpath. * THANKS: Update. --- Summary of changes: ChangeLog | 11 +++ Makefile.am |2 +- THANKS |1 + libltdl/config/general.m4sh |2 +- libltdl/m4/libtool.m4 |2 ++ 5 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8bc122e..0d49595 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2010-12-15 KO Myung-Hun k...@chollian.net (tiny change) + Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix PATH_SEPARATOR handling for OS/2. + * Makefile.am (update_mans): Quote $(PATH_SEPARATOR). + * libltdl/m4/libtool.m4 (_LT_SETUP): Add _LT_DECL for + PATH_SEPARATOR. + * libltdl/config/general.m4sh: Use PATH_SEPARATOR when computing + $progpath. + * THANKS: Update. + 2010-12-10 Ralf Wildenhues ralf.wildenh...@gmx.de Fix nvcc PIC setting on darwin. diff --git a/Makefile.am b/Makefile.am index 66f38b1..4be353c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -330,7 +330,7 @@ $(srcdir)/doc/notes.txt: $(srcdir)/doc/notes.texi dist_man1_MANS = $(srcdir)/doc/libtool.1 $(srcdir)/doc/libtoolize.1 MAINTAINERCLEANFILES += $(dist_man1_MANS) update_mans = \ - PATH=.$(PATH_SEPARATOR)$$PATH; export PATH; \ + PATH=.$(PATH_SEPARATOR)$$PATH; export PATH; \ $(HELP2MAN) --output=$@ $(srcdir)/doc/libtool.1: $(srcdir)/$(auxdir)/ltmain.sh $(update_mans) --help-option=--help-all libtool diff --git a/THANKS b/THANKS index 6dd8dd8..5260878 100644 --- a/THANKS +++ b/THANKS @@ -122,6 +122,7 @@ Kenneth Albanowski kja...@kjahds.com Kevin Ryde use...@zip.com.au Khem Raj raj.k...@gmail.com + KO Myung-Hun k...@chollian.net Kurt D. Zeilenga k...@openldap.org Lennart Poettering lenn...@poettering.net Lionel Landwerlin llandwer...@gmail.com diff --git a/libltdl/config/general.m4sh b/libltdl/config/general.m4sh index 44a7ce9..40d5413 100644 --- a/libltdl/config/general.m4sh +++ b/libltdl/config/general.m4sh @@ -296,7 +296,7 @@ case $progpath in ;; *) save_IFS=$IFS - IFS=: + IFS=${PATH_SEPARATOR-:} for progdir in $PATH; do IFS=$save_IFS test -x $progdir/$progname break diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 1f61140..ab3e16f 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -146,6 +146,8 @@ AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl +_LT_DECL([], [PATH_SEPARATOR], [0], [The PATH separator for the build system])dnl +dnl _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.4-30-g82beb2a
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 82beb2a169ac1943df67be90675c3135ece03735 (commit) via 1c9aa6dac54372220d367715bf891a6f06c668fd (commit) via cc027148f2acded5c1a2bd5c951ef70fb3223a50 (commit) from 4fee8796c92a2ab554eb6596330ac06613c22807 (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 82beb2a169ac1943df67be90675c3135ece03735 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Mon Dec 6 04:31:14 2010 +0100 Fix nvcc PIC setting on darwin. * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) lt_prog_compiler_pic: Prepend -Xcompiler to nonempty variable setting rather than hard-coding -Xcompiler -fPIC, for darwin. * NEWS, THANKS: Update. Report by PaweÅ Daniluk. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 1c9aa6dac54372220d367715bf891a6f06c668fd Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Nov 20 10:34:16 2010 +0100 Honor $AUTOCONF, $AUTOMAKE in --help output. * libltdl/config/getopt.m4sh (func_help): Use $AUTOCONF and $AUTOMAKE if set, for --version outout. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit cc027148f2acded5c1a2bd5c951ef70fb3223a50 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Fri Nov 19 18:42:04 2010 +0100 docs: Libtool configuration diagram. * doc/libtool.texi (Integrating libtool): Add diagrams explaining the dependencies between Libtool files. Suggestion by Ethan Mallove. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 18 +++ NEWS |1 + THANKS |1 + doc/libtool.texi | 50 libltdl/config/getopt.m4sh |4 +- libltdl/m4/libtool.m4 |4 ++- 6 files changed, 75 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e418f3c..8bc122e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +2010-12-10 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix nvcc PIC setting on darwin. + * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) + lt_prog_compiler_pic: Prepend -Xcompiler to nonempty variable + setting rather than hard-coding -Xcompiler -fPIC, for darwin. + * NEWS, THANKS: Update. + Report by PaweÅ Daniluk. + + Honor $AUTOCONF, $AUTOMAKE in --help output. + * libltdl/config/getopt.m4sh (func_help): Use $AUTOCONF and + $AUTOMAKE if set, for --version outout. + + docs: Libtool configuration diagram. + * doc/libtool.texi (Integrating libtool): Add diagrams + explaining the dependencies between Libtool files. + Suggestion by Ethan Mallove. + 2010-11-15 Ralf Wildenhues ralf.wildenh...@gmx.de Eliminate hardcode_libdir_flag_spec_ld tag variable. diff --git a/NEWS b/NEWS index 83cee5e..0aeca57 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,7 @@ New in 2.4.2 2010-12-??: git version 2.4.1a, Libtool team: not available) works again. Regression introduced in v2.2.6-39-g9c3d4d8. - The bug that leaked developer tool paths into the release tarballs from ./bootstrap is fixed. + - Improved support for the Cuda Compiler Driver (nvcc) on Darwin. * Important incompatible changes: diff --git a/THANKS b/THANKS index e85e21a..6dd8dd8 100644 --- a/THANKS +++ b/THANKS @@ -147,6 +147,7 @@ Paul Biggar paul.big...@gmail.com Paul Eggert egg...@twinsun.com Paul Laight plai...@quantxautomation.co.uk + PaweÅ Daniluk pa...@bioexploratorium.pl Peter Eisentraut pete...@gmx.net Peter Fritzsche peter.fritzs...@gmx.de Peter Jeremy peterjer...@optushome.com.au diff --git a/doc/libtool.texi b/doc/libtool.texi index 12d006b..04c5507 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -1791,6 +1791,56 @@ The remaining @var{mode-args} are either flags for the deletion program This chapter describes how to integrate libtool with your packages so that your users can install hassle-free shared libraries. +There are several ways in which Libtool may be integrated in your +package, described in the following sections. Typically, the Libtool +macro files as well as @file{ltmain.sh} are copied into your package +using @command{libtoolize} and @command{aclocal} after setting up the +...@file{configure.ac} and toplevel @file{Makefile.am}, then +...@command{autoconf} adds the needed tests
[SCM] GNU Libtool branch, master, updated. v2.4-27-g4fee879
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 4fee8796c92a2ab554eb6596330ac06613c22807 (commit) from 8eb036bb129a5673dd6ada62075588424edf319a (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 4fee8796c92a2ab554eb6596330ac06613c22807 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Mon Nov 15 23:13:33 2010 +0100 Eliminate hardcode_libdir_flag_spec_ld tag variable. * libltdl/config/ltmain.m4sh (func_mode_link): Set $wl to empty if $LD is used for creating shared libraries. Do not use hardcode_libdir_flag_spec_ld any more. * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) (_LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG, _LT_SYS_DYNAMIC_LINKER) hardcode_libdir_flag_spec_ld: Remove all instances of the tag variable. (_LT_LINKER_SHLIBS) [linux, xlf] hardcode_libdir_flag_spec: Set variable, including ${wl}. Fixes hardcoding in programs created by XL Fortran on GNU/Linux. * NEWS, THANKS: Update. Report by Paul H. Hargrove. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 14 ++ NEWS |9 + libltdl/config/ltmain.m4sh | 11 ++- libltdl/m4/libtool.m4 | 11 +-- 4 files changed, 30 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index 89b2d52..e418f3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,19 @@ 2010-11-15 Ralf Wildenhues ralf.wildenh...@gmx.de + Eliminate hardcode_libdir_flag_spec_ld tag variable. + * libltdl/config/ltmain.m4sh (func_mode_link): Set $wl to empty + if $LD is used for creating shared libraries. Do not use + hardcode_libdir_flag_spec_ld any more. + * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) + (_LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG, _LT_SYS_DYNAMIC_LINKER) + hardcode_libdir_flag_spec_ld: Remove all instances of the tag + variable. + (_LT_LINKER_SHLIBS) [linux, xlf] hardcode_libdir_flag_spec: + Set variable, including ${wl}. Fixes hardcoding in programs + created by XL Fortran on GNU/Linux. + * NEWS, THANKS: Update. + Report by Paul H. Hargrove. + Rebuild menus in the manual. * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs). Thanks to Ian Lance Taylor for the suggestion. diff --git a/NEWS b/NEWS index 6930274..83cee5e 100644 --- a/NEWS +++ b/NEWS @@ -15,6 +15,15 @@ New in 2.4.2 2010-12-??: git version 2.4.1a, Libtool team: - The bug that leaked developer tool paths into the release tarballs from ./bootstrap is fixed. +* Important incompatible changes: + + - The undocumented hardcode_libdir_flag_spec_ld tag variable has been +removed in favor of using hardcode_libdir_flag_spec with $wl set to empty. + +* Changes in supported systems or compilers: + + - Fixes for gfortran on Darwin, XL Fortran on GNU/Linux. + New in 2.4 2010-09-22: git version 2.2.11a, Libtool team: * New features: diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index af46cb8..aff8a1c 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -7237,6 +7237,11 @@ EOF # Test again, we may have decided not to build it any more if test $build_libtool_libs = yes; then + # Remove ${wl} instances when linking with ld. + # FIXME: should test the right _cmds variable. + case $archive_cmds in + *\$LD\ *) wl= ;; +esac if test $hardcode_into_libs = yes; then # Hardcode the library paths hardcode_libdirs= @@ -7275,11 +7280,7 @@ EOF if test -n $hardcode_libdir_separator test -n $hardcode_libdirs; then libdir=$hardcode_libdirs - if test -n $hardcode_libdir_flag_spec_ld; then - eval dep_rpath=\$hardcode_libdir_flag_spec_ld\ - else - eval dep_rpath=\$hardcode_libdir_flag_spec\ - fi + eval dep_rpath=\$hardcode_libdir_flag_spec\ fi if test -n $runpath_var test -n $perm_rpath; then # We should set the runpath_var. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index d8b3a4d..419ffe1 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -4522,7 +4522,6 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1
[SCM] GNU Libtool branch, master, updated. v2.4-24-g5ca9b3e
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 5ca9b3ec6b8be1cdd9713845b3e7cf389cc17ae4 (commit) from 7a6ca6e6942ddad9f0dc95e8c6d32e062c9cedbc (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 5ca9b3ec6b8be1cdd9713845b3e7cf389cc17ae4 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Wed Nov 10 19:28:11 2010 +0100 Fix cwrapper test failure with --disable-static. * tests/cwrapper.at (cwrapper and installed shared libraries): Compile program source without libtool, so we can be sure a non-PIC object will be created. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |7 +++ tests/cwrapper.at |3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5d1ec7c..9c169e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-11-10 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix cwrapper test failure with --disable-static. + * tests/cwrapper.at (cwrapper and installed shared libraries): + Compile program source without libtool, so we can be sure a + non-PIC object will be created. + 2010-11-01 Peter Rosin p...@lysator.liu.se docs: Windows DLLs and headers. diff --git a/tests/cwrapper.at b/tests/cwrapper.at index 6e8cf3c..0e5ecb7 100644 --- a/tests/cwrapper.at +++ b/tests/cwrapper.at @@ -249,8 +249,7 @@ int main (void) } ]]) -AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c m.c], - [], [ignore], [ignore]) +AT_CHECK([$CC $CPPFLAGS $CFLAGS -c m.c], [], [ignore], [ignore]) AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m1$EXEEXT m.$OBJEXT foo/liba.la], [], [ignore], [ignore]) hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.4-25-g2a736ed
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 2a736edf3ee2432e204157f7d535afc09bb53e36 (commit) from 5ca9b3ec6b8be1cdd9713845b3e7cf389cc17ae4 (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 2a736edf3ee2432e204157f7d535afc09bb53e36 Author: Ollie Wild a...@google.com Date: Wed Nov 10 21:06:50 2010 +0100 Modify --with-pic to support per-package configurations. * libltdl/m4/libtool.m4: Modify --with-pic to accept a list of package names. Modelled off --enable-shared. * tests/with-pic.at: New test. * Makefile.am (TESTSUITE_AT): Add tests/with-pic.at. * doc/libtool.texi (LT_INIT): Enhance documentation of --with-pic configure flag. * NEWS (New features): Mention that --with-pic now accepts a comma-separated list of package names. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 12 + Makefile.am|1 + NEWS |6 doc/libtool.texi | 17 ++-- libltdl/m4/ltoptions.m4| 19 - tests/{pic_flag.at = with-pic.at} | 49 +--- 6 files changed, 73 insertions(+), 31 deletions(-) copy tests/{pic_flag.at = with-pic.at} (50%) diff --git a/ChangeLog b/ChangeLog index 9c169e0..97b9448 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2010-11-07 Ollie Wild a...@google.com + + Modify --with-pic to support per-package configurations. + * libltdl/m4/libtool.m4: Modify --with-pic to accept a list of + package names. Modelled off --enable-shared. + * tests/with-pic.at: New test. + * Makefile.am (TESTSUITE_AT): Add tests/with-pic.at. + * doc/libtool.texi (LT_INIT): Enhance documentation of + --with-pic configure flag. + * NEWS (New features): Mention that --with-pic now accepts a + comma-separated list of package names. + 2010-11-10 Ralf Wildenhues ralf.wildenh...@gmx.de Fix cwrapper test failure with --disable-static. diff --git a/Makefile.am b/Makefile.am index db2c0a9..66f38b1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -502,6 +502,7 @@ TESTSUITE_AT= tests/testsuite.at \ tests/ctor.at \ tests/exceptions.at \ tests/early-libtool.at \ + tests/with-pic.at \ tests/no-executables.at \ tests/deplibs-ident.at \ tests/configure-iface.at \ diff --git a/NEWS b/NEWS index d8d692e..6930274 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,12 @@ NEWS - list of user-visible changes between releases of GNU Libtool New in 2.4.2 2010-12-??: git version 2.4.1a, Libtool team: +* New features: + + - The --with-pic configure option now supports a list of comma-separated +package names. This can be used to build some static libraries with PIC +objects while building others with non-PIC objects. + * Bug fixes: - The generic approximation of the command line length limit (when getconf is diff --git a/doc/libtool.texi b/doc/libtool.texi index 2f48a09..5c2570d 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -2042,9 +2042,10 @@ LT_PREREQ([...@value{version}]) @defmac LT_INIT (@var{options}) @defmacx AC_PROG_LIBTOOL @defmacx AM_PROG_LIBTOOL -Add support for the @option{--enable-shared} and @option{--disable-shared} -...@code{configure} fla...@footnote{@code{LT_INIT} requires that -you define the @file{Makefile} variable @code{top_builddir} in your +Add support for the @option{--enable-shared}, @option{--disable-shared}, +...@option{--enable-static}, @option{--disable-static}, @option{--with-pic}, and +...@option{--without-pic} @code{configure} fla...@footnote{@code{LT_INIT} requires +that you define the @file{Makefile} variable @code{top_builddir} in your @file{Makefile.in}. Automake does this automatically, but Autoconf users should set it to the relative path to the top of your build directory (@file{../..}, for example).} @code{AC_PROG_LIBTOOL} and @@ -2086,6 +2087,16 @@ behaves similarly, but it uses @option{--enable-static} and The package name @samp{default} matches any packages that have not set their name in the @code{PACKAGE} environment variable. +The @option{--with-pic} and @option{--without-pic} configure flags can be used +to specify whether or not @command{libtool} uses PIC objects. By default, +...@command{libtool} uses PIC objects for shared libraries and non-PIC objects for +static
[SCM] GNU Libtool branch, master, updated. v2.4-21-ge5b1c89
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 e5b1c89cbe621e5c962056c4c8ae4362ce66b517 (commit) from 2f907f634e7035166a793fd70e40ae677c2a9a10 (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 e5b1c89cbe621e5c962056c4c8ae4362ce66b517 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Wed Oct 27 20:13:28 2010 +0200 docs: mention shell requirement for libtool script. * doc/libtool.texi (Invoking libtool): Document that the shell used to invoke libtool needs to be the same used to configure it. * THANKS: Update. Report by Markus Duft. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog|9 + THANKS |1 + doc/libtool.texi |7 +++ 3 files changed, 17 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index df41497..f6be7e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2010-10-30 Ralf Wildenhues ralf.wildenh...@gmx.de + + docs: mention shell requirement for libtool script. + * doc/libtool.texi (Invoking libtool): Document that the shell + used to invoke libtool needs to be the same used to configure + it. + * THANKS: Update. + Report by Markus Duft. + 2010-10-15 Gary V. Vaughan g...@gnu.org libtool: remove redundant unsubstituted shell var defaults. diff --git a/THANKS b/THANKS index c1e9968..e85e21a 100644 --- a/THANKS +++ b/THANKS @@ -133,6 +133,7 @@ Marc J. Fraioli frai...@dg-rtp.dg.com Marcel Loose lo...@astron.nl Mark Ketteniskette...@phys.uva.nl + Markus Duft markus.d...@salomon.at Matthijs Kooijmanmatth...@stdin.nl Micheal E. Faenzamfae...@mitre.org Michael Haubenwallnermichael.haubenwall...@salomon.at diff --git a/doc/libtool.texi b/doc/libtool.texi index 076b67b..fa8d0d1 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -1326,6 +1326,13 @@ can be achieved using either option @option{-v} or option Print libtool version information and exit. @end table +The current @command{libtool} implementation is done with a shell script +that needs to be invoked by the shell which @command{configure} chose for +configuring @command{libtool} (@pxref{config.status Invocation, , The +Autoconf Manual, autoconf, The Autoconf Manual}). This shell is set in +the she-bang (@samp{#!}) line of the @command{libtool} script. Using a +different shell may cause undefined behavior. + The @var{mode-args} are a variable number of arguments, depending on the selected operation mode. In general, each @var{mode-arg} is interpreted by programs libtool invokes, rather than libtool itself. hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.4-16-g3b0fd49
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 3b0fd490f391c88f84ba461c8cf28bd38eab3df0 (commit) via 5bc5f69ec6954050181f12b8e5dfb618803cd77d (commit) via 5798227360684931122c6f86708f6c9495752fe0 (commit) from 583cf628610f6b5ced8155d7f18125004e6e3b1c (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 3b0fd490f391c88f84ba461c8cf28bd38eab3df0 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Thu Oct 14 21:27:09 2010 +0200 Fix linking from only convenience archives with gfortran on Darwin. * libltdl/m4/libtool.m4 (_LT_DARWIN_LINKER_FEATURES): Update macro comment header. [darwin, F77, FC] compiler_needs_object: Set to yes if whole_archive_flag_spec is nonempty. Fixes convenience.at test suite failures with gfortran 4.2 on Darwin. * THANKS: Update. Report by Paul Laight. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 5bc5f69ec6954050181f12b8e5dfb618803cd77d Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Thu Oct 14 21:48:17 2010 +0200 Fix bindir check logic, and relax non-bindir case for AIX. * tests/bindir.at (bindir install tests): Rewrite checks for place of the installed shared library in two separate tests, depending on whether -bindir is supposed to have an effect or not. In the positive case, make the test stricter so that we reject libraries in $libdir. In the negative case, do not require a major version number in the $libdir file name, for AIX without runtimelinking. If tmpdir creation fails, skip the test. Use fewer bindir directory names for testing, to speed up the test. Also mention MSVC style DLL name in comment. Report by Peter Rosin. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 5798227360684931122c6f86708f6c9495752fe0 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Thu Oct 14 21:47:44 2010 +0200 tests: remove unneeded 'bindir compile check' test. * tests/bindir.at (bindir compile check): Remove. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 26 + THANKS|1 + libltdl/m4/libtool.m4 |6 +++- tests/bindir.at | 59 +--- 4 files changed, 52 insertions(+), 40 deletions(-) diff --git a/ChangeLog b/ChangeLog index a00214c..fbd8386 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,29 @@ +2010-10-15 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix linking from only convenience archives with gfortran on Darwin. + * libltdl/m4/libtool.m4 (_LT_DARWIN_LINKER_FEATURES): Update + macro comment header. + [darwin, F77, FC] compiler_needs_object: Set to yes if + whole_archive_flag_spec is nonempty. Fixes convenience.at test + suite failures with gfortran 4.2 on Darwin. + * THANKS: Update. + Report by Paul Laight. + + Fix bindir check logic, and relax non-bindir case for AIX. + * tests/bindir.at (bindir install tests): Rewrite checks for + place of the installed shared library in two separate tests, + depending on whether -bindir is supposed to have an effect or + not. In the positive case, make the test stricter so that we + reject libraries in $libdir. In the negative case, do not + require a major version number in the $libdir file name, for AIX + without runtimelinking. If tmpdir creation fails, skip the + test. Use fewer bindir directory names for testing, to speed + up the test. Also mention MSVC style DLL name in comment. + Report by Peter Rosin. + + tests: remove unneeded 'bindir compile check' test. + * tests/bindir.at (bindir compile check): Remove. + 2010-10-14 Peter Rosin p...@lysator.liu.se tests: fix $EXEEXT typo. diff --git a/THANKS b/THANKS index 5aa0c3c..c1e9968 100644 --- a/THANKS +++ b/THANKS @@ -145,6 +145,7 @@ Patrick Welche pr...@newn.cam.ac.uk Paul Biggar paul.big...@gmail.com Paul Eggert egg...@twinsun.com + Paul Laight plai...@quantxautomation.co.uk Peter Eisentraut pete...@gmx.net Peter Fritzsche peter.fritzs...@gmx.de Peter Jeremy peterjer...@optushome.com.au diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 967dd38..d8b3a4d 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -1035,8 +1035,8 @@ _LT_EOF
[SCM] GNU Libtool branch, master, updated. v2.4-20-g2f907f6
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 2f907f634e7035166a793fd70e40ae677c2a9a10 (commit) via a2bb0c980f2b50ab31fedd18bb4890843b3d399a (commit) via c9497cc81cc46ce8848452240a323266440c4cb9 (commit) via dd5b4f06557a4c5ec7b06d7814b95ecd63ab63b8 (commit) from 3b0fd490f391c88f84ba461c8cf28bd38eab3df0 (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 2f907f634e7035166a793fd70e40ae677c2a9a10 Merge: 3b0fd49 a2bb0c9 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Fri Oct 15 05:54:45 2010 +0200 Merge branch 'libtool-next' (early part) * 'libtool-next' (early part): libtool: remove redundant unsubstituted shell var defaults. maint: don't leak developer GREP, SED etc into distribution file. maint: rearrange Makefile.am in preparation for a follow-up patch. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 36 +++ HACKING |9 --- Makefile.am | 190 ++ NEWS|2 + 4 files changed, 136 insertions(+), 101 deletions(-) diff --git a/ChangeLog b/ChangeLog index fbd8386..df41497 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,39 @@ +2010-10-15 Gary V. Vaughan g...@gnu.org + + libtool: remove redundant unsubstituted shell var defaults. + * Makefile.am (libltdl/config/ltmain.sh): Boilerplate code from + libltdl/config/general.m4 sets some default shell variables + designed to be substituted by `$(configure_edit)'. Actually, + `libtool' uses the language tag values for those variables, and + `ltmain.m4sh' is not passed through `$(configure_edit)', so they + are just noise. Edit them out at bootstrap time. + +2010-10-15 Gary V. Vaughan g...@gnu.org + + maint: don't leak developer GREP, SED etc into distribution file. + * Makefile.am: Having rearranged the file, now apply the actual + changes to follow-up. + (edit): Split into two parts... + (bootstrap_edit): ...substitutions that should happen at bootstrap + time... + (configure_edit): ...and substitutions that should not happen until + configure time. + * Makefile.am (libltdl/m4/ltversion.m4, libltdl/config/ltmain.sh) + (libtoolize.in, tests/package.m4): Use bootstrap_edit. + (libtoolize, tests/defs): Use configure_edit. + * HACKING (Release Procedure): Remove the note to workaround the + bug fixed by this changeset. + * NEWS (Bug fixes): Mention that this bug is now fixed. + Reported by Joerg Sonnenberger. + + maint: rearrange Makefile.am in preparation for a follow-up patch. + * Makefile.am (Libtool scripts.): Move this section below the + `Bootstrap.' section... + (libtoolize.in): ...except this one which is generated at + bootstrap time, and was added into the `Bootstrap.' section. + (Libltdl.): Move this section below the `Libtool scripts.' + section. + 2010-10-15 Ralf Wildenhues ralf.wildenh...@gmx.de Fix linking from only convenience archives with gfortran on Darwin. diff --git a/HACKING b/HACKING index 977be10..b17de29 100644 --- a/HACKING +++ b/HACKING @@ -619,15 +619,6 @@ or obtained by writing to the Free Software Foundation, Inc., * Update NEWS, ChangeLog. -* Until the bug that leaks developer tool paths into the release tarballs - from ./bootstrap is fixed, make sure the right tools are first in your - PATH and then: - export EGREP=egrep - export FGREP=fgrep - export GREP=grep - export MAKE=make - export SED=sed - * Run ./bootstrap. * Run ./configure (or create a build directory first and run configure diff --git a/Makefile.am b/Makefile.am index 6c23a5e..db2c0a9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -60,84 +60,10 @@ timestamp = set dummy `$(MKSTAMP) $(srcdir)`; shift; \ rebuild = rebuild=:; $(timestamp); correctver=$$1 -## ## -## Libtool scripts. ## -## ## - -# The libtool distributor and the standalone libtool script. -bin_SCRIPTS = libtoolize libtool - -libtoolize: $(srcdir)/libtoolize.in $(top_builddir)/config.status - rm -f libtoolize.tmp libtoolize - $(timestamp); \ - $(edit) -e s,@TIMESTAMP\@,$$TIMESTAMP,g \ - -e 's,@aclocal_DATA\@,$(aclocalfiles),g' \ - -e s,@pkgltdl_files\@,$(ltdldatafiles),g \ - -e s,@pkgconfig_files\@,$(auxfiles),g \ - $(srcdir)/libtoolize.in
[SCM] GNU Libtool branch, master, updated. v2.4-12-g72266fc
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 72266fced994c7efe609b52c889f5241aebda744 (commit) from 2ed5700993f997817ad5c164a4bbe4559e5bf66a (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 72266fced994c7efe609b52c889f5241aebda744 Author: Simon Josefsson si...@josefsson.org Date: Sat Oct 9 12:26:16 2010 +0200 docs: improve description of -no-undefined. * doc/libtool.texi (Link mode): Fix -no-undefined description. (Inter-library dependencies): Use Windows not AIX as example system. Clarify need for symbol resolution at library creation time. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog| 10 ++ doc/libtool.texi | 20 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index bfcbc89..281c71e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2010-10-12 Simon Josefsson si...@josefsson.org + MatÄj TÃ½Ä matej@gmail.com + Ralf Wildenhues ralf.wildenh...@gmx.de + + docs: improve description of -no-undefined. + * doc/libtool.texi (Link mode): Fix -no-undefined description. + (Inter-library dependencies): Use Windows not AIX as example + system. Clarify need for symbol resolution at library creation + time. + 2010-10-09 Paolo Bonzini bonz...@gnu.org Add missing sysroot resolution. diff --git a/doc/libtool.texi b/doc/libtool.texi index cd5a181..076b67b 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -1517,9 +1517,12 @@ of library paths. Useful if the program is only used in the build tree, e.g., for testing or generating other files. @item -no-undefined -Declare that @var{output-file} does not depend on any other libraries. -Some platforms cannot create shared libraries that depend on other -libraries (@pxref{Inter-library dependencies}). +Declare that @var{output-file} does not depend on any libraries other +than the ones listed on the command line, i.e., after linking, it will +not have unresolved symbols. Some platforms require all symbols in +shared libraries to be resolved at library creation (@pxref{Inter-library +dependencies}), and using this parameter allows @command{libtool} to +assume that this will not happen. @item -o @var{output-file} Create @var{output-file} from the specified objects and libraries. @@ -3261,12 +3264,13 @@ in order to guarantee that all the required libraries are found. This restriction is only necessary to preserve compatibility with static library systems and simple dynamic library systems. -Some platforms, such as AIX, do not even allow you this +Some platforms, such as Windows, do not even allow you this flexibility. In order to build a shared library, it must be entirely -self-contained (that is, have references only to symbols that are found -in the @file{.lo} files or the specified @samp{-l} libraries), and you -need to specify the @option{-no-undefined} flag. By default, libtool -builds only static libraries on these kinds of platforms. +self-contained or it must have dependencies known at link time (that is, +have references only to symbols that are found in the @file{.lo} files +or the specified @samp{-l} libraries), and you need to specify the +...@option{-no-undefined} flag. By default, libtool builds only static +libraries on these kinds of platforms. The simple-minded inter-library dependency tracking code of libtool releases prior to 1.2 was disabled because it was not clear when it was hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-206-g830f338
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 830f33846e796d5094e9f055f48877a0e35ea9bd (commit) from 850f41781e1c5e98b71457d1375231b1fa581325 (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 830f33846e796d5094e9f055f48877a0e35ea9bd Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Mon Sep 20 21:51:55 2010 +0200 Revert to per-language libpath computation on AIX. * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Accept tagname argument. Use global cache variable lt_cv_aix_libpath to override per-language tag variables for the libpath value. Fix the sed script to remove trailing space. (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Pass tag argument to _LT_SYS_MODULE_PATH_AIX. Tracked down and reported by Rainer Tammer. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 11 ++ libltdl/m4/libtool.m4 | 54 2 files changed, 42 insertions(+), 23 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4934ce5..f3dee40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2010-09-21 Ralf Wildenhues ralf.wildenh...@gmx.de + + Revert to per-language libpath computation on AIX. + * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Accept + tagname argument. Use global cache variable lt_cv_aix_libpath + to override per-language tag variables for the libpath value. + Fix the sed script to remove trailing space. + (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Pass tag argument to + _LT_SYS_MODULE_PATH_AIX. + Tracked down and reported by Rainer Tammer. + 2010-09-21 Gary V. Vaughan g...@gnu.org maint: edit-readme-alpha shouldn't try to re-edit during dist. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index a8b07bf..2aee398 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -1073,33 +1073,41 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES], fi ]) -# _LT_SYS_MODULE_PATH_AIX -# --- +# _LT_SYS_MODULE_PATH_AIX([TAGNAME]) +# -- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. +# Store the results from the different compilers for each TAGNAME. +# Allow to override them for all tags through lt_cv_aix_libpath. 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],[ -lt_aix_libpath_sed=' -/Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } -}' -lt_cv_aix_libpath=`dump -H conftest$ac_exeext 2/dev/null | $SED -n -e $lt_aix_libpath_sed` -# Check for a 64-bit object if we didn't find anything. -if test -z $lt_cv_aix_libpath; then - lt_cv_aix_libpath=`dump -HX64 conftest$ac_exeext 2/dev/null | $SED -n -e $lt_aix_libpath_sed` -fi],[]) -if test -z $lt_cv_aix_libpath; then lt_cv_aix_libpath=/usr/lib:/lib; fi -]) -aix_libpath=$lt_cv_aix_libpath +if test ${lt_cv_aix_libpath+set} = set; then + aix_libpath=$lt_cv_aix_libpath +else + AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], + [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ + lt_aix_libpath_sed='[ + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }]' + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2/dev/null | $SED -n -e $lt_aix_libpath_sed` + # Check for a 64-bit object if we didn't find anything. + if test -z $_LT_TAGVAR([lt_cv_aix_libpath_], [$1]); then +_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2/dev/null | $SED -n -e $lt_aix_libpath_sed` + fi],[]) + if test -z $_LT_TAGVAR([lt_cv_aix_libpath_], [$1]); then +_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib + fi + ]) + aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) +fi ])# _LT_SYS_MODULE_PATH_AIX @@ -4944,7 +4952,7 @@ _LT_EOF _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. -_LT_SYS_MODULE_PATH_AIX +_LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir
[SCM] GNU Libtool branch, master, updated. v2.2.10-193-g8e73506
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 8e7350625f1236f6f0c31ba5a8f518671731b032 (commit) from bb8ae2a29a769877ec1b40155dfe53ad47228185 (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 8e7350625f1236f6f0c31ba5a8f518671731b032 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Sep 18 10:19:38 2010 +0200 tests: avoid distcheck failure with --disable-ltdl-install. * tests/ltdl-libdir.at (libdir of installed modules): Skip if $LIBLTDL does not exist. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog|6 ++ tests/ltdl-libdir.at |3 +++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index d72d9e0..fd8bb49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-09-18 Ralf Wildenhues ralf.wildenh...@gmx.de + + tests: avoid distcheck failure with --disable-ltdl-install. + * tests/ltdl-libdir.at (libdir of installed modules): Skip if + $LIBLTDL does not exist. + 2010-09-17 Peter Rosin p...@lysator.liu.se tests: actually detect missing 'test' in 'if $foo = ...'. diff --git a/tests/ltdl-libdir.at b/tests/ltdl-libdir.at index 7065c5b..01c9e70 100644 --- a/tests/ltdl-libdir.at +++ b/tests/ltdl-libdir.at @@ -93,6 +93,9 @@ main (int argc, const char *argv[]) : ${LTDLINCL=-I$abs_top_srcdir/libltdl} : ${LIBLTDL=$abs_builddir/../libltdl/libltdlc.la} +# Skip installcheck if --disable-ltdl-install was used. +AT_CHECK([test -f $LIBLTDL || exit 77]) + CPPFLAGS=$LTDLINCL $CPPFLAGS LDFLAGS=$LDFLAGS -no-undefined hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-189-g9797b61
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 9797b616fc18cedcb0f9ed2dcfddb77a3c452bca (commit) via d4bf222845e1fe33ee5bd4c07985280dbfd2aa9c (commit) from 69e77671311ab54de44ba24ff5dbf5568bf1221d (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 9797b616fc18cedcb0f9ed2dcfddb77a3c452bca Merge: 69e7767 d4bf222 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Fri Sep 17 21:48:00 2010 +0200 Merge branch 'lto' * lto: LTO: consistently accept -fwhopr* and -flto* for GCC. --- Summary of changes: ChangeLog |7 +++ libltdl/config/ltmain.m4sh |4 ++-- libltdl/m4/libtool.m4 |2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 17e50cf..326b658 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-09-17 Ralf Wildenhues ralf.wildenh...@gmx.de + + LTO: consistently accept -fwhopr* and -flto* for GCC. + * libltdl/config/ltmain.m4sh (func_mode_link): Accept -fwhopr*. + * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Also match + -flto*. + 2010-09-17 Charles Wilson libt...@cwilson.fastmail.fm Fix order of PATH manipulation in cwrapper and shwrapper diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 4f5bbb3..0418007 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -5048,10 +5048,10 @@ func_mode_link () # @fileGCC response files # -tp=*Portland pgcc target processor selection # --sysroot=* for sysroot support - # -O*, -flto*, -fwhopr, -fuse-linker-plugin GCC link-time optimization + # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-flto*|-fwhopr|-fuse-linker-plugin) + -O*|-flto*|-fwhopr*|-fuse-linker-plugin) func_quote_for_eval $arg arg=$func_quote_for_eval_result func_append compile_command $arg diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 3a4e757..1a5b85d 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -6854,7 +6854,7 @@ _LT_EOF _lt_libdeps_save_CFLAGS=$CFLAGS case $CC $CFLAGS in #( -*\ -flto\ *) CFLAGS=$CFLAGS -fno-lto ;; +*\ -flto*\ *) CFLAGS=$CFLAGS -fno-lto ;; *\ -fwhopr*\ *) CFLAGS=$CFLAGS -fno-whopr ;; esac hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, lto, updated. v2.2.10-157-gd4bf222
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, lto has been updated via d4bf222845e1fe33ee5bd4c07985280dbfd2aa9c (commit) from 327f014068d2f709f0e38282d6b36725573a45c7 (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 - --- Summary of changes: ChangeLog |7 +++ libltdl/config/ltmain.m4sh |4 ++-- libltdl/m4/libtool.m4 |2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3819e0b..e6decf2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-09-17 Ralf Wildenhues ralf.wildenh...@gmx.de + + LTO: consistently accept -fwhopr* and -flto* for GCC. + * libltdl/config/ltmain.m4sh (func_mode_link): Accept -fwhopr*. + * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Also match + -flto*. + 2010-09-02 Ralf Wildenhues ralf.wildenh...@gmx.de tests: avoid spurious test failure due to library mode on HP-UX. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 5ada0c1..d74b598 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -5014,10 +5014,10 @@ func_mode_link () # @fileGCC response files # -tp=*Portland pgcc target processor selection # --sysroot=* for sysroot support - # -O*, -flto*, -fwhopr, -fuse-linker-plugin GCC link-time optimization + # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-flto*|-fwhopr|-fuse-linker-plugin) + -O*|-flto*|-fwhopr*|-fuse-linker-plugin) func_quote_for_eval $arg arg=$func_quote_for_eval_result func_append compile_command $arg diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 01cd66a..c2803cd 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -6836,7 +6836,7 @@ _LT_EOF _lt_libdeps_save_CFLAGS=$CFLAGS case $CC $CFLAGS in #( -*\ -flto\ *) CFLAGS=$CFLAGS -fno-lto ;; +*\ -flto*\ *) CFLAGS=$CFLAGS -fno-lto ;; *\ -fwhopr*\ *) CFLAGS=$CFLAGS -fno-whopr ;; esac hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-184-g3d4f9e3
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 3d4f9e324590737af07de73ce4d4eefea85fb16e (commit) from 72064249b217a22626dd8da8a5a2ce7f12e4404d (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 3d4f9e324590737af07de73ce4d4eefea85fb16e Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Thu Sep 16 22:02:50 2010 +0200 tests: avoid localization failure due to unstable compiler messages. * tests/testsuite.at (LT_AT_NORMALIZE_COMPILER_OUTPUT): Attempt to normalize temporary file names in error messages. Fixes 'localized compiler messages' test failure on Darwin when creating fat (multi-ABI) libraries. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |8 tests/testsuite.at |7 +-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1697a1b..37f6c84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-09-16 Ralf Wildenhues ralf.wildenh...@gmx.de + + tests: avoid localization failure due to unstable compiler messages. + * tests/testsuite.at (LT_AT_NORMALIZE_COMPILER_OUTPUT): + Attempt to normalize temporary file names in error messages. + Fixes 'localized compiler messages' test failure on Darwin when + creating fat (multi-ABI) libraries. + 2010-09-13 Peter Rosin p...@lysator.liu.se Prefer $NM @file when the toolchain isn't native to $build. diff --git a/tests/testsuite.at b/tests/testsuite.at index ea13ec9..c450e10 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -240,10 +240,13 @@ esac]) # - distcc process numbers, # - ccache file location, # - newline encoding, -# - location of the libtool script. +# - location of the libtool script, +# - error messages involving unstable temporary file names. m4_define([LT_AT_NORMALIZE_COMPILER_OUTPUT], [_ltbase=`$ECHO $LIBTOOL | sed 's,^.*/,,'` -[sed /^distcc\[[0-9]*\]/d; /^$_ltbase: compile/d $1 $1.t] +[sed /^distcc\[[0-9]*\]/d + /^$_ltbase: compile/d + s/\(tmp\/\{1,\}cc\)\([a-zA-Z0-9_]\{1,\}\)/\1-normalized-tmpname/g $1 $1.t] LT_AT_UNIFY_NL([$1.t], [m4_default([$2], [$1])])[]dnl ]) hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-180-gfdba1e5
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 fdba1e5c9130004d943157cd5d6e7e1b3855d8bd (commit) via 05afa27b5aff35cda9f8ff4d50c9e2ab05bad78c (commit) from 52e86c62786b95f91f32e7020f7eaf3c1be9a59b (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 fdba1e5c9130004d943157cd5d6e7e1b3855d8bd Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Mon Sep 13 21:52:03 2010 +0200 doc: avoid long lines in input and output, indexing fixes. * doc/libtool.texi (Linking libraries) (Module loaders for libltdl): Manually line-wrap examples, to avoid long lines. (Libltdl interface, User defined module data) (Module loaders for libltdl): Wrap long @deftypefun input lines using trailing '@'. Use @deftypefun rather than @deftp where appropriate, and add spaces in @deftypefun lines to fix the index entries generated from these lines. (Cheap tricks): Use @smallexample rather than @example, to avoid long lines. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 05afa27b5aff35cda9f8ff4d50c9e2ab05bad78c Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Mon Sep 13 21:28:52 2010 +0200 docs: @file and @option markup fixes. * doc/libtool.texi (Creating object files, Linking libraries) (Linking executables, Link mode, Finish mode, Autoconf macros) (Using Automake, Inter-library dependencies, Dlpreopening) (Linking with dlopened modules, Finding the dlname) (Libltdl interface, Test descriptions, Multiple dependencies): Add @option where needed, replace @samp with @file as appropriate. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog| 23 doc/libtool.texi | 104 + 2 files changed, 80 insertions(+), 47 deletions(-) diff --git a/ChangeLog b/ChangeLog index c7d0336..39c3e7a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,26 @@ +2010-09-13 Ralf Wildenhues ralf.wildenh...@gmx.de + + doc: avoid long lines in input and output, indexing fixes. + * doc/libtool.texi (Linking libraries) + (Module loaders for libltdl): Manually line-wrap examples, to + avoid long lines. + (Libltdl interface, User defined module data) + (Module loaders for libltdl): Wrap long @deftypefun input lines + using trailing '@'. Use @deftypefun rather than @deftp where + appropriate, and add spaces in @deftypefun lines to fix the + index entries generated from these lines. + (Cheap tricks): Use @smallexample rather than @example, to avoid + long lines. + + docs: @file and @option markup fixes. + * doc/libtool.texi (Creating object files, Linking libraries) + (Linking executables, Link mode, Finish mode, Autoconf macros) + (Using Automake, Inter-library dependencies, Dlpreopening) + (Linking with dlopened modules, Finding the dlname) + (Libltdl interface, Test descriptions, Multiple dependencies): + Add @option where needed, replace @samp with @file as + appropriate. + 2010-09-12 Peter Rosin p...@lysator.liu.se * .gitignore: Ignore *.obj files for MSVC (and w32 in general). diff --git a/doc/libtool.texi b/doc/libtool.texi index 9314612..a3555dc 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -510,11 +510,11 @@ to the compiler to tell it to generate PIC rather than the standard position-dependent code. @cindex library object file -...@cindex @samp{.lo} files +...@cindex @file{.lo} files @cindex object files, library Since this is a library implementation detail, libtool hides the complexity of PIC compiler flags and uses separate library object files -(the PIC one lives in the @sa...@value{objdir}} subdirectory and the +(the PIC one lives in the @fi...@value{objdir}} subdirectory and the static one lives in the current directory). On systems without shared libraries, the PIC library object files are not created, whereas on systems where all code is PIC, such as AIX, the static ones are not @@ -533,7 +533,7 @@ a23$ @end example Note that libtool silently creates an additional control file on each -...@samp{compile} invocation. The @samp{.lo} file is the libtool object, +...@samp{compile} invocation. The @file{.lo} file is the libtool object, which Libtool uses to determine what object file may be built into a shared library. On @samp{a23}, only static libraries are supported so the library objects look like this: @@ -564,7 +564,7 @@ gcc -g
[SCM] GNU Libtool branch, master, updated. v2.2.10-170-g3a94f44
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 3a94f44686dc3fbe184d1c07c2f9b7fbddfaa873 (commit) via 327f014068d2f709f0e38282d6b36725573a45c7 (commit) via b81fd4ef009c24a86a7e64727ea09efb410ea149 (commit) via ada610770b6a30fcf8b22cd875c2002183765c4f (commit) via bf1d52eb53a6f8738105954f9e1e9533da091461 (commit) from 383b2e2954834fbf145fe5c86a2db8fc6d465f7b (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 3a94f44686dc3fbe184d1c07c2f9b7fbddfaa873 Merge: 383b2e2 327f014 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Sep 12 10:59:01 2010 +0200 Merge branch 'lto' * lto: Support GCC LTO on GNU/Linux. Disable GCC LTO for verbose library extraction. Save and restore CFLAGS properly inside libtool.m4 macros. --- Summary of changes: ChangeLog | 28 ++ NEWS |1 + libltdl/config/ltmain.m4sh |4 ++- libltdl/m4/libtool.m4 | 47 +-- 4 files changed, 68 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index dc34553..acca455 100644 --- a/ChangeLog +++ b/ChangeLog @@ -245,6 +245,34 @@ 2010-08-29 Ralf Wildenhues ralf.wildenh...@gmx.de + Support GCC LTO on GNU/Linux. + * libltdl/config/ltmain.m4sh (func_mode_link): Allow through + flags matching -O*, -flto*, -fwhopr, -fuse-linker-plugin. + * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Drop symbols + starting with __gnu_lto. + (_LT_LINKER_SHLIBS) [linux] archive_cmds, archive_expsyms_cmds: + Add $pic_flag for GCC. + (_LT_LANG_CXX_CONFIG) [linux] archive_cmds, archive_expsyms_cmds: + Likewise. + (_LT_SYS_HIDDEN_LIBDEPS): Ignore files matching *.lto.o. + * NEWS: Update. + + Disable GCC LTO for verbose library extraction. + * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Temporarily + append -fno-lto or -fno-whopr to CFLAGS if CC or CFLAGS (which + are substituted with the per-language variables here) contain + -flto or match -fwhopr*, respectively. + + Save and restore CFLAGS properly inside libtool.m4 macros. + * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Use different + temporary variables for saved and restored values of $LIBS, + $CFLAGS, to avoid overlap with the *_CONFIG macros. + (_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG) + (_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Also save and restore + $CFLAGS, and override it with per-language flags, so that in + case output_verbose_link_cmd uses $CFLAGS, the right flags are + used. + Work around yet another shell quoting portability issue. * configure.ac: Avoid nonportable quoted alternate variable value in unquoted here document, so Solaris 10 sh and Tru64 diff --git a/NEWS b/NEWS index 1a6e300..5a2531c 100644 --- a/NEWS +++ b/NEWS @@ -101,6 +101,7 @@ New in 2.2.7b 2010-05-20: git version 2.2.7a, Libtool team: - With binutils 2.19.50+, shared libraries can be built on AIX. - Initial support for the Cuda Compiler Driver on GNU/Linux. - Support for Haiku (i586-pc-haiku). + - Initial support for GCC link-time optimization (LTO) flags. * Bug fixes: diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index d8e0fe1..509a421 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -5040,8 +5040,10 @@ func_mode_link () # @fileGCC response files # -tp=*Portland pgcc target processor selection # --sysroot=* for sysroot support + # -O*, -flto*, -fwhopr, -fuse-linker-plugin GCC link-time optimization -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*) + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ + -O*|-flto*|-fwhopr|-fuse-linker-plugin) func_quote_for_eval $arg arg=$func_quote_for_eval_result func_append compile_command $arg diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 7996c34..895f28d 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -3615,6 +3615,7 @@ for ac_symprfx in _; do else lt_cv_sys_global_symbol_pipe=sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p' fi + lt_cv_sys_global_symbol_pipe
[SCM] GNU Libtool branch, master, updated. v2.2.10-172-g60e961d
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 60e961d061b610381fd3895a45e5992b5fc56103 (commit) from 0d01005082315a4a9818be139d1db2148407ce51 (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 60e961d061b610381fd3895a45e5992b5fc56103 Author: Jürgen Reuter juergen.reu...@physik.uni-freiburg.de Date: Sun Sep 12 12:15:18 2010 +0200 Initial support for the NAG Fortran compiler on GNU/Linux. * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] nagfor: New set of entries, for NAG Fortran 5.1 and 5.2. * NEWS: Update. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |8 NEWS |1 + libltdl/m4/libtool.m4 |6 ++ 3 files changed, 15 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3dd65c7..4584882 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-09-12 Jürgen Reuter juergen.reu...@physik.uni-freiburg.de (tiny change) + Ralf Wildenhues ralf.wildenh...@gmx.de + + Initial support for the NAG Fortran compiler on GNU/Linux. + * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] nagfor: + New set of entries, for NAG Fortran 5.1 and 5.2. + * NEWS: Update. + 2010-09-12 Ralf Wildenhues ralf.wildenh...@gmx.de Fix getopt.m4sh to require Autoconf 2.62 or newer. diff --git a/NEWS b/NEWS index 5a2531c..1d4419b 100644 --- a/NEWS +++ b/NEWS @@ -36,6 +36,7 @@ New in 2.2.12 2010-08-??: git version 2.2.11a, Libtool team: variable MANIFEST_TOOL. Please note that the import library naming has changed (from foo-2.lib to foo.dll.lib) from when the code lived in its own git branch. + - Initial support for the NAG Fortran compiler on GNU/Linux. * Bug fixes: diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 895f28d..a9e91f6 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -4247,6 +4247,12 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; + nagfor*) + # NAG Fortran compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-173-g594b920
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 594b9203db9e5c3fef5729016d73e71026701f02 (commit) from 60e961d061b610381fd3895a45e5992b5fc56103 (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 594b9203db9e5c3fef5729016d73e71026701f02 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Sep 12 11:25:36 2010 +0200 Fix AC_NO_EXECUTABLES test failure on IRIX 6.5. * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [irix]: Cache result of link check for -Wl,-exported_symbol. * tests/no-executables.at (AC_NO_EXECUTABLES): Set lt_cv_irix_exported_symbol, to avoid link check. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |8 libltdl/m4/libtool.m4 | 34 -- tests/no-executables.at |1 + 3 files changed, 29 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4584882..4e8557b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-09-12 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix AC_NO_EXECUTABLES test failure on IRIX 6.5. + * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [irix]: Cache result + of link check for -Wl,-exported_symbol. + * tests/no-executables.at (AC_NO_EXECUTABLES): Set + lt_cv_irix_exported_symbol, to avoid link check. + 2010-09-12 Jürgen Reuter juergen.reu...@physik.uni-freiburg.de (tiny change) Ralf Wildenhues ralf.wildenh...@gmx.de diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index a9e91f6..3a4e757 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -5189,21 +5189,27 @@ _LT_EOF # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. -save_LDFLAGS=$LDFLAGS -LDFLAGS=$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null -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]])])], [ + # This should be the same for all languages, so no per-tag cache variable. + AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], + [lt_cv_irix_exported_symbol], + [save_LDFLAGS=$LDFLAGS + LDFLAGS=$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null + 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_cv_irix_exported_symbol=yes], + [lt_cv_irix_exported_symbol=no]) + LDFLAGS=$save_LDFLAGS]) + if test $lt_cv_irix_exported_symbol = yes; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $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 + fi 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' _LT_TAGVAR(archive_expsym_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 -exports_file $export_symbols -o $lib' diff --git a/tests/no-executables.at b/tests/no-executables.at index 75b92ef..bcc9cf2 100644 --- a/tests/no-executables.at +++ b/tests/no-executables.at @@ -52,6 +52,7 @@ lt_cv_cc_needs_belf=no lt_cv_ld_exported_symbols_list=no lt_cv_prog_compiler_static_works=no lt_cv_aix_libpath=/usr/lib:/lib +lt_cv_irix_exported_symbol=yes # Deal with AC_LIBTOOL_DLOPEN in one of two possible ways: # - do not execute it at all in the ac_no_link case hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-176-ga62c82a
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 a62c82a9fa68db09090cd2a1eed796b6e5160b94 (commit) from ef56e98f3bb4ed780a08bced638f8adf673c0041 (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 a62c82a9fa68db09090cd2a1eed796b6e5160b94 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Sep 12 17:25:59 2010 +0200 tests: avoid empty AT_DATA contents, for zsh. * tests/libtoolize.at (libtoolize macro serial update) (libtoolize config files serial update, LIBTOOLIZE_OPTIONS): Do not create empty files with AT_DATA, the latter is documented to require a final newline. Fixes testsuite failures with zsh 4.3.10. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |9 + tests/libtoolize.at | 10 +- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6b76340..3cea4aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2010-09-12 Ralf Wildenhues ralf.wildenh...@gmx.de + + tests: avoid empty AT_DATA contents, for zsh. + * tests/libtoolize.at (libtoolize macro serial update) + (libtoolize config files serial update, LIBTOOLIZE_OPTIONS): + Do not create empty files with AT_DATA, the latter is documented + to require a final newline. Fixes testsuite failures with zsh + 4.3.10. + 2010-09-12 Charles Wilson libt...@cwilson.fastmail.fm When assigning $linklib value, honor [-all]-static[-libtool-libs] diff --git a/tests/libtoolize.at b/tests/libtoolize.at index fa229b9..541753b 100644 --- a/tests/libtoolize.at +++ b/tests/libtoolize.at @@ -155,7 +155,7 @@ LT_AT_CHECK_LIBTOOLIZE([--copy], 0, expout, experr) ## Next, a second update attempt with everything now updated. ## ## -- ## -AT_DATA(expout, [[]]) +: expout AT_DATA(experr, [[libtoolize: `build-aux/ltmain.sh' is newer: use `--force' to overwrite @@ -187,7 +187,7 @@ LT_AT_CHECK_LIBTOOLIZE([--copy --force], 0, expout) ## A final update attempt with everything previously force updated. ## ## ## -AT_DATA(expout, [[]]) +: expout LT_AT_CHECK_LIBTOOLIZE([--copy], 0, expout) @@ -232,7 +232,7 @@ LT_AT_CHECK_LIBTOOLIZE([--copy --install], 0, expout, experr) ## Next, a second update attempt with everything now updated. ## ## -- ## -AT_DATA(expout, [[]]) +: expout AT_DATA(experr, [[libtoolize: `build-aux/ltmain.sh' is newer: use `--force' to overwrite @@ -267,7 +267,7 @@ LT_AT_CHECK_LIBTOOLIZE([--copy --force --install], 0, expout) ## A final update attempt with everything previously force updated. ## ## ## -AT_DATA(expout, [[]]) +: expout LT_AT_CHECK_LIBTOOLIZE([--copy --install], 0, expout) @@ -978,7 +978,7 @@ LT_AT_CHECK_LIBTOOLIZE([--copy], 0, [ignore], experr) LIBTOOLIZE_OPTIONS=--no-warn,--no-such-option export LIBTOOLIZE_OPTIONS -AT_DATA(experr, [[]]) +: experr LT_AT_CHECK_LIBTOOLIZE([--copy], 0, [ignore], experr) hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, lto, created. v2.2.10-156-g327f014
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, lto has been created at 327f014068d2f709f0e38282d6b36725573a45c7 (commit) - Log - commit 327f014068d2f709f0e38282d6b36725573a45c7 Merge: b81fd4e f2fc0e0 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Thu Sep 2 21:06:43 2010 +0200 Merge branch 'master' into lto commit f2fc0e036910682c982daaf4cacea328091a4332 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Thu Sep 2 08:18:12 2010 +0200 tests: avoid spurious test failure due to library mode on HP-UX. * tests/help.at (debug tracing): Use $lt_INSTALL not cp for install mode, the latter will not overwrite an existing library with mode 555. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit b81fd4ef009c24a86a7e64727ea09efb410ea149 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Aug 29 17:31:29 2010 +0200 Support GCC LTO on GNU/Linux. * libltdl/config/ltmain.m4sh (func_mode_link): Allow through flags matching -O*, -flto*, -fwhopr, -fuse-linker-plugin. * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Drop symbols starting with __gnu_lto. (_LT_LINKER_SHLIBS) [linux] archive_cmds, archive_expsyms_cmds: Add $pic_flag for GCC. (_LT_LANG_CXX_CONFIG) [linux] archive_cmds, archive_expsyms_cmds: Likewise. (_LT_SYS_HIDDEN_LIBDEPS): Ignore files matching *.lto.o. * NEWS: Update. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit ada610770b6a30fcf8b22cd875c2002183765c4f Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Aug 29 17:30:19 2010 +0200 Disable GCC LTO for verbose library extraction. * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Temporarily append -fno-lto or -fno-whopr to CFLAGS if CC or CFLAGS (which are substituted with the per-language variables here) contain -flto or match -fwhopr*, respectively. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit bf1d52eb53a6f8738105954f9e1e9533da091461 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Aug 29 17:28:29 2010 +0200 Save and restore CFLAGS properly inside libtool.m4 macros. * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Use different temporary variables for saved and restored values of $LIBS, $CFLAGS, to avoid overlap with the *_CONFIG macros. (_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG) (_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Also save and restore $CFLAGS, and override it with per-language flags, so that in case output_verbose_link_cmd uses $CFLAGS, the right flags are used. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-154-g0f052db
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 0f052db3b89835904b95d8336b2491e7b8eef8f7 (commit) via f2fc0e036910682c982daaf4cacea328091a4332 (commit) from a77cfa4188975cb2c93084c5ccabfdc2598d29e3 (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 0f052db3b89835904b95d8336b2491e7b8eef8f7 Merge: f2fc0e0 a77cfa4 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Thu Sep 2 21:12:02 2010 +0200 Merge remote branch 'origin/master' --- Summary of changes: ChangeLog |9 - tests/help.at |2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 44d0f47..448393f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,11 @@ -2010-09-31 Charles Wilson libt...@cwilson.fastmail.fm +2010-09-02 Ralf Wildenhues ralf.wildenh...@gmx.de + + tests: avoid spurious test failure due to library mode on HP-UX. + * tests/help.at (debug tracing): Use $lt_INSTALL not cp for + install mode, the latter will not overwrite an existing library + with mode 555. + +2010-09-01 Charles Wilson libt...@cwilson.fastmail.fm Path conversion documentation * doc/libtool.texi (Platform quirks): Add new subsections diff --git a/tests/help.at b/tests/help.at index c4eaa87..0b60a0d 100644 --- a/tests/help.at +++ b/tests/help.at @@ -161,7 +161,7 @@ for trace in '' --debug; do # Hypothesis: --debug should be passed to relink mode if (and only if) # it was passed at link mode. - AT_CHECK([$orig_LIBTOOL --mode=install cp liba.la libb.la $libdir], + AT_CHECK([$orig_LIBTOOL --mode=install $lt_INSTALL liba.la libb.la $libdir], [], [stdout], [stderr]) if grep ': relinking ' stdout stderr; then if test X$trace = X--debug; then hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-149-g7db65ac
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 7db65ac237512a01365f2fa9fc4f811835e4c690 (commit) from de0b9d8f70fd0c4a82ad15b921bcee4a0250cafc (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 7db65ac237512a01365f2fa9fc4f811835e4c690 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Wed Sep 1 21:30:30 2010 +0200 Avoid leaking make flags into testsuite results. * tests/defs.m4sh: Unset MFLAGS, MAKEFLAGS, MAKELEVEL, __MKLVL__ and MAKE_JOBS_FIFO. * tests/testsuite.at: Likewise. Fixes warnings in test logs when the user uses 'make -jN check' and inner $MAKE invocations can't connect to the job server. Fixes spurious failures of configure-iface.at and of demo-noinst-link tests with BSD and Tru64 make if the user uses 'make -k', as the exit status of the latter is not reliable. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 12 tests/defs.m4sh|5 + tests/testsuite.at |5 + 3 files changed, 22 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9d4bca4..230981e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2010-09-01 Ralf Wildenhues ralf.wildenh...@gmx.de + + Avoid leaking make flags into testsuite results. + * tests/defs.m4sh: Unset MFLAGS, MAKEFLAGS, MAKELEVEL, __MKLVL__ + and MAKE_JOBS_FIFO. + * tests/testsuite.at: Likewise. + Fixes warnings in test logs when the user uses 'make -jN check' + and inner $MAKE invocations can't connect to the job server. + Fixes spurious failures of configure-iface.at and of + demo-noinst-link tests with BSD and Tru64 make if the user uses + 'make -k', as the exit status of the latter is not reliable. + 2010-09-01 Gary V. Vaughan g...@gnu.org Remove announce-gen.m4sh and mailnotify.m4sh. diff --git a/tests/defs.m4sh b/tests/defs.m4sh index 0d23dea..b56426f 100644 --- a/tests/defs.m4sh +++ b/tests/defs.m4sh @@ -346,6 +346,11 @@ m4dir=$srcdir/libltdl/m4 auxdir=$srcdir/libltdl/config scripts=$auxdir/ltmain.m4sh $srcdir/libtoolize.m4sh +# Unset some MAKE... variables that may cause $MAKE to act like a +# recursively invoked sub-make. Any $MAKE invocation in a test is +# conceptually an independent invocation. +unset MFLAGS MAKEFLAGS MAKELEVEL __MKLVL__ MAKE_JOBS_FIFO + # On AIX, shared libraries remain loaded in memory after use if they # are world-readable, until root issues slibclean. On NFS, this causes # a testsuite rerun to fail to clean up test group directories. Avoid diff --git a/tests/testsuite.at b/tests/testsuite.at index a20e074..c646c5d 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -61,6 +61,11 @@ case $lt_INSTALL in ;; esac +# Unset some MAKE... variables that may cause $MAKE to act like a +# recursively invoked sub-make. Any $MAKE invocation in a test is +# conceptually an independent invocation. +unset MFLAGS MAKEFLAGS MAKELEVEL __MKLVL__ MAKE_JOBS_FIFO + # On AIX, shared libraries remain loaded in memory after use if they # are world-readable, until root issues slibclean. On NFS, this causes # a testsuite rerun to fail to clean up test group directories. Avoid hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-151-g786befc
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 786befce766c5e4d9fc6f6e8292570dade734e65 (commit) from e350fb07441c973e36bdbb28fefaeed067ba3813 (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 786befce766c5e4d9fc6f6e8292570dade734e65 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Wed Sep 1 22:24:37 2010 +0200 tests: avoid spurious pic_flag test failure on HP-UX 10.20. * tests/pic_flag.at (override pic_flag at configure time): Match HP-UX 10.20 cc warning about unknown options, to skip the test. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |5 + tests/pic_flag.at |1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 344ba66..63d4b74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-09-01 Ralf Wildenhues ralf.wildenh...@gmx.de + tests: avoid spurious pic_flag test failure on HP-UX 10.20. + * tests/pic_flag.at (override pic_flag at configure time): + Match HP-UX 10.20 cc warning about unknown options, to skip + the test. + tests: fix localization test for GCC on HP-UX 11.00. * tests/localization.at (localized compiler messages): Be sure to switch the locale only for the actual compiler commands, so diff --git a/tests/pic_flag.at b/tests/pic_flag.at index ffad842..fb39f7f 100644 --- a/tests/pic_flag.at +++ b/tests/pic_flag.at @@ -37,6 +37,7 @@ AT_CHECK([$CC $CPPFLAGS $CFLAGS $C_pic_flag -c foo.c || exit 77], [], [stdout], [stderr]) # The configure test for the PIC flag also checks for warnings. AT_CHECK([grep fpic stdout stderr exit 77], [1]) +AT_CHECK([[grep '[uU]nknown.*option' stdout stderr exit 77]], [1]) CXX_pic_flag='-fpic -DPIC' if $CXX $CPPFLAGS $CXXFLAGS $CXX_pic_flag -c foo.cpp; then :; else hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-138-ge91e2de
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 e91e2dec63d75804dd922f6c14af6df8b0f7dde5 (commit) from f91cf561abf175642e6c20299bea7d5199913133 (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 e91e2dec63d75804dd922f6c14af6df8b0f7dde5 Author: Eric Blake ebl...@redhat.com Date: Mon Aug 30 21:32:35 2010 +0200 Simplify recent configure quoting portability workaround. * configure.ac: Simplify setting of timestamp_string. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog|5 + configure.ac |5 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index d730232..60a2297 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-08-30 Eric Blake ebl...@redhat.com + + Simplify recent configure quoting portability workaround. + * configure.ac: Simplify setting of timestamp_string. + 2010-08-30 Charles Wilson libt...@cwilson.fastmail.fm Update path conversion warning messages diff --git a/configure.ac b/configure.ac index 87f3ce1..aaa946f 100644 --- a/configure.ac +++ b/configure.ac @@ -113,10 +113,7 @@ case $lt_alpha in TIMESTAMP= ;; esac -timestamp_string= -if test -n $TIMESTAMP; then - timestamp_string= (Build:$TIMESTAMP) -fi +timestamp_string=${TIMESTAMP:+ (Build:$TIMESTAMP)} AS_BOX([Configuring AC_PACKAGE_TARNAME$timestamp_string AC_PACKAGE_VERSION]) echo AC_SUBST([TIMESTAMP]) hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-141-g9e0722e
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 9e0722e8dff36e4540d3e3335ea3a10be5c0688d (commit) via 67a761c3f073a8a29020376fb1d252621ad07b22 (commit) via 730c1343a462ec5a1dde9a15c19459afaf85fdee (commit) from e91e2dec63d75804dd922f6c14af6df8b0f7dde5 (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 9e0722e8dff36e4540d3e3335ea3a10be5c0688d Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Mon Aug 30 23:04:03 2010 +0200 tests: skip -Wall -Werror with Tru64 cc in cwrapper test. * tests/cwrapper.at (cwrapper for uninstalled executables): Use a link test rather than a compile test to flesh out unknown compiler flags starting with -W; Tru64/OSF1 cc will happily accept `-Wall -Werror' as indication to pass flags on to subprocesses. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 67a761c3f073a8a29020376fb1d252621ad07b22 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Mon Aug 30 22:51:02 2010 +0200 tests: avoid getopt-m4sh failures when autom4te is not available. * tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Check $M4SH --version, skip on failure. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 730c1343a462ec5a1dde9a15c19459afaf85fdee Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Mon Aug 30 22:42:11 2010 +0200 tests: mark 'syntax of .la files' as XFAIL, expose failure. * tests/lalib-syntax.at (syntax of .la files): Assert that the string returned by lt_dlerror after a failure is non-NULL, so the failure shows up on systems other than Solaris. Mark test as expected to fail. Suggested by Bob Friesenhahn. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 20 tests/cwrapper.at | 14 +++--- tests/getopt-m4sh.at |1 + tests/lalib-syntax.at |9 +++-- 4 files changed, 35 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 60a2297..5d7a1dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,23 @@ +2010-08-30 Ralf Wildenhues ralf.wildenh...@gmx.de + + tests: skip -Wall -Werror with Tru64 cc in cwrapper test. + * tests/cwrapper.at (cwrapper for uninstalled executables): + Use a link test rather than a compile test to flesh out unknown + compiler flags starting with -W; Tru64/OSF1 cc will happily + accept `-Wall -Werror' as indication to pass flags on to + subprocesses. + + tests: avoid getopt-m4sh failures when autom4te is not available. + * tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): + Check $M4SH --version, skip on failure. + + tests: mark 'syntax of .la files' as XFAIL, expose failure. + * tests/lalib-syntax.at (syntax of .la files): Assert that the + string returned by lt_dlerror after a failure is non-NULL, so + the failure shows up on systems other than Solaris. Mark test + as expected to fail. + Suggested by Bob Friesenhahn. + 2010-08-30 Eric Blake ebl...@redhat.com Simplify recent configure quoting portability workaround. diff --git a/tests/cwrapper.at b/tests/cwrapper.at index babd91e..248c0c0 100644 --- a/tests/cwrapper.at +++ b/tests/cwrapper.at @@ -1,6 +1,6 @@ # cwrapper.at -- test cwrapper compliance with standards -*- Autotest -*- -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009, 2010 Free Software Foundation, Inc. # Written by Charles Wilson, 2009 # # This file is part of GNU Libtool. @@ -61,10 +61,10 @@ for restrictive_flags in '-Wall -Werror' '-std=c89 -Wall -Werror' '-std=c99 -Wal chmod +x libtool LIBTOOL=./libtool - # make sure $restrictive_flags do not cause a failure + # Make sure $restrictive_flags do not cause a failure # themselves (e.g. because a non-gcc compiler doesn't - # understand them) - $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c trivial.c || continue + # understand them). Tru64 cc only fails when linking. + $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS trivial.c || continue AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c liba.c], [], [ignore], [ignore]) @@ -111,10 +111,10 @@ for debugwrapper_flags in '-DLT_DEBUGWRAPPER'; do $orig_LIBTOOL ./libtool LIBTOOL=./libtool - # make sure $debugwrapper_flags do not cause a failure + # Make sure $debugwrapper_flags do not cause a failure # themselves (e.g. because a non-gcc compiler doesn't - # understand
[SCM] GNU Libtool branch, parallel-tests, updated. v2.2.10-95-gd6ff024
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, parallel-tests has been updated via d6ff024982625586ff6878fe7872f918d0699b1a (commit) from 28a1942e246d2993b652e4c0adc69e0b0e2b1c95 (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 - --- Summary of changes: ChangeLog|5 + configure.ac |2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index c27f040..a23a3bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-08-29 Ralf Wildenhues ralf.wildenh...@gmx.de + + Silence order-only configure test for AIX make. + * configure.ac: Also drop standard output, for AIX 5.1 make. + 2010-08-27 Ralf Wildenhues ralf.wildenh...@gmx.de * NEWS: Only bootstrapping needs new Automake and Autoconf. diff --git a/configure.ac b/configure.ac index 609051c..3cf2b47 100644 --- a/configure.ac +++ b/configure.ac @@ -209,7 +209,7 @@ a b c: touch $[]@ END touch c - if ${MAKE-make} -s -q -f confmk 2/dev/null; then + if ${MAKE-make} -s -q -f confmk /dev/null 21; then lt_cv_make_order_only=yes else lt_cv_make_order_only=no hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-134-gf54621c
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 f54621ca526d383ae6a120a11981be0a03aa1151 (commit) via d6ff024982625586ff6878fe7872f918d0699b1a (commit) from ae9600616941d098acb07bb565bcef2a4f9da4a8 (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 f54621ca526d383ae6a120a11981be0a03aa1151 Merge: ae96006 d6ff024 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Aug 29 09:12:28 2010 +0200 Merge branch 'parallel-tests' * parallel-tests: Silence order-only configure test for AIX make. --- Summary of changes: ChangeLog|5 + configure.ac |2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8f03e4f..d054735 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-08-29 Ralf Wildenhues ralf.wildenh...@gmx.de + + Silence order-only configure test for AIX make. + * configure.ac: Also drop standard output, for AIX 5.1 make. + 2010-08-28 Charles Wilson libt...@cwilson.fastmail.fm Minor sysroot fixups. diff --git a/configure.ac b/configure.ac index 215a707..e13ad43 100644 --- a/configure.ac +++ b/configure.ac @@ -225,7 +225,7 @@ a b c: touch $[]@ END touch c - if ${MAKE-make} -s -q -f confmk 2/dev/null; then + if ${MAKE-make} -s -q -f confmk /dev/null 21; then lt_cv_make_order_only=yes else lt_cv_make_order_only=no hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-135-g957541f
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 957541fbe23db58feaf554a68a852c99839a19f3 (commit) from f54621ca526d383ae6a120a11981be0a03aa1151 (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 957541fbe23db58feaf554a68a852c99839a19f3 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Aug 29 16:54:33 2010 +0200 Work around yet another shell quoting portability issue. * configure.ac: Avoid nonportable quoted alternate variable value in unquoted here document, so Solaris 10 sh and Tru64 ksh do not print spurious extra quotes. --- Summary of changes: ChangeLog|5 + configure.ac |6 +- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index d054735..6650889 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-08-29 Ralf Wildenhues ralf.wildenh...@gmx.de + Work around yet another shell quoting portability issue. + * configure.ac: Avoid nonportable quoted alternate variable + value in unquoted here document, so Solaris 10 sh and Tru64 + ksh do not print spurious extra quotes. + Silence order-only configure test for AIX make. * configure.ac: Also drop standard output, for AIX 5.1 make. diff --git a/configure.ac b/configure.ac index e13ad43..87f3ce1 100644 --- a/configure.ac +++ b/configure.ac @@ -113,7 +113,11 @@ case $lt_alpha in TIMESTAMP= ;; esac -AS_BOX([Configuring AC_PACKAGE_TARNAME${TIMESTAMP:+ (Build:$TIMESTAMP)} AC_PACKAGE_VERSION]) +timestamp_string= +if test -n $TIMESTAMP; then + timestamp_string= (Build:$TIMESTAMP) +fi +AS_BOX([Configuring AC_PACKAGE_TARNAME$timestamp_string AC_PACKAGE_VERSION]) echo AC_SUBST([TIMESTAMP]) AC_SUBST([package_revision]) hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-102-ge634870
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 e634870fa811d215f8e36a10670fb5397ab95671 (commit) via 28a1942e246d2993b652e4c0adc69e0b0e2b1c95 (commit) from d1b98fd5399457b8d83daedb3eb4174d42480240 (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 e634870fa811d215f8e36a10670fb5397ab95671 Merge: d1b98fd 28a1942 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Aug 28 10:24:33 2010 +0200 Merge branch 'parallel-tests' * parallel-tests: Fix NEWS entry for bootstrapping requirements. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |2 ++ NEWS |6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 99bc5aa..77a0b2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2010-08-27 Ralf Wildenhues ralf.wildenh...@gmx.de + * NEWS: Only bootstrapping needs new Automake and Autoconf. + check-interactive and check-noninteractive for both testsuites. * Makefile.am (COMMON_TESTS, TESTS): Split into ... (NONINTERACTIVE_TESTS, INTERACTIVE_TESTS): ... these new diff --git a/NEWS b/NEWS index 2357a8e..11ae6ca 100644 --- a/NEWS +++ b/NEWS @@ -12,9 +12,9 @@ New in 2.2.12 2010-08-??: git version 2.2.11a, Libtool team: * Important incompatible changes: - - Autoconf 2.62 and Automake 1.11.1 or newer are now required for building -Libtool. For using Libtool in your own projects, Autoconf 2.59 and -Automake 1.9.6 should still work. + - Autoconf 2.62 and Automake 1.11.1 or newer are now required for +bootstrapping Libtool. For using Libtool in your own projects, +Autoconf 2.59 and Automake 1.9.6 should still work. * Changes in supported systems or compilers: hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, sysroot, updated. v2.2.10-107-g22a1206
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, sysroot has been updated via 22a12069039259921c70f1f3e8cd523bb849 (commit) from 75b9ac5fa27c4940141d719a42a07f4397e14c60 (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 - --- Summary of changes: ChangeLog | 88 + 1 files changed, 88 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5f5e23a..9ba1343 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,91 @@ +2010-08-22 Ralf Wildenhues ralf.wildenh...@gmx.de + + fix AIX testsuite regression + * libltdl/config/ltmain.m4sh (func_resolve_sysroot): Partly + revert v2.2.10-83-gc45a288: Do not absolutize path here, only do + sysroot replacement. + (func_mode_link): Adjust. + +2010-08-22 Charles Wilson libt...@cwilson.fastmail.fm + + fix --mode=finish + * libltdl/config/ltmain.m4sh (func_mode_finish): Invert then/else + blocks of the if $opt_dry_run conditional. + +2010-08-15 Paolo Bonzini bonz...@gnu.org + + improve code for sysroot --mode=finish + * libltdl/config/ltmain.m4sh (func_mode_finish): Change sysroot_regex + and sysroot_cmd delimiter from pipe to slash. Wrap the entire for + loop with if $opt_dry_run...fi and print an explanatory message + for the --dry-run case. + +2010-08-12 Paolo Bonzini bonz...@gnu.org + + add libtool --mode=finish mode for sysroot + * doc/libtool.texi (Finish mode): Document behavior when *.la files + are passed. + * libltdl/config/ltmain.m4sh (func_mode_finish): Eliminate sysroot + or `=' signs representing it from files in $libs. + * tests/sysroot.at (SYSROOT_TESTS): Test for presence of sysroot + references before running libtool --mode=finish, and for absence + afterwards. + + reorganize parsing of --mode=finish arguments + * libltdl/config/ltmain.m4sh (func_mode_finish): Split arguments for + directories and *.la files. + + fix sysroot handling for deplibs of preopened libtool libs + * libltdl/config/ltmain.m4sh: Pass $dependency_libs of preopened libtool + through func_resolve_sysroot. + + fix sysroot tests to pass on Fedora 13 + * tests/sysroot.at: Link $prefix/include into the sysroot as well, as + required by newer GCC. + +2010-07-29 Paolo Bonzini bonz...@gnu.org + + initial version of the NEWS entry + * NEWS: Document sysroot support. + + add sysroot test + * Makefile.am (TESTSUITE_AT): Add tests/sysroot.at. + * tests/sysroot.at: New. + + emit sysrooted paths when installing .la files + * libltdl/config/ltmain.m4sh (func_replace_sysroot): New. + (func_mode_link): Prepend paths in $libdir with the sysroot. Further, + replace the sysroot with = (using func_replace_sysroot) whenever + such a path is written in a .la file. + + process postdeps to include sysrooted paths + * libltdl/m4/libtool.m4 (_LT_FUNC_STRIPNAME_CNF): New (from Charles Wilson). + (_LT_SYS_HIDDEN_LIBDEPS): Require it. Use func_stripname_cnf to convert + sysroot (-L= and -R=) usage in postdeps. Adjust the code because -L, -R + and -l flags will now always be separated from the rest of the argument. + + handle sysrooted paths when reading dependencies to la files + * libltdl/config/ltmain.m4sh (func_mode_execute, func_mode_install, + func_mode_link): Whenever a .la file occurs in another .la file, + expand the sysroot path in it. + +2010-07-28 Paolo Bonzini bonz...@gnu.org + + teach libtool -L= and -R= + * libltdl/config/ltmain.m4sh (func_resolve_sysroot): New. + (func_mode_link): Always pass result of stripping -L and -R to + func_resolve_sysroot before using it. Remove absolute path expansion + when func_resolve_sysroot subsumes it. Expand sysroot in -rpath. + When processing dependent libraries also resolve sysroot paths there. + + add --with-sysroot + * libltdl/m4/libtool.m4 (_LT_HOST_NONCANONICAL, _LT_WITH_SYSROOT): New. + (LT_SETUP): Require _LT_WITH_SYSROOT. + + handle sysroot flags + * libltdl/config/ltmain.m4sh (func_mode_link): Recognize --sysroot + option. + 2010-08-22 Paolo Bonzini bonz...@gnu.org Fix sed_make_literal_regex. hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-121-g8f5c589
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 8f5c58990dd80e4505d057a3deefcf63c8bd31e0 (commit) via 22a12069039259921c70f1f3e8cd523bb849 (commit) via 75b9ac5fa27c4940141d719a42a07f4397e14c60 (commit) via a1d74f242cae77a941fbaa0505badf488d85f618 (commit) via 2bde23f84fd69c2b135ef53f43a22a90c14e7e8c (commit) via 5dca3212e16b8cd502a74f7c8e0a18187e36a03c (commit) via b9accaaa3b3e4d3cc1a72d5366e5526b65819026 (commit) via d32c96ccd6dacf2c60504a6b847e3d82400adfac (commit) via 55e986b8b4a3582998946c1a13e411d3122a7610 (commit) via 09a695acf973319b218665d7a3c37f4630c190c6 (commit) via 5735d4b16d9efb5e6348f7cd2eb348a38395f1fc (commit) via 8f2fcb912f57135270ee7969dc5e56bca77925fe (commit) via 3f6731bd3fd9ce2b5fe022441105e186a9dd15e2 (commit) via a3cff76611dc8e7681835946b4f9184d09684ef3 (commit) via d77a3a512406a429ca3e1f6aa8894552818d89c5 (commit) via adb8f844f3327b2b8f6f92945f539e4df7aec24d (commit) via c45a28813427ec5e25414d2a0db754eb9bbd970b (commit) via 3334f7ed5851ef1e96b052f2984c4acdbf39e20c (commit) via a8f549c1348c0bdedf3c01e6bed6c1e1aa5e8855 (commit) from e634870fa811d215f8e36a10670fb5397ab95671 (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 8f5c58990dd80e4505d057a3deefcf63c8bd31e0 Merge: e634870 22a1206 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Aug 28 10:39:40 2010 +0200 Merge branch 'sysroot' * sysroot: Add ChangeLog entries for the sysroot branch. fix AIX testsuite regression fix --mode=finish improve code for sysroot --mode=finish add libtool --mode=finish mode for sysroot reorganize parsing of --mode=finish arguments fix sysroot handling for deplibs of preopened libtool libs fix sysroot tests to pass on Fedora 13 initial version of the NEWS entry add sysroot test emit sysrooted paths when installing .la files process postdeps to include sysrooted paths handle sysrooted paths when reading dependencies to la files teach libtool -L= and -R= add --with-sysroot handle sysroot flags --- Summary of changes: ChangeLog | 88 +++ Makefile.am|3 +- NEWS | 10 ++ doc/libtool.texi | 18 ++- libltdl/config/ltmain.m4sh | 264 libltdl/m4/libtool.m4 | 76 - tests/sysroot.at | 208 ++ 7 files changed, 583 insertions(+), 84 deletions(-) create mode 100644 tests/sysroot.at diff --git a/ChangeLog b/ChangeLog index 77a0b2a..036eb2d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,91 @@ +2010-08-22 Ralf Wildenhues ralf.wildenh...@gmx.de + + fix AIX testsuite regression + * libltdl/config/ltmain.m4sh (func_resolve_sysroot): Partly + revert v2.2.10-83-gc45a288: Do not absolutize path here, only do + sysroot replacement. + (func_mode_link): Adjust. + +2010-08-22 Charles Wilson libt...@cwilson.fastmail.fm + + fix --mode=finish + * libltdl/config/ltmain.m4sh (func_mode_finish): Invert then/else + blocks of the if $opt_dry_run conditional. + +2010-08-15 Paolo Bonzini bonz...@gnu.org + + improve code for sysroot --mode=finish + * libltdl/config/ltmain.m4sh (func_mode_finish): Change sysroot_regex + and sysroot_cmd delimiter from pipe to slash. Wrap the entire for + loop with if $opt_dry_run...fi and print an explanatory message + for the --dry-run case. + +2010-08-12 Paolo Bonzini bonz...@gnu.org + + add libtool --mode=finish mode for sysroot + * doc/libtool.texi (Finish mode): Document behavior when *.la files + are passed. + * libltdl/config/ltmain.m4sh (func_mode_finish): Eliminate sysroot + or `=' signs representing it from files in $libs. + * tests/sysroot.at (SYSROOT_TESTS): Test for presence of sysroot + references before running libtool --mode=finish, and for absence + afterwards. + + reorganize parsing of --mode=finish arguments + * libltdl/config/ltmain.m4sh (func_mode_finish): Split arguments for + directories and *.la files. + + fix sysroot handling for deplibs of preopened libtool libs + * libltdl/config/ltmain.m4sh: Pass $dependency_libs of preopened libtool + through func_resolve_sysroot. + + fix sysroot tests to pass on Fedora 13
[SCM] GNU Libtool branch, master, updated. v2.2.10-123-g7f9878d
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 7f9878d026d0c251d57b3b8e0bf5891691ac3f96 (commit) from 2680f79c22e6bb1f8b9c7b5428da728b7e028b0c (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 7f9878d026d0c251d57b3b8e0bf5891691ac3f96 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Aug 28 12:22:36 2010 +0200 Fix response file test for unreliable exit status of IRIX ar. * libltdl/m4/libtool.m4 (_LT_PROG_AR): IRIX ar will not fail over a command-line argument specifying a nonexistent file (such as `...@file'), so ensure failure with a reponse file containing a nonexistent file. Also, use lt_* variable prefix for temporary variables. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |7 +++ libltdl/m4/libtool.m4 | 11 --- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8e07775..4b77602 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-08-28 Ralf Wildenhues ralf.wildenh...@gmx.de + Fix response file test for unreliable exit status of IRIX ar. + * libltdl/m4/libtool.m4 (_LT_PROG_AR): IRIX ar will not fail + over a command-line argument specifying a nonexistent file (such + as `...@file'), so ensure failure with a reponse file containing + a nonexistent file. Also, use lt_* variable prefix for + temporary variables. + Fix AC_LANG_PROGRAM warnings from git Autoconf. * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Fix underquoted AC_LANG_PROGRAM call. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index efb20de..305e2d8 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -1359,10 +1359,15 @@ AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], [lt_cv_ar_at_file=no 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]) + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst' + AC_TRY_EVAL([lt_ar_try]) if test $ac_status -eq 0; then -lt_cv_ar_at_file=@ + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + AC_TRY_EVAL([lt_ar_try]) + if test $ac_status -ne 0; then + lt_cv_ar_at_file=@ +fi fi rm -f conftest.* libconftest.a ]) hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-122-g2680f79
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 ralf.wildenh...@gmx.de 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 ralf.wildenh...@gmx.de --- 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 ralf.wildenh...@gmx.de + + 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 ralf.wildenh...@gmx.de 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
[SCM] GNU Libtool branch, master, updated. v2.2.10-124-g82f2a82
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 82f2a825a7ec3d414d76b685b82cb81345e13d83 (commit) from 7f9878d026d0c251d57b3b8e0bf5891691ac3f96 (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 82f2a825a7ec3d414d76b685b82cb81345e13d83 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Aug 28 14:17:20 2010 +0200 Fix quoting in non-XSI func_xform, for IRIX sh. * libltdl/config/ltmain.m4sh (func_xform): Remove spurious extra M4 quotes. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |4 libltdl/config/ltmain.m4sh |2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4b77602..af7c535 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-08-28 Ralf Wildenhues ralf.wildenh...@gmx.de + Fix quoting in non-XSI func_xform, for IRIX sh. + * libltdl/config/ltmain.m4sh (func_xform): Remove spurious extra + M4 quotes. + Fix response file test for unreliable exit status of IRIX ar. * libltdl/m4/libtool.m4 (_LT_PROG_AR): IRIX ar will not fail over a command-line argument specifying a nonexistent file (such diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index f23878e..a1f3b35 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -191,7 +191,7 @@ func_lo2o () # func_xform libobj-or-source func_xform () { -func_xform_result=`$ECHO ${1} | $SED 's/\.[[^.]]*$/.lo/'` +func_xform_result=`$ECHO ${1} | $SED 's/\.[^.]*$/.lo/'` } # func_xform may be replaced by extended shell implementation hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-125-g0373df7
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 0373df7675e4a18f83951ff0c3aff3201a5b3b4f (commit) from 82f2a825a7ec3d414d76b685b82cb81345e13d83 (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 0373df7675e4a18f83951ff0c3aff3201a5b3b4f Author: Dave Korn dave.korn.cyg...@googlemail.com Date: Sat Aug 28 14:43:02 2010 +0200 Ensure cwrapper magic string is not optimized away. * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Declare MAGIC_EXE as volatile. Report by Charles Wilson. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |7 +++ libltdl/config/ltmain.m4sh |2 +- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index af7c535..5df42d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-08-28 Dave Korn dave.korn.cyg...@googlemail.com + + Ensure cwrapper magic string is not optimized away. + * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): + Declare MAGIC_EXE as volatile. + Report by Charles Wilson. + 2010-08-28 Ralf Wildenhues ralf.wildenh...@gmx.de Fix quoting in non-XSI func_xform, for IRIX sh. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index a1f3b35..746718a 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -3181,7 +3181,7 @@ void lt_dump_script (FILE *f); EOF cat EOF -const char * MAGIC_EXE = $magic_exe; +volatile const char * MAGIC_EXE = $magic_exe; const char * LIB_PATH_VARNAME = $shlibpath_var; EOF hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-126-g5b79e16
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 5b79e16a32042c9a5dd08ab7f3f9668865e1b0ae (commit) from 0373df7675e4a18f83951ff0c3aff3201a5b3b4f (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 5b79e16a32042c9a5dd08ab7f3f9668865e1b0ae Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Apr 4 10:56:47 2010 +0200 Uniform const'ness of symlist variable lt_preloaded_symbols. On some systems, lt_preloaded_symbols may not be declared const due to relocation issues. C99 requires qualification to match for compatible declarations, so ensure we declare const'ness in the same way everywhere; link-time optimization may otherwise rightfully complain about inconsistencies. Since ltdl.h may not depend upon config.h, rely on system defines for choosing const'ness. * NEWS: Update. * doc/libtool.texi (Dlpreopening): Document this issue. * libltdl/config/ltmain.m4sh (func_generate_dlsyms): [__WINDOWS__, __CYGWIN__, _WIN32_WCE]: Define LT_DLSYM_CONST according to system defines. Remove old shell cruft. Use LT_DLSYM_CONST for lt_${my_prefix}_LTX_preloaded_symbols. * libltdl/libltdl/lt_system.h (LT_DLSYM_CONST): Likewise, define LT_DLSYM_CONST according to system defines. * tests/demo/foo.h (LT_DLSYM_CONST): Likewise. * tests/pdemo/foo.h (LT_DLSYM_CONST): Likewise. * tests/demo/dlmain.c (lt_dlsymlist): Use LT_DLSYM_CONST. * tests/pdemo/longer_file_name_dlmain.c (lt_dlsymlist): Likewise. * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Likewise for configure test code. * libltdl/ltdl.c (preloaded_symbols): Use LT_DLSYM_CONST. * libltdl/ltdl.h (LTDL_SET_PRELOADED_SYMBOLS): Likewise. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 28 NEWS |3 +++ doc/libtool.texi |3 +++ libltdl/config/ltmain.m4sh| 33 ++--- libltdl/libltdl/lt_system.h | 14 +- libltdl/ltdl.c|2 +- libltdl/ltdl.h|2 +- libltdl/m4/libtool.m4 | 14 +- tests/demo/dlmain.c |2 +- tests/demo/foo.h | 14 +- tests/pdemo/foo.h | 14 +- tests/pdemo/longer_file_name_dlmain.c |2 +- 12 files changed, 104 insertions(+), 27 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5df42d4..6537ede 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,31 @@ +2010-08-28 Ralf Wildenhues ralf.wildenh...@gmx.de + + Uniform const'ness of symlist variable lt_preloaded_symbols. + On some systems, lt_preloaded_symbols may not be declared + const due to relocation issues. C99 requires qualification to + match for compatible declarations, so ensure we declare + const'ness in the same way everywhere; link-time optimization + may otherwise rightfully complain about inconsistencies. + Since ltdl.h may not depend upon config.h, rely on system + defines for choosing const'ness. + * NEWS: Update. + * doc/libtool.texi (Dlpreopening): Document this issue. + * libltdl/config/ltmain.m4sh (func_generate_dlsyms): + [__WINDOWS__, __CYGWIN__, _WIN32_WCE]: Define LT_DLSYM_CONST + according to system defines. Remove old shell cruft. Use + LT_DLSYM_CONST for lt_${my_prefix}_LTX_preloaded_symbols. + * libltdl/libltdl/lt_system.h (LT_DLSYM_CONST): Likewise, + define LT_DLSYM_CONST according to system defines. + * tests/demo/foo.h (LT_DLSYM_CONST): Likewise. + * tests/pdemo/foo.h (LT_DLSYM_CONST): Likewise. + * tests/demo/dlmain.c (lt_dlsymlist): Use LT_DLSYM_CONST. + * tests/pdemo/longer_file_name_dlmain.c (lt_dlsymlist): + Likewise. + * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Likewise + for configure test code. + * libltdl/ltdl.c (preloaded_symbols): Use LT_DLSYM_CONST. + * libltdl/ltdl.h (LTDL_SET_PRELOADED_SYMBOLS): Likewise. + 2010-08-28 Dave Korn dave.korn.cyg...@googlemail.com Ensure cwrapper magic string is not optimized away. diff --git a/NEWS b/NEWS index ba7ce00..688bdca 100644 --- a/NEWS +++ b/NEWS @@ -83,6 +83,9 @@ New in 2.2.7b 2010-05-20: git version 2.2.7a, Libtool team: options that begin with '--lt-*' from the argument list before launching
[SCM] GNU Libtool branch, master, updated. v2.2.10-127-g877260f
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 877260ff043dd20fbfb3fe9eaa1d70d2280e42fa (commit) from 5b79e16a32042c9a5dd08ab7f3f9668865e1b0ae (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 877260ff043dd20fbfb3fe9eaa1d70d2280e42fa Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Apr 4 10:57:04 2010 +0200 Add $pic_flag to archive_cmds and archive_expsym_cmds. * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) archive_cmds, archive_expsym_cmds [GNU ld, netbsd]: Add $pic_flag if ELF. [GNU ld, solaris]: Likewise. [GNU ld, default case]: Likewise. [!GNU ld, freebsd, dragonfly]: Add $pic_flag. [!GNU ld, GCC, hpux9]: Add $pic_flag. [!GNU ld, GCC, hpux10]: Replace -fPIC with $pic_flag [!GNU ld, GCC, hpux11, !hppa*64]: Replace -fPIC with $pic_flag. [!GNU ld, GCC, irix5, irix6, nonstopux]: Add $pic_flag. [!GNU ld, GCC, osf4, osf5]: Likewise. [!GNU ld, GCC, solaris]: Likewise. (_LT_LANG_CXX_CONFIG) archive_cmds, archive_expsym_cmds [hpux9]: Add $pic_flag if $GXX. [hpux10, hpux11, !hppa*64]: Replace -fPIC with $pic_flag. [irix5, irix6]: Add $pic_flag if $GXX. [osf4, osf5]: Likewise. [solaris]: Add $pic_flag if $GXX and not GCC 2.7. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 20 libltdl/m4/libtool.m4 | 48 2 files changed, 44 insertions(+), 24 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6537ede..9b6d9e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,25 @@ 2010-08-28 Ralf Wildenhues ralf.wildenh...@gmx.de + Add $pic_flag to archive_cmds and archive_expsym_cmds. + * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) + archive_cmds, archive_expsym_cmds + [GNU ld, netbsd]: Add $pic_flag if ELF. + [GNU ld, solaris]: Likewise. + [GNU ld, default case]: Likewise. + [!GNU ld, freebsd, dragonfly]: Add $pic_flag. + [!GNU ld, GCC, hpux9]: Add $pic_flag. + [!GNU ld, GCC, hpux10]: Replace -fPIC with $pic_flag + [!GNU ld, GCC, hpux11, !hppa*64]: Replace -fPIC with $pic_flag. + [!GNU ld, GCC, irix5, irix6, nonstopux]: Add $pic_flag. + [!GNU ld, GCC, osf4, osf5]: Likewise. + [!GNU ld, GCC, solaris]: Likewise. + (_LT_LANG_CXX_CONFIG) archive_cmds, archive_expsym_cmds + [hpux9]: Add $pic_flag if $GXX. + [hpux10, hpux11, !hppa*64]: Replace -fPIC with $pic_flag. + [irix5, irix6]: Add $pic_flag if $GXX. + [osf4, osf5]: Likewise. + [solaris]: Add $pic_flag if $GXX and not GCC 2.7. + Uniform const'ness of symlist variable lt_preloaded_symbols. On some systems, lt_preloaded_symbols may not be declared const due to relocation issues. C99 requires qualification to diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 2f62691..7e5022a 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -4733,8 +4733,8 @@ _LT_EOF _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; @@ -4752,8 +4752,8 @@ _LT_EOF _LT_EOF elif $LD --help 21 | $GREP ': supported targets:.* elf' /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi
[SCM] GNU Libtool branch, master, updated. v2.2.10-128-g6df45ac
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 6df45ac3ae21933d5f08c3bcbe3ab98a6df09391 (commit) from 877260ff043dd20fbfb3fe9eaa1d70d2280e42fa (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 6df45ac3ae21933d5f08c3bcbe3ab98a6df09391 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Aug 28 17:30:01 2010 +0200 Fix symlist variable path to use _WIN32 instead of __WINDOWS__. * libltdl/config/ltmain.m4sh, libltdl/libltdl/lt_system.h, libltdl/m4/libtool.m4, tests/demo/foo.h, tests/pdemo/foo.h: Change __WINDOWS__ to _WIN32. Report by Charles Wilson. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |6 ++ libltdl/config/ltmain.m4sh |2 +- libltdl/libltdl/lt_system.h |2 +- libltdl/m4/libtool.m4 |2 +- tests/demo/foo.h|2 +- tests/pdemo/foo.h |2 +- 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9b6d9e2..3df8e2d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2010-08-28 Ralf Wildenhues ralf.wildenh...@gmx.de + Fix symlist variable path to use _WIN32 instead of __WINDOWS__. + * libltdl/config/ltmain.m4sh, libltdl/libltdl/lt_system.h, + libltdl/m4/libtool.m4, tests/demo/foo.h, tests/pdemo/foo.h: + Change __WINDOWS__ to _WIN32. + Report by Charles Wilson. + Add $pic_flag to archive_cmds and archive_expsym_cmds. * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) archive_cmds, archive_expsym_cmds diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index a7da74f..1aa2e0b 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -2005,7 +2005,7 @@ extern \C\ { #endif /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ -#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE) +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST diff --git a/libltdl/libltdl/lt_system.h b/libltdl/libltdl/lt_system.h index a8481d6..f1545ce 100644 --- a/libltdl/libltdl/lt_system.h +++ b/libltdl/libltdl/lt_system.h @@ -77,7 +77,7 @@ or obtained by writing to the Free Software Foundation, Inc., #endif /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ -#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE) +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 7e5022a..89e2e6a 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -3648,7 +3648,7 @@ _LT_EOF if $GREP ' nm_test_func$' $nlist /dev/null; then cat _LT_EOF conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ -#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE) +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT@t...@_dlsym_const diff --git a/tests/demo/foo.h b/tests/demo/foo.h index 838264e..167096a 100644 --- a/tests/demo/foo.h +++ b/tests/demo/foo.h @@ -63,7 +63,7 @@ or obtained by writing to the Free Software Foundation, Inc., #endif /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ -#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE) +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST diff --git a/tests/pdemo/foo.h b/tests/pdemo/foo.h index dd4e86d..a2b2a4a 100644 --- a/tests/pdemo/foo.h +++ b/tests/pdemo/foo.h @@ -62,7 +62,7 @@ or obtained by writing to the Free Software Foundation, Inc., #endif /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ -#if defined(__WINDOWS__) || defined(__CYGWIN__) || defined(_WIN32_WCE) +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE
[SCM] GNU Libtool branch, master, updated. v2.2.10-90-g10c6cb2
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 10c6cb25e5f8e5212e1c770568017184a7575122 (commit) from a662d7c46eb9a5734e6356049ccc82e28dbffbf4 (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 10c6cb25e5f8e5212e1c770568017184a7575122 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Aug 22 06:14:06 2010 +0200 Tidy and fix clean and distclean rules for old testsuite. * Makefile.am (clean-local-legacy): Use $(CONF_SUBDIRS) instead of hard-coding the list of test directories. Use $(AM_MAKEFLAGS). (fake-distclean-legacy): New phony rule, to create fake Makefile files if needed so that the automake-generated distclean-recursive rule can work properly. (distclean_recursive): New helper variable. (distclean-recursive): Depend on fake-distclean-legacy. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 12 Makefile.am | 22 ++ 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5f5e23a..6b8767f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2010-08-22 Ralf Wildenhues ralf.wildenh...@gmx.de + + Tidy and fix clean and distclean rules for old testsuite. + * Makefile.am (clean-local-legacy): Use $(CONF_SUBDIRS) instead + of hard-coding the list of test directories. Use + $(AM_MAKEFLAGS). + (fake-distclean-legacy): New phony rule, to create fake Makefile + files if needed so that the automake-generated + distclean-recursive rule can work properly. + (distclean_recursive): New helper variable. + (distclean-recursive): Depend on fake-distclean-legacy. + 2010-08-22 Paolo Bonzini bonz...@gnu.org Fix sed_make_literal_regex. diff --git a/Makefile.am b/Makefile.am index d689e09..2c4a3db 100644 --- a/Makefile.am +++ b/Makefile.am @@ -712,12 +712,26 @@ $(srcdir)/tests/defs.in: $(auxdir)/general.m4sh tests/defs.m4sh Makefile.am # We need to remove any files that the above tests created. clean-local-legacy: - -cd tests; \ - for dir in cdemo demo depdemo f77demo fcdemo mdemo mdemo2 pdemo tagdemo; \ - do \ - test -f $$dir/Makefile ( cd $$dir $(MAKE) distclean; ); \ + -for dir in $(CONF_SUBDIRS); do \ + if test -f $$dir/Makefile; then \ + (cd $$dir $(MAKE) $(AM_MAKEFLAGS) distclean); \ + else :; fi; \ done rm -rf _inst +# For distclean, we may have to fake Makefiles in the test directories +# so that descending in DIST_SUBDIRS works. +# Hide the additional dependency from automake so it still outputs the rule. +distclean_recursive = distclean-recursive +$(distclean_recursive): fake-distclean-legacy +.PHONY: fake-distclean-legacy +fake-distclean-legacy: + -for dir in $(CONF_SUBDIRS); do \ + if test ! -f $$dir/Makefile; then \ + $(mkinstalldirs) $$dir; \ + echo 'distclean: ; rm -f Makefile' $$dir/Makefile; \ + else :; fi; \ + done + $(TESTS): tests/defs DISTCLEANFILES += tests/defs hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-91-g3160ead
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 3160ead1712bbe567d30defd2a65cfe03f34406d (commit) from 10c6cb25e5f8e5212e1c770568017184a7575122 (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 3160ead1712bbe567d30defd2a65cfe03f34406d Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Aug 21 06:56:37 2010 +0200 Fix getopt tests to skip with Autoconf 2.61. * tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Skip the test if 'autom4te --language=m4sh' exits 63 because version 2.61 is required. Allows the testsuite to complete successfully with Autoconf 2.59 and Automake 1.9.6. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog|6 ++ tests/getopt-m4sh.at |9 +++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6b8767f..843f942 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2010-08-22 Ralf Wildenhues ralf.wildenh...@gmx.de + Fix getopt tests to skip with Autoconf 2.61. + * tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Skip the test + if 'autom4te --language=m4sh' exits 63 because version 2.61 is + required. Allows the testsuite to complete successfully with + Autoconf 2.59 and Automake 1.9.6. + Tidy and fix clean and distclean rules for old testsuite. * Makefile.am (clean-local-legacy): Use $(CONF_SUBDIRS) instead of hard-coding the list of test directories. Use diff --git a/tests/getopt-m4sh.at b/tests/getopt-m4sh.at index 3e58db1..d2df827 100644 --- a/tests/getopt-m4sh.at +++ b/tests/getopt-m4sh.at @@ -48,12 +48,9 @@ M4SH_GETOPTS( ]]) m4_pattern_forbid([m4_include]) m4_pattern_forbid([AS_INIT]) - -$M4SH -B $abs_top_srcdir/libltdl/config options.m4sh \ -| $SED \ - -e s,@LN_S\@,$LN_S,g \ - -e s,@SED\@,$SED,g \ - options +AT_CHECK([$M4SH -B $abs_top_srcdir/libltdl/config options.m4sh t-options], +[], [], [], [AT_CHECK([test $at_status -eq 63 exit 77])]) +$SED s,@LN_S\@,$LN_S,g;s,@SED\@,$SED,g t-options options ])# _LT_AT_GETOPT_M4SH_SETUP hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-92-g92d24b3
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 92d24b3d80c5506db3ff2a2fd0165ac1b96d2bb3 (commit) from 3160ead1712bbe567d30defd2a65cfe03f34406d (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 92d24b3d80c5506db3ff2a2fd0165ac1b96d2bb3 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Aug 22 20:33:49 2010 +0200 configure: use Autobuild AB_INIT if available. * configure.ac: Call AB_INIT if it is defined, with $autobuild_mode as argument, to be set at configure time. Set AB_VERSION to the Libtool version string. * HACKING: Update. * libltdl/m4/.gitignore: Ignore autobuild.m4. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |6 ++ HACKING |8 +--- configure.ac | 13 + libltdl/m4/.gitignore |1 + 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 843f942..4994023 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2010-08-22 Ralf Wildenhues ralf.wildenh...@gmx.de + configure: use Autobuild AB_INIT if available. + * configure.ac: Call AB_INIT if it is defined, with + $autobuild_mode as argument, to be set at configure time. + Set AB_VERSION to the Libtool version string. + * HACKING: Update. + Fix getopt tests to skip with Autoconf 2.61. * tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Skip the test if 'autom4te --language=m4sh' exits 63 because version 2.61 is diff --git a/HACKING b/HACKING index 7ea1818..19b4b66 100644 --- a/HACKING +++ b/HACKING @@ -601,7 +601,9 @@ or obtained by writing to the Free Software Foundation, Inc., (esp. bug-libtool) for outstanding bug reports also in the list of pending moderation requests. -* Make sure you have wget and lzma installed. +* Make sure you have wget, lzma, and autobuild installed. aclocal should be + able to find autobuild.m4; or you can install it into the tree with + aclocal -I libltdl/m4 --install * Make sure your locale is sane, e.g. by exporting LC_ALL=C. @@ -717,8 +719,8 @@ or obtained by writing to the Free Software Foundation, Inc., which will automatically propogate to http://planet.gnu.org. -- - Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, - Inc. + Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Free Software + Foundation, Inc. Written by Gary V. Vaughan, 2004 This file is part of GNU Libtool. diff --git a/configure.ac b/configure.ac index 35c79f1..9690a05 100644 --- a/configure.ac +++ b/configure.ac @@ -127,6 +127,19 @@ dnl These are bootstrap requirements! Once built, libtool may work with dnl much older releases of autoconf and automake. See release notes. AM_INIT_AUTOMAKE([1.10.1 gnu subdir-objects dist-lzma]) + +## - ## +## Autobuild initialisation. ## +## - ## + +# You can set autobuild_mode at configure time to specify a unique +# string for this build. +: ${autobuild_mode=default} +AB_VERSION=AC_PACKAGE_VERSION ($TIMESTAMP) +m4_ifdef([AB_INIT], +[AB_INIT([$autobuild_mode])]) + + dnl We use m4sh to generate libtool's portable shell scripts AC_SUBST([M4SH], ['$(AUTOM4TE) --language=m4sh']) diff --git a/libltdl/m4/.gitignore b/libltdl/m4/.gitignore index 0b52c5c..81a1059 100644 --- a/libltdl/m4/.gitignore +++ b/libltdl/m4/.gitignore @@ -1 +1,2 @@ ltversion.m4 +autobuild.m4 hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-87-gc9ee137
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 c9ee137683c618c9c1f2fedbb4b9e970615dfc99 (commit) via 7406192d816ba37437c6463011fec47147c9aee3 (commit) via a31a28281b1a3ed046238b2629f792583eda21dc (commit) via 69c0031a576a27e861a4d85b687a0d9f569192f6 (commit) from 275dd5d0634199a4acb51c627c8f2786c1c5ccb5 (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 c9ee137683c618c9c1f2fedbb4b9e970615dfc99 Author: Rainer Tammer tam...@tammer.net Date: Sat Aug 21 10:02:29 2010 +0200 Avoid issues with AIX resident shared libraries in old testsuite. * tests/defs.m4sh [aix]: Remove file mode permission for others, so shared libraries are not kept in memory after execution. Fixes failures of repeated mdemo-inst.test with on AIX 5.3. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 7406192d816ba37437c6463011fec47147c9aee3 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Aug 7 00:23:22 2010 +0200 Skip part of versioning test on AIX. * tests/versioning.at (versioning): The AIX linker always records the unversioned library name, even with runtimelinking, so skip the execution test for the incompatibly upgraded library. Report by Rainer Tammer. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit a31a28281b1a3ed046238b2629f792583eda21dc Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Fri Aug 6 23:45:23 2010 +0200 Remove dead code from versioning test. * tests/versioning.at (versioning): No need to build unused prog3. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 69c0031a576a27e861a4d85b687a0d9f569192f6 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Fri Aug 20 07:02:46 2010 +0200 Don't hide the table of contents in the manual. * doc/libtool.texi: Move the table of contents to the beginning. Prompted by patch from Bruno Haible against Automake. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 24 doc/libtool.texi|4 ++-- tests/defs.m4sh | 10 ++ tests/versioning.at | 17 +++-- 4 files changed, 43 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index ec311e8..0d5840f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,29 @@ +2010-08-21 Rainer Tammer tam...@tammer.net (tiny change) + + Avoid issues with AIX resident shared libraries in old testsuite. + * tests/defs.m4sh [aix]: Remove file mode permission for others, + so shared libraries are not kept in memory after execution. + Fixes failures of repeated mdemo-inst.test with on AIX 5.3. + +2010-08-21 Ralf Wildenhues ralf.wildenh...@gmx.de + + Skip part of versioning test on AIX. + * tests/versioning.at (versioning): The AIX linker always + records the unversioned library name, even with runtimelinking, + so skip the execution test for the incompatibly upgraded + library. + Report by Rainer Tammer. + + Remove dead code from versioning test. + * tests/versioning.at (versioning): No need to build unused + prog3. + 2010-08-20 Ralf Wildenhues ralf.wildenh...@gmx.de + Don't hide the table of contents in the manual. + * doc/libtool.texi: Move the table of contents to the beginning. + Prompted by patch from Bruno Haible against Automake. + Remove superfluous dependency in Makefile.am. * Makefile.am (tests/demo-conf.test): Remove dependency on libtool, this test is a primary source and not generated. diff --git a/doc/libtool.texi b/doc/libtool.texi index 3f356c3..d0eaec4 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -70,6 +70,8 @@ the section entitled GNU Free Documentation License. @syncodeindex tp cp @synindex pg cp +...@contents + @ifnottex @node Top, Introduction, (dir), (dir) @comment node-name, next, previous, up @@ -6368,6 +6370,4 @@ order to test new changes without having to rerun @code{configure}. @printindex cp -...@c summarycontents -...@contents @bye diff --git a/tests/defs.m4sh b/tests/defs.m4sh index 1230555..183783e 100644 --- a/tests/defs.m4sh +++ b/tests/defs.m4sh @@ -130,6 +130,7 @@ func_get_config objext objdir CC host +host_os host_alias build build_alias $LIBTOOL --config : fatal @@ -351,6 +352,15 @@ m4dir=$srcdir/libltdl/m4 auxdir=$srcdir/libltdl/config scripts=$auxdir/ltmain.m4sh $srcdir/libtoolize.m4sh +# On AIX, shared
[SCM] GNU Libtool branch, master, updated. v2.2.10-82-g5e64625
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 5e6462542639b3939e6daa46395260a9ae8b451e (commit) from 66ce911b33bb43c2079dd701aa099df709387f48 (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 5e6462542639b3939e6daa46395260a9ae8b451e Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Fri Aug 20 07:01:20 2010 +0200 Bump copyright years in manual. * doc/libtool.texi: Bump copyright years. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog|5 + doc/libtool.texi |6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 59e94e4..9f8f135 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-08-20 Ralf Wildenhues ralf.wildenh...@gmx.de + + Bump copyright years in manual. + * doc/libtool.texi: Bump copyright years. + 2010-08-13 Peter Rosin p...@lysator.liu.se Allow the use of a listing file if the archiver supports it. diff --git a/doc/libtool.texi b/doc/libtool.texi index 606b232..3f356c3 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -26,7 +26,7 @@ @ifnottex This file documents GNU Libtool @value{VERSION} -Copyright (C) 1996-2009 Free Software Foundation, Inc. +Copyright (C) 1996-2010 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 @@ -53,7 +53,7 @@ identical to this one except for the removal of this paragraph @page @vskip 0pt plus 1filll -Copyright @copyright{} 2009 Free Software Foundation, Inc. +Copyright @copyright{} 2010 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 @@ -6343,7 +6343,7 @@ trick$ chmod +x libtool trick$ libtool --version ltmain.sh (GNU @@PACKAGETIMESTAMP@@) @@VERSION@@ -Copyright (C) 2009 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. trick$ hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-79-g3c1027f
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 3c1027fe214c4b0c72f905defcda38faf9e94bf3 (commit) from 0f87df7fa6ab6b5d3f7c7cb7218a4880881f9d71 (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 3c1027fe214c4b0c72f905defcda38faf9e94bf3 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Mon Aug 9 23:16:12 2010 +0200 Fix more problematic code from Add func_append_quoted and do... * libltdl/config/ltmain.m4sh (func_mode_link): Revert back func_append instances that as assignments relied on the shell not performing word splitting on the right hand side of the assignment. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |6 ++ libltdl/config/ltmain.m4sh |4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 869897b..b71c668 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2010-08-09 Ralf Wildenhues ralf.wildenh...@gmx.de + Fix more problematic code from Add func_append_quoted and do... + * libltdl/config/ltmain.m4sh (func_mode_link): Revert back + func_append instances that as assignments relied on the shell + not performing word splitting on the right hand side of the + assignment. + Fix another typo on Add func_append_quoted and do... * libltdl/config/ltmain.m4sh (func_mode_link): Fix regression in computation of finalize_rpath introduced in v2.2.10-40-g0da7d80, diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index e5065fb..d677529 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -2464,7 +2464,7 @@ func_extract_archives () func_extract_an_archive $my_xdir $my_xabs ;; esac - func_append my_oldobjs `find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` + my_oldobjs=$my_oldobjs `find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` done func_extract_archives_result=$my_oldobjs @@ -5854,7 +5854,7 @@ func_mode_link () compile_deplibs=$new_inherited_linker_flags $compile_deplibs finalize_deplibs=$new_inherited_linker_flags $finalize_deplibs else - func_append compiler_flags `$ECHO $new_inherited_linker_flags | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + compiler_flags=$compiler_flags `$ECHO $new_inherited_linker_flags | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs=$newdependency_libs hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-75-g3936d01
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 3936d01df5d11a861710ecd58a9f9604a49fee08 (commit) via 4055972b1cb63285ddf43652205a5e4bf36eb12e (commit) from 3078821c7fc0a7b2eafba35408fd43b44a3e0cd3 (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 3936d01df5d11a861710ecd58a9f9604a49fee08 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Aug 7 13:07:42 2010 +0200 Do not call toplevel configure in non-VPATH build. * tests/deplibs-mingw.at (deplibs without file command): Use LT_AT_CONFIGURE for consistency, update comment about why it might fail. * tests/pic_flag.at (override pic_flag at configure time): Skip test if we are building in-tree. Report by Rainer Tammer. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 4055972b1cb63285ddf43652205a5e4bf36eb12e Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Aug 7 13:03:37 2010 +0200 Allow running pic_flag test with different shell. * tests/testsuite.at (LT_AT_CONFIGURE): Accept optional second argument specifying the configure script to run. * tests/pic_flag.at (override pic_flag at configure time): Use LT_AT_CONFIGURE. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 14 ++ tests/deplibs-mingw.at |5 +++-- tests/pic_flag.at |6 -- tests/testsuite.at |8 +--- 4 files changed, 26 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8f6cb65..0eecbab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,19 @@ 2010-08-07 Ralf Wildenhues ralf.wildenh...@gmx.de + Do not call toplevel configure in non-VPATH build. + * tests/deplibs-mingw.at (deplibs without file command): Use + LT_AT_CONFIGURE for consistency, update comment about why it + might fail. + * tests/pic_flag.at (override pic_flag at configure time): Skip + test if we are building in-tree. + Report by Rainer Tammer. + + Allow running pic_flag test with different shell. + * tests/testsuite.at (LT_AT_CONFIGURE): Accept optional second + argument specifying the configure script to run. + * tests/pic_flag.at (override pic_flag at configure time): + Use LT_AT_CONFIGURE. + Ensure not to reverse preserving of --debug for relinking/finish. * libltdl/config/ltmain.m4sh (func_check_version_match): Only preserve '--debug' switch if $opt_debug is not equal to ':'. diff --git a/tests/deplibs-mingw.at b/tests/deplibs-mingw.at index 68e8386..45aa032 100644 --- a/tests/deplibs-mingw.at +++ b/tests/deplibs-mingw.at @@ -74,8 +74,9 @@ EOF chmod +x bin/file PATH=`pwd`/bin${PATH_SEPARATOR-:}$PATH cd new-libtool - AT_CHECK([$abs_top_srcdir/configure $configure_options || exit 77], - [], [ignore], [ignore]) + # configure might fail due to in-tree build of toplevel, or + # missing configure flags and other reasons. + LT_AT_CONFIGURE([|| exit 77], [$abs_top_srcdir/configure]) cd .. LIBTOOL=new-libtool/libtool export LIBTOOL diff --git a/tests/pic_flag.at b/tests/pic_flag.at index e62e1b7..ffad842 100644 --- a/tests/pic_flag.at +++ b/tests/pic_flag.at @@ -43,8 +43,10 @@ if $CXX $CPPFLAGS $CXXFLAGS $CXX_pic_flag -c foo.cpp; then :; else CXX_pic_flag= fi -AT_CHECK([$abs_top_srcdir/configure lt_cv_prog_compiler_pic=$C_pic_flag ]dnl -[lt_cv_prog_compiler_pic_CXX=$CXX_pic_flag], [], [ignore], [ignore]) +AT_CHECK([test $at_srcdir != . || exit 77]) +LT_AT_CONFIGURE([lt_cv_prog_compiler_pic=$C_pic_flag ]dnl + [lt_cv_prog_compiler_pic_CXX=$CXX_pic_flag], + [$abs_top_srcdir/configure]) : ${MAKE=make} AT_CHECK([$MAKE], [], [stdout], [ignore]) AT_CHECK([if ./libtool --features | grep 'enable shared libraries'; then ]dnl diff --git a/tests/testsuite.at b/tests/testsuite.at index 3935962..35b920b 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -146,11 +146,13 @@ AT_KEYWORDS([autoconf automake]) ]) -# LT_AT_CONFIGURE([OPTIONS]) -# -- +# LT_AT_CONFIGURE([OPTIONS], [CONFIGURE-SCRIPT]) +# -- +# Configure CONFIGURE-SCRIPT, defaulting to ./configure, with +# additional OPTIONS. m4_define([LT_AT_CONFIGURE], [AT_CHECK([: ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL; ]dnl - [$CONFIG_SHELL ./configure $configure_options $1], + [$CONFIG_SHELL m4_default([$2], [./configure
[SCM] GNU Libtool branch, master, updated. v2.2.10-77-gb7b0e70
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 b7b0e70e9863d4ddc2654614173d6a6d01556805 (commit) via 4246f026cb93c6f86271fbe717c27b443b07b389 (commit) from 3936d01df5d11a861710ecd58a9f9604a49fee08 (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 b7b0e70e9863d4ddc2654614173d6a6d01556805 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Aug 7 19:16:35 2010 +0200 Avoid unwanted error message in configure output. * libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Try print in subshell, so eventual `print: not found' is hidden reliably. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 4246f026cb93c6f86271fbe717c27b443b07b389 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Aug 7 19:16:23 2010 +0200 Fix compilation of program sources on AIX. * tests/lt_dlopenext.at (lt_dlopenext error messages): Do not use $LIBTOOL when compiling plain object, AIX by default does not enable static archives. * tests/ltdl-libdir.at (libdir of installed modules): Likewise. Report by Rainer Tammer. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 11 +++ libltdl/m4/libtool.m4 |2 +- tests/lt_dlopenext.at |4 ++-- tests/ltdl-libdir.at |2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0eecbab..6d765d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ 2010-08-07 Ralf Wildenhues ralf.wildenh...@gmx.de + Avoid unwanted error message in configure output. + * libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Try print + in subshell, so eventual `print: not found' is hidden reliably. + + Fix compilation of program sources on AIX. + * tests/lt_dlopenext.at (lt_dlopenext error messages): Do not + use $LIBTOOL when compiling plain object, AIX by default does + not enable static archives. + * tests/ltdl-libdir.at (libdir of installed modules): Likewise. + Report by Rainer Tammer. + Do not call toplevel configure in non-VPATH build. * tests/deplibs-mingw.at (deplibs without file command): Use LT_AT_CONFIGURE for consistency, update comment about why it diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index d8d6aeb..c36a6b4 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -1122,7 +1122,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO AC_MSG_CHECKING([how to print strings]) # Test print first, because it will be a builtin if present. -if test X`print -r -- -n 2/dev/null` = X-n \ +if test X`( print -r -- -n ) 2/dev/null` = X-n \ test X`print -r -- $ECHO 2/dev/null` = X$ECHO; then ECHO='print -r --' elif test X`printf %s $ECHO 2/dev/null` = X$ECHO; then diff --git a/tests/lt_dlopenext.at b/tests/lt_dlopenext.at index 26a2b24..6631124 100644 --- a/tests/lt_dlopenext.at +++ b/tests/lt_dlopenext.at @@ -1,6 +1,6 @@ # lt_dlopenext.at -- test libltdl functionality -*- Autotest -*- # -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009, 2010 Free Software Foundation, Inc. # This file is part of GNU Libtool. # # GNU Libtool is free software; you can redistribute it and/or @@ -197,7 +197,7 @@ AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c simple-module.c], AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o simple-module.la ]dnl [simple-module.lo -rpath $libdir -module -avoid-version], [], [ignore], [ignore]) -AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c ltdl-loader.c], +AT_CHECK([$CC $CPPFLAGS $CFLAGS -c ltdl-loader.c], [], [ignore], [ignore]) AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o ltdl-loader$EXEEXT ]dnl [ltdl-loader.$OBJEXT -dlopen self $LIBLTDL], diff --git a/tests/ltdl-libdir.at b/tests/ltdl-libdir.at index f5dc33c..7065c5b 100644 --- a/tests/ltdl-libdir.at +++ b/tests/ltdl-libdir.at @@ -101,7 +101,7 @@ AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c a.c], AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o a.la ]dnl [a.lo -rpath $libdir -module -shared -avoid-version], [], [ignore], [ignore]) -AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c m.c], +AT_CHECK([$CC $CPPFLAGS $CFLAGS -c m.c], [], [ignore], [ignore]) AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m$EXEEXT ]dnl [m.$OBJEXT $LIBLTDL], hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-71-g3e68aa1
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 3e68aa1ac68c0b1154aa1977b13e40fd6fc8e9e9 (commit) from 21cffd15fbf2adbf7bd948260be0ac95b12bd510 (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 3e68aa1ac68c0b1154aa1977b13e40fd6fc8e9e9 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Fri Aug 6 21:41:11 2010 +0200 Fix ltdl-libdir test for C++ compilers. * tests/ltdl-libdir.at (libdir of installed modules): Declare module function as extern C. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog|6 ++ tests/ltdl-libdir.at |4 +++- 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index a435d6d..d2634e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-08-06 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix ltdl-libdir test for C++ compilers. + * tests/ltdl-libdir.at (libdir of installed modules): Declare + module function as extern C. + 2010-08-04 Ralf Wildenhues ralf.wildenh...@gmx.de Let `libtool' without arguments point to `--help' again. diff --git a/tests/ltdl-libdir.at b/tests/ltdl-libdir.at index 432d18e..f5dc33c 100644 --- a/tests/ltdl-libdir.at +++ b/tests/ltdl-libdir.at @@ -38,7 +38,9 @@ bindir=$prefix/bin mkdir $prefix $libdir $bindir AT_DATA([a.c], -[[ +[[#ifdef __cplusplus +extern C +#endif int f (void) { return 42; hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-72-g2fc264a
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 2fc264a8e2f7224627bb7c191a38a2dc9e7b5bcb (commit) from 3e68aa1ac68c0b1154aa1977b13e40fd6fc8e9e9 (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 2fc264a8e2f7224627bb7c191a38a2dc9e7b5bcb Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Fri Aug 6 22:03:19 2010 +0200 Fix AC_NO_EXECUTABLES test failure on AIX. * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Wrap link test in AC_CACHE_VAL, using cache variable $lt_cv_aix_libpath. * tests/no-executables.at (AC_NO_EXECUTABLES): Preset it, to avoid link test. Bug report by Rainer Tammer. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |7 +++ libltdl/m4/libtool.m4 | 13 - tests/no-executables.at |4 ++-- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index d2634e9..27e8a3d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-08-06 Ralf Wildenhues ralf.wildenh...@gmx.de + Fix AC_NO_EXECUTABLES test failure on AIX. + * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Wrap link + test in AC_CACHE_VAL, using cache variable $lt_cv_aix_libpath. + * tests/no-executables.at (AC_NO_EXECUTABLES): Preset it, to + avoid link test. + Bug report by Rainer Tammer. + Fix ltdl-libdir test for C++ compilers. * tests/ltdl-libdir.at (libdir of installed modules): Declare module function as extern C. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index f61be28..d8d6aeb 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -1081,7 +1081,8 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES], # to the aix ld manual. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl -AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +AC_CACHE_VAL([lt_cv_aix_libpath], +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { @@ -1089,12 +1090,14 @@ lt_aix_libpath_sed=' p } }' -aix_libpath=`dump -H conftest$ac_exeext 2/dev/null | $SED -n -e $lt_aix_libpath_sed` +lt_cv_aix_libpath=`dump -H conftest$ac_exeext 2/dev/null | $SED -n -e $lt_aix_libpath_sed` # Check for a 64-bit object if we didn't find anything. -if test -z $aix_libpath; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2/dev/null | $SED -n -e $lt_aix_libpath_sed` +if test -z $lt_cv_aix_libpath; then + lt_cv_aix_libpath=`dump -HX64 conftest$ac_exeext 2/dev/null | $SED -n -e $lt_aix_libpath_sed` fi],[]) -if test -z $aix_libpath; then aix_libpath=/usr/lib:/lib; fi +if test -z $lt_cv_aix_libpath; then lt_cv_aix_libpath=/usr/lib:/lib; fi +]) +aix_libpath=$lt_cv_aix_libpath ])# _LT_SYS_MODULE_PATH_AIX diff --git a/tests/no-executables.at b/tests/no-executables.at index e9e229a..75b92ef 100644 --- a/tests/no-executables.at +++ b/tests/no-executables.at @@ -1,7 +1,6 @@ # no-executables.at -- Libtool usage in GCC-*- Autotest -*- -# Copyright (C) 2008 Free Software Foundation, Inc. -# Written by Ralf Wildenhues, 2008 +# Copyright (C) 2008, 2010 Free Software Foundation, Inc. # # This file is part of GNU Libtool. # @@ -52,6 +51,7 @@ lt_cv_archive_cmds_need_lc=no lt_cv_cc_needs_belf=no lt_cv_ld_exported_symbols_list=no lt_cv_prog_compiler_static_works=no +lt_cv_aix_libpath=/usr/lib:/lib # Deal with AC_LIBTOOL_DLOPEN in one of two possible ways: # - do not execute it at all in the ac_no_link case hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-73-g3078821
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 3078821c7fc0a7b2eafba35408fd43b44a3e0cd3 (commit) from 2fc264a8e2f7224627bb7c191a38a2dc9e7b5bcb (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 3078821c7fc0a7b2eafba35408fd43b44a3e0cd3 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Aug 7 07:41:12 2010 +0200 Ensure not to reverse preserving of --debug for relinking/finish. * libltdl/config/ltmain.m4sh (func_check_version_match): Only preserve '--debug' switch if $opt_debug is not equal to ':'. * tests/help.at (debug tracing): New test group. Report by Rainer Tammer. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |8 libltdl/config/ltmain.m4sh |2 +- tests/help.at | 97 3 files changed, 106 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 27e8a3d..8f6cb65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-08-07 Ralf Wildenhues ralf.wildenh...@gmx.de + + Ensure not to reverse preserving of --debug for relinking/finish. + * libltdl/config/ltmain.m4sh (func_check_version_match): Only + preserve '--debug' switch if $opt_debug is not equal to ':'. + * tests/help.at (debug tracing): New test group. + Report by Rainer Tammer. + 2010-08-06 Ralf Wildenhues ralf.wildenh...@gmx.de Fix AC_NO_EXECUTABLES test failure on AIX. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 32a41c7..fad2e64 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -393,7 +393,7 @@ M4SH_GETOPTS( fi # preserve --debug - $opt_debug func_append preserve_args --debug + test $opt_debug = : || func_append preserve_args --debug case $host in *cygwin* | *mingw* | *pw32* | *cegcc*) diff --git a/tests/help.at b/tests/help.at index e1bcbf5..c4eaa87 100644 --- a/tests/help.at +++ b/tests/help.at @@ -92,3 +92,100 @@ AT_CHECK([$LIBTOOL cl liba.la], [], [ignore], [ignore]) AT_CLEANUP + + +AT_SETUP([debug tracing]) + +AT_DATA([a.c], +[[int a () { return 0; } +]]) + +AT_DATA([b.c], +[[extern int a (); +int b () { return a (); } +]]) + +AT_DATA([main.c], +[[extern int b (); +int main () { return b (); } +]]) + +inst=`pwd`/inst +libdir=$inst/lib +bindir=$inst/bin +mkdir $inst $libdir $bindir + +# This test will not work correctly if --debug is passed. +AT_CHECK([case $LIBTOOL $CC $CPPFLAGS $CFLAGS $LDFLAGS in ]dnl +[ *\ --debug\ *) exit 77;; *) :;; esac]) + +check_trace () +{ + if test X$trace = X--debug; then +AT_CHECK([grep 'enabling shell trace mode' stdout stderr], [0], [ignore]) +AT_CHECK([grep ' --mode' stderr], [0], [ignore]) + else +AT_CHECK([grep 'enabling shell trace mode' stdout stderr], [1]) +AT_CHECK([grep ' --mode' stderr], [1]) + fi +} + +orig_LIBTOOL=$LIBTOOL +for trace in '' --debug; do + LIBTOOL=$orig_LIBTOOL $trace + + # Hypothesis: debug output should happen if (and only if) --debug is + # passed, for compile, link, install, uninstall, and clean modes. + AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c a.c], + [], [stdout], [stderr]) + check_trace + AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c b.c], + [], [stdout], [stderr]) + check_trace + AT_CHECK([$CC $CPPFLAGS $CFLAGS -c main.c], [], [ignore], [ignore]) + AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la a.lo ]dnl + [ -no-undefined -rpath $libdir], [], [stdout], [stderr]) + check_trace + AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o libb.la b.lo ]dnl + [ -no-undefined -rpath $libdir liba.la], [], [stdout], [stderr]) + check_trace + AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT main.$OBJEXT ]dnl + [libb.la], [], [stdout], [stderr]) + check_trace + LT_AT_NOINST_EXEC_CHECK([./main], [], [], [stdout], [stderr]) + check_trace + + AT_CHECK([$LIBTOOL --mode=install cp liba.la libb.la $libdir], + [], [stdout], [stderr]) + check_trace + + # Hypothesis: --debug should be passed to relink mode if (and only if) + # it was passed at link mode. + AT_CHECK([$orig_LIBTOOL --mode=install cp liba.la libb.la $libdir], + [], [stdout], [stderr]) + if grep ': relinking ' stdout stderr; then +if test X$trace = X--debug; then + AT_CHECK([grep ' --mode=relink' stdout stderr | grep ' --debug '], + [0], [ignore]) +else + AT_CHECK([grep
[SCM] GNU Libtool branch, master, updated. v2.2.10-70-g21cffd1
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 21cffd15fbf2adbf7bd948260be0ac95b12bd510 (commit) via 10f650c428d16805132088510b04a853c73b98fa (commit) from 06543b43736a9d36c447e7fa04b76d90a6b31967 (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 21cffd15fbf2adbf7bd948260be0ac95b12bd510 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Wed Aug 4 22:30:48 2010 +0200 Let `libtool' without arguments point to `--help' again. * libltdl/config/ltmain.m4sh (func_check_version_match): Remove duplicate and wrong error check. * tests/help.at (standard command line options): Extend test. Report by Rainer Tammer. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 10f650c428d16805132088510b04a853c73b98fa Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Wed Aug 4 22:30:01 2010 +0200 Avoid syntax error due to shift of nonexistent parameter. * libltdl/config/ltmain.m4sh command-line handling: Only shift if there is a positional parameter to shift. Fixes `libtool --help' when dash is used. Report by Rainer Tammer. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 12 libltdl/config/ltmain.m4sh |7 --- tests/help.at |6 +- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 49efb7b..a435d6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,17 @@ 2010-08-04 Ralf Wildenhues ralf.wildenh...@gmx.de + Let `libtool' without arguments point to `--help' again. + * libltdl/config/ltmain.m4sh (func_check_version_match): + Remove duplicate and wrong error check. + * tests/help.at (standard command line options): Extend test. + Report by Rainer Tammer. + + Avoid syntax error due to shift of nonexistent parameter. + * libltdl/config/ltmain.m4sh command-line handling: Only shift + if there is a positional parameter to shift. Fixes `libtool + --help' when dash is used. + Report by Rainer Tammer. + Fix testsuite errors due to shell quoted parameter expansion issue. * tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Insert space between double-quoted and unquoted shell parameter, as bash diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 193ff1a..32a41c7 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -387,7 +387,10 @@ M4SH_GETOPTS( func_enable_tag $optarg], [ # save first non-option argument - nonopt=$opt; shift + if test $[]# -gt 0; then +nonopt=$opt +shift + fi # preserve --debug $opt_debug func_append preserve_args --debug @@ -410,8 +413,6 @@ M4SH_GETOPTS( func_fatal_configuration not configured to build any kind of library fi -test -z $opt_mode func_fatal_error error: you must specify a MODE. - # Darwin sucks eval std_shrext=\$shrext_cmds\ diff --git a/tests/help.at b/tests/help.at index 3460a2b..e1bcbf5 100644 --- a/tests/help.at +++ b/tests/help.at @@ -1,6 +1,6 @@ # help.at -- standard command line options -*- Autotest -*- # -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009, 2010 Free Software Foundation, Inc. # # This file is part of GNU Libtool. # @@ -35,6 +35,10 @@ AT_CHECK([$LIBTOOL --help-all], [], [ignore]) AT_CHECK([$LIBTOOL --version], [], [stdout]) AT_CHECK([grep 'Copyright.*Free Software Foundation' stdout], [], [ignore]) +AT_CHECK([$LIBTOOL], [1], [ignore], [stderr]) +AT_CHECK([grep 'specify a MODE' stderr], [], [ignore]) +AT_CHECK([grep ' --help' stderr], [], [ignore]) + AT_CLEANUP hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-67-g1162eeb
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 1162eebc69e7219423b2620bcb838879c2dfb3f9 (commit) from 5892f61de832b6ab679ac3bf5a51cc680884c739 (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 1162eebc69e7219423b2620bcb838879c2dfb3f9 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Tue Aug 3 21:49:10 2010 +0200 Fix build failure with AIX sh due to shell quoting error. * libltdl/config/ltmain.m4sh (func_append_quoted): Document that this function inserts a separator space. (func_mode_compile): Do not pass extra space here. Fixes regression introduced in v2.2.10-49-gc13532a. Report by Rainer Tammer. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |9 + libltdl/config/ltmain.m4sh |5 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3655c07..f8a2fc7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2010-08-03 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix build failure with AIX sh due to shell quoting error. + * libltdl/config/ltmain.m4sh (func_append_quoted): Document + that this function inserts a separator space. + (func_mode_compile): Do not pass extra space here. + Fixes regression introduced in v2.2.10-49-gc13532a. + Report by Rainer Tammer. + 2010-08-02 Ralf Wildenhues ralf.wildenh...@gmx.de Fix pic_flag test unportabilities. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 897a5e8..193ff1a 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -157,7 +157,8 @@ func_append () } # func_append may be replaced by extended shell implementation # func_append_quoted var value -# Quote VALUE and append to the end of shell variable VAR. +# Quote VALUE and append to the end of shell variable VAR, separated +# by a space. func_append_quoted () { func_quote_for_eval ${2} @@ -710,7 +711,7 @@ func_mode_compile () save_ifs=$IFS; IFS=',' for arg in $args; do IFS=$save_ifs - func_append_quoted lastarg $arg + func_append_quoted lastarg $arg done IFS=$save_ifs func_stripname ' ' '' $lastarg hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-66-g5892f61
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 5892f61de832b6ab679ac3bf5a51cc680884c739 (commit) from a107f18041e458fa9fe521d33c8d316a088447c9 (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 5892f61de832b6ab679ac3bf5a51cc680884c739 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Mon Aug 2 22:21:05 2010 +0200 Fix pic_flag test unportabilities. * tests/pic_flag.at (override pic_flag at configure time): Skip test if the compiler produces a warning containing `fpic'. Do not use nonportable `grep -e', for Solaris. Report by Charles Wilson. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |8 tests/pic_flag.at |6 -- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a0e0469..3655c07 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-08-02 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix pic_flag test unportabilities. + * tests/pic_flag.at (override pic_flag at configure time): Skip + test if the compiler produces a warning containing `fpic'. + Do not use nonportable `grep -e', for Solaris. + Report by Charles Wilson. + 2010-08-01 Paolo Bonzini bonz...@gnu.org Fix bug in postdeps computation diff --git a/tests/pic_flag.at b/tests/pic_flag.at index a729d16..e62e1b7 100644 --- a/tests/pic_flag.at +++ b/tests/pic_flag.at @@ -34,7 +34,9 @@ int func(void) { return data; } cp foo.c foo.cpp C_pic_flag='-fpic -DPIC' AT_CHECK([$CC $CPPFLAGS $CFLAGS $C_pic_flag -c foo.c || exit 77], -[], [ignore], [ignore]) +[], [stdout], [stderr]) +# The configure test for the PIC flag also checks for warnings. +AT_CHECK([grep fpic stdout stderr exit 77], [1]) CXX_pic_flag='-fpic -DPIC' if $CXX $CPPFLAGS $CXXFLAGS $CXX_pic_flag -c foo.cpp; then :; else @@ -46,6 +48,6 @@ AT_CHECK([$abs_top_srcdir/configure lt_cv_prog_compiler_pic=$C_pic_flag ]dnl : ${MAKE=make} AT_CHECK([$MAKE], [], [stdout], [ignore]) AT_CHECK([if ./libtool --features | grep 'enable shared libraries'; then ]dnl -[ grep -e -fpic stdout; else exit 77; fi], [], [ignore], [ignore]) +[ grep ' -fpic' stdout; else exit 77; fi], [], [ignore], [ignore]) AT_CLEANUP hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-51-g1e7ce72
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 1e7ce72416cad66b1f82cd503d37f92ecdbe4b8a (commit) from cec246760f4e5a5d93068858bfb4b80d560275d1 (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 1e7ce72416cad66b1f82cd503d37f92ecdbe4b8a Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Aug 16 18:19:43 2008 +0200 Fix ccache test for MSVC. * tests/static.at (ccache -all-static): Ignore compiler stderr. Reported by Peter Rosin. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |6 ++ tests/static.at |2 +- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0ed11fd..f9bb7dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-07-04 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix ccache test for MSVC. + * tests/static.at (ccache -all-static): Ignore compiler stderr. + Reported by Peter Rosin. + 2010-07-03 Charles Wilson libt...@cwilson.fastmail.fm Avoid false failures caused by filesystem interaction diff --git a/tests/static.at b/tests/static.at index f59b124..dfa4c42 100644 --- a/tests/static.at +++ b/tests/static.at @@ -371,7 +371,7 @@ AT_DATA([a.c], [[int main(void) { return 0; } ]]) -AT_CHECK([$CC $CPPFLAGS $CFLAGS -c a.c], [], [ignore]) +AT_CHECK([$CC $CPPFLAGS $CFLAGS -c a.c], [], [ignore], [ignore]) AT_CHECK([$LIBTOOL --mode=link --tag=CC ./ccache $CC $CFLAGS $LDFLAGS -all-static a.$OBJEXT -o a$EXEEXT], [], [ignore], [ignore]) hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-23-gfdc9248
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 fdc9248662c9473ac68b6d4c430b26298215e7d6 (commit) via 64377ca9da7e0efec71e73d58b047de24fd27dd1 (commit) from 4d3ac408c863b1110ce7782d44c80b24f24111f1 (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 fdc9248662c9473ac68b6d4c430b26298215e7d6 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Wed Jun 9 20:09:37 2010 +0200 Fix execute mode test for OSF/1 5.1. * tests/execute-mode.at (execute mode): Do not use grep -F with an empty pattern. * THANKS: Update. Report by Jay K. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 64377ca9da7e0efec71e73d58b047de24fd27dd1 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Jun 19 06:47:42 2010 +0200 Use config.cache variable for PIC flag, to allow override. * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) lt_prog_compiler_pic: Save result, and allow override, through cache variable lt_cv_prog_compiler_pic{,_CXX,_F77,_FC}. The cache variable needs to contain an eventual -DPIC. * doc/libtool.texi (): Document it. * tests/pic_flag.at (override pic_flag at configure time): New file, new test. * Makefile.am (TESTSUITE_AT): Update. * NEWS, THANKS: Update. Suggestion by Joakim Tjernlund and Paolo Bonzini. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 20 +++ Makefile.am |1 + THANKS|2 + libltdl/m4/libtool.m4 | 11 ++--- tests/execute-mode.at | 10 tests/pic_flag.at | 51 + 6 files changed, 86 insertions(+), 9 deletions(-) create mode 100644 tests/pic_flag.at diff --git a/ChangeLog b/ChangeLog index a5676ef..d9ae546 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,23 @@ +2010-06-19 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix execute mode test for OSF/1 5.1. + * tests/execute-mode.at (execute mode): Do not use grep -F + with an empty pattern. + * THANKS: Update. + Report by Jay K. + + Use config.cache variable for PIC flag, to allow override. + * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) lt_prog_compiler_pic: + Save result, and allow override, through cache variable + lt_cv_prog_compiler_pic{,_CXX,_F77,_FC}. The cache variable + needs to contain an eventual -DPIC. + * doc/libtool.texi (): Document it. + * tests/pic_flag.at (override pic_flag at configure time): + New file, new test. + * Makefile.am (TESTSUITE_AT): Update. + * NEWS, THANKS: Update. + Suggestion by Joakim Tjernlund and Paolo Bonzini. + 2010-06-16 Ralf Wildenhues ralf.wildenh...@gmx.de Optimize func_ltwrapper_scriptname to assume a cwrapper. diff --git a/Makefile.am b/Makefile.am index d0688ee..5822428 100644 --- a/Makefile.am +++ b/Makefile.am @@ -509,6 +509,7 @@ TESTSUITE_AT= tests/testsuite.at \ tests/configure-iface.at \ tests/stresstest.at \ tests/cmdline_wrap.at \ + tests/pic_flag.at \ tests/darwin.at \ tests/deplibs-mingw.at diff --git a/THANKS b/THANKS index 8a866a4..405a4f7 100644 --- a/THANKS +++ b/THANKS @@ -106,9 +106,11 @@ Jakub Bogusz qbo...@pld-linux.org Jacob Meuser jake...@jakemsr.com James Su james...@gmail.com + Jay Kjay.kr...@cornell.edu Jeff Squyres jsquy...@lam-mpi.org Jeremy C. Reed r...@reedmedia.net Jim Meyering j...@meyering.net + Joakim Tjernlund joakim.tjernl...@transmode.se Joel N. Weber II devn...@gnu.org Joerg Sonnenberger jo...@netbsd.org John Bowler jbow...@acm.org diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index a91bd61..b93dd0c 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -3587,7 +3587,6 @@ _LT_TAGVAR(lt_prog_compiler_wl, $1)= _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)= -AC_MSG_CHECKING([for $compiler option to produce PIC]) m4_if([$1], [CXX], [ # C++ specific cases for pic, static, wl, etc. if test $GXX = yes; then @@ -4185,9 +4184,11 @@ case $host_os in _LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)@t...@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX
[SCM] GNU Libtool branch, master, updated. v2.2.10-26-g1f6f907
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 1f6f90797f1c461faecaae1928c5e728b71c35b5 (commit) from 50ebc59ab27be1a836c7ebefec53ad2396351ea0 (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 1f6f90797f1c461faecaae1928c5e728b71c35b5 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat Jun 19 16:40:51 2010 +0200 Clean up @var handling in the manual. * doc/libtool.texi: Throughout the manual, replace @var with @samp or @code as appropriate, ensure the argument of remaining @var uses are lower-case. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog|5 ++ doc/libtool.texi | 144 +++--- 2 files changed, 77 insertions(+), 72 deletions(-) diff --git a/ChangeLog b/ChangeLog index 324aa09..a647279 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-06-19 Ralf Wildenhues ralf.wildenh...@gmx.de + Clean up @var handling in the manual. + * doc/libtool.texi: Throughout the manual, replace @var with + @samp or @code as appropriate, ensure the argument of remaining + @var uses are lower-case. + Let the bootstrap script fail upon errors. * bootstrap: Enable errexit. diff --git a/doc/libtool.texi b/doc/libtool.texi index bf8534a..7ae2c66 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -1609,7 +1609,7 @@ passes through commas unchanged. Pass a linker-specific flag directly to the linker. @item -XCClinker @var{flag} -Pass a link-specific flag to the compiler driver (@var{CC}) during linking. +Pass a link-specific flag to the compiler driver (@code{CC}) during linking. @end table If the @var{output-file} ends in @samp{.la}, then a libtool library is @@ -1668,13 +1668,13 @@ The following components of @var{mode-args} are treated specially: @table @option @item -inst-prefix-dir @var{inst-prefix-dir} When installing into a temporary staging area, rather than the -final @var{prefix}, this argument is used to reflect the +final @code{prefix}, this argument is used to reflect the temporary path, in much the same way @command{automake} uses -...@var{destdir}. For instance, if @var{prefix} is @file{/usr/local}, +...@env{destdir}. For instance, if @code{prefix} is @file{/usr/local}, but @var{inst-prefix-dir} is @file{/tmp}, then the object will be installed under @file{/tmp/usr/local/}. If the installed object is a libtool library, then the internal fields of that library -will reflect only @var{prefix}, not @var{inst-prefix-dir}: +will reflect only @code{prefix}, not @var{inst-prefix-dir}: @example # Directory that this library needs to be installed in: @@ -1690,8 +1690,8 @@ libdir='/tmp/usr/local/lib' @code{inst-prefix} is also used to insure that if the installed object must be relinked upon installation, that it is relinked -against the libraries in @var{inst-prefix-dir}/@var{prefix}, -not @var{prefix}. +against the libraries in @var{inst-prefix-dir}/@code{prefix}, +not @code{prefix}. In truth, this option is not really intended for use when calling libtool directly; it is automatically used when @code{libtool --mode=install} @@ -1923,10 +1923,10 @@ First, to link a program against a libtool library, just use the @c Since GNU Automake 1.5, the flags @option{-dlopen} or @option{-dlpreopen} (@pxref{Link mode}) can be employed with the -...@var{program_ldadd} variable. Unfortunately, older releases didn't +...@samp{program_ldadd} variable. Unfortunately, older releases didn't accept these flags, so if you are stuck with an ancient Automake, we recommend quoting the flag itself, and setting -...@var{program_dependencies} too: +...@samp{program_dependencies} too: @example program_LDADD = -dlopen libfoo.la @@ -2007,7 +2007,7 @@ adds many new tests to the @code{configure} script so that the generated libtool script will understand the characteristics of the host. It's the most important of a number of macros defined by Libtool: -...@defmac LT_PREREQ (@var{VERSION}) +...@defmac LT_PREREQ (@var{version}) Ensure that a recent enough version of Libtool is being used. If the version of Libtool used for @code{LT_INIT} is earlier than @var{version}, print an error message to the standard @@ -2018,7 +2018,7 @@ LT_PREREQ([...@value{version}]) @end example @end defmac -...@defmac LT_INIT (@var{OPTIONS}) +...@defmac LT_INIT (@var{options}) @defmacx AC_PROG_LIBTOOL @defmacx AM_PROG_LIBTOOL Add support for the @option{--enable-shared} and @option{--disable
[SCM] GNU Libtool branch, master, updated. v2.2.10-21-g4d3ac40
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 4d3ac408c863b1110ce7782d44c80b24f24111f1 (commit) via 47e4d7da64e121ebf26b66d1bab16d8ca4608c5d (commit) from 8cc72b48f67a6869584f0c73b0bbad1415ef9eff (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 4d3ac408c863b1110ce7782d44c80b24f24111f1 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Wed Jun 16 06:03:27 2010 +0200 Optimize func_ltwrapper_scriptname to assume a cwrapper. * libltdl/config/ltmain.m4sh (func_ltwrapper_scriptname): Do not call func_ltwrapper_executable_p again here, this function is documented to allow being called with wrapper executables. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 47e4d7da64e121ebf26b66d1bab16d8ca4608c5d Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Tue Jun 15 19:23:16 2010 +0200 Fix bootstrap script to cope with changed AC_INIT arguments. * bootstrap: When extracting PACKAGE and VERSION from AC_INIT arguments, be sure to remove a 'GNU ' prefix and lowercase the package name for PACKAGE. Also set PACKAGE_NAME and PACKAGE_URL appropriately for GNU software. Pass these variables to the make commands creating tests/package.m4 and other files. * Makefile.am (edit): Fix substitution of PACKAGE_NAME and PACKAGE_STRING. * libltdl/config/announce-gen.m4sh: Use @PACKAGE@ not @package_str...@. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog| 18 ++ Makefile.am |4 ++-- bootstrap| 20 libltdl/config/announce-gen.m4sh |2 +- libltdl/config/ltmain.m4sh |9 +++-- 5 files changed, 40 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 958cca9..a5676ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +2010-06-16 Ralf Wildenhues ralf.wildenh...@gmx.de + + Optimize func_ltwrapper_scriptname to assume a cwrapper. + * libltdl/config/ltmain.m4sh (func_ltwrapper_scriptname): Do not + call func_ltwrapper_executable_p again here, this function is + documented to allow being called with wrapper executables. + + Fix bootstrap script to cope with changed AC_INIT arguments. + * bootstrap: When extracting PACKAGE and VERSION from AC_INIT + arguments, be sure to remove a 'GNU ' prefix and lowercase the + package name for PACKAGE. Also set PACKAGE_NAME and PACKAGE_URL + appropriately for GNU software. Pass these variables to the + make commands creating tests/package.m4 and other files. + * Makefile.am (edit): Fix substitution of PACKAGE_NAME and + PACKAGE_STRING. + * libltdl/config/announce-gen.m4sh: Use @PACKAGE@ not + @package_str...@. + 2010-06-15 Peter Rosin p...@lysator.liu.se On Windows, find potential libs regardless of file name case. diff --git a/Makefile.am b/Makefile.am index 1114e67..d0688ee 100644 --- a/Makefile.am +++ b/Makefile.am @@ -127,8 +127,8 @@ edit = sed \ -e 's,@PACKAGE\@,$(PACKAGE),g' \ -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \ - -e 's,@PACKAGE_NAME\@,$(PACKAGE),g' \ - -e 's,@PACKAGE_STRING\@,$(PACKAGE) $(VERSION),g' \ + -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \ + -e 's,@PACKAGE_STRING\@,$(PACKAGE_NAME) $(VERSION),g' \ -e 's,@PACKAGE_TARNAME\@,$(PACKAGE),g' \ -e 's,@PACKAGE_VERSION\@,$(VERSION),g' \ -e 's,@SED\@,$(SED),g' \ diff --git a/bootstrap b/bootstrap index d505c36..81ed4b0 100755 --- a/bootstrap +++ b/bootstrap @@ -1,7 +1,8 @@ #! /bin/sh # bootstrap -- Helps bootstrapping libtool, when checked out from repository. # -# Copyright (C) 2003, 2004, 2005, 2006, 2009 Free Software Foundation, Inc, +# Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 Free Software +# Foundation, Inc, # Mritten by Gary V. Vaughan, 2003 # # This file is part of GNU Libtool. @@ -116,9 +117,18 @@ fi set dummy `$SED -n ' /AC_INIT/{ s/[][,()]/ /g + s/ GNU / / p }' configure.ac` shift +PACKAGE=`echo $2 | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` +PACKAGE_NAME=$2 +PACKAGE_URL= +if grep 'AC_INIT.*GNU' configure.ac /dev/null; then + PACKAGE_NAME=GNU $PACKAGE_NAME + PACKAGE_URL=http://www.gnu.org/software/$PACKAGE/; +fi +VERSION=$3 # Whip up a dirty Makefile: makes='Makefile.am libltdl/Makefile.inc
[SCM] GNU Libtool branch, master, updated. v2.2.10-16-gd640a3f
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 d640a3f4fca82e18b16eed3d6cc2f91e5cc8d74e (commit) from 0263ff229bbf6f02a61d4ccad3bd4ab3a5601e1d (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 d640a3f4fca82e18b16eed3d6cc2f91e5cc8d74e Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Jun 13 11:46:16 2010 +0200 Enable colored Autotest testsuite output if available. * tests/testsuite.at: Move AT_INIT call down to late in the file, all prior code can go beforehand. Call AT_COLOR_TESTS if defined. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |7 +++ tests/testsuite.at |9 ++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2ffbcee..8629a74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-06-14 Ralf Wildenhues ralf.wildenh...@gmx.de + + Enable colored Autotest testsuite output if available. + * tests/testsuite.at: Move AT_INIT call down to late in the + file, all prior code can go beforehand. + Call AT_COLOR_TESTS if defined. + 2010-06-14 Peter O'Gorman pe...@pogma.com Pass resident test with --disable-shared too. diff --git a/tests/testsuite.at b/tests/testsuite.at index 423e544..3935962 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -1,6 +1,6 @@ # Process with autom4te to create an -*- Autotest -*- test suite. # -# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Free Software +# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software # Foundation, Inc. # Written by Gary V. Vaughan, 2004 # @@ -23,8 +23,6 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -AT_INIT - m4_divert_push([PREPARE_TESTS])dnl : ${tst_dist=dist} : ${ACLOCAL=aclocal} @@ -441,6 +439,11 @@ m4_pattern_allow([^dnl$]) # We exercise these tools. dnl AT_TESTED([grep autoreconf autom4te automake]) +# Enable colored output if available. +m4_ifdef([AT_COLOR_TESTS], [AT_COLOR_TESTS]) + +AT_INIT + ## --- ## ## The suite. ## ## --- ## hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-11-g6558f03
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 6558f036e358528fa5d849d4ce56ebd057474d72 (commit) from 2a4278537315a9b073f2669e56753b41d5ab493d (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 6558f036e358528fa5d849d4ce56ebd057474d72 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Jun 13 12:28:58 2010 +0200 Print Libtool project URL in program --help output. * configure.ac (AC_INIT): Set PACKAGE argument to `GNU Libtool', so Autoconf knows this is GNU software. For Autoconf 2.64, if AC_PACKAGE_URL is not defined, substitute PACKAGE_URL. * Makefile.am (edit): Substitute PACKAGE_URL. ($(srcdir)/tests/package.m4): Also depend on Makefile.am. Define AT_PACKAGE_URL, for `tests/testsuite --help' output. * libltdl/config/getopt.m4sh (func_help): Also extract comment lines that mention a home page and general GNU help. * libltdl/config/ltmain.m4sh: Use @PACKAGE_BUGREPORT@ instead of hard-coded list address. Also mention Libtool home page and general GNU help web page. * libtoolize.m4sh: Likewise. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 16 Makefile.am|4 +++- configure.ac |7 +-- libltdl/config/getopt.m4sh |7 ++- libltdl/config/ltmain.m4sh |4 +++- libtoolize.m4sh|4 +++- 6 files changed, 36 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index ba5aa6b..5ce2ca2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2010-06-13 Ralf Wildenhues ralf.wildenh...@gmx.de + + Print Libtool project URL in program --help output. + * configure.ac (AC_INIT): Set PACKAGE argument to `GNU Libtool', + so Autoconf knows this is GNU software. For Autoconf 2.64, + if AC_PACKAGE_URL is not defined, substitute PACKAGE_URL. + * Makefile.am (edit): Substitute PACKAGE_URL. + ($(srcdir)/tests/package.m4): Also depend on Makefile.am. + Define AT_PACKAGE_URL, for `tests/testsuite --help' output. + * libltdl/config/getopt.m4sh (func_help): Also extract comment + lines that mention a home page and general GNU help. + * libltdl/config/ltmain.m4sh: Use @PACKAGE_BUGREPORT@ instead of + hard-coded list address. Also mention Libtool home page and + general GNU help web page. + * libtoolize.m4sh: Likewise. + 2010-06-12 Peter Rosin p...@lysator.liu.se Ralf Wildenhues ralf.wildenh...@gmx.de diff --git a/Makefile.am b/Makefile.am index c3f74e0..8e00b3e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -126,6 +126,7 @@ edit = sed \ -e 's,@MACRO_VERSION\@,$(VERSION),g' \ -e 's,@PACKAGE\@,$(PACKAGE),g' \ -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ + -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \ -e 's,@PACKAGE_NAME\@,$(PACKAGE),g' \ -e 's,@PACKAGE_STRING\@,$(PACKAGE) $(VERSION),g' \ -e 's,@PACKAGE_TARNAME\@,$(PACKAGE),g' \ @@ -543,7 +544,7 @@ $(srcdir)/$(TESTSUITE): $(srcdir)/tests/package.m4 $(TESTSUITE_AT) Makefile.am $(AUTOTEST) `echo $(TESTSUITE_AT) | sed 's,tests/,,g'` -o testsuite.tmp \ mv -f testsuite.tmp testsuite -$(srcdir)/tests/package.m4: $(srcdir)/configure.ac +$(srcdir)/tests/package.m4: $(srcdir)/configure.ac Makefile.am { \ echo '# Signature of the current package.'; \ echo 'm4_define([AT_PACKAGE_NAME], [...@package_name@])'; \ @@ -551,6 +552,7 @@ $(srcdir)/tests/package.m4: $(srcdir)/configure.ac echo 'm4_define([AT_PACKAGE_VERSION], [...@package_version@])'; \ echo 'm4_define([AT_PACKAGE_STRING],[...@package_string@])'; \ echo 'm4_define([AT_PACKAGE_BUGREPORT], [...@package_bugreport@])'; \ + echo 'm4_define([AT_PACKAGE_URL], [...@package_url@])'; \ } | $(edit) $(srcdir)/tests/package.m4 tests/atconfig: $(top_builddir)/config.status diff --git a/configure.ac b/configure.ac index f47eb44..35c79f1 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,7 @@ # Process this file with autoconf to create configure. -*- autoconf -*- -# Copyright (C) 2001, 2004, 2005, 2008 Free Software Foundation, Inc. +# Copyright (C) 2001, 2004, 2005, 2008, 2010 Free Software Foundation, +# Inc. # Written by Gary V. Vaughan, 2001 # # This file is part of GNU Libtool. @@ -30,7 +31,9 @@ dnl Oldest automake required for bootstrap is below in AM_INIT_AUTOMAKE
[SCM] GNU Libtool branch, master, updated. v2.2.10-10-g2a42785
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 2a4278537315a9b073f2669e56753b41d5ab493d (commit) from d4558ac9bee7bde487ea982c28771d43a610d4fc (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 2a4278537315a9b073f2669e56753b41d5ab493d Author: Peter Rosin p...@lysator.liu.se Date: Thu Jun 10 19:53:39 2010 +0200 Improve libdir usage from within ltdl on MinGW. * libltdl/ltdl.c (parse_dotla_file) [__WINDOWS__]: Read the libdir entry in the .la file, but accept it only if it is not a unix-style absolute name. * tests/ltdl-libdir.at: New test that checks if ltdl finds an installed module via the libdir variable in the .la file. On MinGW, use a Windows-style libdir name including drive spec. * Makefile.am: Add above. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog| 12 + Makefile.am |1 + libltdl/ltdl.c |7 ++- tests/ltdl-libdir.at | 119 ++ 4 files changed, 137 insertions(+), 2 deletions(-) create mode 100644 tests/ltdl-libdir.at diff --git a/ChangeLog b/ChangeLog index 823c6d3..ba5aa6b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2010-06-12 Peter Rosin p...@lysator.liu.se + Ralf Wildenhues ralf.wildenh...@gmx.de + + Improve libdir usage from within ltdl on MinGW. + * libltdl/ltdl.c (parse_dotla_file) [__WINDOWS__]: Read the + libdir entry in the .la file, but accept it only if it is not + a unix-style absolute name. + * tests/ltdl-libdir.at: New test that checks if ltdl finds an + installed module via the libdir variable in the .la file. On + MinGW, use a Windows-style libdir name including drive spec. + * Makefile.am: Add above. + 2010-06-11 Peter O'Gorman pe...@pogma.com Skip bindir install test if we're not building shared. diff --git a/Makefile.am b/Makefile.am index 7c7f571..c3f74e0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -486,6 +486,7 @@ TESTSUITE_AT= tests/testsuite.at \ tests/lt_dlopen.at \ tests/lt_dlopen_a.at \ tests/lt_dlopenext.at \ + tests/ltdl-libdir.at \ tests/ltdl-api.at \ tests/dlloader-api.at \ tests/loadlibrary.at \ diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index e1b4e2f..1213f0d 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -1079,14 +1079,17 @@ parse_dotla_file(FILE *file, char **dlname, char **libdir, char **deplibs, /* Windows native tools do not understand the POSIX paths we store in libdir. */ -#ifndef __WINDOWS__ #undef STR_LIBDIR #define STR_LIBDIR libdir= else if (strncmp (line, STR_LIBDIR, sizeof (STR_LIBDIR) - 1) == 0) { errors += trim (libdir, line[sizeof(STR_LIBDIR) - 1]); - } +#ifdef __WINDOWS__ + /* Disallow following unix-style paths on MinGW. */ + if (*libdir (**libdir == '/' || **libdir == '\\')) + **libdir = '\0'; #endif + } #undef STR_DL_DEPLIBS #define STR_DL_DEPLIBS dependency_libs= diff --git a/tests/ltdl-libdir.at b/tests/ltdl-libdir.at new file mode 100644 index 000..432d18e --- /dev/null +++ b/tests/ltdl-libdir.at @@ -0,0 +1,119 @@ +# ltdl-libdir.at -- test libltdl functionality -*- Autotest -*- +# +# Copyright (C) 2010 Free Software Foundation, Inc. +# This file is part of GNU Libtool. +# +# GNU Libtool is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# GNU Libtool is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, +# or obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +AT_SETUP([libdir of installed modules]) +AT_KEYWORDS([libltdl]) + +# This test requires shared library support. +AT_CHECK([$LIBTOOL --features | grep 'enable shared libraries' || exit 77
[SCM] GNU Libtool branch, master, updated. v2.2.10-3-g8f241f6
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 8f241f6eaa8acbbe3f4b766a40a1bef7b45f56c2 (commit) from 15017972c5e7001f3acfee96f74507474f95cdb5 (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 8f241f6eaa8acbbe3f4b766a40a1bef7b45f56c2 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Tue Jun 8 22:41:41 2010 +0200 Factorize testing gcj installation in the testsuite. * tests/testsuite.at (LT_AT_TAG): For the GCJ tag, actually try to compile a .java file when deciding whether to skip. (LT_AT_EXEC_TAG): New macro, to also ensure runnability. * tests/convenience.at (Java convenience archives): Use LT_AT_EXEC_TAG, simplify accordingly. * tests/flags.at (passing lt_tag flags through libtool): Use m4_defn for tag so LT_AT_TAG works. * tests/infer-tag.at (GCJ inferred tag): Simplify. * THANKS: Update. Report by Warren Dodge. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog| 14 ++ THANKS |1 + tests/convenience.at | 14 +++--- tests/flags.at |4 ++-- tests/infer-tag.at |6 +- tests/testsuite.at | 31 +-- 6 files changed, 50 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog index 78b5d7d..24de21d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2010-06-09 Ralf Wildenhues ralf.wildenh...@gmx.de + + Factorize testing gcj installation in the testsuite. + * tests/testsuite.at (LT_AT_TAG): For the GCJ tag, actually + try to compile a .java file when deciding whether to skip. + (LT_AT_EXEC_TAG): New macro, to also ensure runnability. + * tests/convenience.at (Java convenience archives): Use + LT_AT_EXEC_TAG, simplify accordingly. + * tests/flags.at (passing lt_tag flags through libtool): Use + m4_defn for tag so LT_AT_TAG works. + * tests/infer-tag.at (GCJ inferred tag): Simplify. + * THANKS: Update. + Report by Warren Dodge. + 2010-06-09 Peter O'Gorman pe...@pogma.com Skip demo-nopic tests if SELinux policy will cause failure. diff --git a/THANKS b/THANKS index 14ab56b..dc61c43 100644 --- a/THANKS +++ b/THANKS @@ -173,6 +173,7 @@ Tom Tromey tro...@cygnus.com Tor Lillqvistt...@iki.fi Ulrich Drepper drep...@ipd.info.uni-karlsruhe.de + Warren Dodge warren.l.do...@tektronix.com Vadim Zeitlinvz-libt...@zeitlins.org Vincent Lefevre vinc...@vinc17.org Vincent Torrivto...@univ-evry.fr diff --git a/tests/convenience.at b/tests/convenience.at index 339c59a..f076e61 100644 --- a/tests/convenience.at +++ b/tests/convenience.at @@ -1,6 +1,7 @@ # convenience.at -- testing C convenience archives-*- Autotest -*- -# Copyright (C) 2005, 2007, 2008, 2009 Free Software Foundation, Inc. +# Copyright (C) 2005, 2007, 2008, 2009, 2010 Free Software Foundation, +# Inc. # Written by Ralf Wildenhues, 2005 # # This file is part of GNU Libtool. @@ -227,7 +228,7 @@ AT_CLEANUP AT_SETUP([Java convenience archives]) -LT_AT_TAG([GCJ]) +LT_AT_EXEC_TAG([GCJ]) AT_KEYWORDS([libtool]) cat foo1.java EOF @@ -259,15 +260,6 @@ public class A$i { }; EOF - # There are just too many broken gcj installations out there, either missing - # libgcj.spec or unable to find it. Skip this test for them. - if test $i -eq 1; then -AT_CHECK([$GCJ $GCJFLAGS -c foo1.java || exit 77], [], [ignore], [ignore]) -AT_CHECK([$GCJ $GCJFLAGS --main=foo1 -o foo1$EXEEXT foo1.java A1.java || exit 77],[],[ignore],[ignore]) -AT_CHECK([./foo1$EXEEXT || exit 77],[],[ignore],[ignore]) -rm -f foo1.o foo1.obj foo1$EXEEXT - fi - $LIBTOOL --tag=GCJ --mode=compile $GCJ $GCJFLAGS -c foo$i.java $LIBTOOL --tag=GCJ --mode=compile $GCJ $GCJFLAGS -c A$i.java $LIBTOOL --tag=GCJ --mode=link $GCJ $GCJFLAGS $LDFLAGS -o liba$i.la A$i.lo diff --git a/tests/flags.at b/tests/flags.at index eceda74..7f600be 100644 --- a/tests/flags.at +++ b/tests/flags.at @@ -1,6 +1,6 @@ # flags.at -- libtool passing of flags -*- Autotest -*- # -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009, 2010 Free Software Foundation, Inc. # # This file is part of GNU Libtool. # @@ -24,7 +24,7 @@ m4_foreach([lt_tag], [CC, CXX, F77, FC, GCJ], [AT_SETUP([passing lt_tag flags through libtool]) AT_KEYWORDS([libtool]) -LT_AT_TAG
[SCM] GNU Libtool branch, master, updated. v2.2.8-13-ge0c89b9
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 e0c89b9a0768516b8f67a33af15838679821ee3b (commit) from eb399e6a03d7a536079eb90ff55dcc4043c949e4 (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 e0c89b9a0768516b8f67a33af15838679821ee3b Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Tue Jun 8 21:23:08 2010 +0200 Fix testsuite helper macros to not hide failure. * tests/testsuite.at (LT_AT_CONFIGURE, LT_AT_MAKE): Do not wrap AT_CHECK in a subshell, so that failures are properly propagated; instead, move environment changes inside the AT_CHECK code. Report and analysis by Peter Rosin. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |7 +++ tests/testsuite.at | 16 +++- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index f1a58fa..0ce3ca0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-06-08 Ralf Wildenhues ralf.wildenh...@gmx.de + Fix testsuite helper macros to not hide failure. + * tests/testsuite.at (LT_AT_CONFIGURE, LT_AT_MAKE): + Do not wrap AT_CHECK in a subshell, so that failures are + properly propagated; instead, move environment changes inside + the AT_CHECK code. + Report and analysis by Peter Rosin. + Avoid autom4te warning about unnamed diversion. * libltdl/config/getopt.m4sh: Use diversion name KILL not -1. diff --git a/tests/testsuite.at b/tests/testsuite.at index 7f9afe9..71b9dc4 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -151,21 +151,19 @@ AT_KEYWORDS([autoconf automake]) # LT_AT_CONFIGURE([OPTIONS]) # -- m4_define([LT_AT_CONFIGURE], -[( SHELL=${CONFIG_SHELL-/bin/sh} - AT_CHECK([CONFIG_SHELL=$SHELL $SHELL ./configure $configure_options $1], -[0], [ignore], [ignore]) - ) +[AT_CHECK([: ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL; ]dnl + [$CONFIG_SHELL ./configure $configure_options $1], + [0], [ignore], [ignore]) ]) # LT_AT_MAKE([TGTS], [VARS]) # -- m4_define([LT_AT_MAKE], -[( $unset LIBTOOL LIBTOOLIZE - for target in m4_default([$1], [all]) - do -AT_CHECK([$MAKE $target $2], [0], [ignore], [ignore]) - done ) +[for target in m4_default([$1], [all]) +do + AT_CHECK([$unset LIBTOOL LIBTOOLIZE; $MAKE $target $2], [0], [ignore], [ignore]) +done ]) hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-202-g3d0fc48
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 3d0fc4870ee41712e43ca2a21936bbd46c78589a (commit) from 519bf919cc98013db7f801fe9697421154db9b38 (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 3d0fc4870ee41712e43ca2a21936bbd46c78589a Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Apr 4 10:56:27 2010 +0200 Fix incompatible struct declarations. * doc/libtool.texi (Dlpreopening): Remove broken documentation of lt_dlsymbol and lt_dlsymlist. Document typedef lt_dlsymlist and symbol lt_preloaded_symbols according to the implementation. * tests/demo/dlmain.c (lt_symlist): Make struct anonymous ... (lt_dlsymlist): ... and typedef to this name. (lt_preloaded_symbols, main): Adjust. * tests/pdemo/longer_file_name_dlmain.c: Likewise. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 11 +++ doc/libtool.texi | 26 ++ tests/demo/dlmain.c | 11 ++- tests/pdemo/longer_file_name_dlmain.c | 11 ++- 4 files changed, 33 insertions(+), 26 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4e274ea..84c0bc3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2010-04-09 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix incompatible struct declarations. + * doc/libtool.texi (Dlpreopening): Remove broken documentation + of lt_dlsymbol and lt_dlsymlist. Document typedef lt_dlsymlist + and symbol lt_preloaded_symbols according to the implementation. + * tests/demo/dlmain.c (lt_symlist): Make struct anonymous ... + (lt_dlsymlist): ... and typedef to this name. + (lt_preloaded_symbols, main): Adjust. + * tests/pdemo/longer_file_name_dlmain.c: Likewise. + 2010-04-04 Ralf Wildenhues ralf.wildenh...@gmx.de Use linker_flags not compiler_flags with $LD. diff --git a/doc/libtool.texi b/doc/libtool.texi index 323bf4e..f73f5a7 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -3388,25 +3388,15 @@ you must declare the objects you want your application to dlopen by using the @option{-dlopen} or @option{-dlpreopen} flags when you link your program (@pxref{Link mode}). -...@deftypefn {Structure} {struct} lt_dlsymbol @{ @w{const char *...@var{name};} @w{void *...@var{address};} @} +...@deftp {Data Type} {lt_dlsymlist} typedef struct @ + @{ @w{const char *...@var{name};} @w{void *...@var{address};} @} lt_dlsymlist The @var{name} attribute is a null-terminated character string of the symbol name, such as @code{fprintf}. The @var{address} attribute is a generic pointer to the appropriate object, such as @code{fprintf}. -...@end deftypefn - -...@deftypefn {Structure} {struct} lt_dlsymlist @{ @w{const char *...@var{originator};} @w{const lt_dlsymbol @var{symbols}[];} @} -The @var{originator} attribute is a null-terminated character string, -naming the compilation unit that @var{symbols} were preloaded on -behalf of. This is usually the basename of a library, -...@file{libltdl.la} has a corresponding @var{originator} value of -...@samp{libltdl}; if the @var{symbols} are for the benefit of the -application proper, then @var{originator} is @samp{@@PROGRAM@@}, -though Libtool takes care of that detail if you use -...@samp{ltdl_set_preloaded_symbols}. -...@end deftypefn +...@end deftp -...@deftypevar {const lt_dlsymlist *} lt_preloaded_symbols -An array of @var{lt_symbol} structures, representing all the preloaded +...@deftypevar {const lt_dlsymlist } lt_preloaded_symbols[] +An array of @var{lt_dlsymlist} structures, representing all the preloaded symbols linked into the program proper. For each module @option{-dlpreopen}ed by the Libtool linked program there is an element with the @var{name} of the module and an @var{address} @@ -3414,6 +3404,10 @@ of @code{0}, followed by all symbols exported from this file. For the executable itself the special name @samp{@@PROGRAM@@} is used. The last element of all has a @var{name} and @var{address} of @code{0}. + +To facilitate inclusion of symbol lists into libraries, +...@code{lt_preloaded_symbols} is @samp{#define}d to a suitably unique name +in @file{ltdl.h}. @end deftypevar Some compilers may allow identifiers that are not valid in ANSI C, such diff --git a/tests/demo/dlmain.c b/tests/demo/dlmain.c index 0d42d88..c970998 100644 --- a/tests/demo/dlmain.c +++ b/tests/demo/dlmain.c @@ -1,6 +1,7 @@ /* dlmain.c -- hello test program that uses simulated dynamic
[SCM] GNU Libtool branch, master, updated. v2.2.6-201-g519bf91
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 519bf919cc98013db7f801fe9697421154db9b38 (commit) from d7e8e16dd075d1ceb92b36f72d32cbc2c2f16f07 (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 519bf919cc98013db7f801fe9697421154db9b38 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Apr 4 09:32:56 2010 +0200 Use linker_flags not compiler_flags with $LD. * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [linux] archive_cmds, archive_expsym_cmds: With xlf and bgxlf compilers, when linking with $LD, use $linker_flags not $compiler_flags. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |8 libltdl/m4/libtool.m4 |4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0d94edf..4e274ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-04-04 Ralf Wildenhues ralf.wildenh...@gmx.de + + Use linker_flags not compiler_flags with $LD. + * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [linux] + archive_cmds, archive_expsym_cmds: With xlf and bgxlf + compilers, when linking with $LD, use $linker_flags not + $compiler_flags. + 2010-03-31 Ralf Wildenhues ralf.wildenh...@gmx.de Add FAQ, and FAQ entry for flags stripped at library link time. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index d74038f..5e0bba7 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -4502,12 +4502,12 @@ _LT_EOF _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' - _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test x$supports_anon_versioning = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo { global: $output_objdir/$libname.ver~ cat $export_symbols | sed -e s/\(.*\)/\1;/ $output_objdir/$libname.ver~ echo local: *; }; $output_objdir/$libname.ver~ - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-200-gd7e8e16
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 d7e8e16dd075d1ceb92b36f72d32cbc2c2f16f07 (commit) from 03feff471901aeaac97b36964f88ed4d694dff99 (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 d7e8e16dd075d1ceb92b36f72d32cbc2c2f16f07 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Mar 28 18:04:10 2010 +0200 Add FAQ, and FAQ entry for flags stripped at library link time. * doc/libtool.texi (FAQ, Stripped link flags): New nodes. (Wrapper executables): Replace bug address with macro. (Compile mode, Link mode): Document `-Wc,' and `-Xcompiler ' semantics better. * libltdl/config/ltmain.m4sh (func_mode_link): Rewrite comment for the flags that are passed through. Prompted by reports from Simon Richter simon.rich...@hogyros.de, Török Edwin edwinto...@gmail.com and à ke Sandgren ake.sandg...@hpc2n.umu.se. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 13 ++ doc/libtool.texi | 55 +-- libltdl/config/ltmain.m4sh | 22 3 files changed, 76 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9fa30c8..0d94edf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2010-03-31 Ralf Wildenhues ralf.wildenh...@gmx.de + + Add FAQ, and FAQ entry for flags stripped at library link time. + * doc/libtool.texi (FAQ, Stripped link flags): New nodes. + (Wrapper executables): Replace bug address with macro. + (Compile mode, Link mode): Document `-Wc,' and `-Xcompiler ' + semantics better. + * libltdl/config/ltmain.m4sh (func_mode_link): Rewrite comment + for the flags that are passed through. + Prompted by reports from Simon Richter simon.rich...@hogyros.de, + Török Edwin edwinto...@gmail.com and + à ke Sandgren ake.sandg...@hpc2n.umu.se. + 2010-03-28 Ralf Wildenhues ralf.wildenh...@gmx.de Fix preloader symbol list declaration in libltdl. diff --git a/doc/libtool.texi b/doc/libtool.texi index 47a22fa..323bf4e 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -95,6 +95,7 @@ GNU Libtool. * Dlopened modules::@code{dlopen}ing libtool-created libraries. * Using libltdl:: Libtool's portable @code{dlopen} wrapper library. * Trace interface:: Libtool's trace interface. +* FAQ:: Frequently Asked Questions * Troubleshooting:: When libtool doesn't work as advertised. * Maintaining:: Information used by the libtool maintainer. * GNU Free Documentation License:: License for this manual. @@ -186,6 +187,10 @@ Using libltdl * Module loaders for libltdl:: Creating user defined module loaders. * Distributing libltdl::How to distribute libltdl with your package. +Frequently Asked Questions + +* Stripped link flags:: Dropped flags when creating a library + Troubleshooting * Libtool test suite:: Libtool's self-tests. @@ -886,7 +891,7 @@ employ command line options that begin with @code{--lt-}. (In fact, the wrapper executable will detect any command line options that begin with @code{--lt-} and abort with an error message if the option is not recognized). If this presents a problem, please contact the Libtool -team at @email{bug-libtool@@gnu.org}. +team at @value{BUGADDR}. These command line options include: @@ -1405,7 +1410,9 @@ linking. @item -Wc,@var{flag} @itemx -Xcompiler @var{flag} -Pass a flag directly to the compiler. +Pass a flag directly to the compiler. With @code{-Wc,}, multiple flags +may be separated by commas, whereas @code{-Xcompiler } passes through +commas unchanged. @end table @node Link mode @@ -1593,7 +1600,9 @@ supplies the same interface (@pxref{Linking with dlopened modules}). @item -Wc,@var{flag} @itemx -Xcompiler @var{flag} -Pass a linker-specific flag directly to the compiler. +Pass a linker-specific flag directly to the compiler. With @code{-Wc,}, +multiple flags may be separated by commas, whereas @code{-Xcompiler } +passes through commas unchanged. @item -Wl,@var{flag} @itemx -Xlinker @var{flag} @@ -4937,6 +4946,46 @@ autoconf --trace 'LT_SUPPORTED_TAG:$1' @end defmac +...@node FAQ +...@chapter Frequently Asked Questions about libtool + +This chapter covers some questions that often come up on the mailing +lists. + +...@menu +* Stripped link flags:: Dropped flags when creating a library +...@end menu
[SCM] GNU Libtool branch, master, updated. v2.2.6-199-g03feff4
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 03feff471901aeaac97b36964f88ed4d694dff99 (commit) via 0238e60a63250411db0151e4ab5e82e26daa (commit) via 55b7842849ac27bc01f366459acebdfa2c160b15 (commit) via c334a37bc67c2b4e21372748542f54ed01464196 (commit) via 57c342937d770ae04df8eba88aa098cf2a96a0ec (commit) from 74c8993c178a1386ea5e2363a01d919738402f30 (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 03feff471901aeaac97b36964f88ed4d694dff99 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Mar 28 19:14:05 2010 +0200 Fix preloader symbol list declaration in libltdl. * libltdl/ltdl.c (preloaded_symbols): Fix declaration to include array brackets. (lt_dlinit): Do not take address of preloaded_symbols. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 0238e60a63250411db0151e4ab5e82e26daa Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Mar 28 18:11:44 2010 +0200 Fix typo in libtool --help output. * libltdl/config/ltmain.m4sh (func_mode_help): Fix typo in help output. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 55b7842849ac27bc01f366459acebdfa2c160b15 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Mar 28 18:03:09 2010 +0200 Fix a couple of documentation errors. * doc/libtool.texi (Autoconf macros): Improve hyphenation. (Using libltdl): libltdl uses the Lesser General Public License, not the Library General Public License. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit c334a37bc67c2b4e21372748542f54ed01464196 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Mar 28 18:02:22 2010 +0200 Do not use @sc nor @acronym in the manual. * doc/libtool.texi: Remove all usage of @sc. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 57c342937d770ae04df8eba88aa098cf2a96a0ec Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Mar 28 18:00:03 2010 +0200 Fix ChangeLog entry. --- Summary of changes: ChangeLog | 21 ++- doc/libtool.texi | 144 ++-- libltdl/config/ltmain.m4sh |4 +- libltdl/ltdl.c |4 +- 4 files changed, 96 insertions(+), 77 deletions(-) diff --git a/ChangeLog b/ChangeLog index 744157f..9fa30c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2010-03-28 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix preloader symbol list declaration in libltdl. + * libltdl/ltdl.c (preloaded_symbols): Fix declaration to include + array brackets. + (lt_dlinit): Do not take address of preloaded_symbols. + + Fix typo in libtool --help output. + * libltdl/config/ltmain.m4sh (func_mode_help): Fix typo in help + output. + + Fix a couple of documentation errors. + * doc/libtool.texi (Autoconf macros): Improve hyphenation. + (Using libltdl): libltdl uses the Lesser General Public License, + not the Library General Public License. + + Do not use @sc nor @acronym in the manual. + * doc/libtool.texi: Remove all usage of @sc. + 2010-03-19 Chris Demetriou c...@google.com Sort output of 'find' to enable deterministic builds. @@ -57,7 +76,7 @@ Report by Vadim Zeitlin. 2010-02-28 Pierre Ossman oss...@ossman.lkpg.cendio.se (tiny change) -Ralf Wildenhues ralf.wildenh...@gmx.de + Ralf Wildenhues ralf.wildenh...@gmx.de Fix deplibs check fallback for 64-bit Windows and Windows CE. * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Accept file formats diff --git a/doc/libtool.texi b/doc/libtool.texi index 5f0d35c..47a22fa 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -56,11 +56,11 @@ identical to this one except for the removal of this paragraph Copyright @copyright{} 2009 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document -under the terms of the @sc{gnu} Free Documentation License, Version 1.3 +under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in -the section entitled @sc{gnu} Free Documentation License. +the section entitled GNU Free Documentation License. @end titlepage @@ -75,12 +75,12 @@ the section entitled @sc{gnu} Free Documentation
[SCM] GNU Libtool branch, master, updated. v2.2.6-189-g7efdc24
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 7efdc2482e01bade122656c13b53423ec49f59db (commit) from 5627b263cc369f26ae90384e673653f64e0108ff (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 7efdc2482e01bade122656c13b53423ec49f59db Author: Pierre Ossman oss...@ossman.lkpg.cendio.se Date: Mon Feb 22 22:44:04 2010 +0100 Fix deplibs check fallback for 64-bit Windows and Windows CE. * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Accept file formats 'pe-arm-wince' and 'pe-x86-64'. Add note about consistency with ... * libltdl/config/ltmain.m4sh (func_win32_libid): ... the respective pattern here; sync pattern from the former. * tests/deplibs-mingw.at (deplibs without file command): New file, new test. * Makefile.am (TESTSUITE_AT): Update. * NEWS: Update. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 13 ++ Makefile.am|3 +- NEWS |1 + libltdl/config/ltmain.m4sh |3 +- libltdl/m4/libtool.m4 |3 +- tests/deplibs-mingw.at | 93 6 files changed, 113 insertions(+), 3 deletions(-) create mode 100644 tests/deplibs-mingw.at diff --git a/ChangeLog b/ChangeLog index 8445fbe..19873a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2010-02-28 Pierre Ossman oss...@ossman.lkpg.cendio.se (tiny change) +Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix deplibs check fallback for 64-bit Windows and Windows CE. + * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Accept file formats + 'pe-arm-wince' and 'pe-x86-64'. Add note about consistency with ... + * libltdl/config/ltmain.m4sh (func_win32_libid): ... the respective + pattern here; sync pattern from the former. + * tests/deplibs-mingw.at (deplibs without file command): New + file, new test. + * Makefile.am (TESTSUITE_AT): Update. + * NEWS: Update. + 2010-02-24 Scott McCreary scott...@gmail.com (tiny change) Update search path on Haiku for legacy system directory. diff --git a/Makefile.am b/Makefile.am index 29a639a..a7de46d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -504,7 +504,8 @@ TESTSUITE_AT= tests/testsuite.at \ tests/configure-iface.at \ tests/stresstest.at \ tests/cmdline_wrap.at \ - tests/darwin.at + tests/darwin.at \ + tests/deplibs-mingw.at EXTRA_DIST += $(srcdir)/$(TESTSUITE) $(TESTSUITE_AT) $(srcdir)/tests/package.m4 diff --git a/NEWS b/NEWS index 61638fd..00ab5c1 100644 --- a/NEWS +++ b/NEWS @@ -64,6 +64,7 @@ New in 2.2.8 2010-??-??: git version 2.2.7a, Libtool team: when using the compiler driver to link programs. Now -Wc, is stripped just as it is when linking libraries through the compiler driver. - Symbol versioning works with the GNU gold linker now. + - Fixes for detection of shared library dependencies on MinGW systems. * Miscellaneous changes: diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 56b7497..8fcedc9 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -2189,8 +2189,9 @@ func_win32_libid () win32_libid_type=x86 archive import ;; *ar\ archive*) # could be an import, or static +# Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. if eval $OBJDUMP -f $1 | $SED -e '10q' 2/dev/null | - $EGREP 'file format (pe-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' /dev/null; then + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' /dev/null; then win32_nmres=`eval $NM -f posix -A $1 | $SED -n -e ' 1,100{ diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index b538fa6..f99e618 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -3009,7 +3009,8 @@ mingw* | pw32*) lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else -lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' +# Keep this pattern in sync with the one in func_win32_libid. +lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; diff --git a/tests/deplibs-mingw.at b/tests/deplibs-mingw.at new file
[SCM] GNU Libtool branch, master, updated. v2.2.6-188-g5627b26
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 5627b263cc369f26ae90384e673653f64e0108ff (commit) from 3cca61ae59c4eadb5d6bd423ec5cba435a337c8f (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 5627b263cc369f26ae90384e673653f64e0108ff Author: Scott McCreary scott...@gmail.com Date: Wed Feb 24 22:10:52 2010 +0100 Update search path on Haiku for legacy system directory. * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [haiku] sys_lib_dlsearch_path_spec: Replace legacy /boot/beos/system/lib directory with /boot/system/lib. * THANKS: Update. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |8 THANKS|1 + libltdl/m4/libtool.m4 |2 +- 3 files changed, 10 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index b8aae4a..8445fbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-02-24 Scott McCreary scott...@gmail.com (tiny change) + + Update search path on Haiku for legacy system directory. + * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [haiku] + sys_lib_dlsearch_path_spec: Replace legacy + /boot/beos/system/lib directory with /boot/system/lib. + * THANKS: Update. + 2010-02-22 Ralf Wildenhues ralf.wildenh...@gmx.de manual: fix detailmenu ordering. diff --git a/THANKS b/THANKS index 110b514..7ff58a8 100644 --- a/THANKS +++ b/THANKS @@ -158,6 +158,7 @@ Roumen Petrovbugtr...@roumenpetrov.info Rudolf Leitgeb r.leit...@x-pin.com Sam Thursfield sss...@gmail.com + Scott McCreary scott...@gmail.com Sebastian Wilhelmi wilhe...@ira.uka.de Simon Josefsson j...@extundo.com Stephan Kulowco...@kde.org diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 29f1222..b538fa6 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -2335,7 +2335,7 @@ haiku*) soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=yes - sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib' + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-182-g7e8be90
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 7e8be90f4872b8140a718a0af0a1544d1f9371d9 (commit) via 2080fe964906bdb18771b6a461622212063c1a51 (commit) from e4eefcd401b32081fe947b2a731dadcc6bfcd337 (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 7e8be90f4872b8140a718a0af0a1544d1f9371d9 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Jan 31 13:39:48 2010 +0100 Use --email with gendocs.sh. * Makefile.maint (web-manual): Pass bug reporting address to gendocs.sh. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 2080fe964906bdb18771b6a461622212063c1a51 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Jan 31 15:31:52 2010 +0100 Make testsuite code C++ clean again. * tests/resident.at (resident modules): Fix for C++. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |9 + Makefile.maint|2 +- tests/resident.at |6 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b25d9d9..f4b4a3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2010-01-31 Ralf Wildenhues ralf.wildenh...@gmx.de + + Use --email with gendocs.sh. + * Makefile.maint (web-manual): Pass bug reporting address to + gendocs.sh. + + Make testsuite code C++ clean again. + * tests/resident.at (resident modules): Fix for C++. + 2010-01-29 Peter Rosin p...@lysator.liu.se Ralf Wildenhues ralf.wildenh...@gmx.de diff --git a/Makefile.maint b/Makefile.maint index 02284df..b90b31d 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -225,4 +225,4 @@ web-manual: $(WGETSGO)'/texinfo/texinfo/util/gendocs.sh' \ $(WGETSGO)'/texinfo/texinfo/util/gendocs_template' \ chmod 755 gendocs.sh \ - ./gendocs.sh libtool GNU Libtool Manual + ./gendocs.sh --email bug-libt...@gnu.org libtool GNU Libtool Manual diff --git a/tests/resident.at b/tests/resident.at index 8667ca7..c16a72a 100644 --- a/tests/resident.at +++ b/tests/resident.at @@ -59,7 +59,7 @@ main (int argc, char* argv[]) { int (*pf) (void); printf (plugin opened successfully!\n); - pf = lt_dlsym (plugin_handle, setup_plugin); + pf = (int (*) (void)) lt_dlsym (plugin_handle, setup_plugin); if (pf) pf (); else @@ -100,6 +100,7 @@ main (int argc, char* argv[]) AT_DATA([plugin.c], [[#include stdlib.h +#include stdio.h void bye (void) @@ -107,6 +108,9 @@ bye (void) puts (called from atexit handler); } +#ifdef __cplusplus +extern C +#endif int setup_plugin (void) { hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-176-ga75f8ac
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 a75f8acf28774a6f9e9b9b7c015b51c378be1221 (commit) from 574b79474a2a8f5b83ff40c3cd3adacbaeea32fe (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 a75f8acf28774a6f9e9b9b7c015b51c378be1221 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Mon Jan 11 21:56:23 2010 +0100 Ensure functions from resident modules work in atexit handlers. * tests/resident.at (resident modules): New file, new test. * Makefile.am (TESTSUITE_AT): Adjust. Report by Bob Friesenhahn. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |5 ++ Makefile.am |1 + tests/resident.at | 136 + 3 files changed, 142 insertions(+), 0 deletions(-) create mode 100644 tests/resident.at diff --git a/ChangeLog b/ChangeLog index 415a02f..b244706 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-01-11 Ralf Wildenhues ralf.wildenh...@gmx.de + Ensure functions from resident modules work in atexit handlers. + * tests/resident.at (resident modules): New file, new test. + * Makefile.am (TESTSUITE_AT): Adjust. + Report by Bob Friesenhahn. + Testsuite exposure for relative output file names and deplibs. * tests/deplib-in-subdir.at (deplib in subdir): New file, new test. diff --git a/Makefile.am b/Makefile.am index 0190841..8d6682b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -486,6 +486,7 @@ TESTSUITE_AT= tests/testsuite.at \ tests/lt_dlopenext.at \ tests/ltdl-api.at \ tests/lalib-syntax.at \ + tests/resident.at \ tests/slist.at \ tests/need_lib_prefix.at \ tests/standalone.at \ diff --git a/tests/resident.at b/tests/resident.at new file mode 100644 index 000..8667ca7 --- /dev/null +++ b/tests/resident.at @@ -0,0 +1,136 @@ +# resident.at -- test resident modules -*- Autotest -*- + +# Copyright (C) 2010 Free Software Foundation, Inc. +# +# This file is part of GNU Libtool. +# +# GNU Libtool is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# GNU Libtool is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, +# or obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +# Ensure resident modules are not unloaded at program exit: +# they need to be able to invoke atexit handlers. + +AT_SETUP([resident modules]) +AT_KEYWORDS([libltdl]) + +AT_DATA([main.c], +[[#include ltdl.h +#include stdio.h + +int +main (int argc, char* argv[]) +{ + int err = 0; + lt_dlhandle plugin_handle; + lt_dladvise advise; + + if (argc 2) +{ + fprintf (stderr, usage: %s plugin\n, argv[0]); + return 1; +} + + lt_dlinit (); + if (lt_dladvise_init (advise) != 0 + || lt_dladvise_ext (advise) != 0 + || lt_dladvise_resident (advise) != 0) +{ + printf (advise failure: %s\n, lt_dlerror ()); + err = 1; +} + else +{ + plugin_handle = lt_dlopenadvise (argv[1], advise); + if (NULL != plugin_handle) + { + int (*pf) (void); + printf (plugin opened successfully!\n); + pf = lt_dlsym (plugin_handle, setup_plugin); + if (pf) + pf (); + else + { + printf (dlsym failure: %s\n, lt_dlerror ()); + err = 1; + } + if (!lt_dlisresident (plugin_handle)) + { + printf (module wrongly not marked resident\n); + err = 1; + } + if (lt_dlclose (plugin_handle) != 0) + { + printf (close failure (expected): %s\n, lt_dlerror ()); + } + else + { + printf (wrongly closed resident module\n); + err = 1; + } + } + else
[SCM] GNU Libtool branch, master, updated. v2.2.6-164-gb15f6f9
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 b15f6f9ded3e9e1edb7b74e5bd823cd511673e48 (commit) via ef32f487d746dbcdc00c2c357ebe3cf2a68d8a28 (commit) from 4137bb8a1529bd0a8b91240faa0b08b111c351ce (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 b15f6f9ded3e9e1edb7b74e5bd823cd511673e48 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Nov 29 23:03:14 2009 +0100 Fix bindir and dlopen tests for C++ compilers (CC=g++). * tests/bindir.at (bindir basic lib test, bindir install tests): Include stdlib.h rather than declaring abort. * tests/lt_dlopenext.at (lt_dlopenext error messages): Use `extern C' annotation for dlsym'ed function in C++ mode. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit ef32f487d746dbcdc00c2c357ebe3cf2a68d8a28 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Tue Nov 24 12:22:13 2009 +0100 Enable symbol versioning with the GNU gold linker. * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Accept 'GNU gold' in the version string. * NEWS, THANKS: Update. Report by Peter Fritzsche. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 14 ++ NEWS |1 + THANKS|1 + libltdl/m4/libtool.m4 |1 + tests/bindir.at |4 ++-- tests/lt_dlopenext.at |3 +++ 6 files changed, 22 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3c98484..3ba536c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-11-29 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix bindir and dlopen tests for C++ compilers (CC=g++). + * tests/bindir.at (bindir basic lib test, bindir install tests): + Include stdlib.h rather than declaring abort. + * tests/lt_dlopenext.at (lt_dlopenext error messages): Use + `extern C' annotation for dlsym'ed function in C++ mode. + 2009-11-25 Peter Rosin p...@lysator.liu.se Fix cross build issue in execute mode test. @@ -5,6 +13,12 @@ 2009-11-24 Ralf Wildenhues ralf.wildenh...@gmx.de + Enable symbol versioning with the GNU gold linker. + * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Accept 'GNU gold' + in the version string. + * NEWS, THANKS: Update. + Report by Peter Fritzsche. + Tighten regex for Portland C++ compiler for version 10. * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [linux]: Match a dot after version 1 through 5, so 10 and up don't match, diff --git a/NEWS b/NEWS index 80f0413..7087cdd 100644 --- a/NEWS +++ b/NEWS @@ -52,6 +52,7 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team: - Fix ancient bug where -Wc, was turned into $wl (typically -Wl,) when using the compiler driver to link programs. Now -Wc, is stripped just as it is when linking libraries through the compiler driver. + - Symbol versioning works with the GNU gold linker now. * Miscellaneous changes: diff --git a/THANKS b/THANKS index 004dbd8..c8acd67 100644 --- a/THANKS +++ b/THANKS @@ -140,6 +140,7 @@ Paul Biggar paul.big...@gmail.com Paul Eggert egg...@twinsun.com Peter Eisentraut pete...@gmx.net + Peter Fritzsche peter.fritzs...@gmx.de Peter Jeremy peterjer...@optushome.com.au Peter Kjellerstedt peter.kjellerst...@axis.com Rainer Emrichr.emr...@de.tecosim.com diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 65dd027..9abd147 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -4339,6 +4339,7 @@ dnl Note also adjust exclude_expsyms for C++ above. fi supports_anon_versioning=no case `$LD -v 21` in + *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... diff --git a/tests/bindir.at b/tests/bindir.at index 859b1c4..e49853d 100644 --- a/tests/bindir.at +++ b/tests/bindir.at @@ -128,9 +128,9 @@ int bar (void) { return y + baz ();} ]]) AT_DATA([main.c],[[ +#include stdlib.h extern int baz (void); extern int bar (void); -extern void abort (void); int main() { if (baz () + bar () - 25) abort (); return 0; @@ -237,9 +237,9 @@ int bar (void) { return y + baz ();} ]]) AT_DATA([main.c],[[ +#include stdlib.h extern int baz (void
[SCM] GNU Libtool branch, master, updated. v2.2.6-151-g16988b3
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 16988b353264adf6ef21f123e7d9e0dd125f60e9 (commit) from 741a9867eb71eb258ca1ed5b85bc7f03ce864195 (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 16988b353264adf6ef21f123e7d9e0dd125f60e9 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Nov 1 09:26:51 2009 +0100 Fix quoting of AS, DLLTOOL, and OBJDUMP for the libtool script. * libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Quote values of $AS, $DLLTOOL, and $OBJDUMP, so they can contain arguments. * THANKS: Update. Report by Matthijs Kooijman. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |8 THANKS |1 + libltdl/m4/ltoptions.m4 |9 + 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 12ca085..d91de61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-11-01 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix quoting of AS, DLLTOOL, and OBJDUMP for the libtool script. + * libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Quote values of + $AS, $DLLTOOL, and $OBJDUMP, so they can contain arguments. + * THANKS: Update. + Report by Matthijs Kooijman. + 2009-09-18 Ralf Wildenhues ralf.wildenh...@gmx.de Initial support for the Cuda Compiler Driver on Linux. diff --git a/THANKS b/THANKS index 7731a82..d18609a 100644 --- a/THANKS +++ b/THANKS @@ -126,6 +126,7 @@ Marc J. Fraioli frai...@dg-rtp.dg.com Marcel Loose lo...@astron.nl Mark Ketteniskette...@phys.uva.nl + Matthijs Kooijmanmatth...@stdin.nl Michael Haubenwallnermichael.haubenwall...@salomon.at Mike Gorchak m...@malva.ua Mike Frysinger vap...@gentoo.org diff --git a/libltdl/m4/ltoptions.m4 b/libltdl/m4/ltoptions.m4 index b8e0e71..5ef12ce 100644 --- a/libltdl/m4/ltoptions.m4 +++ b/libltdl/m4/ltoptions.m4 @@ -1,6 +1,7 @@ # Helper functions for option handling.-*- Autoconf -*- # -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, +# Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives @@ -133,13 +134,13 @@ case $host in esac test -z $AS AS=as -_LT_DECL([], [AS], [0], [Assembler program])dnl +_LT_DECL([], [AS], [1], [Assembler program])dnl test -z $DLLTOOL DLLTOOL=dlltool -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z $OBJDUMP OBJDUMP=objdump -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-152-ga4cc3d2
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 a4cc3d2c9f4190a0425d03f57bb38bfb4a0ea1b7 (commit) from 16988b353264adf6ef21f123e7d9e0dd125f60e9 (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 a4cc3d2c9f4190a0425d03f57bb38bfb4a0ea1b7 Author: Ingo Weinhold ingo_weinh...@gmx.de Date: Sun Nov 1 10:53:23 2009 +0100 Support for the Haiku operating system. * libltdl/config/ltmain.m4sh (func_mode_link): Add cases for `*-*-haiku*' alongside `*-*-beos*'. * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) (_LT_CHECK_MAGIC_METHOD, LT_LIB_M, _LT_COMPILER_PIC) (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Add cases for `haiku*'. * NEWS, THANKS: Update. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 11 +++ NEWS |1 + THANKS |1 + libltdl/config/ltmain.m4sh |4 ++-- libltdl/m4/libtool.m4 | 40 +++- 5 files changed, 54 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d91de61..496911b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2009-11-01 Ingo Weinhold ingo_weinh...@gmx.de (tiny change) + + Support for the Haiku operating system. + * libltdl/config/ltmain.m4sh (func_mode_link): Add cases for + `*-*-haiku*' alongside `*-*-beos*'. + * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) + (_LT_CHECK_MAGIC_METHOD, LT_LIB_M, _LT_COMPILER_PIC) + (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Add cases for + `haiku*'. + * NEWS, THANKS: Update. + 2009-11-01 Ralf Wildenhues ralf.wildenh...@gmx.de Fix quoting of AS, DLLTOOL, and OBJDUMP for the libtool script. diff --git a/NEWS b/NEWS index 7843378..80f0413 100644 --- a/NEWS +++ b/NEWS @@ -26,6 +26,7 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team: - Improved support for Atari FreeMiNT. - With binutils 2.19.50+, shared libraries can be built on AIX. - Initial support for the Cuda Compiler Driver on GNU/Linux. + - Support for Haiku (i586-pc-haiku). * Bug fixes: diff --git a/THANKS b/THANKS index d18609a..03cd592 100644 --- a/THANKS +++ b/THANKS @@ -100,6 +100,7 @@ Henning Nielsen Lund hnl...@amigaos.dk Howard Chu h...@highlandsun.com Ian Lance Taylor i...@cygnus.com + Ingo Weinholdingo_weinh...@gmx.de Jakub Bogusz qbo...@pld-linux.org Jacob Meuser jake...@jakemsr.com James Su james...@gmail.com diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index f1bf43f..91d0800 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -4126,7 +4126,7 @@ func_mode_link () -l*) if test X$arg = X-lc || test X$arg = X-lm; then case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) # These systems don't actually have a C or math library (as such) continue ;; @@ -6083,7 +6083,7 @@ func_mode_link () if test $build_libtool_libs = yes; then if test -n $rpath; then case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 02f5b5d..02b49c9 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -2324,6 +2324,19 @@ gnu*) hardcode_into_libs=yes ;; +haiku*) + version_type=linux + need_lib_prefix=no + need_version=no + dynamic_linker=$host_os runtime_loader + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib' + hardcode_into_libs=yes + ;; + hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. @@ -3029,6 +3042,10 @@ gnu*) lt_cv_deplibs_check_method
[SCM] GNU Libtool branch, master, updated. v2.2.6-149-g6858ed0
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 6858ed03d8cb56d324283f18a18eee21468929ce (commit) from 55e9cc469d1c7af570db876238ce2a26cc9506ac (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 6858ed03d8cb56d324283f18a18eee21468929ce Author: Dave Korn dave.korn.cyg...@googlemail.com Date: Sat Sep 12 08:01:38 2009 +0200 Control where win32 DLLs get installed. * libltdl/config/general.m4sh (func_normal_abspath): New function. (func_relative_path): Likewise. * libltdl/config/ltmain.m4sh (func_mode_help): Document -bindir. (func_mode_link): Accept new -bindir option and use it, if supplied, to place Windows DLLs. * tests/bindir.at: New file for install tests using -bindir. * Makefile.am (TESTSUITE_AT): Add bindir.at. * doc/libtool.texi (Link Mode): Update documentation. * NEWS, THANKS: Update. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 13 ++ Makefile.am |1 + NEWS|1 + THANKS |1 + doc/libtool.texi| 19 ++- libltdl/config/general.m4sh | 145 + libltdl/config/ltmain.m4sh | 33 - tests/bindir.at | 379 +++ 8 files changed, 590 insertions(+), 2 deletions(-) create mode 100644 tests/bindir.at diff --git a/ChangeLog b/ChangeLog index 6dd49ec..70ea1c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2009-09-12 Dave Korn dave.korn.cyg...@googlemail.com + + Control where win32 DLLs get installed. + * libltdl/config/general.m4sh (func_normal_abspath): New function. + (func_relative_path): Likewise. + * libltdl/config/ltmain.m4sh (func_mode_help): Document -bindir. + (func_mode_link): Accept new -bindir option and use it, if + supplied, to place Windows DLLs. + * tests/bindir.at: New file for install tests using -bindir. + * Makefile.am (TESTSUITE_AT): Add bindir.at. + * doc/libtool.texi (Link Mode): Update documentation. + * NEWS, THANKS: Update. + 2009-09-11 Akim Demaille demai...@gostai.com libtool: clean libconftest.a. diff --git a/Makefile.am b/Makefile.am index bdfad2e..d2033c5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -469,6 +469,7 @@ TESTSUITE_AT= tests/testsuite.at \ tests/indirect_deps.at \ tests/archive-in-archive.at \ tests/execute-mode.at \ + tests/bindir.at \ tests/cwrapper.at \ tests/infer-tag.at \ tests/localization.at \ diff --git a/NEWS b/NEWS index c7d3016..f96a717 100644 --- a/NEWS +++ b/NEWS @@ -15,6 +15,7 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team: - New convenience make targets `check-noninteractive' to avoid long testsuite runs on Windows with popup windows in the middle, and `check-interactive' for the complement set of tests. + - New link mode flag -bindir to specify the location for installed PE DLLs. * Changes in supported systems or compilers: diff --git a/THANKS b/THANKS index 8baf7f4..54c989b 100644 --- a/THANKS +++ b/THANKS @@ -87,6 +87,7 @@ Dalibor Topicrobi...@kaffe.org Daniel Reed n...@ml.org Daniel Richard G.sk...@iskunk.org + Dave Korndave.korn.cyg...@googlemail.com DJ Delorie d...@delorie.com Donn Washburnn5...@comcast.net Edouard G. Parmelan edouard.parme...@france.ncr.com diff --git a/doc/libtool.texi b/doc/libtool.texi index 18b9a97..27bf221 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -1376,6 +1376,18 @@ Tries to avoid versioning (@pxref{Versioning}) for libraries and modules, i.e.@: no version information is stored and no symbolic links are created. If the platform requires versioning, this option has no effect. +...@item -bindir +Pass the absolute name of the directory for installing executable +programs (@pxref{Directory Variables, , Directory Variables, standards, +The GNU Coding Standards}). @command{libtool} may use this value to +install shared libraries there on systems that do not provide for any +library hardcoding and use the directory of a program and the @env{PATH} +variable as library search path. This is typically used for DLLs on +Windows or other systems using the PE (Portable Executable) format. +On other systems, @option{-bindir
[SCM] GNU Libtool branch, master, updated. v2.2.6-146-gb037363
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 b03736353b6d478a68bfc19c017605eb21a3edce (commit) via 1e4e1984b07e4ce21f421b45854b846a93a12128 (commit) from 91697c2092ad24aab5b926abd7b9247f14d2d9b9 (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 b03736353b6d478a68bfc19c017605eb21a3edce Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Mon Sep 7 21:27:08 2009 +0200 Allow dlopen self test to work with gcc's -fvisibility=hidden. * libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Declare default visibility for the symbol we are going to test dlopen (NULL) when a GCC version is used that understands the visibility attribute, under the assumption that if -fvisibility=hidden will be used, the user code will be sufficiently annotated for visibility of needed symbols from the main executable. * THANKS: Update. Report by Josh Hursey against OpenMPI. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 1e4e1984b07e4ce21f421b45854b846a93a12128 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Mon Sep 7 21:08:50 2009 +0200 Fix and split recent testsuite addition for compile/link flags. * tests/flags.at (passing flags through libtool): Split into ... (passing CC flags through libtool) (passing CXX flags through libtool) (passing F77 flags through libtool) (passing FC flags through libtool) (passing GCJ flags through libtool): ... these five tests, factorized with m4_foreach. Fix F77 and FC compile and link commands; add GCJ tag. Use LT_AT_TAG to correctly skip tags for which no compiler exists. Use $EXEEXT where appropriate. Drop unneeded use of reload_cmds. Reports by Peter Rosin and Peter O'Gorman. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 25 THANKS|1 + libltdl/m4/libtool.m4 | 14 ++- tests/flags.at| 99 ++--- 4 files changed, 91 insertions(+), 48 deletions(-) diff --git a/ChangeLog b/ChangeLog index cc43535..d3e924f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,28 @@ +2009-09-07 Ralf Wildenhues ralf.wildenh...@gmx.de + + Allow dlopen self test to work with gcc's -fvisibility=hidden. + * libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Declare default + visibility for the symbol we are going to test dlopen (NULL) + when a GCC version is used that understands the visibility + attribute, under the assumption that if -fvisibility=hidden + will be used, the user code will be sufficiently annotated + for visibility of needed symbols from the main executable. + * THANKS: Update. + Report by Josh Hursey against OpenMPI. + + Fix and split recent testsuite addition for compile/link flags. + * tests/flags.at (passing flags through libtool): Split into ... + (passing CC flags through libtool) + (passing CXX flags through libtool) + (passing F77 flags through libtool) + (passing FC flags through libtool) + (passing GCJ flags through libtool): ... these five tests, + factorized with m4_foreach. Fix F77 and FC compile and link + commands; add GCJ tag. Use LT_AT_TAG to correctly skip tags + for which no compiler exists. Use $EXEEXT where appropriate. + Drop unneeded use of reload_cmds. + Reports by Peter Rosin and Peter O'Gorman. + 2009-09-07 Peter O'Gorman pe...@pogma.com Fix redirect in test case. diff --git a/THANKS b/THANKS index 9353885..8baf7f4 100644 --- a/THANKS +++ b/THANKS @@ -110,6 +110,7 @@ John Bowler jbow...@acm.org John R. Cary c...@txcorp.com John Wolfe j...@sco.com + Josh Hursey jjhur...@open-mpi.org Joseph Beckenbach IIIj...@best.com Lennart Poettering lenn...@poettering.net Karl Berry k...@freefriends.org diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index bb1097f..662a88b 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -1651,7 +1651,13 @@ else # endif #endif -void fnord() { int i=42;} +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) (((__GNUC__ == 3) (__GNUC_MINOR__ = 3)) || (__GNUC__ 3)) +void fnord () __attribute__((visibility(default))); +#endif + +void fnord () { int i=42
[SCM] GNU Libtool branch, master, updated. v2.2.6-141-g0805518
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 0805518173d95032e22c2832e73724c08ac2d9c7 (commit) via 8c35d797572d3ccef6d1ed6ebc59e679b5b80aa6 (commit) from c9bbeef468f64064e1d50e39c945df929cbc21d8 (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 0805518173d95032e22c2832e73724c08ac2d9c7 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Sep 6 12:42:34 2009 +0200 Fix failure test in the presence of --with-pic or -prefer-pic. * tests/fail.at (Failure tests): Run non-PIC failure test only if pic_mode is 'default' or 'no', rather than 'default' or 'yes' and also -prefer-pic has not been passed in $CFLAGS. * THANKS: Update. Report by Donn Washburn. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de commit 8c35d797572d3ccef6d1ed6ebc59e679b5b80aa6 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Sep 6 09:48:33 2009 +0200 Add testsuite exposure for passing of compiler and linker flags. * tests/flags.at (passing flags through libtool): New file, new test, for bug fixed in previous commit. * Makefile.am (TESTSUITE_AT): Add tests/flags.at. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 14 Makefile.am|1 + THANKS |1 + tests/fail.at | 15 ++--- tests/flags.at | 96 5 files changed, 122 insertions(+), 5 deletions(-) create mode 100644 tests/flags.at diff --git a/ChangeLog b/ChangeLog index 9e5d353..60bf373 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2009-09-06 Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix failure test in the presence of --with-pic or -prefer-pic. + * tests/fail.at (Failure tests): Run non-PIC failure test only + if pic_mode is 'default' or 'no', rather than 'default' or 'yes' + and also -prefer-pic has not been passed in $CFLAGS. + * THANKS: Update. + Report by Donn Washburn. + + Add testsuite exposure for passing of compiler and linker flags. + * tests/flags.at (passing flags through libtool): New file, new + test, for bug fixed in previous commit. + * Makefile.am (TESTSUITE_AT): Add tests/flags.at. + 2009-09-04 Peter Rosin p...@lysator.liu.se Make -Wc,FLAG behave like -Xcompiler FLAG in link mode. diff --git a/Makefile.am b/Makefile.am index a18955e..e22fcc2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -455,6 +455,7 @@ TESTSUITE_AT= tests/testsuite.at \ tests/duplicate_members.at \ tests/duplicate_conv.at \ tests/duplicate_deps.at \ + tests/flags.at \ tests/inherited_flags.at \ tests/convenience.at \ tests/link-order.at \ diff --git a/THANKS b/THANKS index e976ba8..9353885 100644 --- a/THANKS +++ b/THANKS @@ -88,6 +88,7 @@ Daniel Reed n...@ml.org Daniel Richard G.sk...@iskunk.org DJ Delorie d...@delorie.com + Donn Washburnn5...@comcast.net Edouard G. Parmelan edouard.parme...@france.ncr.com Erez Zadok e...@shekel.mcl.cs.columbia.edu Eric Estievenart e...@via.ecp.fr diff --git a/tests/fail.at b/tests/fail.at index fb05f8c..cec954b 100644 --- a/tests/fail.at +++ b/tests/fail.at @@ -50,15 +50,20 @@ FAIL_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c a.c]) AT_CHECK([test -f a.lo], [1]) # non-PIC compile failure -case $pic_mode in default | yes) - case $build_old_libs,$pic_flag in yes,*-DPIC*) -AT_DATA([a.c], [[ +case $pic_mode in default | no) + case $CFLAGS in + *\ -prefer-pic\ *) ;; + *) +case $build_old_libs,$pic_flag in yes,*-DPIC*) + AT_DATA([a.c], [[ #ifndef PIC choke me #endif ]]) -FAIL_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -no-suppress -c a.c]) -AT_CHECK([test -f a.lo], [1]) + FAIL_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -no-suppress -c a.c]) + AT_CHECK([test -f a.lo], [1]) + ;; +esac ;; esac ;; diff --git a/tests/flags.at b/tests/flags.at new file mode 100644 index 000..3de1fcb --- /dev/null +++ b/tests/flags.at @@ -0,0 +1,96 @@ +# flags.at -- libtool passing of flags -*- Autotest -*- +# +# Copyright (C) 2009 Free Software Foundation, Inc. +# +# This file is part of GNU Libtool. +# +# GNU Libtool is free software; you can redistribute
[SCM] GNU Libtool branch, master, updated. v2.2.6-142-g2eb8c3e
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 2eb8c3e51fde5f3a220eaad5c9e31a215aab330d (commit) from 0805518173d95032e22c2832e73724c08ac2d9c7 (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 2eb8c3e51fde5f3a220eaad5c9e31a215aab330d Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Sep 6 19:38:06 2009 +0200 Testsuite keyword 'interactive' and check-* rules. * Makefile.am (testsuite_deps, testsuite_deps_uninstalled): New variables. (check-local, installcheck-local): Use them. (check-interactive, check-noninteractive): New rules. * tests/link-order2.at (Link order of deplibs), tests/static.at (static linking flags for programs): Add keyword `interactive'. * doc/libtool.texi (Test descriptions): Document all keywords used in the Libtool test suite. * NEWS: Update. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog| 12 + Makefile.am | 23 +++- NEWS |3 ++ doc/libtool.texi | 68 ++ tests/link-order2.at |1 + tests/static.at |1 + 6 files changed, 106 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 60bf373..f874852 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,17 @@ 2009-09-06 Ralf Wildenhues ralf.wildenh...@gmx.de + Testsuite keyword 'interactive' and check-* rules. + * Makefile.am (testsuite_deps, testsuite_deps_uninstalled): + New variables. + (check-local, installcheck-local): Use them. + (check-interactive, check-noninteractive): New rules. + * tests/link-order2.at (Link order of deplibs), + tests/static.at (static linking flags for programs): Add keyword + `interactive'. + * doc/libtool.texi (Test descriptions): Document all keywords + used in the Libtool test suite. + * NEWS: Update. + Fix failure test in the presence of --with-pic or -prefer-pic. * tests/fail.at (Failure tests): Run non-PIC failure test only if pic_mode is 'default' or 'no', rather than 'default' or 'yes' diff --git a/Makefile.am b/Makefile.am index e22fcc2..bdfad2e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -547,19 +547,38 @@ DISTCLEANFILES += tests/atconfig CD_TESTDIR = abs_srcdir=`$(lt__cd) $(srcdir) pwd`; cd tests +testsuite_deps = tests/atconfig $(srcdir)/$(TESTSUITE) +testsuite_deps_uninstalled = $(testsuite_deps) libltdl/libltdlc.la $(bin_SCRIPTS) + # Hook the test suite into the check rule -check-local: tests/atconfig $(srcdir)/$(TESTSUITE) libltdl/libltdlc.la $(bin_SCRIPTS) +check-local: $(testsuite_deps_uninstalled) $(CD_TESTDIR); \ CONFIG_SHELL=$(SHELL) $(SHELL) $$abs_srcdir/$(TESTSUITE) \ $(TESTS_ENVIRONMENT) $(BUILDCHECK_ENVIRONMENT) $(TESTSUITEFLAGS) # Run the test suite on the *installed* tree. -installcheck-local: tests/atconfig $(srcdir)/$(TESTSUITE) +installcheck-local: $(testsuite_deps) $(CD_TESTDIR); \ CONFIG_SHELL=$(SHELL) $(SHELL) $$abs_srcdir/$(TESTSUITE) \ $(TESTS_ENVIRONMENT) $(INSTALLCHECK_ENVIRONMENT) $(TESTSUITEFLAGS) \ AUTOTEST_PATH=$(exec_prefix)/bin +# Run only noninteractive parts of the new testsuite. +check-noninteractive: $(testsuite_deps_uninstalled) + $(CD_TESTDIR); \ + CONFIG_SHELL=$(SHELL) $(SHELL) $$abs_srcdir/$(TESTSUITE) \ + $(TESTS_ENVIRONMENT) $(BUILDCHECK_ENVIRONMENT) \ + -k !interactive INNER_TESTSUITEFLAGS=,!interactive \ + $(TESTSUITEFLAGS) + +# Run only interactive parts of the new testsuite. +check-interactive: $(testsuite_deps_uninstalled) + $(CD_TESTDIR); \ + CONFIG_SHELL=$(SHELL) $(SHELL) $$abs_srcdir/$(TESTSUITE) \ + $(TESTS_ENVIRONMENT) $(BUILDCHECK_ENVIRONMENT) \ + -k interactive -k recursive INNER_TESTSUITEFLAGS=,interactive \ + $(TESTSUITEFLAGS) + # We need to remove any file droppings left behind by testsuite clean-local: clean-local-legacy -$(CD_TESTDIR); \ diff --git a/NEWS b/NEWS index d6a35aa..c7d3016 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,9 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team: - New libtool command line flag --no-verbose, which disables only the extra verbose output messages and has no effect on the default informational messages. + - New convenience make targets `check-noninteractive' to avoid long testsuite +runs on Windows with popup windows in the middle, and `check
[SCM] GNU Libtool branch, master, updated. v2.2.6-137-gdb160ae
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 db160ae47c151fe037ba686d925652cd4b34fe9f (commit) from 04329d83555b5f8d2fd02428418a79ea392b2d91 (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 db160ae47c151fe037ba686d925652cd4b34fe9f Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Aug 23 07:12:30 2009 +0200 Remove __oline__ from macros, for less spurious configure diffs. * libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK, _LT_COMPILER_OPTION) (_LT_COMPILER_C_O, LT_PATH_NM): Replace __oline__ instances with $LINENO. * NEWS: Update. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |8 NEWS |2 ++ libltdl/m4/libtool.m4 | 16 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5a81a69..2da01a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-08-23 Ralf Wildenhues ralf.wildenh...@gmx.de + + Remove __oline__ from macros, for less spurious configure diffs. + * libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK, _LT_COMPILER_OPTION) + (_LT_COMPILER_C_O, LT_PATH_NM): Replace __oline__ instances with + $LINENO. + * NEWS: Update. + 2009-07-24 Roumen Petrov bugtr...@roumenpetrov.info (tiny change) Fixup 'execute mode' test for w32. diff --git a/NEWS b/NEWS index 5a57891..15ed32b 100644 --- a/NEWS +++ b/NEWS @@ -41,6 +41,8 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team: - Link mode works around a parallel build failure on Darwin 9.6.0 due to the `ar' `flock'ing an archive upon extraction, by protecting the extraction of convenience archives with a lock. + - The Libtool macro files do not contain instances of __oline__ any more, +easing merges for configure scripts that are added to version control. * Miscellaneous changes: diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 3a65ec4..b081f7b 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -1162,7 +1162,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '[#]line __oline__ configure' conftest.$ac_ext + echo '[#]line '$LINENO' configure' conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test $lt_cv_prog_gnu_ld = yes; then case `/usr/bin/file conftest.$ac_objext` in @@ -1351,11 +1351,11 @@ AC_CACHE_CHECK([$1], [$2], -e 's:.*FLAGS}\{0,1\} :$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo \\$as_me:__oline__: $lt_compile\ AS_MESSAGE_LOG_FD) + (eval echo \\$as_me:$LINENO: $lt_compile\ AS_MESSAGE_LOG_FD) (eval $lt_compile 2conftest.err) ac_status=$? cat conftest.err AS_MESSAGE_LOG_FD - echo $as_me:__oline__: \$? = $ac_status AS_MESSAGE_LOG_FD + echo $as_me:$LINENO: \$? = $ac_status AS_MESSAGE_LOG_FD if (exit $ac_status) test -s $ac_outfile; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -1809,11 +1809,11 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], -e 's:.*FLAGS}\{0,1\} :$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo \\$as_me:__oline__: $lt_compile\ AS_MESSAGE_LOG_FD) + (eval echo \\$as_me:$LINENO: $lt_compile\ AS_MESSAGE_LOG_FD) (eval $lt_compile 2out/conftest.err) ac_status=$? cat out/conftest.err AS_MESSAGE_LOG_FD - echo $as_me:__oline__: \$? = $ac_status AS_MESSAGE_LOG_FD + echo $as_me:$LINENO: \$? = $ac_status AS_MESSAGE_LOG_FD if (exit $ac_status) test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -3192,13 +3192,13 @@ _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], [lt_cv_nm_interface=BSD nm echo int some_variable = 0; conftest.$ac_ext - (eval echo \\$as_me:__oline__: $ac_compile\ AS_MESSAGE_LOG_FD) + (eval echo \\$as_me:$LINENO: $ac_compile\ AS_MESSAGE_LOG_FD) (eval $ac_compile 2conftest.err) cat conftest.err AS_MESSAGE_LOG_FD - (eval echo \\$as_me:__oline__: $NM \\\conftest.$ac_objext AS_MESSAGE_LOG_FD) + (eval echo \\$as_me:$LINENO: $NM \\\conftest.$ac_objext AS_MESSAGE_LOG_FD) (eval $NM \conftest.$ac_objext\ 2conftest.err conftest.out) cat conftest.err
[SCM] GNU Libtool branch, master, updated. v2.2.6-136-g04329d8
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 04329d83555b5f8d2fd02428418a79ea392b2d91 (commit) from 00558363daebeb41c02ab8eaa9cb5218caf97867 (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 04329d83555b5f8d2fd02428418a79ea392b2d91 Author: Roumen Petrov bugtr...@roumenpetrov.info Date: Fri Jul 24 22:59:46 2009 +0200 Fixup 'execute mode' test for w32. * tests/execute-mode.at (execute mode): Add missing $EXEEXT. (LDFLAGS): Add -no-undefined. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |6 ++ tests/execute-mode.at |3 ++- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index a644b26..5a81a69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-07-24 Roumen Petrov bugtr...@roumenpetrov.info (tiny change) + + Fixup 'execute mode' test for w32. + * tests/execute-mode.at (execute mode): Add missing $EXEEXT. + (LDFLAGS): Add -no-undefined. + 2009-07-01 Yaakov Selkowitz yselkow...@users.sourceforge.net (tiny change) Charles Wilson libt...@cwilson.fastmail.fm diff --git a/tests/execute-mode.at b/tests/execute-mode.at index 0fba29c..a1f2017 100644 --- a/tests/execute-mode.at +++ b/tests/execute-mode.at @@ -110,6 +110,7 @@ int main (int argc, char **argv) } ]]) +LDFLAGS=$LDFLAGS -no-undefined instdir=`pwd`/inst libdir=$instdir/lib @@ -211,7 +212,7 @@ do done # Check that .la files are not transformed by the wrapper searching loop. -AT_CHECK([$LIBTOOL --mode=execute echo ./main liba.lo libfakelib.la], [], [stdout]) +AT_CHECK([$LIBTOOL --mode=execute echo ./main$EXEEXT liba.lo libfakelib.la], [], [stdout]) # This could be .libs/lt-main or similar (or just plain `main'). AT_CHECK([grep main stdout], [], [ignore]) AT_CHECK([grep liba.lo stdout], [], [ignore]) hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-127-g8a08afa
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 8a08afac5d4f560a0fdd53611e9db680a3a5145c (commit) from b04fe8e6da2b5bed914911bfd8567ba9e93da40b (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 8a08afac5d4f560a0fdd53611e9db680a3a5145c Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Jun 14 11:35:59 2009 +0200 Avoid spurious localization testsuite failure on HP-UX/ia64. * tests/localization.at (localized compiler messages): Skip test if the compiler warning output contains `locale', for HP-UX. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |6 ++ tests/localization.at | 11 +-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0eedffd..fbc3537 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-06-14 Ralf Wildenhues ralf.wildenh...@gmx.de + + Avoid spurious localization testsuite failure on HP-UX/ia64. + * tests/localization.at (localized compiler messages): Skip test + if the compiler warning output contains `locale', for HP-UX. + 2009-06-10 Ralf Wildenhues ralf.wildenh...@gmx.de Fix concurrent extraction of convenience libraries on Darwin. diff --git a/tests/localization.at b/tests/localization.at index 1d689aa..71cdad4 100644 --- a/tests/localization.at +++ b/tests/localization.at @@ -49,9 +49,16 @@ AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c a.c || exit [1], [stdout], [stderr]) LT_AT_NORMALIZE_COMPILER_OUTPUT([stdout], [libtool-stdout]) LT_AT_NORMALIZE_COMPILER_OUTPUT([stderr], [libtool-stderr]) -# Avoid this error: +# Avoid these errors: +# GNU/Linux: # /bin/sh: warning: setlocale: LC_ALL: cannot change locale (de_DE) -AT_CHECK([grep LC_ALL stdout stderr exit 77], [1]) +# HP-UX: +# Warning! One or more of your selected locales are not available. +# Please invoke the commands locale and locale -a to verify your +# selections and the available locales. +# +# Continuing processing using the C locale. +AT_CHECK([grep locale stdout stderr exit 77], [1]) AT_CHECK([diff expected-stderr libtool-stderr]) AT_CHECK([diff expected-stdout libtool-stdout]) hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-128-g6769a76
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 6769a76d6bbcc55b70b1c7279b7226aaa33d65b5 (commit) from 8a08afac5d4f560a0fdd53611e9db680a3a5145c (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 6769a76d6bbcc55b70b1c7279b7226aaa33d65b5 Author: Mike Gorchak m...@malva.ua Date: Sun Jun 14 11:42:09 2009 +0200 Fix versioning computation for QNX. * libltdl/config/ltmain.m4sh (func_mode_link): Set `$current' and `$age' properly for version_type `qnx'. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |7 +++ libltdl/config/ltmain.m4sh |2 +- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index fbc3537..d898619 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-06-14 Mike Gorchak m...@malva.ua (tiny change) + Ralf Wildenhues ralf.wildenh...@gmx.de + + Fix versioning computation for QNX. + * libltdl/config/ltmain.m4sh (func_mode_link): Set `$current' + and `$age' properly for version_type `qnx'. + 2009-06-14 Ralf Wildenhues ralf.wildenh...@gmx.de Avoid spurious localization testsuite failure on HP-UX/ia64. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 02f4d21..6f44d35 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -5928,7 +5928,7 @@ func_mode_link () age=$number_minor revision=$number_revision ;; - freebsd-aout|freebsd-elf|sunos) + freebsd-aout|freebsd-elf|qnx|sunos) current=$number_major revision=$number_minor age=0 hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-129-g2772d14
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 2772d14559c584d142e44fdea69124ce62285b40 (commit) from 6769a76d6bbcc55b70b1c7279b7226aaa33d65b5 (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 2772d14559c584d142e44fdea69124ce62285b40 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Jun 14 12:03:31 2009 +0200 Add versioning tests. * tests/versioning.at (versioning): New file, new test. * Makefile.am (TESTSUITE_AT): Adjust. Prompted by bug report from Mike Gorchak. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |7 ++ Makefile.am |1 + tests/versioning.at | 239 +++ 3 files changed, 247 insertions(+), 0 deletions(-) create mode 100644 tests/versioning.at diff --git a/ChangeLog b/ChangeLog index d898619..4d12190 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-06-14 Ralf Wildenhues ralf.wildenh...@gmx.de + + Add versioning tests. + * tests/versioning.at (versioning): New file, new test. + * Makefile.am (TESTSUITE_AT): Adjust. + Prompted by bug report from Mike Gorchak. + 2009-06-14 Mike Gorchak m...@malva.ua (tiny change) Ralf Wildenhues ralf.wildenh...@gmx.de diff --git a/Makefile.am b/Makefile.am index c49f749..a18955e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -472,6 +472,7 @@ TESTSUITE_AT= tests/testsuite.at \ tests/infer-tag.at \ tests/localization.at \ tests/install.at \ + tests/versioning.at \ tests/destdir.at \ tests/old-m4-iface.at \ tests/am-subdir.at \ diff --git a/tests/versioning.at b/tests/versioning.at new file mode 100644 index 000..136a549 --- /dev/null +++ b/tests/versioning.at @@ -0,0 +1,239 @@ +# versioning.at -- test libtool versioning -*- Autotest -*- +# +# Copyright (C) 2009 Free Software Foundation, Inc. +# +# This file is part of GNU Libtool. +# +# GNU Libtool is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# GNU Libtool is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, +# or obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +AT_SETUP([versioning]) +AT_KEYWORDS([libtool]) + +eval `$LIBTOOL --config | $EGREP '^(objdir)='` + +# Setup some library and program sources: +# a library (a1), a new revision (a2), a compatible update (a3), +# an incompatible update (a4). +# Another library (libb) using liba, and a couple of programs, +# using liba directly and indirectly through libb. + +AT_DATA([liba1.c], [[ +int a (void) +{ + return 0; +} +]]) + +AT_DATA([liba2.c], [[ +/* The internal detail should be static. It isn't static in this test, + so we can later find out that it's this revision of the library. */ +int internal_detail = 42; +int a (void) +{ + return internal_detail - 42; +} +]]) + +AT_DATA([liba3.c], [[ +int a (void) +{ + return 0; +} +int aa (void) +{ + return 0; +} +]]) + +AT_DATA([liba4.c], [[ +int aa (void) +{ + return 0; +} +]]) + +AT_DATA([libb.c], [[ +extern int a (void); +int b (void) +{ + return a (); +} +]]) + +AT_DATA([prog1.c], [[ +extern int a (void); +int main (void) +{ + return a (); +} +]]) + +AT_DATA([prog2.c], [[ +extern int b (void); +int main (void) +{ + return b (); +} +]]) + +AT_DATA([prog3.c], [[ +extern int a (void), internal_detail; +int main (void) +{ + return a () + internal_detail - 42; +} +]]) + + +inst=`pwd`/inst +libdir=$inst/lib +bindir=$inst/bin +mkdir $inst $libdir $bindir + +for file in liba1.c liba2.c liba3.c liba4.c libb.c; do + $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c $file +done +for file in prog1.c prog2.c prog3.c; do + $CC $CPPFLAGS $CFLAGS -c $file +done + +# Setup is finished here. + +# Hypothesis: -version-info is ignored for convenience archives. +AT_CHECK([$LIBTOOL --mode
[SCM] GNU Libtool branch, master, updated. v2.2.6-121-g1f4a1d7
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 1f4a1d723744feddc05a77bc687366c286950651 (commit) from e3095b37d09aa637c465b3099781bf5d69f9f059 (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 1f4a1d723744feddc05a77bc687366c286950651 Author: Vincent Torri vto...@univ-evry.fr Date: Sun Jun 7 09:25:45 2009 +0200 Fix C wrapper invocation for ceGCC hosts (cegcc and mingw32ce). * libltdl/config/ltmain.m4sh (func_mode_link): do not generate C wrapper for cegcc and mingw32ce hosts. (func_emit_cwrapperexe_src): remove useless check on __MINGW32CE__. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |8 libltdl/config/ltmain.m4sh | 22 ++ 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8220712..7438abf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-06-07 Vincent Torri vto...@univ-evry.fr (tiny change) + + Fix C wrapper invocation for ceGCC hosts (cegcc and mingw32ce). + * libltdl/config/ltmain.m4sh (func_mode_link): do not generate + C wrapper for cegcc and mingw32ce hosts. + (func_emit_cwrapperexe_src): remove useless check on + __MINGW32CE__. + 2009-06-07 Ralf Wildenhues ralf.wildenh...@gmx.de Don't pick up double-quotes from /etc/ld.so.conf on Ubuntu. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 5609304..72660a8 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -2738,9 +2738,7 @@ EOF #include assert.h #include string.h #include ctype.h -#ifndef __MINGW32CE__ -# include errno.h -#endif +#include errno.h #include fcntl.h #include sys/stat.h @@ -2770,7 +2768,7 @@ int setenv (const char *, const char *, int); # define _INTPTR_T_DEFINED # define intptr_t int # endif -#elif defined(__MINGW32__) !defined(__MINGW32CE__) +#elif defined(__MINGW32__) # define setmode _setmode # define stat_stat # define chmod _chmod @@ -3145,11 +3143,7 @@ EOF if (rval == -1) { /* failed to start process */ -#ifndef __MINGW32CE__ LTWRAPPER_DEBUGPRINTF (((main) failed to launch target \%s\: errno = %d\n, lt_argv_zero, errno)); -#else - LTWRAPPER_DEBUGPRINTF (((main) failed to launch target \%s\\n, lt_argv_zero)); -#endif return 127; } return rval; @@ -3378,12 +3372,8 @@ chase_symlinks (const char *pathspec) } else { -#ifndef __MINGW32CE__ char *errstr = strerror (errno); lt_fatal (Error accessing file %s (%s), tmp_pathspec, errstr); -#else - lt_fatal (Error accessing file %s, tmp_pathspec); -#endif } } XFREE (tmp_pathspec); @@ -7411,15 +7401,15 @@ EOF wrappers_required=yes case $host in + *cegcc* | *mingw32ce*) +# Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. +wrappers_required=no +;; *cygwin* | *mingw* ) if test $build_libtool_libs != yes; then wrappers_required=no fi ;; - *cegcc*) -# Disable wrappers for cegcc, we are cross compiling anyway. -wrappers_required=no -;; *) if test $need_relink = no || test $build_libtool_libs != yes; then wrappers_required=no hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-122-g740565c
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 740565c4fdd69be05a0a5d118bf6c77a51498bcf (commit) from 1f4a1d723744feddc05a77bc687366c286950651 (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 740565c4fdd69be05a0a5d118bf6c77a51498bcf Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Jun 7 11:42:17 2009 +0200 testsuite: cope when some installed libltdl.la has been removed. * tests/old-m4-iface.at (AC_WITH_LTDL): Pass --with-included-ltdl to configure, to ensure we do not accidentally link against a previously installed libltdl.so where the corresponding .la file has been removed, thus we do not add a run path, and the runtime linker then fails to find libltdl.so.7. * tests/configure-iface.at (--with-ltdl-include/lib): Remove -L flags from LDFLAGS to avoid picking up an installed libltdl outside of the default locations. * THANKS: Update. Prompted by report from Patrice Fromy. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog| 14 ++ THANKS |1 + tests/configure-iface.at | 12 tests/old-m4-iface.at|6 -- 4 files changed, 31 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7438abf..bb2989f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2009-06-07 Ralf Wildenhues ralf.wildenh...@gmx.de + + testsuite: cope when some installed libltdl.la has been removed. + * tests/old-m4-iface.at (AC_WITH_LTDL): Pass --with-included-ltdl + to configure, to ensure we do not accidentally link against a + previously installed libltdl.so where the corresponding .la + file has been removed, thus we do not add a run path, and the + runtime linker then fails to find libltdl.so.7. + * tests/configure-iface.at (--with-ltdl-include/lib): Remove -L + flags from LDFLAGS to avoid picking up an installed libltdl + outside of the default locations. + * THANKS: Update. + Prompted by report from Patrice Fromy. + 2009-06-07 Vincent Torri vto...@univ-evry.fr (tiny change) Fix C wrapper invocation for ceGCC hosts (cegcc and mingw32ce). diff --git a/THANKS b/THANKS index 51c99cc..928bef5 100644 --- a/THANKS +++ b/THANKS @@ -127,6 +127,7 @@ Nix n...@esperi.org.uk Olaf Lenzol...@fias.uni-frankfurt.de Olly Betts o...@muscat.co.uk + Patrice Fromypatrice.fr...@u-psud.fr Patrick Welche pr...@newn.cam.ac.uk Paul Biggar paul.big...@gmail.com Paul Eggert egg...@twinsun.com diff --git a/tests/configure-iface.at b/tests/configure-iface.at index 77e2ebc..59738e0 100644 --- a/tests/configure-iface.at +++ b/tests/configure-iface.at @@ -204,6 +204,18 @@ main_LDADD = $(LIBLTDL) main_DEPENDENCIES = $(LTDLDEPS) libmodule.la ]]) +## Try to avoid linking against a previously installed libltdl found +## with an explicit -L/path. +save_LDFLAGS=$LDFLAGS +LDFLAGS= +for l in $save_LDFLAGS +do + case $l in + -L*) ;; + *) LDFLAGS=$LDFLAGS $l ;; + esac +done + # We don't use 'libtoolize --ltdl', so that we get an error if the test # tries to build and link against its own ltdl sources: LT_AT_BOOTSTRAP([], [-I _inst/aclocal], [], [--add-missing], [], diff --git a/tests/old-m4-iface.at b/tests/old-m4-iface.at index 1e374d4..64f7e60 100644 --- a/tests/old-m4-iface.at +++ b/tests/old-m4-iface.at @@ -1,6 +1,6 @@ # old-m4-iface.at -- exercise old m4 interface to libtool -*- Autotest -*- # -# Copyright (C) 2005, 2008 Free Software Foundation, Inc. +# Copyright (C) 2005, 2008, 2009 Free Software Foundation, Inc. # Written by Gary V. Vaughan, 2005 # # This file is part of GNU Libtool. @@ -155,8 +155,10 @@ ltdld...@exeext@: ma...@objext@ module.la libltdl/libltdlc.la $(LTCOMPILE) -c -o $@ $ ]]) +# Be sure to use the in-tree libltdl, somebody might have removed +# an installed libltdl.la file. LT_AT_BOOTSTRAP([--ltdl --install], [-I libltdl/m4], [ignore], [ignore], - [--force]) + [--force], [--with-included-ltdl]) LT_AT_EXEC_CHECK([./ltdldemo], 0, [ignore]) hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-123-gd812c63
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 d812c6326b9f1206715f1125970805a05a856e32 (commit) from 740565c4fdd69be05a0a5d118bf6c77a51498bcf (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 d812c6326b9f1206715f1125970805a05a856e32 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Jun 7 11:58:59 2009 +0200 testsuite: add missing @LIBS@ in a link command line. * tests/old-m4-iface.at (AC_WITH_LTDL): Use @LIBS@ when linking. Report by Patrice Fromy. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |4 tests/old-m4-iface.at |2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index bb2989f..2b31d08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-06-07 Ralf Wildenhues ralf.wildenh...@gmx.de + testsuite: add missing @LIBS@ in a link command line. + * tests/old-m4-iface.at (AC_WITH_LTDL): Use @LIBS@ when linking. + Report by Patrice Fromy. + testsuite: cope when some installed libltdl.la has been removed. * tests/old-m4-iface.at (AC_WITH_LTDL): Pass --with-included-ltdl to configure, to ensure we do not accidentally link against a diff --git a/tests/old-m4-iface.at b/tests/old-m4-iface.at index 64f7e60..cb823a2 100644 --- a/tests/old-m4-iface.at +++ b/tests/old-m4-iface.at @@ -143,7 +143,7 @@ module.la: module.lo $(LTLINK) module.lo -module -avoid-version -rpath /dev/null ltdld...@exeext@: ma...@objext@ module.la libltdl/libltdlc.la - $(LTLINK) ma...@objext@ -dlopen module.la @LIBLTDL@ + $(LTLINK) ma...@objext@ -dlopen module.la @LIBLTDL@ @LIBS@ .SUFFIXES: .SUFFIXES: .c @objext@ .lo hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-124-gf578833
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 f578833bb8bd54092ce74f48ab07a26fdad28727 (commit) from d812c6326b9f1206715f1125970805a05a856e32 (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 f578833bb8bd54092ce74f48ab07a26fdad28727 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Jun 7 12:01:56 2009 +0200 testsuite: avoid failures due to old Automake. * tests/configure-iface.at (installable libltdl) (--with-ltdl-include/lib, --with-included-ltdl): Speficy libmodule_la_SOURCES in Makefile.am as the default source file naming scheme changed in Automake 1.8. * tests/nonrecursive.at (_LT_AT_LTDL_SETUP): Require Automake 1.9.6. * THANKS: Update. Report by Robert Garron. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog| 10 ++ THANKS |1 + tests/configure-iface.at |9 + tests/nonrecursive.at|4 ++-- 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2b31d08..e83a2fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2009-06-07 Ralf Wildenhues ralf.wildenh...@gmx.de + testsuite: avoid failures due to old Automake. + * tests/configure-iface.at (installable libltdl) + (--with-ltdl-include/lib, --with-included-ltdl): + Speficy libmodule_la_SOURCES in Makefile.am as the default + source file naming scheme changed in Automake 1.8. + * tests/nonrecursive.at (_LT_AT_LTDL_SETUP): Require Automake + 1.9.6. + * THANKS: Update. + Report by Robert Garron. + testsuite: add missing @LIBS@ in a link command line. * tests/old-m4-iface.at (AC_WITH_LTDL): Use @LIBS@ when linking. Report by Patrice Fromy. diff --git a/THANKS b/THANKS index 928bef5..70e299d 100644 --- a/THANKS +++ b/THANKS @@ -140,6 +140,7 @@ Ralf Menzel men...@ls6.cs.uni-dortmund.de Richard Purdie rpur...@rpsys.net Richard Sandifordricha...@transitive.com + Robert Garronrobert.gar...@access3000.net Robert Millanr...@aybabtu.com Robert Ãgrenli...@roboros.com Roberto Bagnara bagn...@cs.unipr.it diff --git a/tests/configure-iface.at b/tests/configure-iface.at index 59738e0..2071646 100644 --- a/tests/configure-iface.at +++ b/tests/configure-iface.at @@ -127,6 +127,9 @@ SUBDIRS = libltdl AM_CPPFLAGS= $(LTDLINCL) lib_LTLIBRARIES= libmodule.la +# Automake 1.8 will use libmodule.la.c as default source, +# while newer will choose libmodule.c; so specify it here. +libmodule_la_SOURCES = libmodule.c libmodule_la_LDFLAGS = -module bin_PROGRAMS = main @@ -196,6 +199,9 @@ AT_DATA([Makefile.am], AM_CPPFLAGS= $(LTDLINCL) lib_LTLIBRARIES= libmodule.la +# Automake 1.8 will use libmodule.la.c as default source, +# while newer will choose libmodule.c; so specify it here. +libmodule_la_SOURCES = libmodule.c libmodule_la_LDFLAGS = -module bin_PROGRAMS = main @@ -262,6 +268,9 @@ SUBDIRS = libltdl AM_CPPFLAGS= $(LTDLINCL) lib_LTLIBRARIES= libmodule.la +# Automake 1.8 will use libmodule.la.c as default source, +# while newer will choose libmodule.c; so specify it here. +libmodule_la_SOURCES = libmodule.c libmodule_la_LDFLAGS = -module bin_PROGRAMS = main diff --git a/tests/nonrecursive.at b/tests/nonrecursive.at index 0ccabe8..d37ec05 100644 --- a/tests/nonrecursive.at +++ b/tests/nonrecursive.at @@ -1,6 +1,6 @@ # nonrecursive.at -- test nonrecursive Automake Libltdl -*- Autotest -*- # -# Copyright (C) 2005, 2008 Free Software Foundation, Inc. +# Copyright (C) 2005, 2008, 2009 Free Software Foundation, Inc. # Written by Gary V. Vaughan, 2005 # # This file is part of GNU Libtool. @@ -46,7 +46,7 @@ AC_OUTPUT AT_DATA([Makefile.am], [[ACLOCAL_AMFLAGS = -I ltdl/m4 -AUTOMAKE_OPTIONS = 1.7 +AUTOMAKE_OPTIONS = 1.9.6 BUILT_SOURCES = AM_CPPFLAGS= hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-125-gefe1cfe
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 efe1cfec710dbd06987fed02ec4d70d5c6630322 (commit) from f578833bb8bd54092ce74f48ab07a26fdad28727 (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 efe1cfec710dbd06987fed02ec4d70d5c6630322 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sun Jun 7 16:35:11 2009 +0200 Fix testsuite failure of lt_dlopenadvise test on FreeMiNT. * tests/lt_dladvise.at (lt_dlopenadvise library loading): Do not build moddepend for systems without shared libraries. Report by Alan Hourihane. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog|5 + tests/lt_dladvise.at |9 ++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e83a2fa..596abea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-06-07 Ralf Wildenhues ralf.wildenh...@gmx.de + Fix testsuite failure of lt_dlopenadvise test on FreeMiNT. + * tests/lt_dladvise.at (lt_dlopenadvise library loading): Do not + build moddepend for systems without shared libraries. + Report by Alan Hourihane. + testsuite: avoid failures due to old Automake. * tests/configure-iface.at (installable libltdl) (--with-ltdl-include/lib, --with-included-ltdl): diff --git a/tests/lt_dladvise.at b/tests/lt_dladvise.at index 3bf9bee..cdbe91d 100644 --- a/tests/lt_dladvise.at +++ b/tests/lt_dladvise.at @@ -1,6 +1,6 @@ # lt_dladvise.at -- test libltdl functionality-*- Autotest -*- # -# Copyright (C) 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. # Written by Gary V. Vaughan, 2007 # # This file is part of GNU Libtool. @@ -318,8 +318,11 @@ dlpreloadable='preload' # are reporting not able to accept the global hint to lt_dlopenadvise().# # - # -case $host_os in -cygwin* | mingw* | cegcc*) +have_shared=false +$LIBTOOL --features | grep 'enable shared libraries' /dev/null have_shared=: + +case $host_os,$have_shared in +cygwin* | mingw* | cegcc* | *,false) # These hosts do not support linking without -no-undefined CPPFLAGS=$CPPFLAGS -DHAVE_UNDEFINED_SYMBOLS=0 ;; hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-115-gf4c14ad
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 f4c14adc49a89beccbecb6177c8fae4d13040b9d (commit) from 848215b440b53cae6979dd5a65ea41e9d5ab5b3d (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 f4c14adc49a89beccbecb6177c8fae4d13040b9d Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Tue May 5 07:39:16 2009 +0200 libtoolize: ignore trailing junk on scriptversion line. * libtoolize.m4sh (func_install_update): Ignore semi-colon or comment-sign and all following characters when parsing a `scriptversion' line in one of the auxiliary scripts; recent Automake-provided script have a stylized comment to induce Emacs to use UTC. Exposed by the `libtoolize config files serial update' test. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog | 10 ++ libtoolize.m4sh |1 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4e3ceb2..862860a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2009-05-05 Ralf Wildenhues ralf.wildenh...@gmx.de + + libtoolize: ignore trailing junk on scriptversion line. + * libtoolize.m4sh (func_install_update): Ignore semi-colon or + comment-sign and all following characters when parsing a + `scriptversion' line in one of the auxiliary scripts; recent + Automake-provided script have a stylized comment to induce + Emacs to use UTC. + Exposed by the `libtoolize config files serial update' test. + 2009-05-02 Ralf Wildenhues ralf.wildenh...@gmx.de Skip localization test when setlocale is not functional. diff --git a/libtoolize.m4sh b/libtoolize.m4sh index 27f17a7..bff700a 100644 --- a/libtoolize.m4sh +++ b/libtoolize.m4sh @@ -1021,6 +1021,7 @@ func_install_update () $opt_debug my_sed_install=' /^scriptversion='\''*[0-9][1-9.-]*'\''*/ { + s,[#;].*,, s,^scriptversion='\''*\([0-9.-]*\)'\''*,\1, s/-/./g p hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-111-g7f0ba74
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 7f0ba74e84f5dd7e72908835a5a8335c9ecb3eba (commit) from 5d560c68d815824d284661354e525d1936c823b9 (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 7f0ba74e84f5dd7e72908835a5a8335c9ecb3eba Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat May 2 10:31:18 2009 +0200 manual: fix grammaros. * doc/libtool.texi (Dlpreopening): Fix grammaro. (C header files): Remove duplicate word. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog|4 doc/libtool.texi |4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2109e25..34207c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-05-02 Ralf Wildenhues ralf.wildenh...@gmx.de + manual: fix grammaros. + * doc/libtool.texi (Dlpreopening): Fix grammaro. + (C header files): Remove duplicate word. + Allow through -tp=* at link time, for pgcc. * libltdl/config/ltmain.m4sh (func_mode_link): Portlant Group pgcc uses `-tp=PROCESSOR' for target processor selection; allow diff --git a/doc/libtool.texi b/doc/libtool.texi index 2f90ca3..5e25531 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -3059,7 +3059,7 @@ Also the only thing that must go outside the @code{BEGIN_C_DECLS}/@code{END_C_DECLS} pair are @code{#include} lines. Strictly speaking it is only C symbol names that need to be protected, but your header files will be more maintainable if you have a single -pair of of these macros around the majority of the header contents. +pair of these macros around the majority of the header contents. You should use these definitions of @code{PARAMS}, @code{BEGIN_C_DECLS}, and @code{END_C_DECLS} into your own headers. Then, you may use them to @@ -3293,7 +3293,7 @@ though Libtool takes care of that detail if you use An array of @var{lt_symbol} structures, representing all the preloaded symbols linked into the program proper. For each module @option{-dlpreopen}ed by the Libtool linked program -there is an element with the @var{name} of the module and a @var{address} +there is an element with the @var{name} of the module and an @var{address} of @code{0}, followed by all symbols exported from this file. For the executable itself the special name @samp{@@PROGRAM@@} is used. The last element of all has a @var{name} and @var{address} of hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-112-g5ef9367
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 5ef9367f2a030124e7b5ed4a4194a12c545d6fce (commit) from 7f0ba74e84f5dd7e72908835a5a8335c9ecb3eba (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 5ef9367f2a030124e7b5ed4a4194a12c545d6fce Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat May 2 10:36:17 2009 +0200 Initial port for BlueGene BG/L. * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS) (_LT_LANG_CXX_CONFIG) [linux]: Detect bgxl*, bgf*, mpixl* compilers. * NEWS, THANKS: Update. Report, feedback and testing by John R. Cary and Christian Rössel. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |8 NEWS |1 + THANKS|1 + libltdl/m4/libtool.m4 | 14 +++--- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 34207c4..df905a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2009-05-02 Ralf Wildenhues ralf.wildenh...@gmx.de + Initial port for BlueGene BG/L. + * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS) + (_LT_LANG_CXX_CONFIG) [linux]: Detect bgxl*, bgf*, mpixl* + compilers. + * NEWS, THANKS: Update. + Report, feedback and testing by John R. Cary and Christian + Rössel. + manual: fix grammaros. * doc/libtool.texi (Dlpreopening): Fix grammaro. (C header files): Remove duplicate word. diff --git a/NEWS b/NEWS index ec9c835..4def4ca 100644 --- a/NEWS +++ b/NEWS @@ -18,6 +18,7 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team: - Improved support for 64bit Windows (mingw64). - Improved support for cegcc (Windows CE/PocketPC). - Support for GNU/kOpenSolaris (kopensolaris*-gnu). + - Initial support for compilers on BlueGene BG/L. * Bug fixes: diff --git a/THANKS b/THANKS index 431a308..f387d1a 100644 --- a/THANKS +++ b/THANKS @@ -105,6 +105,7 @@ Joel N. Weber II devn...@gnu.org Joerg Sonnenberger jo...@netbsd.org John Bowler jbow...@acm.org + John R. Cary c...@txcorp.com John Wolfe j...@sco.com Joseph Beckenbach IIIj...@best.com Karl Berry k...@freefriends.org diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 8e4bca9..f76c9b1 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -3680,8 +3680,8 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; - xlc* | xlC*) - # IBM XL 8.0 on PPC + xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) + # IBM XL 8.0, 9.0 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' @@ -3964,8 +3964,8 @@ m4_if([$1], [CXX], [ # All Alpha code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; - xl*) - # IBM XL C 8.0/Fortran 10.1 on PPC + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' @@ -4342,7 +4342,7 @@ _LT_EOF lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; - xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) + xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; esac @@ -4364,7 +4364,7 @@ _LT_EOF fi case $cc_basename in - xlf*) + xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= @@ -5910,7 +5910,7 @@ if test $_lt_caught_CXX_error != yes; then # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 21 | $GREP ld`; templist=`func_echo_all $templist | $SED s/\(^.*ld.*\)\( .*ld .*$\)/\1/`; list=; for z
[SCM] GNU Libtool branch, master, updated. v2.2.6-113-g26d3654
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 26d36541aded9124add202e288a79f3c08242687 (commit) from 5ef9367f2a030124e7b5ed4a4194a12c545d6fce (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 26d36541aded9124add202e288a79f3c08242687 Author: Alan Hourihane al...@fairlite.co.uk Date: Sat May 2 10:42:39 2009 +0200 Improved support for FreeMiNT. * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN) [mint]: Hard-code command line length limit to 8192, to avoid long test. * NEWS, THANKS: Update. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |7 +++ NEWS |1 + THANKS|1 + libltdl/m4/libtool.m4 |5 + 4 files changed, 14 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index df905a1..56db8d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-05-02 Alan Hourihane al...@fairlite.co.uk (tiny change) + + Improved support for FreeMiNT. + * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN) [mint]: Hard-code + command line length limit to 8192, to avoid long test. + * NEWS, THANKS: Update. + 2009-05-02 Ralf Wildenhues ralf.wildenh...@gmx.de Initial port for BlueGene BG/L. diff --git a/NEWS b/NEWS index 4def4ca..f01480f 100644 --- a/NEWS +++ b/NEWS @@ -19,6 +19,7 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team: - Improved support for cegcc (Windows CE/PocketPC). - Support for GNU/kOpenSolaris (kopensolaris*-gnu). - Initial support for compilers on BlueGene BG/L. + - Improved support for Atari FreeMiNT. * Bug fixes: diff --git a/THANKS b/THANKS index f387d1a..2b8ad37 100644 --- a/THANKS +++ b/THANKS @@ -67,6 +67,7 @@ their time and energy in helping to track down bugs, port to new systems, and generally assist in the libtool maintainership process: + Alan Hourihane al...@fairlite.co.uk Alexei Sheplyakovv...@theor.jinr.ru Alon Bar-Lev alon.bar...@gmail.com Andreas Schwab sch...@suse.de diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index f76c9b1..65be165 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -1451,6 +1451,11 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl lt_cv_sys_max_cmd_len=8192; ;; + mint*) +# On MiNT this can take a long time and run out of memory. +lt_cv_sys_max_cmd_len=8192; +;; + amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.6-114-g848215b
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 848215b440b53cae6979dd5a65ea41e9d5ab5b3d (commit) from 26d36541aded9124add202e288a79f3c08242687 (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 848215b440b53cae6979dd5a65ea41e9d5ab5b3d Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat May 2 10:55:23 2009 +0200 Skip localization test when setlocale is not functional. * tests/localization.at (localized compiler messages): Skip test when there is a warning about `LC_ALL'. * THANKS: Update. Report by Maciej Helminiak. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |8 THANKS|1 + tests/localization.at |3 +++ 3 files changed, 12 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 56db8d9..4e3ceb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-05-02 Ralf Wildenhues ralf.wildenh...@gmx.de + + Skip localization test when setlocale is not functional. + * tests/localization.at (localized compiler messages): Skip + test when there is a warning about `LC_ALL'. + * THANKS: Update. + Report by Maciej Helminiak. + 2009-05-02 Alan Hourihane al...@fairlite.co.uk (tiny change) Improved support for FreeMiNT. diff --git a/THANKS b/THANKS index 2b8ad37..d16133b 100644 --- a/THANKS +++ b/THANKS @@ -113,6 +113,7 @@ Kenneth Albanowski kja...@kjahds.com Kevin Ryde use...@zip.com.au Kurt D. Zeilenga k...@openldap.org + Maciej Helminiak di...@wp.pl Maciej W. Rozyckima...@linux-mips.org Manfred Weichel manfred.weic...@pdb.siemens.de Marc Espie es...@nerim.net diff --git a/tests/localization.at b/tests/localization.at index 119b38d..1d689aa 100644 --- a/tests/localization.at +++ b/tests/localization.at @@ -49,6 +49,9 @@ AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c a.c || exit [1], [stdout], [stderr]) LT_AT_NORMALIZE_COMPILER_OUTPUT([stdout], [libtool-stdout]) LT_AT_NORMALIZE_COMPILER_OUTPUT([stderr], [libtool-stderr]) +# Avoid this error: +# /bin/sh: warning: setlocale: LC_ALL: cannot change locale (de_DE) +AT_CHECK([grep LC_ALL stdout stderr exit 77], [1]) AT_CHECK([diff expected-stderr libtool-stderr]) AT_CHECK([diff expected-stdout libtool-stdout]) hooks/post-receive -- GNU Libtool