libcc1: Fix up libcc1 configure [PR98330]
authorJakub Jelinek <jakub@redhat.com>
Fri, 18 Dec 2020 19:25:26 +0000 (20:25 +0100)
committerJakub Jelinek <jakub@redhat.com>
Fri, 18 Dec 2020 19:25:26 +0000 (20:25 +0100)
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.

libcc1/configure
libcc1/configure.ac

index d3eedfec9b8f70a8115f97e3289ecfa4d52b9d0e..ac0f0312cc991462fc467b01d55f8905ce3e0f33 100755 (executable)
@@ -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=
index 262e0a61e6f47b814d3c5cf676c060e6a4600d6c..648bcbae12a10e256af058b8aeb5a960ab39663c 100644 (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)