build: Use ENABLE_SKEY for setting AC_CONFIG_FILES and mate_terminal_LDADD

rbuj 2019-10-10 19:33:37 +02:00 committed by raveit65
parent e83a3e4023
commit 4248e1c7ee
2 changed files with 9 additions and 2 deletions

View File

@ -127,10 +127,13 @@ mate-terminal.desktop.in
src/Makefile
src/org.mate.terminal.gschema.xml
src/terminal-version.h
src/skey/Makefile
help/Makefile
po/Makefile.in
])
AM_COND_IF([ENABLE_SKEY],
[AC_CONFIG_FILES([src/skey/Makefile])])
AC_OUTPUT
# ****************************

View File

@ -90,9 +90,13 @@ mate_terminal_CFLAGS = \
mate_terminal_LDFLAGS = -lICE
mate_terminal_LDADD = \
skey/libskey.la \
$(TERM_LIBS)
if ENABLE_SKEY
mate_terminal_LDADD += \
skey/libskey.la
endif
mate_terminal_SOURCES += \
eggdesktopfile.c \
eggdesktopfile.h \