aboutsummaryrefslogtreecommitdiff
path: root/bbl
diff options
context:
space:
mode:
authormaxice8 <30738253+maxice8@users.noreply.github.com>2019-04-15 14:32:38 -0300
committerAndrew Waterman <aswaterman@gmail.com>2019-04-15 10:32:38 -0700
commit9239d63942b92c3568ebda26258e49d2acacd229 (patch)
tree667f8a2ae9d5c7ff994bfde7a312b9b4a9d394ee /bbl
parent9b72a65d59d17b2ae42318fdcd42882ca9aab3c9 (diff)
downloadriscv-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
Diffstat (limited to 'bbl')
-rw-r--r--bbl/bbl.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/bbl/bbl.ac b/bbl/bbl.ac
index 68780db..ca605d4 100644
--- a/bbl/bbl.ac
+++ b/bbl/bbl.ac
@@ -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])
])