kopia lustrzana https://github.com/Hamlib/Hamlib
Fix --without-cxx-binding being ignored
Do not build the C++ bindings if the configure script was called with the option --without-cxx-binding.pull/1729/head
rodzic
da60d2d383
commit
c7ba4f5384
|
@ -1,3 +1,4 @@
|
||||||
|
if ENABLE_CXX
|
||||||
|
|
||||||
lib_LTLIBRARIES = libhamlib++.la
|
lib_LTLIBRARIES = libhamlib++.la
|
||||||
libhamlib___la_SOURCES = rigclass.cc rotclass.cc ampclass.cc
|
libhamlib___la_SOURCES = rigclass.cc rotclass.cc ampclass.cc
|
||||||
|
@ -15,3 +16,5 @@ TESTS = $(check_PROGRAMS)
|
||||||
|
|
||||||
$(top_builddir)/src/libhamlib.la:
|
$(top_builddir)/src/libhamlib.la:
|
||||||
$(MAKE) -C $(top_builddir)/src/ libhamlib.la
|
$(MAKE) -C $(top_builddir)/src/ libhamlib.la
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
|
@ -560,6 +560,7 @@ AC_MSG_RESULT([$cf_with_cxx_binding])
|
||||||
AS_IF([test x"${cf_with_cxx_binding}" = "xyes"],
|
AS_IF([test x"${cf_with_cxx_binding}" = "xyes"],
|
||||||
[BINDINGS="${BINDINGS} c++"])
|
[BINDINGS="${BINDINGS} c++"])
|
||||||
|
|
||||||
|
AM_CONDITIONAL([ENABLE_CXX], [test x"${cf_with_cxx_binding}" = "xyes"])
|
||||||
|
|
||||||
dnl Check if perl-binding is wanted, default is to not build it
|
dnl Check if perl-binding is wanted, default is to not build it
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue