* tests/deplibs-ident.at: To define whether this test should XFAIL, use
hardcode_action, hardcode_direct, hardcode_direct_absolute configuration
settings instead of platforms aix, hppa-hpux, interix or openbsd.
---
tests/deplibs-ident.at | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/tests/deplibs-ident.at b/tests/deplibs-ident.at
index 92372ec..5e981a9 100644
--- a/tests/deplibs-ident.at
+++ b/tests/deplibs-ident.at
@@ -67,10 +67,13 @@ int main() { return a1() + a2() + a3() + c(); }
AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o b$EXEEXT b.$OBJEXT
../liba1.la ../liba2.la ../liba3.la ../../c/libcee.la -rpath /nowhere],
[0],[stdout],[ignore])
AT_CHECK([$EGREP 'cee.*cee' stdout], 1, [ignore], [ignore])
- AT_XFAIL_IF([case $host in
- *-*-aix*|hppa*-*-hpux*|*-*-interix*|*-*-openbsd*) false;;
- *):;;
- esac])
+ AT_XFAIL_IF([dnl
+ eval `$LIBTOOL --config | $EGREP
'^hardcode_(direct|direct_absolute|action)='`
+ case $hardcode_action:$hardcode_direct:$hardcode_direct_absolute in
+ relink:yes:no) :;;
+ *:no:*) :;;
+ *:*:*) false;;
+ esac])
dnl This is currently broken in libtool
)
--
1.7.3.4