diff options
author | Leo Izen <[email protected]> | 2021-11-09 11:56:27 -0500 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2021-11-10 06:51:42 +0100 |
commit | 4a2c0e82a0752b87cda01c0ed33218753cef55e8 (patch) | |
tree | 0cf028473a200b3643f7dd46ce15ed29b7c3cc20 | |
parent | 7abc48e094fa69bc2c3ea8acbff90d605738a738 (diff) | |
download | mate-indicator-applet-4a2c0e82a0752b87cda01c0ed33218753cef55e8.tar.bz2 mate-indicator-applet-4a2c0e82a0752b87cda01c0ed33218753cef55e8.tar.xz |
configure.ac: fix incorrect shell test == behavior
-rw-r--r-- | configure.ac | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/configure.ac b/configure.ac index ca756cf..a1860a9 100644 --- a/configure.ac +++ b/configure.ac @@ -84,7 +84,7 @@ PKG_CHECK_EXISTS(indicator3-0.4 >= $UBUNTU_INDICATOR_NG_VERSION, ### decide on what Indicators implementation to use... -if test "x$have_ayatanaindicator" == "xyes" && +if test "x$have_ayatanaindicator" = "xyes" && test "x$have_ubuntuindicator" != "xyes" && test "x$with_ubuntu_indicators" != "xyes"; then @@ -92,7 +92,7 @@ if test "x$have_ayatanaindicator" == "xyes" && use_ayatanaindicator="yes"; indicator_enforced="no"; -elif test "x$have_ubuntuindicator" == "xyes" && +elif test "x$have_ubuntuindicator" = "xyes" && test "x$have_ayatanaindicator" != "xyes" && test "x$with_ayatana_indicators" != "xyes"; then @@ -100,31 +100,31 @@ elif test "x$have_ubuntuindicator" == "xyes" && use_ubuntuindicator="yes"; indicator_enforced="no"; -elif test "x$have_ubuntuindicator" == "xyes" && - test "x$have_ayatanaindicator" == "xyes" && - test "x$with_ayatana_indicators" == "xyes"; then +elif test "x$have_ubuntuindicator" = "xyes" && + test "x$have_ayatanaindicator" = "xyes" && + test "x$with_ayatana_indicators" = "xyes"; then # both Indicator implementations are present, and we are asked to use Ayatana Indicators use_ayatanaindicator=yes; indicator_enforced=yes; -elif test "x$have_ubuntuindicator" == "xyes" && - test "x$have_ayatanaindicator" == "xyes" && - test "x$with_ubuntu_indicators" == "xyes"; then +elif test "x$have_ubuntuindicator" = "xyes" && + test "x$have_ayatanaindicator" = "xyes" && + test "x$with_ubuntu_indicators" = "xyes"; then # both Indicator implementations are present, and we are asked to use Ubuntu Indicators use_ubuntuindicator=yes; indicator_enforced=yes; -elif test "x$have_ubuntuindicator" == "xyes" && +elif test "x$have_ubuntuindicator" = "xyes" && test "x$have_ayatanaindicator" != "xyes" && - test "x$with_ayatana_indicators" == "xyes"; then + test "x$with_ayatana_indicators" = "xyes"; then AC_MSG_ERROR([Ubuntu Indicators are present, but you want to build mate-indicator-applet against Ayatana Indicators. This does not match.]) elif test "x$have_ubuntuindicator" != "xyes" && - test "x$have_ayatanaindicator" == "xyes" && - test "x$with_ubuntu_indicators" == "xyes"; then + test "x$have_ayatanaindicator" = "xyes" && + test "x$with_ubuntu_indicators" = "xyes"; then AC_MSG_ERROR([Ayatana Indicators are present, but you want to build mate-indicator-applet against Ubuntu Indicators. This does not match.]) @@ -136,13 +136,13 @@ fi ### prepare Ayatana or Ubuntu Indicators implementation for the build, regarding to the decision reached above... -if test "x$use_ayatanaindicator" == "xyes"; then +if test "x$use_ayatanaindicator" = "xyes"; then AM_CONDITIONAL(WITH_AYATANA_INDICATOR, true) AM_CONDITIONAL(WITH_UBUNTU_INDICATOR, false) AC_DEFINE(HAVE_AYATANA_INDICATOR, 1, "Ayatana Indicators Support") - if test "x$indicator_enforced" == "xyes"; then + if test "x$indicator_enforced" = "xyes"; then AC_MSG_NOTICE([Using Ayatana Indicators for this build (as requested via configure option).]) else AC_MSG_NOTICE([Using Ayatana Indicators for this build.]) @@ -159,14 +159,14 @@ if test "x$use_ayatanaindicator" == "xyes"; then AC_SUBST(AYATANA_INDICATOR_CFLAGS) AC_SUBST(AYATANA_INDICATOR_LIBS) -elif test "x$use_ubuntuindicator" == "xyes"; then +elif test "x$use_ubuntuindicator" = "xyes"; then # both Indicator implementations are present, and we are asked to use Ubuntu Indicators AM_CONDITIONAL(WITH_UBUNTU_INDICATOR, true) AM_CONDITIONAL(WITH_AYATANA_INDICATOR, false) AC_DEFINE(HAVE_UBUNTU_INDICATOR, 1, "Ubuntu Indicators Support") - if test "x$indicator_enforced" == "xyes"; then + if test "x$indicator_enforced" = "xyes"; then AC_MSG_NOTICE([Using Ubuntu Indicators for this build (as requested via configure option).]) else AC_MSG_NOTICE([Using Ubuntu Indicators for this build.]) @@ -290,18 +290,18 @@ po/Makefile.in # Results ########################### -if (test "x$use_ayatanaindicator" == "xyes" && - test "x$have_ayatanaindicator_ng" == "xyes") || - (test "x$use_ubuntuindicator" == "xyes" && - test "x$have_ubuntuindicator_ng" == "xyes"); then +if (test "x$use_ayatanaindicator" = "xyes" && + test "x$have_ayatanaindicator_ng" = "xyes") || + (test "x$use_ubuntuindicator" = "xyes" && + test "x$have_ubuntuindicator_ng" = "xyes"); then have_indicator_ng="yes" else have_indicator_ng="no" fi -if test "x$use_ayatanaindicator" == "xyes"; then +if test "x$use_ayatanaindicator" = "xyes"; then indicator_implementation="Ayatana Indicators" -elif test "x$use_ubuntuindicator" == "xyes"; then +elif test "x$use_ubuntuindicator" = "xyes"; then indicator_implementation="Ubuntu Indicators" fi |