Commit 71311925 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Conditional compilation for seedlink_plugin sources


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@504 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent bb32f125
......@@ -109,6 +109,8 @@ AS_IF([test "x$with_ew" != xno],
AS_IF([test "x$with_seedlink" != xno],
[AC_CHECK_FILES([./src/seedlink_plugin.c ./src/seedlink_plugin.h], [], AC_MSG_ERROR([seedlink plug-in sources not found!]))]
)
AM_CONDITIONAL(WITHSEEDLINK, test x$with_seedlink != xno)
# Checks for typedefs, structures, and compiler characteristics.
......
AUTOMAKE_OPTIONS = gnu
bin_PROGRAMS = nmxptool
# TODO optional
seedlinkplugin_sources = seedlink_plugin.c
nmxptool_SOURCES = nmxptool.c nmxptool_getoptlong.c nmxptool_ew.c
nmxptool_SOURCES = nmxptool.c nmxptool_getoptlong.c nmxptool_ew.c \
$(seedlinkplugin_sources)
if WITHSEEDLINK
nmxptool_SOURCES += seedlink_plugin.c
endif
#noinst_HEADERS = gdu.h
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment