[SCM] GNU Libtool branch, master, updated. v2.4.3-36-g8083d2b

2014-11-21 Thread Gary V. Vaughan
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  8083d2b47b56808a65b1a2435f2c9801fcd4d312 (commit)
  from  c3e8f12fd7c1346c7ecf7e35830279058d51c166 (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 8083d2b47b56808a65b1a2435f2c9801fcd4d312
Author: Michael Haubenwallner michael.haubenwall...@ssi-schaefer.com
Date:   Fri Nov 21 18:56:27 2014 +

tests: question mark is extended regex for non-GNU grep.

Accepting \? for at-most-once in basic regex is a GNU grep
extension, not accepted by AIX grep for example.
* tests/libtool.at: Use \{0,1\} instead of ? with GREP.

Signed-off-by: Gary V. Vaughan g...@gnu.org

---

Summary of changes:
 tests/libtool.at |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/libtool.at b/tests/libtool.at
index a466790..7431820 100755
--- a/tests/libtool.at
+++ b/tests/libtool.at
@@ -116,14 +116,14 @@ for mode in compile link install; do
   [0], [stdout])
   # NOTE: we use ...''... to insert a literal quote into the expression
   #   because ...\... is not expanded consistently by all shells.
-  AT_CHECK([$GREP 
$mode:.*$match_preflag'\?'$flag:test'\? ' stdout],
+  AT_CHECK([$GREP 
$mode:.*$match_preflag'\{0,1\}'$flag:test'\{0,1\} ' 
stdout],
  [0], [ignore])
 
   # Shell metacharacters that should be backslashified by libtool.
   for mchar in \ \` \$; do
 AT_CHECK([$LIBTOOL -n --mode=$mode $preargs 
$preflag$flag$mchar:test$mchar $postargs],
 [0], [stdout])
-AT_CHECK([$GREP 
$mode:.*$match_preflag''\?$flag$mchar:test$mchar''\?  stdout], 
[0], [ignore])
+AT_CHECK([$GREP 
$mode:.*$match_preflag''\{0,1\}$flag$mchar:test$mchar''\{0,1\}  
stdout], [0], [ignore])
   done
 
   # Shell metacharacters that should be double quoted by libtool, and need


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, master, updated. v2.4.3-37-g845ff0b

2014-11-21 Thread Gary V. Vaughan
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  845ff0b76837a630eb54d23eb66912339b589a65 (commit)
  from  8083d2b47b56808a65b1a2435f2c9801fcd4d312 (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 845ff0b76837a630eb54d23eb66912339b589a65
Author: Michael Haubenwallner michael.haubenwall...@ssi-schaefer.com
Date:   Fri Nov 21 19:03:26 2014 +

tests: do not test undef symbols across shlibs on AIX.

On AIX, undefined symbols across shared libraries can work only
when the main program explicitly exports those symbols. As this
is bad practice anyway and -no-undefined should be preferred, we
skip this.
* tests/template.at: Skip test with undef syms across libraries
on AIX.

Signed-off-by: Gary V. Vaughan g...@gnu.org

---

Summary of changes:
 tests/template.at |   17 +++--
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/tests/template.at b/tests/template.at
index a5bfcef..f40852c 100644
--- a/tests/template.at
+++ b/tests/template.at
@@ -129,10 +129,12 @@ LT_AT_TAG([CXX])
 AT_KEYWORDS([libtool])
 
 noskip=:
+withundef=:
 # Mac OS X.
 # The linker has issues with this test.
 case $host in
 *-darwin*) noskip=false ;;
+*-aix*) withundef=false ;;
 esac
 
 
@@ -243,7 +245,7 @@ AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS 
$LDFLAGS -o sub/main$EXE
 [0], [ignore], [ignore])
 LT_AT_EXEC_CHECK([./sub/main], [ignore])
 # lib convenience
-if $noskip; then
+if $noskip  $withundef; then
   AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o 
lib2/libb.la lib2/b.lo -rpath /foo],
   [0], [ignore], [ignore])
   AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o 
sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la],
@@ -254,11 +256,14 @@ fi
 # both installed
 AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o 
lib/liba.la lib/a.lo -rpath /foo],
 [0], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o 
lib2/libb.la lib2/b.lo -rpath /bar],
-[0], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o 
sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la],
-[0], [ignore], [ignore])
-LT_AT_EXEC_CHECK([./sub/main])
+if $withundef; then
+  AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o 
lib2/libb.la lib2/b.lo -rpath /bar],
+  [0], [ignore], [ignore])
+  AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o 
sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la],
+  [0], [ignore], [ignore])
+  LT_AT_EXEC_CHECK([./sub/main])
+fi
+
 # both convenience, libb depending on liba
 AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o 
lib/liba.la lib/a.lo],
 [0], [ignore], [ignore])


hooks/post-receive
-- 
GNU Libtool