[PATCH:libXt 2/2] Don't need to use target-specific CFLAGS for makestrs

Alan Coopersmith alan.coopersmith at oracle.com
Fri Mar 4 18:04:23 PST 2011


It's the only thing built in that directory, so we can use AM_CFLAGS
and drop the requirement for AM_PROG_CC_C_O in configure.ac

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 configure.ac     |    3 ---
 util/Makefile.am |    2 +-
 2 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index e268aa6..8945729 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,9 +42,6 @@ XORG_MACROS_VERSION(1.8)
 XORG_DEFAULT_OPTIONS
 XORG_CHECK_MALLOC_ZERO
 
-# Some compilers do not support per target -c and -o flags
-AM_PROG_CC_C_O
-
 # Checks for header files.
 AC_CHECK_HEADER([alloca.h], AC_DEFINE(INCLUDE_ALLOCA_H, 1, [Define to 1 if Xalloca.h should include <alloca.h>]))
 
diff --git a/util/Makefile.am b/util/Makefile.am
index 969ecef..dedfa6b 100644
--- a/util/Makefile.am
+++ b/util/Makefile.am
@@ -10,7 +10,7 @@ EXTRA_DIST = \
 	StrDefs.ht \
 	string.list
 
-makestrs_CFLAGS = $(XT_CFLAGS)
+AM_CFLAGS = $(XT_CFLAGS)
 makestrs_SOURCES = makestrs.c
 
 
-- 
1.7.3.2



More information about the xorg-devel mailing list