mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 10:51:20 +03:00
Merge pull request #2865 from utezduyar/journald-upload
journal-upload: remove microhttpd dependency
This commit is contained in:
commit
9d74d73a4d
56
Makefile.am
56
Makefile.am
@ -3945,6 +3945,34 @@ systemd_cat_SOURCES = \
|
||||
systemd_cat_LDADD = \
|
||||
libjournal-core.la
|
||||
|
||||
if HAVE_LIBCURL
|
||||
rootlibexec_PROGRAMS += \
|
||||
systemd-journal-upload
|
||||
|
||||
systemd_journal_upload_SOURCES = \
|
||||
src/journal-remote/journal-upload.h \
|
||||
src/journal-remote/journal-upload.c \
|
||||
src/journal-remote/journal-upload-journal.c
|
||||
|
||||
systemd_journal_upload_CFLAGS = \
|
||||
$(AM_CFLAGS) \
|
||||
$(LIBCURL_CFLAGS)
|
||||
|
||||
systemd_journal_upload_LDADD = \
|
||||
libshared.la \
|
||||
$(LIBCURL_LIBS)
|
||||
|
||||
nodist_systemunit_DATA += \
|
||||
units/systemd-journal-upload.service
|
||||
|
||||
nodist_pkgsysconf_DATA += \
|
||||
src/journal-remote/journal-upload.conf
|
||||
endif
|
||||
|
||||
EXTRA_DIST += \
|
||||
units/systemd-journal-upload.service.in \
|
||||
src/journal-remote/journal-upload.conf.in
|
||||
|
||||
if HAVE_MICROHTTPD
|
||||
rootlibexec_PROGRAMS += \
|
||||
systemd-journal-remote
|
||||
@ -4004,34 +4032,6 @@ EXTRA_DIST += \
|
||||
src/journal-remote/log-generator.py
|
||||
endif
|
||||
|
||||
if HAVE_LIBCURL
|
||||
rootlibexec_PROGRAMS += \
|
||||
systemd-journal-upload
|
||||
|
||||
systemd_journal_upload_SOURCES = \
|
||||
src/journal-remote/journal-upload.h \
|
||||
src/journal-remote/journal-upload.c \
|
||||
src/journal-remote/journal-upload-journal.c
|
||||
|
||||
systemd_journal_upload_CFLAGS = \
|
||||
$(AM_CFLAGS) \
|
||||
$(LIBCURL_CFLAGS)
|
||||
|
||||
systemd_journal_upload_LDADD = \
|
||||
libshared.la \
|
||||
$(LIBCURL_LIBS)
|
||||
|
||||
nodist_systemunit_DATA += \
|
||||
units/systemd-journal-upload.service
|
||||
|
||||
nodist_pkgsysconf_DATA += \
|
||||
src/journal-remote/journal-upload.conf
|
||||
endif
|
||||
|
||||
EXTRA_DIST += \
|
||||
units/systemd-journal-upload.service.in \
|
||||
src/journal-remote/journal-upload.conf.in
|
||||
|
||||
# using _CFLAGS = in the conditional below would suppress AM_CFLAGS
|
||||
journalctl_CFLAGS = \
|
||||
$(AM_CFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user