build: Use ENABLE_SKEY for setting AC_CONFIG_FILES and mate_terminal_LDADD
parent
e83a3e4023
commit
4248e1c7ee
|
@ -127,10 +127,13 @@ mate-terminal.desktop.in
|
||||||
src/Makefile
|
src/Makefile
|
||||||
src/org.mate.terminal.gschema.xml
|
src/org.mate.terminal.gschema.xml
|
||||||
src/terminal-version.h
|
src/terminal-version.h
|
||||||
src/skey/Makefile
|
|
||||||
help/Makefile
|
help/Makefile
|
||||||
po/Makefile.in
|
po/Makefile.in
|
||||||
])
|
])
|
||||||
|
|
||||||
|
AM_COND_IF([ENABLE_SKEY],
|
||||||
|
[AC_CONFIG_FILES([src/skey/Makefile])])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
# ****************************
|
# ****************************
|
||||||
|
|
|
@ -90,9 +90,13 @@ mate_terminal_CFLAGS = \
|
||||||
mate_terminal_LDFLAGS = -lICE
|
mate_terminal_LDFLAGS = -lICE
|
||||||
|
|
||||||
mate_terminal_LDADD = \
|
mate_terminal_LDADD = \
|
||||||
skey/libskey.la \
|
|
||||||
$(TERM_LIBS)
|
$(TERM_LIBS)
|
||||||
|
|
||||||
|
if ENABLE_SKEY
|
||||||
|
mate_terminal_LDADD += \
|
||||||
|
skey/libskey.la
|
||||||
|
endif
|
||||||
|
|
||||||
mate_terminal_SOURCES += \
|
mate_terminal_SOURCES += \
|
||||||
eggdesktopfile.c \
|
eggdesktopfile.c \
|
||||||
eggdesktopfile.h \
|
eggdesktopfile.h \
|
||||||
|
|
Loading…
Reference in New Issue