Commit b2f65cf3 authored by Zeeshan Ali's avatar Zeeshan Ali

configure: Correct help for --disable-modem-gps-source

Also make sure that we are explicit about the fact that its modem GPS we
are talking about and not all GPS devices.

https://bugzilla.gnome.org/show_bug.cgi?id=73961
parent 4efbfab5
...@@ -116,13 +116,13 @@ AM_CONDITIONAL([BUILD_3G_SOURCE], [test "$build_3g_source" = "yes"]) ...@@ -116,13 +116,13 @@ AM_CONDITIONAL([BUILD_3G_SOURCE], [test "$build_3g_source" = "yes"])
# GPS source # GPS source
AC_ARG_ENABLE(modem-gps-source, AC_ARG_ENABLE(modem-gps-source,
AS_HELP_STRING([--disable-gps-source], [Disable GPS backend (requires ModemManager)]), AS_HELP_STRING([--disable-modem-gps-source], [Disable modem GPS backend (requires ModemManager)]),
[build_modem_gps_source=$enableval], [build_modem_gps_source=yes]) [build_modem_gps_source=$enableval], [build_modem_gps_source=yes])
if test "$build_modem_gps_source" = "yes"; then if test "$build_modem_gps_source" = "yes"; then
build_modem_source=yes build_modem_source=yes
AC_DEFINE([GCLUE_USE_MODEM_GPS_SOURCE], [1], [Build GPS source?]) AC_DEFINE([GCLUE_USE_MODEM_GPS_SOURCE], [1], [Build modem GPS source?])
else else
AC_DEFINE([GCLUE_USE_MODEM_GPS_SOURCE], [0], [Build GPS source?]) AC_DEFINE([GCLUE_USE_MODEM_GPS_SOURCE], [0], [Build modem GPS source?])
fi fi
AM_CONDITIONAL([BUILD_MODEM_GPS_SOURCE], [test "$build_modem_gps_source" = "yes"]) AM_CONDITIONAL([BUILD_MODEM_GPS_SOURCE], [test "$build_modem_gps_source" = "yes"])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment