From e6a5ad259ce20fb55e9524502f9c66c80e3ba5eb Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 14 Mar 2013 14:41:50 +0100 Subject: [PATCH] build: fix check for libqmi when newest QMI commands are enabled Reported by Marius Kotsbak --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 3f00a6d5..d8c98a0c 100644 --- a/configure.ac +++ b/configure.ac @@ -192,8 +192,8 @@ AC_ARG_WITH(newest_qmi_commands, AS_HELP_STRING([--with-newest-qmi-commands], [T AM_CONDITIONAL(WITH_NEWEST_QMI_COMMANDS, test "x$with_newest_qmi_commands" = "xyes") case $with_newest_qmi_commands in yes) - if test "$with_qmi" = "xno" ; then - AC_ERROR([Cannot enable newest QMI commands if QMI support if disabled]) + if test "x$with_qmi" = "xno" ; then + AC_ERROR([Cannot enable newest QMI commands if QMI support is disabled]) fi AC_DEFINE(WITH_NEWEST_QMI_COMMANDS, 1, [Define if we enable new QMI commands support])