-retain-symbols-file. Do not test for failure to link `broken'
in this case. At the end of the test, SKIP if we are not fully
functional.
2007-02-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ * tests/export.at: Exporting is not fully functional with
+ -retain-symbols-file. Do not test for failure to link `broken'
+ in this case. At the end of the test, SKIP if we are not fully
+ functional.
+
* tests/lt_dlexit.at: Add casts and `extern "C"' to let the test
pass with a C++ compiler.
AT_CHECK([$LIBTOOL --features | grep 'disable shared libraries' && (exit 77)],
[1], [ignore])
AT_CHECK([eval `$LIBTOOL --config | sed -n '/^archive_expsym_cmds=/,/^$/p'`
- test -n "$archive_expsym_cmds" || echo false >can-hide])
+ test -n "$archive_expsym_cmds" || echo false >can-hide
+ case $archive_expsym_cmds in
+ *-retain-symbols-file*) echo false >can-hide ;;
+ esac])
can_hide=:
test -s can-hide && can_hide=false
fi
done
+AT_CHECK([$can_hide || (exit 77)])
+
AT_CLEANUP