Commit Graph

182 Commits

Author SHA1 Message Date
Nate Bargmann
f6d464de38 configure.ac: Display C++ compiler options
C++ compiler options had not been shown at the end of the run of the
configure script.  Now show them.
2013-01-27 09:01:43 -06:00
Nate Bargmann
44d99a61cd Build system fixes for the Perl/Python/TCL bindings
Various fixes for building the bindings properly.

Install TCL binding to $(libdir)/tcl/Hamlib, arbitrarily chosen since
there seems to be no standard installation location.  When install
location is changed, tcltest.tcl documents the needed change to a TCL
script.

In the Perl and Python test scripts, improved the QRA examples.  In all
scripts used tabs to line up printed values nicely.

Updated INSTALL and NEWS for recent updates.  Better documented bindings
installation and uninstallation in INSTALL.
2012-11-28 17:11:41 -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
00aaaf4c50 configure.ac: Clean up the binding builds a bit.
A Perl file was being compile whether Perl binding was enabled or not.
Fixed that and configured an AM_CONDITIONAL for Perl so its components
will not be built when it is not enabled.
2012-11-17 08:45:16 -06:00
Nate Bargmann
21fc7f90bb configure.ac: Consolidate funcs and header checks
As AC_CHECK_HEADERS and AC_CHECK_FUNCS take multiple file names,
consolidate the multiple macro calls into a single call for each.

Remove the last obsolescent macro calls.
2012-11-10 08:49:44 -06:00
Nate Bargmann
d54ec38c70 configure.ac: Remove previously dnl'ed lines
Also 'dnl' some more obsolecent macros
2012-10-23 05:33:34 -05:00
Nate Bargmann
3bb0556f9f rigmatrix.html target is conditional in tests/Makefile
If libgd-dev is not installed, an Automake conditional will disable the
rigmatrix.html target in tests/Makefile.  Optionally, this target may
also be disabled by use of the '--disable-html-matrix' option passed to
the configure script.  By default the configure script will enable the
target if the libgd development files are found and disable it when they
are not.
2012-10-17 21:06:03 -05:00
Nate Bargmann
19a0a4357b configure.ac: Place Autotools programs in build-aux
Autotools installs several programs to aid building Hamlib.  Have
Autotools place them in a separate directory.
2012-10-11 22:23:37 -05:00
Nate Bargmann
95ec564af2 Disable static builds by default
Static libs are generally not wanted so disable their builds by default.
Remove references to '--disable-static' from documentation and example
scripts.
2012-10-11 09:17:58 -05:00
Nate Bargmann
30e58dfa67 configure.ac: rigmem XML support user optional
I found that building on Cygwin that when libxml2 is installed, MSYS
fails the compile as libxml2 is installed outside the MSYS idea of
'root'.  As this feature depends on an external library, give user the
option of compiling with this support.  Default is to not build rigmem
with XML support.
2012-10-08 22:23:14 -05:00
Nate Bargmann
26da1df586 configure.ac: Readability formatting
Assure shell tests do not test a null value.
2012-10-08 16:40:39 -05:00
Nate Bargmann
0232e30fc0 ABI backward compatibility enhancement
Use the libtool link mode argument '-version-info' to set the Hamlib 3
ABI to be compatible with Hamlib 1.2 ABI.  As the current ABI has not
been changed or removed, we should be able to maintain backward
compatibility.  The libtool docs state that so long as the ABI is only
added to, backward compatibility should be maintained.

My idea here is to be able to have presently compiled programs be able
to use binary libraries of Hamlib 3 without recompiling.  So far I have
tested this locally on Linux and Windows.  More testing is welcome.
2012-10-08 13:07:35 -05:00
Nate Bargmann
52be3c47b8 Provide libltdl in source tarballs
Initializing libltdl is now done by the LTDL_INIT macro in configure.ac.
This now creates a libltdl directory in the tree (not tracked in Git)
when autoreconf is run.  The downside is that this complicates the build
a little bit with the advantage that the build can now take place on a
system that does not have libltdl-dev installed as Hamlib will build on
such systems by passing the '--with-included-ltdl' flag to the configure
script.  In particular, this simplifies the build on Linux for the mingw32
host by not having to run libtoolize manually and assures that libltdl
is built with the same build and host architectures as Hamlib.

