diff options
author | Bastien Nocera <hadess@hadess.net> | 2017-02-08 19:21:53 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-02-08 19:21:53 +0100 |
commit | 3f0510cac87f3546ada4581c1174d60621c9aa7d (patch) | |
tree | 951b4f5d1a918a2e6bca9e3bac34ec4079a6a738 /panels/mouse | |
parent | 33d8c94b3e3777bacfd1ac398b73002a4c0db795 (diff) | |
download | gnome-control-center-3f0510cac87f3546ada4581c1174d60621c9aa7d.tar.gz |
build: Better libm checks
Use AC_CHECK_LIBM instead of AC_CHECK_LIB(m,...
and use $(LIBM) instead of hardcoding "-lm" in Makefiles.
Diffstat (limited to 'panels/mouse')
-rw-r--r-- | panels/mouse/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/panels/mouse/Makefile.am b/panels/mouse/Makefile.am index 9e113d51d..aa86e0ab7 100644 --- a/panels/mouse/Makefile.am +++ b/panels/mouse/Makefile.am @@ -25,7 +25,7 @@ libmouse_properties_la_SOURCES = \ gnome-mouse-test.c \ gnome-mouse-test.h -libmouse_properties_la_LIBADD = $(PANEL_LIBS) $(MOUSE_PANEL_LIBS) $(top_builddir)/panels/common/libdevice.la +libmouse_properties_la_LIBADD = $(PANEL_LIBS) $(MOUSE_PANEL_LIBS) $(LIBM) $(top_builddir)/panels/common/libdevice.la test_gnome_mouse_test_SOURCES = \ $(BUILT_SOURCES) \ @@ -36,7 +36,7 @@ test_gnome_mouse_test_SOURCES = \ noinst_PROGRAMS = test-gnome-mouse-test test_gnome_mouse_test_CPPFLAGS = $(AM_CPPFLAGS) -test_gnome_mouse_test_LDADD = $(PANEL_LIBS) $(MOUSE_PANEL_LIBS) +test_gnome_mouse_test_LDADD = $(PANEL_LIBS) $(MOUSE_PANEL_LIBS) $(LIBM) resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/mouse.gresource.xml) cc-mouse-resources.c: mouse.gresource.xml $(resource_files) |