libcc1: Fix up libcc1 configure [PR98330]

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.
This commit is contained in:
Jakub Jelinek 2020-12-18 20:25:26 +01:00
parent d44d47b492
commit 5dc998933e
2 changed files with 2 additions and 2 deletions

2
libcc1/configure vendored
View File

@ -14976,7 +14976,7 @@ LIBS="$LIBS $libcc1_cv_lib_sockets"
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=

View File

@ -106,7 +106,7 @@ LIBS="$LIBS $libcc1_cv_lib_sockets"
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)