]> diplodocus.org Git - xorg-xinput/commitdiff
Change xinput_CFLAGS to AM_CFLAGS to clear automake-1.10 warning
authorJulien Cristau <jcristau@debian.org>
Thu, 10 Jan 2008 19:19:55 +0000 (20:19 +0100)
committerJulien Cristau <jcristau@debian.org>
Thu, 10 Jan 2008 19:44:09 +0000 (20:44 +0100)
src/Makefile.am:27: compiling `buttonmap.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'

Also remove -lm from xinput_LDADD, as it isn't needed.

src/Makefile.am

index a43db58cede59e057c4e34e450b1f628b57cadb4..d537512fb5ac955e958f12ce362118d6a9862017 100644 (file)
@@ -21,8 +21,8 @@
 
 bin_PROGRAMS = xinput
 
 
 bin_PROGRAMS = xinput
 
-xinput_CFLAGS = $(XINPUT_CFLAGS)
-xinput_LDADD = $(XINPUT_LIBS) -lm
+AM_CFLAGS = $(XINPUT_CFLAGS)
+xinput_LDADD = $(XINPUT_LIBS)
 
 xinput_SOURCES = \
     buttonmap.c \
 
 xinput_SOURCES = \
     buttonmap.c \