Wykres commitów

62 Commity (4e606a054f52b77c4174aacb7b7ed4f08dca1a52)

Autor SHA1 Wiadomość Data
Michael Black W9MDB 8884e0d1f1 Increase version requirement for swig and add swig 3.0 detection
Change bindings test scripts to executable
2020-03-04 09:41:43 -06:00
Michael Black b7e8f01701 Fix mingw32 DLL linkage of hl_sleep 2020-01-10 15:58:16 -06:00
Michael Black f2f56558e7
Enclose sleep replacement in HAVE_NANOSLEEP 2020-01-07 17:33:37 -06:00
Nate Bargmann a2a873bbc9 Update ax_python_devel.m4 macro
Also reorder its call in configure.ac which now allows the PYTHON_VERSION
environment variable to be recognized and processed correctly by the
build system.

Correctly add PYTHON_LIBS (correct ouput variable of AX_PYTHON_DEVEL) to the
Makefile for the Python bindings.

Update README.python for use of PYTHON_VERSION.
2017-07-23 10:52:16 -05:00
Ervin Hegedus 2b657e7c9d Added Lua binding and demo script 2016-12-13 16:28:41 -06:00
Nate Bargmann 6ea09a138a Clean up build system, fix test programs
Clean up various left over commented lines from dlopen to single
libhamlib transition.  Remove unneeded configure variables.

Correct minor inconsistencies in Makefile.am files.

Define a new variable, READLINE_LIBS, so that only programs that offer
Readline support are linked against it.

Fix various compilation warnings and errors in test files revealed with
'make check' on MinGW.

