[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 73607aeb5414c90e63f2c
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: n0nb <n0...@us...> - 2025-05-22 22:11:29
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Hamlib -- Ham radio control libraries". The branch, master has been updated via 73607aeb5414c90e63f2c1f92ece65c550d76895 (commit) via 94bf1d717aaa29678a98cf50455648a6410df795 (commit) via 435a354ee072f9e6fe033add021b5fe44a92b19d (commit) via ce95b034c65251999c931403ba1228dbef252cf6 (commit) via 9aee8f8343812a0e671f7b1fa330ba6a8f25da26 (commit) via 5370bbd32e0d5d212357b2d0f9f4d608eb242b21 (commit) via 50462e65644056efd43de533798eda5b23097b7f (commit) via daa5c83a82f12fe397c8a553cb4940bb7b4a72b5 (commit) from ad824fa85e42fbf185addef24526427803056f1e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 73607aeb5414c90e63f2c1f92ece65c550d76895 Merge: ad824fa85 94bf1d717 Author: Nate Bargmann <n0...@n0...> Date: Thu May 22 16:56:01 2025 -0500 Merge branch 'dforsi-fix/ac_arg_enable' Reference GitHub PR #1731. commit 94bf1d717aaa29678a98cf50455648a6410df795 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sat May 17 11:27:31 2025 +0200 Fix failure of ./configure --with-tcl-binding --with-xml-support If pkg-config has found tcl.pc, then tclConfig.sh is not executed and $TCL_INCLUDE_SPEC is empty so the test for tcl.h fails. This patch moves the test inside the "else" case where the variable is always defined. The is a bug exposed by the fact that --with-xml-support redefines the macro PKG_CHECK_MODULES. Fix verified moving aside /usr/lib/x86_64-linux-gnu/pkgconfig/tcl.pc Fixes: configure: error: Unable to find Tcl headers diff --git a/configure.ac b/configure.ac index f9bf267d5..4e4331504 100644 --- a/configure.ac +++ b/configure.ac @@ -637,14 +637,14 @@ AS_IF([test x"${build_tcl}" = "xyes"],[ AC_MSG_WARN([Unable to find Tcl pkgconfig]) SC_PATH_TCLCONFIG SC_LOAD_TCLCONFIG - ]) - tcl_save_CPPFLAGS=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC" - AC_CHECK_HEADERS([tcl.h], - [], - [AC_MSG_ERROR([Unable to find Tcl headers])]) - CPPFLAGS=$tcl_save_CPPFLAGS + tcl_save_CPPFLAGS=$CPPFLAGS + CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC" + AC_CHECK_HEADERS([tcl.h], + [], + [AC_MSG_ERROR([Unable to find Tcl headers])]) + CPPFLAGS=$tcl_save_CPPFLAGS + ]) BINDING_LIST="${BINDING_LIST} tcl" BINDING_ALL="${BINDING_ALL} all-tcl" commit 435a354ee072f9e6fe033add021b5fe44a92b19d Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sun May 11 19:47:06 2025 +0200 Fix --with-indi[=no] being considered =yes diff --git a/configure.ac b/configure.ac index cb020bfb0..f9bf267d5 100644 --- a/configure.ac +++ b/configure.ac @@ -403,7 +403,7 @@ AC_MSG_CHECKING([whether to use INDI in rigctl/rotctl]) AC_ARG_WITH([indi], [AS_HELP_STRING([--without-indi], [disable INDI in rigctl/rotctl @<:@default=yes@:>@])], - [cf_with_indi_support=yes], + [cf_with_indi_support=$with_indi], [cf_with_indi_support=no] ) #]) commit ce95b034c65251999c931403ba1228dbef252cf6 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sun May 11 19:24:33 2025 +0200 Fix --with-libusb[=yes] being considered =no diff --git a/configure.ac b/configure.ac index 1e51eb698..cb020bfb0 100644 --- a/configure.ac +++ b/configure.ac @@ -347,7 +347,7 @@ AC_MSG_CHECKING([whether to build USB dependent backends]) AC_ARG_WITH([libusb], [AS_HELP_STRING([--without-libusb], [disable USB dependent backends @<:@default=yes@:>@])], - [cf_with_libusb=no], + [cf_with_libusb=$with_libusb], [cf_with_libusb=yes] ) commit 9aee8f8343812a0e671f7b1fa330ba6a8f25da26 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sun May 11 18:36:35 2025 +0200 Fix --with-readline[=yes] being considered =no diff --git a/configure.ac b/configure.ac index f408f1f18..1e51eb698 100644 --- a/configure.ac +++ b/configure.ac @@ -381,7 +381,7 @@ AC_MSG_CHECKING([whether to use readline in rigctl/rotctl]) AC_ARG_WITH([readline], [AS_HELP_STRING([--without-readline], [disable readline in rigctl/rotctl @<:@default=yes@:>@])], - [cf_with_readline_support=no], + [cf_with_readline_support=$with_readline], [cf_with_readline_support=yes] ) commit 5370bbd32e0d5d212357b2d0f9f4d608eb242b21 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sun May 11 11:06:06 2025 +0200 Fix --enable-html-matrix[=yes] being considered =no diff --git a/configure.ac b/configure.ac index 58a10b7a2..f408f1f18 100644 --- a/configure.ac +++ b/configure.ac @@ -445,12 +445,10 @@ AC_MSG_CHECKING([whether to build HTML rig feature matrix]) AC_ARG_ENABLE([html-matrix], [AS_HELP_STRING([--disable-html-matrix], [do not generate HTML rig feature matrix (requires libgd-dev) @<:@default=check@:>@])], - [cf_enable_html_matrix=no], + [cf_enable_html_matrix=$enable_html_matrix], [cf_enable_html_matrix=check] ) -AC_MSG_RESULT([$cf_enable_html_matrix]) - AS_IF([test x"$cf_enable_html_matrix" != "xno"], [AC_CHECK_HEADERS([gd.h], [AC_CHECK_LIB([gd], @@ -462,6 +460,7 @@ AS_IF([test x"$cf_enable_html_matrix" != "xno"], ) ]) +AC_MSG_RESULT([$cf_enable_html_matrix]) AM_CONDITIONAL([HTML_MATRIX], [test x"${cf_enable_html_matrix}" = "xyes"]) commit 50462e65644056efd43de533798eda5b23097b7f Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sun May 11 09:45:22 2025 +0200 Fix --enable-parallel[=yes] being considered =no diff --git a/configure.ac b/configure.ac index 5f759dc18..58a10b7a2 100644 --- a/configure.ac +++ b/configure.ac @@ -746,8 +746,11 @@ AC_MSG_CHECKING([whether to build parallel port devices]) AC_ARG_ENABLE([parallel], [AS_HELP_STRING([--disable-parallel], [do not build parallel devices @<:@default=yes@:>@])], - [cf_with_parallel="no"], - [cf_with_parallel="yes" AC_DEFINE([HAVE_PARALLEL],[1],[Define if parallel devices are to be built])]) + [cf_with_parallel="${enable_parallel}"], + [cf_with_parallel="yes"]) +AS_IF([test x"${cf_with_parallel}" = "xyes"], + [AC_DEFINE([HAVE_PARALLEL],[1],[Define if parallel devices are to be built])] +) AC_MSG_RESULT([$cf_with_parallel]) DL_LIBS="" commit daa5c83a82f12fe397c8a553cb4940bb7b4a72b5 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sun May 11 09:45:06 2025 +0200 Fix --enable-winradio[=yes] being considered =no diff --git a/configure.ac b/configure.ac index 4a453abdb..5f759dc18 100644 --- a/configure.ac +++ b/configure.ac @@ -734,8 +734,11 @@ AC_MSG_CHECKING([whether to build winradio backend]) AC_ARG_ENABLE([winradio], [AS_HELP_STRING([--disable-winradio], [do not build winradio backend @<:@default=yes@:>@])], - [cf_with_winradio="no"], - [cf_with_winradio="yes" AC_DEFINE([HAVE_WINRADIO],[1],[Define if winradio backend is built])]) + [cf_with_winradio="${enable_winradio}"], + [cf_with_winradio="yes" ]) +AS_IF([test x"${cf_with_winradio}" = "xyes"], + [AC_DEFINE([HAVE_WINRADIO],[1],[Define if winradio backend is built])] +) AC_MSG_RESULT([$cf_with_winradio]) dnl Parallel port device disable ----------------------------------------------------------------------- Summary of changes: configure.ac | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |