[SCM] GNU Libtool branch, master, updated. v2.2.10-178-g52e86c6

2010-09-12 Thread Peter Rosin
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  52e86c62786b95f91f32e7020f7eaf3c1be9a59b (commit)
  from  e61b37353e4de33b24c7cf0ecde097e0e4c32aca (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 52e86c62786b95f91f32e7020f7eaf3c1be9a59b
Author: Peter Rosin 
Date:   Sun Sep 12 18:43:11 2010 +0200

* .gitignore: Ignore *.obj files for MSVC (and w32 in general).

---

Summary of changes:
 .gitignore |1 +
 ChangeLog  |2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index e8e1bc2..bc71270 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@
 *.lo
 *.log
 *.o
+*.obj
 *.pg
 *.toc
 *.tp
diff --git a/ChangeLog b/ChangeLog
index 0d5e54d..c7d0336 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2010-09-12  Peter Rosin  
 
+   * .gitignore: Ignore *.obj files for MSVC (and w32 in general).
+
Adjust to moved auxiliary files and add compile.
* HACKING (Maintenance Notes): Adjust to moved files.  Add the
compile script.


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, master, updated. v2.2.10-177-ge61b373

2010-09-12 Thread Peter Rosin
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  e61b37353e4de33b24c7cf0ecde097e0e4c32aca (commit)
  from  a62c82a9fa68db09090cd2a1eed796b6e5160b94 (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 e61b37353e4de33b24c7cf0ecde097e0e4c32aca
Author: Peter Rosin 
Date:   Sun Sep 12 18:23:53 2010 +0200

Adjust to moved auxiliary files and add compile.

* HACKING (Maintenance Notes): Adjust to moved files.  Add the
compile script.
* Makefile.maint (fetch): Also fetch the compile script.

Signed-off-by: Peter Rosin 

---

Summary of changes:
 ChangeLog  |7 +++
 HACKING|   11 ++-
 Makefile.maint |2 ++
 3 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3cea4aa..0d5e54d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-12  Peter Rosin  
+
+   Adjust to moved auxiliary files and add compile.
+   * HACKING (Maintenance Notes): Adjust to moved files.  Add the
+   compile script.
+   * Makefile.maint (fetch): Also fetch the compile script.
+
 2010-09-12  Ralf Wildenhues  
 
tests: avoid empty AT_DATA contents, for zsh.
diff --git a/HACKING b/HACKING
index b462c98..e9184f2 100644
--- a/HACKING
+++ b/HACKING
@@ -28,7 +28,12 @@ and is not part of a release distribution.
   files should never be edited here.  These files are:
COPYING
INSTALL
-   config/
+   doc/
+   + fdl.texi
+   libltdl/
+   + COPYING.LIB
+   libltdl/config/
+   + compile
+ config.guess
+ config.sub
+ depcomp
@@ -36,10 +41,6 @@ and is not part of a release distribution.
+ mdate-sh
+ missing
+ texinfo.tex
-   doc/
-   + fdl.texi
-   libltdl/
-   + COPYING.LIB
   The ones that are important for a release can be udated with,
   `make -fMakefile.maint fetch' (or `make -f../Makefile.maint fetch'
   if you are running from a VPATH build directory, where `../' is the
diff --git a/Makefile.maint b/Makefile.maint
index 64abde6..784b155 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -88,6 +88,7 @@ WGET_CGIT = $(WGET) 
'http://git.savannah.gnu.org/cgit/config.git/plain'
 ## FIXME should be a lot more here
 FETCHFILES = \
 ./INSTALL \
+$(auxdir)/compile \
 $(auxdir)/install-sh \
 $(auxdir)/config.guess \
 $(auxdir)/config.sub \
@@ -101,6 +102,7 @@ fetch:
 ## If a get fails then that is a problem.
(cd Fetchdir && \
$(WGET_GIT)'gnulib.git;f=doc/INSTALL' -O INSTALL && \
+   $(WGET_GIT)'automake.git;f=lib/compile' -O compile && \
$(WGET_GIT)'automake.git;f=lib/install-sh' -O install-sh && \
$(WGET_CGIT)/config.guess -O config.guess && \
$(WGET_CGIT)/config.sub -O config.sub && \


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, master, updated. v2.2.10-176-ga62c82a

2010-09-12 Thread Ralf Wildenhues
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 
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 

---

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  
+
+   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  
 
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, master, updated. v2.2.10-175-gef56e98

2010-09-12 Thread Charles Wilson
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  ef56e98f3bb4ed780a08bced638f8adf673c0041 (commit)
  from  048979e10ffcbe67dad11e3b58365ecc66232e5a (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 ef56e98f3bb4ed780a08bced638f8adf673c0041
Author: Charles Wilson 
Date:   Sun Sep 12 09:19:51 2010 -0400

When assigning $linklib value, honor [-all]-static[-libtool-libs]

* libltdl/config/ltmain.m4sh (func_mode_link): When prefer_static_libs
and static library exists, ensure old_library name is used as $linklib.
Fixes failure on mingw when both static and shared libraries are
present.

Signed-off-by: Charles Wilson 

---

Summary of changes:
 ChangeLog  |9 +
 libltdl/config/ltmain.m4sh |   12 +---
 2 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b9abe8a..6b76340 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-09-12  Charles Wilson  
+
+   When assigning $linklib value, honor [-all]-static[-libtool-libs]
+
+   * libltdl/config/ltmain.m4sh (func_mode_link): When prefer_static_libs
+   and static library exists, ensure old_library name is used as $linklib.
+   Fixes failure on mingw when both static and shared libraries are
+   present.
+
 2010-09-12  Ralf Wildenhues  
 
tests: work around zsh use of $options variable.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 509a421..6036f4f 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -5652,9 +5652,15 @@ func_mode_link ()
 
# Get the name of the library we link against.
linklib=
-   for l in $old_library $library_names; do
- linklib="$l"
-   done
+   if test -n "$old_library" &&
+  { test "$prefer_static_libs" = yes ||
+test "$prefer_static_libs,$installed" = "built,no"; }; then
+ linklib=$old_library
+   else
+ for l in $old_library $library_names; do
+   linklib="$l"
+ done
+   fi
if test -z "$linklib"; then
  func_fatal_error "cannot find name of link library for \`$lib'"
fi


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, master, updated. v2.2.10-174-g048979e

2010-09-12 Thread Ralf Wildenhues
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  048979e10ffcbe67dad11e3b58365ecc66232e5a (commit)
  from  594b9203db9e5c3fef5729016d73e71026701f02 (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 048979e10ffcbe67dad11e3b58365ecc66232e5a
Author: Ralf Wildenhues 
Date:   Sun Sep 12 16:38:46 2010 +0200

tests: work around zsh use of $options variable.

* tests/getopt-m4sh.at: Rename $options to $opts, the former is
special for zsh 4.3.10.

Signed-off-by: Ralf Wildenhues 

---

Summary of changes:
 ChangeLog|4 
 tests/getopt-m4sh.at |   12 ++--
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4e8557b..b9abe8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-09-12  Ralf Wildenhues  
 
+   tests: work around zsh use of $options variable.
+   * tests/getopt-m4sh.at: Rename $options to $opts, the former is
+   special for zsh 4.3.10.
+
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.
diff --git a/tests/getopt-m4sh.at b/tests/getopt-m4sh.at
index 1c2ac26..75a7bf6 100644
--- a/tests/getopt-m4sh.at
+++ b/tests/getopt-m4sh.at
@@ -37,14 +37,14 @@ AT_DATA([options.m4sh],
 nl='
 '
 list=
-options=
+opts=
 M4SH_GETOPTS(
   [a!],[--append], [], [func_append list "$optarg$nl"],
-  [f], [--force],  [], [options="$options force"],
-  [i], [--install],[], [options="$options install"],
-  [v], [--verbose],[], [options="$options verbose"],
-  [!], [--ltdl],   [false],[options="$options ltdl=$optarg"],
-[echo "$list" $options])
+  [f], [--force],  [], [opts="$opts force"],
+  [i], [--install],[], [opts="$opts install"],
+  [v], [--verbose],[], [opts="$opts verbose"],
+  [!], [--ltdl],   [false],[opts="$opts ltdl=$optarg"],
+[echo "$list" $opts])
 ]])
 m4_pattern_forbid([m4_include])
 m4_pattern_forbid([AS_INIT])


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, master, updated. v2.2.10-173-g594b920

2010-09-12 Thread Ralf Wildenhues
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 
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 

---

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  
+
+   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(tiny 
change)
Ralf Wildenhues  
 
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-172-g60e961d

2010-09-12 Thread Ralf Wildenhues
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 
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] :
New set of entries, for NAG Fortran 5.1 and 5.2.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues 

---

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(tiny 
change)
+   Ralf Wildenhues  
+
+   Initial support for the NAG Fortran compiler on GNU/Linux.
+   * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] :
+   New set of entries, for NAG Fortran 5.1 and 5.2.
+   * NEWS: Update.
+
 2010-09-12  Ralf Wildenhues  
 
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-171-g0d01005

2010-09-12 Thread Ralf Wildenhues
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  0d01005082315a4a9818be139d1db2148407ce51 (commit)
  from  3a94f44686dc3fbe184d1c07c2f9b7fbddfaa873 (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 0d01005082315a4a9818be139d1db2148407ce51
Author: Ralf Wildenhues 
Date:   Sun Sep 12 11:40:36 2010 +0200

Fix getopt.m4sh to require Autoconf 2.62 or newer.

* libltdl/config/getopt.m4sh (m4_version_prereq): Require 2.62,
not 2.61.

Signed-off-by: Ralf Wildenhues 

---

Summary of changes:
 ChangeLog  |6 ++
 libltdl/config/getopt.m4sh |4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index acca455..3dd65c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-12  Ralf Wildenhues  
+
+   Fix getopt.m4sh to require Autoconf 2.62 or newer.
+   * libltdl/config/getopt.m4sh (m4_version_prereq): Require 2.62,
+   not 2.61.
+
 2010-09-11  Charles Wilson  
 
Correct typo: $sharedlib_from_linklib_cmd missing '_cmd'
diff --git a/libltdl/config/getopt.m4sh b/libltdl/config/getopt.m4sh
index 806c1d4..2196743 100644
--- a/libltdl/config/getopt.m4sh
+++ b/libltdl/config/getopt.m4sh
@@ -50,11 +50,11 @@ m4_pattern_forbid([^_?m4go_])
 ## --- ##
 
 # We prefer m4sugar.m4 from Autoconf-2.64, but have fallbacks in this
-# section that work back as far as Autoconf-2.61.  This file is used
+# section that work back as far as Autoconf-2.62.  This file is used
 # at bootstrap time to generate the shell processing loop for ltmain.sh
 # and libtoolize.in, so it's okay for the requirement to be tighter
 # than the configure time Autoconf prerequisite version.
-m4_version_prereq([2.61])
+m4_version_prereq([2.62])
 
 # m4_chomp(STRING)
 # 


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, master, updated. v2.2.10-170-g3a94f44

2010-09-12 Thread Ralf Wildenhues
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 
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  
 
+   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] :
+   Add $pic_flag for GCC.
+   (_LT_LANG_CXX_CONFIG) [linux] :
+   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="$lt_cv_sys_global_symbol_pipe | sed '/ 
__gnu_lto/d'"
 
   # Check to see that the pipe works correct