From 985f825a94723f9f4b876af790ce92634d1129af Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sat, 2 Aug 2008 17:40:05 +0200 Subject: Create the app-defaults dir when using a build dir (build fix) Also use AM_CFLAGS instead of xmessage_CFLAGS, making AM_PROG_CC_C_O unnecessary. --- Makefile.am | 3 ++- configure.ac | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index a06db06..b068461 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ bin_PROGRAMS = xmessage -xmessage_CFLAGS = $(XMESSAGE_CFLAGS) +AM_CFLAGS = $(XMESSAGE_CFLAGS) xmessage_LDADD = $(XMESSAGE_LIBS) xmessage_SOURCES = \ @@ -46,6 +46,7 @@ APPDEFAULTFILES = \ SUFFIXES = .ad .ad: + $(mkdir_p) app-defaults cp $< $@ appdefault_DATA = $(APPDEFAULTFILES) diff --git a/configure.ac b/configure.ac index 1a6a2ca..e2cebc8 100644 --- a/configure.ac +++ b/configure.ac @@ -29,7 +29,6 @@ AM_MAINTAINER_MODE AM_CONFIG_HEADER(config.h) AC_PROG_CC -AM_PROG_CC_C_O AC_PROG_INSTALL # Checks for pkg-config packages -- cgit v1.2.3