kopia lustrzana https://github.com/Hamlib/Hamlib
added tcl bindings
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@562 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.2
rodzic
eef2dca016
commit
301df48a74
|
@ -1,5 +1,5 @@
|
|||
EXTRA_DIST = PLAN TODO LICENSE
|
||||
SUBDIRS = include lib libltdl src icom kenwood aor yaesu dummy pcr alinco winradio c++ tests doc
|
||||
SUBDIRS = include lib libltdl src icom kenwood aor yaesu dummy pcr alinco winradio c++ tcl tests doc
|
||||
|
||||
INCLUDES = $(INCLTDL)
|
||||
hamlibdoc_DATA = ChangeLog COPYING NEWS THANKS INSTALL README LICENSE
|
||||
|
|
18
configure.in
18
configure.in
|
@ -161,6 +161,23 @@ AC_SUBST(WINRADIODEPS)
|
|||
AC_SUBST(LIBWINRADIO)
|
||||
AC_SUBST(LTLIBWINRADIO)
|
||||
|
||||
dnl Check if tcl includes are there, so we can enable HamlibTCL
|
||||
|
||||
AC_CHECK_HEADERS(tcl8.2/tcl.h)
|
||||
if test "${ac_cv_header_tcl8_2_tcl_h}" = "no" ; then
|
||||
echo "disabling HamlibTCL support"
|
||||
LIBHAMLIBTCL=
|
||||
LTHAMLIBTCL=
|
||||
else
|
||||
echo "enabling HamlibTCL support"
|
||||
LIBHAMLIBTCL=libhamlibtcl.a
|
||||
LTHAMLIBTCL=libhamlibtcl.la
|
||||
fi
|
||||
AM_CONDITIONAL(HAMLIBTCL, test x$LTHAMLIBTCL != x)
|
||||
AC_SUBST(LIBHAMLIBTCL)
|
||||
AC_SUBST(LTHAMLIBTCL)
|
||||
|
||||
|
||||
|
||||
AC_SUBST(INCLUDES)
|
||||
|
||||
|
@ -201,6 +218,7 @@ pcr/Makefile
|
|||
alinco/Makefile
|
||||
src/Makefile
|
||||
c++/Makefile
|
||||
tcl/Makefile
|
||||
tests/Makefile
|
||||
doc/Makefile])
|
||||
|
||||
|
|
|
@ -86,6 +86,9 @@
|
|||
/* Define if you have the <sys/time.h> header file. */
|
||||
#undef HAVE_SYS_TIME_H
|
||||
|
||||
/* Define if you have the <tcl8.2/tcl.h> header file. */
|
||||
#undef HAVE_TCL8_2_TCL_H
|
||||
|
||||
/* Define if you have the <term.h> header file. */
|
||||
#undef HAVE_TERM_H
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue