Either we should write test x$darwin_dynamic_lookup = xyes
or we should make sure the variable is always defined to non-empty string.
2020-12-18 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/98380
* configure.ac: Set darwin_dynamic_lookup=no instead to empty
string.
* configure: Regenerated.
case "$host" in
*-*-darwin*) darwin_dynamic_lookup=yes ;;
- *) darwin_dynamic_lookup= ;;
+ *) darwin_dynamic_lookup=no ;;
esac
if test $darwin_dynamic_lookup = yes; then
DARWIN_DYNAMIC_LOOKUP_TRUE=
case "$host" in
*-*-darwin*) darwin_dynamic_lookup=yes ;;
- *) darwin_dynamic_lookup= ;;
+ *) darwin_dynamic_lookup=no ;;
esac
AM_CONDITIONAL(DARWIN_DYNAMIC_LOOKUP, test $darwin_dynamic_lookup = yes)