diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/Makefile.am | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 9a8fdf2..638eee0 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -9,7 +9,6 @@ libcommon_la_SOURCES = \ bits.h bits.c \ compression.h compression.c \ cpp.h \ - curl.h curl.c \ dllist.h dllist.c \ endianness.h endianness.c \ environment.h environment.c \ @@ -31,7 +30,20 @@ libcommon_la_SOURCES = \ xdg.h xdg.c \ xml.h xml.c -libcommon_la_CFLAGS = $(TOOLKIT_CFLAGS) $(LIBXML_CFLAGS) $(LIBCURL_CFLAGS) +if BUILD_CURL_SUPPORT + +libcommon_la_SOURCES += \ + curl.h curl.c + +endif + +libcommon_la_CFLAGS = $(TOOLKIT_CFLAGS) $(LIBXML_CFLAGS) + +if BUILD_CURL_SUPPORT + +libcommon_la_CFLAGS += $(LIBCURL_CFLAGS) + +endif devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%) |