kopia lustrzana https://github.com/Hamlib/Hamlib
added C++ bindings
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@551 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.2
rodzic
398c0d580a
commit
1a2d7efe08
|
@ -1,5 +1,5 @@
|
|||
EXTRA_DIST = PLAN TODO LICENSE
|
||||
SUBDIRS = include lib libltdl src icom kenwood aor yaesu dummy pcr alinco winradio tests doc
|
||||
SUBDIRS = include lib libltdl src icom kenwood aor yaesu dummy pcr alinco winradio c++ tests doc
|
||||
|
||||
INCLUDES = $(INCLTDL)
|
||||
hamlibdoc_DATA = ChangeLog COPYING NEWS THANKS INSTALL README LICENSE
|
||||
|
|
12
configure.in
12
configure.in
|
@ -26,6 +26,14 @@ AC_PROG_MAKE_SET
|
|||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
|
||||
AC_PROG_CXX
|
||||
AC_MSG_CHECKING(if you want to build C++ binding and demo)
|
||||
AC_ARG_WITH(cxx-binding,
|
||||
[ --without-cxx-binding do not build C++ binding and demo],
|
||||
[cf_with_cxx_binding=$withval],
|
||||
[cf_with_cxx_binding=$cf_with_cxx])
|
||||
AC_MSG_RESULT($cf_with_cxx_binding)
|
||||
|
||||
AC_CHECK_PROG(RANLIB, ranlib, ranlib, :)
|
||||
AC_CHECK_PROG(DLLTOOL, dlltool, dlltool, dlltool)
|
||||
AC_CHECK_PROG(AS, as, as, as, as)
|
||||
|
@ -41,6 +49,9 @@ CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE"
|
|||
if test "${ac_cv_prog_gcc}" = "yes"; then
|
||||
CFLAGS="${CFLAGS} -Wall"
|
||||
fi
|
||||
if test "${ac_cv_prog_gxx}" = "yes"; then
|
||||
CXXFLAGS="${CXXFLAGS} -Wall"
|
||||
fi
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
|
@ -189,6 +200,7 @@ winradio/Makefile
|
|||
pcr/Makefile
|
||||
alinco/Makefile
|
||||
src/Makefile
|
||||
c++/Makefile
|
||||
tests/Makefile
|
||||
doc/Makefile])
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
include_HEADERS = rig.h riglist.h rig_dll.h
|
||||
include_HEADERS = rig.h riglist.h rig_dll.h rigclass.h
|
||||
|
|
|
@ -62,6 +62,7 @@ host_triplet = @host@
|
|||
AR = @AR@
|
||||
AS = @AS@
|
||||
CC = @CC@
|
||||
CXX = @CXX@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DLL_PRELOAD = @DLL_PRELOAD@
|
||||
ECHO = @ECHO@
|
||||
|
@ -90,7 +91,7 @@ WINRADIODEPS = @WINRADIODEPS@
|
|||
WINRADIOLNK = @WINRADIOLNK@
|
||||
hamlibdocdir = @hamlibdocdir@
|
||||
|
||||
include_HEADERS = rig.h riglist.h rig_dll.h
|
||||
include_HEADERS = rig.h riglist.h rig_dll.h rigclass.h
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../../include/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
|
|
Ładowanie…
Reference in New Issue