Now check if '--with-included-ltdl' has been passed to configure and if
not, only then test for the presence of an installed ltdl.h.

Commented out AM_MAINTAINER_MODE macro.  It is recommended by the
Automake manual that this macro and its configure options not be used as
the Autotools system is designed to regenerate its files.  Let me know
if this is problem as it can be reversed easily enough.  The autogen.sh
script no longer passes the '--enable-maintainer-mode' option to
configure when bootstrapping the build system from Git.

Minor edits in configure.ac to improve readability.

Updated build-win32 files in scripts/
2012-10-07 08:31:10 -05: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
Nate Bargmann
a5f13e0056 Set AC_PREREQ to 2.67, enable Automake warnings
Deprecate the use of the INCLUDES variable in favor of the AM_CPPFLAGS
variable per Automake warnings and documentation.
2012-02-03 22:09:45 -06:00
Nate Bargmann
8c145cfc6b Merge branch 'API_3'
Conflicts:
	.gitignore
	Makefile.am
	NEWS
	c++/Makefile.am
	configure.ac
	hamlib.spec.in
	rpcrig/rpcrig.x
	rpcrig/rpcrig_backend.c
	rpcrig/rpcrig_backend.h
	rpcrig/rpcrig_proc.c
	rpcrig/rpcrigd.c
	rpcrot/rpcrot.x
	rpcrot/rpcrot_backend.c
	rpcrot/rpcrot_backend.h
	rpcrot/rpcrot_proc.c
	rpcrot/rpcrotd.c
	src/Makefile.am
	tests/rigctl.1
	tests/rotctl.1
