dl5di / OpenDV

Open Digital Voice software for Amateur Radio based on Jonathan Naylor's (G4KLX) "ircDDBGateway" and "PCRepeaterController" for D-Star
GNU General Public License v2.0
107 stars 63 forks source link

Changing DummyRepeater to use GNU Autoconf #81

Closed mcdermj closed 8 years ago

mcdermj commented 8 years ago

This is the continuation of conversion of all the projects to use GNU Autoconf on UNIX and UNIX-like systems.

PLEASE NOTE Windows folks should examine b5ed891 closely. It removes the #ifdef from around GPIOController.cpp because configure conditionally compiles it only when it gets --with-gpio. If this file is being compiled in the Windows solution file, it will break the Windows build. This file should never be necessary on Windows as wiringPi for RPi isn't on that platform. Someone should check to make sure it isn't in the Visual Studio solution file to be compiled

DummyRepeater supports the --with-gpio flag like DStarRepeater to enable wiringPi on the RPi. In addition it supports the --with-stardv flag to compile the Star*DV adapter in the STARDV directory.

There is also a --with-ambeserver flag that compiles AMBEserver in the DV3000 directory. This flag interacts with --with-gpio to do the right thing. Without --with-gpio, only AMBEserver is compiled without support for wiringPi. If you pass --with-gpio --with-ambeserver to configure, it will compile dv3000d and a version of AMBEserver with wiringPi support.

Please note that there is a change in behavior here documented in the commit message for 923fba1. If you use --with-gpio, an AMBEserver executable is created that supports wiringPi. It is NOT named AMBEserverGPIO, it's merely named AMBEserver.