libtool-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Libtool branch, master, updated. v2.2.10-75-g3936d01


From: Ralf Wildenhues
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-75-g3936d01
Date: Sat, 07 Aug 2010 11:10:22 +0000

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

The branch, master has been updated
       via  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 <address@hidden>
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 <address@hidden>

commit 4055972b1cb63285ddf43652205a5e4bf36eb12e
Author: Ralf Wildenhues <address@hidden>
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 <address@hidden>

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

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  <address@hidden>
 
+       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]) $configure_options $1],
          [0], [ignore], [ignore])
 ])
 


hooks/post-receive
-- 
GNU Libtool



reply via email to

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