From 9ccf14fddedc11bd17b3ae30612c6f70f4cd7e14 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 4 Mar 2011 16:31:59 -0800 Subject: Don't need to use target-specific CFLAGS for makestrs 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 Reviewed-by: Gaetan Nadon Tested-by: Gaetan Nadon --- configure.ac | 3 --- util/Makefile.am | 2 +- 2 files changed, 1 insertion(+), 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 ])) 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 -- cgit v1.2.3