diff options
author | maxice8 <30738253+maxice8@users.noreply.github.com> | 2019-04-15 01:17:03 -0300 |
---|---|---|
committer | Andrew Waterman <aswaterman@gmail.com> | 2019-04-14 21:17:03 -0700 |
commit | 9b72a65d59d17b2ae42318fdcd42882ca9aab3c9 (patch) | |
tree | b9e59d2e424125319fad269026c9908e1cdd18e5 | |
parent | 723aa2249a0a909b88ce2d48c7e6b2e36bf630fc (diff) | |
download | pk-9b72a65d59d17b2ae42318fdcd42882ca9aab3c9.zip pk-9b72a65d59d17b2ae42318fdcd42882ca9aab3c9.tar.gz pk-9b72a65d59d17b2ae42318fdcd42882ca9aab3c9.tar.bz2 |
configure.ac: use = instead of == to check for equality (#157)
== is not specified by POSIX and will fail if a POSIX shell is called
which is done by the configure script.
Related to: https://github.com/void-linux/void-packages/issues/10949
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 917179f..962b2c0 100644 --- a/configure.ac +++ b/configure.ac @@ -84,7 +84,7 @@ AC_ARG_WITH([arch], AS_HELP_STRING([--with-arch], [Set the RISC-V architecture]) [AC_SUBST([WITH_ARCH], $with_arch, [Specify architecture to build the project])]) AC_ARG_ENABLE([print-device-tree], AS_HELP_STRING([--enable-print-device-tree], [Print DTS when booting])) -AS_IF([test "x$enable_print_device_tree" == "xyes"], [ +AS_IF([test "x$enable_print_device_tree" = "xyes"], [ AC_DEFINE([PK_PRINT_DEVICE_TREE],,[Define if the DTS is to be displayed]) ]) |