Define rig and rotor backends to (mostly) be built in alphabetical
order.
2013-12-10 20:14:22 -06:00
Nate Bargmann 1fd85febee MinGW build: Fix sleep() substitution
MinGW does not natively support the POSIX sleep() function so we have
had an override that was a part of the GR_PWIN32 macro and included in
the generated config.h file.  When compiling for Windows on POSIX using
MinGW, Autotools will detect sleep() and set HAVE_SLEEP which prevented
the substitution from being included in the source.  Adding a test for
_WIN32 (set by MinGW's gcc) then caused a warning from src/network.c on
POSIX about winsock2.h needing to be included before windows.h.  As
config.h needed to be included first, the solution to break out the
substitution that includes windows.h into its own file.  This patch
provides that solution and allows the code to compile cleanly on POSIX,
using MinGW on both POSIX and Windows, and on Cygwin.
2013-07-29 12:38:22 -05:00
Nate Bargmann d992919d27 ax_python_devel.m4: Udate to serial 15
The latest AX_PYTHON_DEVEL macro from:

http://www.gnu.org/software/autoconf-archive/ax_python_devel.html#ax_python_devel

is supposed to improve Python detection on OS/X.
2013-06-04 08:42:35 -05:00
Nate Bargmann a16dd4797a gr_pwin32.m4: Replace inline sleep() function
Building libltdl recursively with MinGW failed with an error of "sleep"
being redefined.  Commenting out the sleep() definition in config.h.in
resulted in libtdl compiling but a linker failure in libyaesu as
"_sleep" was not defined.

A bit of searching reveals that the MS Windows API does not include
"sleep" and MinGW does not include it either, hence the definition in
gr_pwin32.m4 from the GNU Radio project.  Uopn finding a MinGW User
thread from 2007 that discussed this very issue, the following message
hinted that using a CPP #define to wrap Windows Sleep() may work:

http://mingw.5.n7.nabble.com/Help-where-is-the-C-language-sleep-function-tp8921p8925.html

And indeed it seems to.  Compilation is now clean with recursive libltdl
and the rest of Hamlib, but does it work?
2013-04-24 21:58:50 -05:00
Nate Bargmann 96977e2f71 configure.ac: Add build system test for readline
Test for readline presence and configuration time options controlling
readline use in rigctl and rotctl.
2013-02-21 21:37:18 -06:00
Nate Bargmann 04188c7a0f macros/Makefile.am: correct stupid typo... 2012-11-21 05:41:22 -06:00
Nate Bargmann 1979a3f8a8 Swig and Python macro files updates
Use ax_pkg_swig.m4 from the GNU Autoconf Macro Archive as it is actively
maintained and update configure.ac accordingly.

Moved the Swig test to the bindings section of configure.ac.
Refactored the logic of the Swig test.

Updated ax_python_devel.m4 to latest version in the Autoconf Macro
Archive (removes two email addresses, not other changes).

Removed aclocal-include.m4 and lf_warnings.m4 as they were not being
used any longer.

Update macros definitions in macros/Makefile.am to recent additions and
deletion of the local macro files.
2012-11-20 05:58:46 -06:00
Nate Bargmann 55d034c834 Build system: Syntax and formatting cleanup
Cleaned up M4sh syntax for variable quoting, replaced shell 'if'
conditionals with M4sh AS_IF macro and shell 'case' with AS_CASE macro.
Properly quoted macro variables.  Added comments to configure.ac
describing actions, commented out obsolete macros, commented obsolecent
macros, and added comments for major sections.

Corrected a Mingw linker error on the .EXE files adding
'--enable-auto-import' to their LD flags.  Testing this commit on win32
shows that rigctld is now working properly.  Will need to port this to
the Stable branch and test.

Replaced older local macros with newer replacements from GNU Autoconf
archive.
2012-09-27 14:22:07 -05:00
Nate Bargmann ea47d89f3f configure.ac: Quell autoconf obsolete warnings
Using the -Wall switch to autoconf/autoreconf revealed a number of
obsolete macros.  At the moment, offending macros have been commented
out using 'dnl'.  They will be removed at some later date.
2012-09-25 22:29:30 -05:00
Stephane Fillod fb43df0ba6 Properly detect getaddrinfo() under newer mingw-w64 2012-06-23 16:16:12 +02:00
Stephane Fillod 084aaef2a5 timersub macro needed for timing in iofunc.c for win32 2011-12-12 09:40:43 +01:00
Nate Bargmann 457472b886 Remove obsolete libtool files
Libtool will create links to its files as needed.  Should solve 2.2.6b
to 2.4.x migration issues.
2011-06-08 21:46:06 -05:00
Kamal Mostafa, KA6MAL 1274d535ce Remove bundled libltdl (libtool)
Hamlib shall now depend on the system to provide libtool.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3046 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-13 19:01:28 +00:00
Kamal Mostafa, KA6MAL 0de9cc17d2 python: fix --with-python-binding configure macro
Fix macro syntax error which I introduced in svn r2943.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3040 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-06 18:42:55 +00:00
Kamal Mostafa, KA6MAL 197f5a347c Fix build --with-python-binding breakage introduced by Python 2.6:
Do not reference LOCALMODLIBS, else it will add libraries to our link line
(e.g -lssl) which are not necessarily installed.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2943 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-06-09 20:00:50 +00:00
Stéphane Fillod, F8CFE 8e371460f8 fix cygwin build
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2912 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-11 18:04:26 +00:00
Stéphane Fillod, F8CFE 41de3bef9c mingw portability
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2908 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-05 19:55:13 +00:00
Stéphane Fillod, F8CFE 6ee58f0bff get ready for IPv6
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2883 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-16 20:50:14 +00:00
Stéphane Fillod, F8CFE 9082a3a5da - bindings are not built by default anymore
- replace python.m4 with newer version from autoconf-archive


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2882 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-16 20:01:42 +00:00
Kamal Mostafa, KA6MAL 44e5abe225 Update bundled libltdl (libtool) to version 2.2.6b to address CVE-2009-3736.
- autogen.sh: never downgrade our bundled libltdl/ (only run libtoolize if
        system version is newer than our bundled version).
 - autofixer.sh: script removed as libtool 1.x is no longer allowed.
 - configure.ac: (not enabled) optional setting to deprecate embedded libltdl/.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2841 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-01 18:43:38 +00:00
Stéphane Fillod, F8CFE 9b363f9c96 Make building tcl-bindings optional
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2684 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-03-23 22:49:45 +00:00
Stéphane Fillod, F8CFE 783dc54115 files removed by previous libxml2 and pkg-config patchs, thanks to Priit Laes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2681 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-03-23 19:18:40 +00:00
Stéphane Fillod, F8CFE 672c9fca85 Get rid of included pkg-config macros and use system one. Patch by Priit Laes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2679 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-03-21 11:32:27 +00:00
Stéphane Fillod, F8CFE c14de60c41 Use pkg-config check for libxml2 instead of ancient m4 macro, patch by Priit Laes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2677 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-03-21 11:19:02 +00:00
Thomas Beierlein, DL1JBE 918040e720 Use newer version, to enable OpenSolaris to find the correct '-pthreads' switch.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2487 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-12-01 15:25:54 +00:00
Stéphane Fillod, F8CFE 3090e677a2 don't make absence of python fatal
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2444 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-31 23:06:49 +00:00
Stéphane Fillod, F8CFE f3a54f143b quote definitions to make automake-1.9 happy
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2080 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-02-26 19:37:20 +00:00
Stéphane Fillod, F8CFE 2fd921ede7 deadwood
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2075 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-02-26 19:24:51 +00:00
Stéphane Fillod, F8CFE 2f18531e26 check for Python presence
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2012 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-13 18:56:19 +00:00
Stéphane Fillod, F8CFE 2f021f1922 fix Solaris build and maybe other missing getopt_long
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1991 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-04 21:27:03 +00:00
Stéphane Fillod, F8CFE edad239ae3 left over patch from previous update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1982 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 22:08:35 +00:00
Stéphane Fillod, F8CFE 94f0b21a5c Debian libtool-1.5.6-6 update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1979 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 21:25:10 +00:00
Stéphane Fillod, F8CFE abf9175492 tcl8.4 update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1978 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 21:21:33 +00:00
Stéphane Fillod, F8CFE 45a0e41c0c Use the lib XML 2 macro file
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1807 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-16 22:32:25 +00:00
Stéphane Fillod, F8CFE d8c3f81c76 Try linking in case of cross-compile instead of blind accept (which fails later for Mingw)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1806 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-16 22:30:49 +00:00
Stéphane Fillod, F8CFE 91ca25868e Sleep() needs windows.h/winbase.h for test to succeed under Cygwin w/ -mno-cygwin
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1805 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-16 22:28:33 +00:00
Stéphane Fillod, F8CFE 93db9eb3c8 initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1804 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-16 21:41:34 +00:00
Stéphane Fillod, F8CFE 83b75c913d libtool 1.5.2-1 upgrade
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1668 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-02-08 17:21:02 +00:00
Stéphane Fillod, F8CFE 1d858dd79e disable SWIG support if requirement not met
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1667 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-02-08 17:16:21 +00:00
Stéphane Fillod, F8CFE e20676121a missing dist
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1649 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-01-16 18:28:21 +00:00
Stéphane Fillod, F8CFE 543ceca1a8 1.5-8 update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1642 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-01-15 22:47:07 +00:00
Stéphane Fillod, F8CFE d4e3c5b0f1 added libxml.m4 for tests/rigmem
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1622 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-04 23:15:32 +00:00
Stéphane Fillod, F8CFE 1c21ccee24 Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1621 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-04 23:15:02 +00:00
Stéphane Fillod, F8CFE 2216d72303 new macros
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1601 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 22:12:56 +00:00
Stéphane Fillod, F8CFE dc603abc33 initial revision
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1599 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 22:10:34 +00:00