Skip to content

Commit

Permalink
Use correct operator to compare strings in configure script
Browse files Browse the repository at this point in the history
To compare strings, = should be used instead of ==.

Closes #2627.
  • Loading branch information
pmzqla committed Feb 28, 2015
1 parent 112d4b8 commit 6b24849
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -1368,8 +1368,8 @@ Optional Features:
--disable-silent-rules verbose build output (undo: "make V=0")
--enable-debug Enable debug build
--disable-gui Disable the GUI for headless running. Disables
--disable-webui Disable the WebUI.
QtDBus and the GeoIP Database.
--disable-webui Disable the WebUI.
--disable-qt-dbus Disable use of QtDBus (GUI only)
Optional Packages:
Expand Down Expand Up @@ -3258,7 +3258,7 @@ IFS=$ac_save_IFS
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac


am__api_version='1.15'
am__api_version='1.14'

# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
Expand Down Expand Up @@ -3447,7 +3447,7 @@ else
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
fi

if test x"${install_sh+set}" != xset; then
if test x"${install_sh}" != xset; then
case $am_aux_dir in
*\ * | *\ *)
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
Expand Down Expand Up @@ -3838,8 +3838,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
mkdir_p='$(MKDIR_P)'

# We need awk for the "check" target (and possibly the TAP driver). The
# system "awk" is bad on some platforms.
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
# Always define AMTAR for backward compatibility. Yes, it's still used
# in the wild :-( We should find a proper way to deprecate it ...
AMTAR='$${TAR-tar}'
Expand Down Expand Up @@ -4639,7 +4639,7 @@ case "x$enable_qt_dbus" in #(
"xyes") :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
if test "x$with_qt5" == "xyes"; then :
if test "x$with_qt5" = "xyes"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5DBus >= 5.2.0" >&5
$as_echo_n "checking for Qt5DBus >= 5.2.0... " >&6; }
if test -n "$PKG_CONFIG" && \
Expand Down
2 changes: 1 addition & 1 deletion m4/qbittorrent.m4
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ AS_IF([test "x$QT_QMAKE" != "x"],
# Sets the HAVE_QTDBUS variable to true or false.
# --------------------------------------
AC_DEFUN([FIND_QTDBUS],
[AS_IF([test "x$with_qt5" == "xyes"],
[AS_IF([test "x$with_qt5" = "xyes"],
[AC_MSG_CHECKING([for Qt5DBus >= 5.2.0])
PKG_CHECK_EXISTS([Qt5DBus >= 5.2.0],
[AC_MSG_RESULT([found])
Expand Down

0 comments on commit 6b24849

Please sign in to comment.