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.6-32-g44ee284


From: Ralf Wildenhues
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-32-g44ee284
Date: Sun, 16 Nov 2008 22:33:15 +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  44ee284ba2f235ae39460a0d372ec1ef8ac3dc34 (commit)
       via  bbd9f2903d2b84c71bccbb16de338ba75329e59a (commit)
      from  b7109dab7251a5f3608c68830f63cab97b58ff04 (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 44ee284ba2f235ae39460a0d372ec1ef8ac3dc34
Author: Ralf Wildenhues <address@hidden>
Date:   Sun Nov 16 23:31:56 2008 +0100

    Skip sys_lib_search_path on systems without libz.
    
    * tests/search-path.at (sys_lib_search_path): Autotest needs at
    least one AT_CHECK executed in a test group.  So if we haven't
    found -lz anywhere, as may happen with cross-compilers, skip the
    test.
    * THANKS: Update.
    Report by Alon Bar-Lev.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

commit bbd9f2903d2b84c71bccbb16de338ba75329e59a
Author: Alon Bar-Lev <address@hidden>
Date:   Sun Nov 16 23:29:20 2008 +0100

    Ignore .exe files.
    
    * .gitignore: Ignore *.exe.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

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

Summary of changes:
 .gitignore           |    1 +
 ChangeLog            |    8 ++++++++
 THANKS               |    1 +
 tests/search-path.at |    9 ++++++++-
 4 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/.gitignore b/.gitignore
index cacff4e..e8e1bc2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
 *.cp
 *.cps
 *.dvi
+*.exe
 *.fn
 *.ky
 *.la
diff --git a/ChangeLog b/ChangeLog
index aff79eb..05285be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2008-11-16  Ralf Wildenhues  <address@hidden>
 
+       Skip sys_lib_search_path on systems without libz.
+       * tests/search-path.at (sys_lib_search_path): Autotest needs at
+       least one AT_CHECK executed in a test group.  So if we haven't
+       found -lz anywhere, as may happen with cross-compilers, skip the
+       test.
+       * THANKS: Update.
+       Report by Alon Bar-Lev.
+
        Fix execute mode test to actually expose cwrapper failures.
        * tests/execute-mode.at (execute mode): Actually also test the
        cwrapper on the arguments.
diff --git a/THANKS b/THANKS
index 66f705b..d37d264 100644
--- a/THANKS
+++ b/THANKS
@@ -68,6 +68,7 @@
   and generally assist in the libtool maintainership process:
 
   Alexei Sheplyakov            address@hidden
+  Alon Bar-Lev                 address@hidden
   Andreas Schwab               address@hidden
   Andrey Slepuhin              address@hidden
   Aneesh Kumar K.V             address@hidden
diff --git a/tests/search-path.at b/tests/search-path.at
index 2bc56c0..929d2dd 100644
--- a/tests/search-path.at
+++ b/tests/search-path.at
@@ -1,6 +1,6 @@
 # search-path.at -- test sys_lib_search_path_spec             -*- Autotest -*-
 #
-#   Copyright (C) 2006 Free Software Foundation, Inc.
+#   Copyright (C) 2006, 2008 Free Software Foundation, Inc.
 #   Written by Ralf Wildenhues, 2006
 #
 #   This file is part of GNU Libtool.
@@ -41,13 +41,20 @@ int main()
 $CC $CPPFLAGS $CFLAGS -c main.c
 eval `$LIBTOOL --config | $EGREP '^(sys_lib_search_path_spec)='`
 eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
+no_libz=:
 for path in $sys_lib_search_path; do
   if $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT -L$path -lz
   then
     AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT 
-lz],
              [], [ignore], [ignore])
+    no_libz=false
     break
   fi
 done
 
+# If -lz doesn't exist (hello, cross compiler!), we need a dummy test.
+if $no_libz; then
+  AT_CHECK([exit 77])
+fi
+
 AT_CLEANUP


hooks/post-receive
--
GNU Libtool




reply via email to

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