diff options
author | maxice8 <30738253+maxice8@users.noreply.github.com> | 2019-04-15 14:32:38 -0300 |
---|---|---|
committer | Andrew Waterman <aswaterman@gmail.com> | 2019-04-15 10:32:38 -0700 |
commit | 9239d63942b92c3568ebda26258e49d2acacd229 (patch) | |
tree | 667f8a2ae9d5c7ff994bfde7a312b9b4a9d394ee | |
parent | 9b72a65d59d17b2ae42318fdcd42882ca9aab3c9 (diff) | |
download | riscv-pk-9239d63942b92c3568ebda26258e49d2acacd229.zip riscv-pk-9239d63942b92c3568ebda26258e49d2acacd229.tar.gz riscv-pk-9239d63942b92c3568ebda26258e49d2acacd229.tar.bz2 |
bbl/bbl.ac: use = instead of == for comparing equality (#158)
== is not defined in POSIX and will fail when configure
is called with shells that adhere strictly to POSIX like
dash
-rw-r--r-- | bbl/bbl.ac | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ # See LICENSE for license details. AC_ARG_ENABLE([logo], AS_HELP_STRING([--enable-logo], [Enable boot logo])) -AS_IF([test "x$enable_logo" == "xyes"], [ +AS_IF([test "x$enable_logo" = "xyes"], [ AC_SUBST([BBL_ENABLE_LOGO], 1) AC_DEFINE([PK_ENABLE_LOGO],,[Define if the RISC-V logo is to be displayed]) ]) @@ -20,6 +20,6 @@ AC_ARG_WITH([logo], AS_HELP_STRING([--with-logo], [Specify a better logo]), [AC_SUBST([BBL_LOGO_FILE], [riscv_logo.txt], [Logo for bbl])]) AC_ARG_ENABLE([boot-machine], AS_HELP_STRING([--enable-boot-machine], [Run payload in machine mode])) -AS_IF([test "x$enable_boot_machine" == "xyes"], [ +AS_IF([test "x$enable_boot_machine" = "xyes"], [ AC_DEFINE([BBL_BOOT_MACHINE],,[Define to run payload in machine mode]) ]) |