2012-02-03 15:03:39 -06:00
Nate Bargmann
8fc10c6389 Bump version string to 1.2.15~rc1 2012-01-26 09:13:19 -06:00
Frank Goenninger
f6ea9f1246 Add ADAT ADT-200A backend
Signed-off-by: Stephane Fillod <fillods@users.sf.net>
2012-01-11 23:16:41 +01:00
Andrew Errington
1a77ef9eb9 Initial support for CM108 GPIO contorl of PTT
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-01-11 06:16:51 -06:00
Nate Bargmann
ae07f38219 Add configuration summary at end of configure run. 2011-12-07 22:22:52 -06:00
Nate Bargmann
22c3eb9c90 Remove rpm make target.
RPM packages are built by distribution maintainers.  Support for
building RPMs is no longer required in Hamlib.
2011-12-07 21:20:00 -06:00
Nate Bargmann
cc27f3717e Replace backtick as GNU style beginning quote.
It goofs up the syntax highlighting of shell code in the Geany editor!
2011-12-03 11:58:43 -06:00
Stephane Fillod
3402e594ff Merge branch 'master' 2011-08-21 23:40:17 +02:00
Stephane Fillod
be74cf0f54 add rotator Celestron/Orion Teletrack Az-G telescope mount 2011-08-21 23:30:41 +02:00
Stephane Fillod
23c28e84e8 Kill RPC backends and rpc.rigd/rpc.rotd 2011-08-21 13:23:01 +02:00
Nate Bargmann
5f2bf62947 Setup for 1.2.15 development cycle 2011-07-13 22:03:12 -05:00
Nate Bargmann
1b74a5be14 Begin 1.2.14 release process 2011-07-13 21:56:04 -05:00
Øystein Hårberg
e53bfe96b8 New TS-7400 based rotor backend
From Øystein Hårberg, LA7LKA, a backend for a rotor based on the TS-7400
embedded ARM board running Linux from http://www.embeddedarm.com/

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2011-07-10 21:20:28 -05:00
Nate Bargmann
11bf209038 Distribute scripts/ in source releases. 2011-06-20 22:26:27 -05:00
Nate Bargmann
c5826bd00b Edit AC_INIT per autoconf docs
Add note on Hamlib version string.
2011-06-10 17:11:23 -05:00
Nate Bargmann
d1e6d506da Edit AC_INIT per autoconf docs
Add note on Hamlib version string.
2011-06-10 13:32:55 -05:00
Nate Bargmann
deda9ccc4a Set versions for 1.3.0~alpha 2011-06-08 21:01:23 -05:00
Stephane Fillod
b60c28894a Add IF-100 rotor support 2011-05-26 22:07:26 +02:00
Stephane Fillod
48a770eb7d allow and set silent build as a default 2011-05-22 23:20:12 +02:00
Kamal Mostafa
0c7966fc30 Fix mingw32 cross-compilation procedure and config
Updated README.release procedure and configure.ac for Windows DLL (mingw32)
build.  Now that hamlib no longer bundles libltdl (libtool), libltdl must
be imported, configured with --host-i586-mingw32msvc, and built (before
configuring hamlib with --host-i586-mingw32msvc).
2011-03-27 10:47:11 -07:00
Nate Bargmann
aa349ea225 Update master branch version string
Master branch, a.k.a. "trunk" branch for main development, will now have
its numeric version string appended by '~git'.  Per Kamal Mostafa,
KA6MAL, the use of the '~' character causes packaging systems to treat
the version string as an ealier release.  e.g. The Debian packaging
system treats 1.2.14~git as earlier than 1.2.14 which is useful to
avoid confusion after release.
2011-03-19 18:30:38 -05:00
Nate Bargmann, N0NB
33242c91eb Get ready for the next round of development
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3071 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-03-12 15:13:16 +00:00
Nate Bargmann, N0NB
c59234f1c6 Set version to 1.2.13 for pending release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3068 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-03-12 14:30:23 +00:00
Kamal Mostafa, KA6MAL
71ac8d168f configure: refine advice for missing ltdl.h
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3061 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-27 15:27:30 +00:00
Kamal Mostafa, KA6MAL
128c06982a configure: add check and advice for missing ltdl.h
Stop the build at configure time if we can't find ltdl.h in the standard
include paths, and advise installation of libltdl development package.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3060 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-26 18:50:06 +00: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
a60b65c3fc fix configure.ac paths for FreeBSD
From: Ayan George <ayan@ayan.net>

Allow build to find components (e.g. libtool) installed in /usr/local
on FreeBSD.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3045 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-13 18:49:58 +00:00
Stéphane Fillod, F8CFE
1d8e24003a added TRM8060
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2997 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-26 20:47:35 +00:00
Kamal Mostafa, KA6MAL
0a8b6ad41e Force automake to invoke the C (not C++) linker in kit/ when no C++ is in use.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2989 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-29 17:58:32 +00:00
Stéphane Fillod, F8CFE
bc5fd233cd get ready for next round
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2973 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-03 21:28:06 +00:00
Stéphane Fillod, F8CFE
1d39fe67c1 release 1.2.12
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2971 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-03 21:21:53 +00:00
Stéphane Fillod, F8CFE
b818045a0a - better portability check with HAVE_SIGACTION
- fix segfault when doing rig_set_trn(POLL->OFF->POLL)
- implement remove_trn_rig()/remove_trn_poll_rig() for rig_set_trn(TRN_OFF)


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2956 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-21 11:37:58 +00:00
Stéphane Fillod, F8CFE
877a50a3eb get ready for next round
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2942 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-31 21:49:59 +00:00
Stéphane Fillod, F8CFE
7e7d711042 release 1.2.11
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2940 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-31 21:45:28 +00:00