diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2011-02-02 19:25:52 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2011-02-02 19:35:03 -0500 |
commit | 2cd30c36c080217c20addf311510881c8eecf374 (patch) | |
tree | 70a7fc63181d3cf6a82fa16087d28c5109dc3f83 /src | |
parent | 3c923881f415651d75434efd209003d602253437 (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')
-rw-r--r-- | src/Makefile.am | 5 |
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) |