diff options
| author | Ian Jordan <[email protected]> | 2023-12-19 09:03:56 +0000 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-03-12 16:05:41 -0400 |
| commit | 9b84351f7b61146779ef30889be37cd17fd3caed (patch) | |
| tree | a7e47ce8d1da4db8eea68a4dbe3b589f44bbd034 | |
| parent | 62538226df8f6b0b627618aa0f2d0aebb0b6c3da (diff) | |
| download | mate-polkit-9b84351f7b61146779ef30889be37cd17fd3caed.tar.bz2 mate-polkit-9b84351f7b61146779ef30889be37cd17fd3caed.tar.xz | |
configure.ac: Prevent sh breakage
These should be = not == or it's going to break with dash as /bin/sh.
Thanks-to: Sam James <[email protected]>
Signed-off-by: Ian Jordan <[email protected]>
| -rw-r--r-- | configure.ac | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index bfff37e..c3ceec9 100644 --- a/configure.ac +++ b/configure.ac @@ -129,22 +129,22 @@ AC_ARG_ENABLE([appindicator], [enable_appindicator="auto"]) -if test "x$enable_appindicator" == "xauto" && - (test "x$have_appindicator_ayatana" == "xyes" || - test "x$have_appindicator_ubuntu" == "xyes"); then +if test "x$enable_appindicator" = "xauto" && + (test "x$have_appindicator_ayatana" = "xyes" || + test "x$have_appindicator_ubuntu" = "xyes"); then AC_MSG_NOTICE([Enabling AppIndicator support (as --enable-appindicator=auto was used).]) enable_appindicator="yes" fi -if test "x$enable_appindicator" == "xyes"; then - if test "x$have_appindicator_ayatana" == "xyes"; then +if test "x$enable_appindicator" = "xyes"; then + if test "x$have_appindicator_ayatana" = "xyes"; then AC_MSG_NOTICE([Buidling against Ayatana AppIndicator.]) PKG_CHECK_MODULES(AYATANA_APPINDICATOR, [$AYATANA_APPINDICATOR_PKG >= $APPINDICATOR_REQUIRED], [AC_DEFINE(HAVE_AYATANA_APPINDICATOR, 1, [Have Ayatana AppIndicator])]) AC_SUBST(AYATANA_APPINDICATOR_CFLAGS) AC_SUBST(AYATANA_APPINDICATOR_LIBS) - elif test "x$have_appindicator_ubuntu" == "xyes"; then + elif test "x$have_appindicator_ubuntu" = "xyes"; then AC_MSG_NOTICE([Buidling against Ubuntu AppIndicator.]) PKG_CHECK_MODULES(UBUNTU_APPINDICATOR, [$UBUNTU_APPINDICATOR_PKG >= $APPINDICATOR_REQUIRED], |
