diff options
author | Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> | 2011-02-09 23:31:17 -0500 |
---|---|---|
committer | Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> | 2011-02-09 23:31:17 -0500 |
commit | 3bf1f85267cad99c5a98b8c9c6d524edfdbc834e (patch) | |
tree | a0fb78c94181c15b9d5399ebd4a862aed847a3a5 /configure.ac | |
parent | Update PO files. (diff) | |
download | redshift-ng-3bf1f85267cad99c5a98b8c9c6d524edfdbc834e.tar.gz redshift-ng-3bf1f85267cad99c5a98b8c9c6d524edfdbc834e.tar.bz2 redshift-ng-3bf1f85267cad99c5a98b8c9c6d524edfdbc834e.tar.xz |
Add first pass of Geoclue location provider.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 05bf8cb..c59a36d 100644 --- a/configure.ac +++ b/configure.ac @@ -24,6 +24,7 @@ PKG_CHECK_MODULES([XCB_RANDR], [xcb-randr], PKG_CHECK_MODULES([GLIB], [glib-2.0 gobject-2.0], [have_glib=yes], [have_glib=no]) PKG_CHECK_MODULES([GCONF], [gconf-2.0], [have_gconf=yes], [have_gconf=no]) +PKG_CHECK_MODULES([GEOCLUE], [geoclue], [have_geoclue=yes], [have_geoclue=no]) AC_CHECK_HEADER([windows.h], [have_windows_h=yes], [have_windows_h=no]) @@ -131,6 +132,15 @@ AS_IF([test "x$enable_gnome_clock" != xno], [ ]) AM_CONDITIONAL([ENABLE_GNOME_CLOCK], [test "x$enable_gnome_clock" = xyes]) +# conditionally enable geoclue provider +AC_ARG_ENABLE([geoclue], [AC_HELP_STRING([--enable-geoclue], + [enable Geoclue location provider])], + [enable_geoclue=yes + AC_DEFINE([ENABLE_GEOCLUE], 1, + [Define to 1 to enable Geoclue location provider]) + ],[enable_geoclue=no]) +AM_CONDITIONAL([ENABLE_GEOCLUE], [test "x$enable_geoclue" = xyes]) + # Check for GUI status icon AC_MSG_CHECKING([whether to enable GUI status icon]) AC_ARG_ENABLE([gui], [AC_HELP_STRING([--enable-gui], |