-no-undefined is a libtool flag, not a flag for LD. So don't try to
check whether LD understands -no-undefined because that's irrelevant.