summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-07-23 16:42:40 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-07-23 16:42:40 -0700
commitc2a336b187e1f78c3bfa8fad0f2cade6cf06071d (patch)
tree63ff1b73a71f57f1bbd35985679e371043139334
parent75a5110558714d5f601235fdc5762aeef731f73d (diff)
Use AM_CFLAGS instead of setxkbmap_CFLAGS to avoid automake-1.10 warning
Makefile.am:31: compiling `setxkbmap.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index d9db3e0..eca8a54 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,7 +23,7 @@ bin_PROGRAMS = setxkbmap
XKBCONFIGROOT=@XKBCONFIGROOT@
-setxkbmap_CFLAGS = $(SETXKBMAP_CFLAGS) \
+AM_CFLAGS = $(SETXKBMAP_CFLAGS) \
-D__XKBDEFRULES__='"xorg"' \
-DDFLT_XKB_CONFIG_ROOT=\"$(XKBCONFIGROOT)\"
setxkbmap_LDADD = $(SETXKBMAP_LIBS)