* build-aux/ltmain.m4sh (func_mode_link): Simplify.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
# This library was specified with -dlopen.
if test dlopen = "$pass"; then
- if test -z "$libdir"; then
- func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
- fi
+ test -z "$libdir" \
+ && func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
if test -z "$dlname" ||
test yes != "$dlopen_support" ||
test no = "$build_libtool_libs"