From df9d9e93113afe7d244fc5a4b5e51e40514cddb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Mon, 25 Aug 2003 22:23:30 +0000 Subject: [PATCH] * fodtrack and flexradio gained systemwise portability * added python binding intial support * requirement: gnuradio >= 0.8 git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1520 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- configure.ac | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index b2747a041..6344de78f 100644 --- a/configure.ac +++ b/configure.ac @@ -198,8 +198,8 @@ fi AC_SUBST(RIGMATRIX) -BACKEND_LIST="icom kenwood aor yaesu dummy pcr alinco uniden tentec kachina jrc drake lowe" -ROT_BACKEND_LIST="dummy easycomm rotorez sartek" +BACKEND_LIST="icom kenwood aor yaesu dummy pcr alinco uniden tentec kachina jrc drake lowe flexradio" +ROT_BACKEND_LIST="dummy easycomm rotorez sartek fodtrack" BINDINGS="" BINDING_LIST="" @@ -281,6 +281,21 @@ AC_SUBST(TCL_SHLIB_SUFFIX) # TODO: require "${ac_cv_header_sys_socket_h}" = "no" +dnl Check for python availability, so we can enable HamlibPy + +PYTHON_DEVEL +cf_with_python=yes +AC_MSG_CHECKING(whether to build python binding and demo) +AC_ARG_WITH(python-binding, + [ --with-python-binding build python binding and demo], + [cf_with_python_binding=$withval], + [cf_with_python_binding=$cf_with_python]) +AC_MSG_RESULT($cf_with_python_binding) + +if test "${cf_with_python_binding}" = "yes" ; then + BINDING_LIST="${BINDING_LIST} python" +fi + dnl Backend list @@ -288,11 +303,6 @@ case "$host_os" in linux-gnu*) # Winradio only under Linux (until someone port it on other os) BACKEND_LIST="$BACKEND_LIST winradio" - # TODO: support parallel port interface on other systems too - if test "${ac_cv_header_linux_ppdev_h}" = "yes"; then - ROT_BACKEND_LIST="$ROT_BACKEND_LIST fodtrack" - BACKEND_LIST="$BACKEND_LIST flexradio" - fi ;; *) esac @@ -307,7 +317,7 @@ if test "${cf_with_cxx}" = "yes" ; then AC_MSG_RESULT($cf_with_gnuradio) if test "${cf_with_gnuradio}" = "yes" ; then - PKG_CHECK_MODULES(GNURADIO, gnuradio >= 0.7) + PKG_CHECK_MODULES(GNURADIO, gnuradio >= 0.8) BACKEND_LIST="$BACKEND_LIST gnuradio" fi