Wykres commitów

78 Commity (bd746387f9e7d1b6b52bf015a70c344891776d7a)

Autor SHA1 Wiadomość Data
orbea 4fa9a211ad bindings: Fix tcl build with slibtool 2022-05-06 22:12:18 -07:00
Mike Black W9MDB 26bfaa37ea Remove executable bit on ax_python_devel.m4 2021-12-11 22:51:19 -06:00
Mike Black W9MDB 16976641e7 Update ax_python_devel.m4 to most recent version 2021-12-05 09:43:56 -06:00
Mike Black W9MDB 25318f6e16 Remove mandatory libusb requirement in gr_pwin32.m4 2021-09-15 10:21:56 -05:00
Mike Black W9MDB 66470668b6 Add ax_cxx_compile_stdcxx.m4 to macros/Makefile.am 2021-08-26 07:22:52 -05:00
root dd376a1267 Fix c++ compile for compilers that need the -std=c++11 switch
https://github.com/Hamlib/Hamlib/issues/740
2021-07-14 23:21:32 -04:00
Mike Black W9MDB 4501c1c97b Remove generated files 2021-04-14 15:41:01 -05:00
Mike Black W9MDB 9d310062eb More files for git clone configure to work 2021-04-14 09:19:27 -05:00
Michael Black W9MDB 4cc1515f90 Another attempt to get python config working multi platform
https://github.com/Hamlib/Hamlib/issues/477
2021-03-06 22:57:06 -06:00
Michael Black W9MDB 3d613519d5 Rename macros to avoid collisions with other software 2021-03-06 12:37:53 -06:00
Michael Black W9MDB 709f281005 An attempt to get python2 and python3 working on all platforms
https://github.com/Hamlib/Hamlib/issues/477
2021-03-05 17:06:07 -06:00
Michael Black W9MDB 5d18d9f38f Revert ax_python_devel.m4 macro to be compatible with python2
Need to do a lot of changes to make one that will work with python3
https://github.com/Hamlib/Hamlib/issues/477
2021-03-01 22:59:47 -06:00
Michael Black W9MDB 692e562e66 Change ax_python_devel.m4 to use sysconfig instead of disutils.sysconfig which is being deprecated
https://github.com/Hamlib/Hamlib/issues/477
2021-02-27 16:45:27 -06:00
Michael Black W9MDB 9a6552c3cf Remove obsolete AC_HEADER_TIME from gr_pwin32.m4 2021-02-26 10:13:40 -06:00
Nonoo 8ba011eaf7 Add INDI rotator backend
This backend lets Hamlib control an astronomical (telescope) rotator through an
INDI (https://indilib.org/) server.
2020-11-15 12:46:35 +01:00
Daniele Forsi d7b332c3f7 Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"

Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
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