Browse Source

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
pull/158/head
maxice8 7 years ago
committed by Andrew Waterman
parent
commit
9b72a65d59
  1. 2
      configure.ac

2
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])
])

Loading…
Cancel
Save