aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-03-14 14:41:50 +0100
committerAleksander Morgado <aleksander@lanedo.com>2013-03-14 14:41:50 +0100
commite6a5ad259ce20fb55e9524502f9c66c80e3ba5eb (patch)
tree0f9ddf69dd71d8f960266f2b1098cc46da7ae6b0
parentb64fc4b588a9dfa953219b9ab3a1ec036d7c9c80 (diff)
build: fix check for libqmi when newest QMI commands are enabled
Reported by Marius Kotsbak <marius.kotsbak@gmail.com>
-rw-r--r--configure.ac4
1 files 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])