From 2cd30c36c080217c20addf311510881c8eecf374 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Wed, 2 Feb 2011 19:25:52 -0500 Subject: config: splitting SM and XTRANS compiler options is not required Simplify configuration by using a single PKG_CHECK_MODULES statement. Signed-off-by: Gaetan Nadon --- src/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 1098679..a094ccc 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,7 @@ lib_LTLIBRARIES=libSM.la -AM_CFLAGS= $(CWARNFLAGS) -I${top_srcdir}/include $(SM_CFLAGS) $(XTRANS_CFLAGS) +AM_CPPFLAGS = -I${top_srcdir}/include +AM_CFLAGS = $(CWARNFLAGS) $(SM_CFLAGS) if WITH_LIBUUID AM_CFLAGS += $(LIBUUID_CFLAGS) -DHAVE_LIBUUID @@ -8,7 +9,7 @@ endif libSM_la_LDFLAGS = -version-number 6:0:1 -no-undefined -libSM_la_LIBADD = $(SM_LIBS) $(XTRANS_LIBS) +libSM_la_LIBADD = $(SM_LIBS) if WITH_LIBUUID libSM_la_LIBADD += $(LIBUUID_LIBS) -- cgit v1.2.3