summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-02-02 19:25:52 -0500
committerGaetan Nadon <memsize@videotron.ca>2011-02-02 19:35:03 -0500
commit2cd30c36c080217c20addf311510881c8eecf374 (patch)
tree70a7fc63181d3cf6a82fa16087d28c5109dc3f83 /src/Makefile.am
parent3c923881f415651d75434efd209003d602253437 (diff)
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 <memsize@videotron.ca>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am5
1 files changed, 3 insertions, 2 deletions
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)