kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
6ef7009f6c
commit
6331709fd6
10
configure.ac
10
configure.ac
|
@ -694,6 +694,15 @@ AC_ARG_ENABLE([winradio],
|
|||
[cf_with_winradio="yes" AC_DEFINE([HAVE_WINRADIO],[1],[Define if winradio backend is built])])
|
||||
AC_MSG_RESULT([$cf_with_winradio])
|
||||
|
||||
dnl Parallel port device disable
|
||||
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])])
|
||||
AC_MSG_RESULT([$cf_with_parallel])
|
||||
|
||||
DL_LIBS=""
|
||||
|
||||
AS_IF([test x"${cf_with_winradio}" = "xyes"],
|
||||
|
@ -914,6 +923,7 @@ echo \
|
|||
|
||||
Enable HTML rig feature matrix ${cf_enable_html_matrix}
|
||||
Enable WinRadio ${cf_with_winradio}
|
||||
Enable Parallel ${cf_with_parallel}
|
||||
Enable USRP ${cf_with_usrp}
|
||||
Enable USB backends ${cf_with_libusb}
|
||||
Enable shared libs ${enable_shared}
|
||||
|
|
|
@ -26,9 +26,11 @@
|
|||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PARALLEL
|
||||
#ifdef HAVE_LINUX_PARPORT_H
|
||||
#include <linux/parport.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "hamlib/rotator.h"
|
||||
#include "parallel.h"
|
||||
|
|
|
@ -26,9 +26,11 @@
|
|||
#include <hamlib/rig.h>
|
||||
#include "iofunc.h"
|
||||
|
||||
#ifdef HAVE_PARALLEL
|
||||
#ifdef HAVE_LINUX_PARPORT_H
|
||||
# include <linux/parport.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef PARPORT_CONTROL_STROBE
|
||||
# define PARPORT_CONTROL_STROBE 0x1
|
||||
|
|
Ładowanie…
Reference in New Issue