diff options
author | Pierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk> | 2009-05-30 03:15:42 +0800 |
---|---|---|
committer | Pierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk> | 2009-06-01 23:35:32 +0800 |
commit | 7a1fd4ecfdb3af30a23b4cd028a5c7402f1f6a38 (patch) | |
tree | 493c9599dec4c0a30254cc637200886ccbce1168 /libempathy-gtk | |
parent | 6db41c2d2576e35bfe086a9a96e5014a7a8ff6db (diff) | |
download | gsoc2013-empathy-7a1fd4ecfdb3af30a23b4cd028a5c7402f1f6a38.tar gsoc2013-empathy-7a1fd4ecfdb3af30a23b4cd028a5c7402f1f6a38.tar.gz gsoc2013-empathy-7a1fd4ecfdb3af30a23b4cd028a5c7402f1f6a38.tar.bz2 gsoc2013-empathy-7a1fd4ecfdb3af30a23b4cd028a5c7402f1f6a38.tar.lz gsoc2013-empathy-7a1fd4ecfdb3af30a23b4cd028a5c7402f1f6a38.tar.xz gsoc2013-empathy-7a1fd4ecfdb3af30a23b4cd028a5c7402f1f6a38.tar.zst gsoc2013-empathy-7a1fd4ecfdb3af30a23b4cd028a5c7402f1f6a38.zip |
Don't build the file instead of #if the whole file
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/Makefile.am | 10 | ||||
-rw-r--r-- | libempathy-gtk/empathy-location-manager.c | 3 |
2 files changed, 8 insertions, 5 deletions
diff --git a/libempathy-gtk/Makefile.am b/libempathy-gtk/Makefile.am index b31bd3f4c..4fd0fa562 100644 --- a/libempathy-gtk/Makefile.am +++ b/libempathy-gtk/Makefile.am @@ -47,7 +47,6 @@ libempathy_gtk_handwritten_source = \ empathy-video-src.c \ empathy-video-widget.c \ empathy-irc-network-dialog.c \ - empathy-location-manager.c \ empathy-log-window.c \ empathy-new-message-dialog.c \ empathy-presence-chooser.c \ @@ -106,7 +105,6 @@ libempathy_gtk_headers = \ empathy-video-widget.h \ empathy-images.h \ empathy-irc-network-dialog.h \ - empathy-location-manager.h \ empathy-log-window.h \ empathy-new-message-dialog.h \ empathy-presence-chooser.h \ @@ -119,6 +117,14 @@ libempathy_gtk_headers = \ empathy-theme-manager.h \ empathy-ui-utils.h +if HAVE_GEOCLUE +libempathy_gtk_handwritten_source += \ + empathy-location-manager.c + +libempathy_gtk_headers += \ + empathy-location-manager.h +endif + check_c_sources = \ $(libempathy_gtk_handwritten_source) \ $(libempathy_gtk_headers) diff --git a/libempathy-gtk/empathy-location-manager.c b/libempathy-gtk/empathy-location-manager.c index 7009a91db..5842e5f73 100644 --- a/libempathy-gtk/empathy-location-manager.c +++ b/libempathy-gtk/empathy-location-manager.c @@ -28,7 +28,6 @@ #include <telepathy-glib/util.h> -#if HAVE_GEOCLUE #include <geoclue/geoclue-master.h> #include <extensions/extensions.h> @@ -652,5 +651,3 @@ resource_cb (EmpathyConf *conf, if (priv->is_setup) update_resources (manager); } - -#endif |