libtool-patches
[Top][All Lists]
Advanced

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

Another LT_AT_EXEC_CHECK fixup.


From: Ralf Wildenhues
Subject: Another LT_AT_EXEC_CHECK fixup.
Date: Mon, 19 Jan 2009 21:55:24 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello,

I've had this really small patch to fix a couple of omissions.
Seems obvious, pushed.

Cheers,
Ralf

    Another LT_AT_EXEC_CHECK fixup.
    
    * tests/shlibpath.at (shlibpath_overrides_runpath): Use
    LT_AT_EXEC_CHECK instead of AT_CHECK.

diff --git a/tests/shlibpath.at b/tests/shlibpath.at
index 658bfd8..eea059b 100644
--- a/tests/shlibpath.at
+++ b/tests/shlibpath.at
@@ -51,7 +51,7 @@ $LIBTOOL --mode=clean rm -f liba.la
 eval `$LIBTOOL --config | $EGREP 
'^(shlibpath_var|shlibpath_overrides_runpath)='`
 
 # No point checking a system with static libraries:
-AT_CHECK([{ ./m || exit 1; } && exit 77], [1], [ignore], [ignore])
+LT_AT_EXEC_CHECK([./m], [1], [ignore], [ignore], [|| exit 1 && exit 77])
 
 if test "$shlibpath_var" = PATH; then
   addpath=`pwd`/moved/bin
@@ -65,7 +65,7 @@ export $shlibpath_var
 if test "$shlibpath_overrides_runpath" != no; then
   LT_AT_EXEC_CHECK([./m], [0], [ignore], [ignore])
 else
-  AT_CHECK([./m || exit 1], [1], [ignore], [ignore])
+  LT_AT_EXEC_CHECK([./m], [1], [ignore], [ignore], [|| exit 1])
 fi
 # Test that shlibpath_var is effective in adding paths at all:
 LT_AT_EXEC_CHECK([./m2], [0], [ignore], [ignore])




reply via email to

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