Solaris RPC portability fix

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1311 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.4
Stéphane Fillod, F8CFE 2002-12-16 22:07:02 +00:00
rodzic 5ef97cb93c
commit 5f59007052
7 zmienionych plików z 24 dodań i 9 usunięć

Wyświetl plik

@ -35,7 +35,7 @@ dnl Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS([alloca.h argz.h malloc.h memory.h string.h strings.h])
AC_CHECK_HEADERS([stdlib.h values.h rpc/rpc.h net/errno.h])
AC_CHECK_HEADERS([stdlib.h values.h rpc/rpc.h rpc/rpcent.h net/errno.h])
AC_CHECK_HEADERS([fcntl.h sys/ioctl.h sys/time.h sys/param.h unistd.h getopt.h errno.h])
AC_CHECK_HEADERS([sys/ioccom.h linux/ppdev.h sgtty.h term.h termio.h termios.h])
AC_CHECK_HEADERS([windows.h winioctl.h winbase.h])

Wyświetl plik

@ -10,6 +10,9 @@ DEPENDENCIES = $(top_builddir)/src/libhamlib.la
BUILT_SOURCES = rpcrig_xdr.c rpcrig_svc.c rpcrig_xdr_lt.c rpcrig_clnt.c rpcrig.h
DISTCLEANFILES = rpcrig_xdr.c rpcrig_svc.c rpcrig_xdr_lt.c rpcrig_clnt.c rpcrig.h
# needed for backward compatibility on Solaris.
AM_CFLAGS = $(CFLAGS) -DPORTMAP
# The RPC server
sbin_PROGRAMS = rpc.rigd
rpc_rigd_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib RPC backend - main file
* Copyright (c) 2001,2002 by Stephane Fillod
*
* $Id: rpcrig_backend.c,v 1.10 2002-09-13 06:58:55 fillods Exp $
* $Id: rpcrig_backend.c,v 1.11 2002-12-16 22:06:50 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -42,6 +42,9 @@
#include <netdb.h>
#include <rpc/rpc.h>
#ifdef HAVE_RPC_RPCENT_H
#include <rpc/rpcent.h>
#endif
#include "rpcrig.h"
#include "rpcrig_backend.h"

Wyświetl plik

@ -4,7 +4,7 @@
* This program let programs control a radio through
* the mean of RPC services using Hamlib.
*
* $Id: rpcrigd.c,v 1.5 2002-09-13 06:58:55 fillods Exp $
* $Id: rpcrigd.c,v 1.6 2002-12-16 22:06:54 fillods Exp $
*
*
* This program is free software; you can redistribute it and/or
@ -37,9 +37,10 @@
#include <netinet/in.h>
#include <unistd.h>
#include <netdb.h>
#ifdef HAVE_RPC_RPCENT_H
#include <rpc/rpcent.h>
#endif
/* TODO: autoconf should check for getopt support, include libs otherwise */
#include <getopt.h>
#include <hamlib/rig.h>

Wyświetl plik

@ -10,6 +10,9 @@ DEPENDENCIES = $(top_builddir)/src/libhamlib.la
BUILT_SOURCES = rpcrot_xdr.c rpcrot_svc.c rpcrot_xdr_lt.c rpcrot_clnt.c rpcrot.h
DISTCLEANFILES = rpcrot_xdr.c rpcrot_svc.c rpcrot_xdr_lt.c rpcrot_clnt.c rpcrot.h
# needed for backward compatibility on Solaris.
AM_CFLAGS = $(CFLAGS) -DPORTMAP
# The RPC server
sbin_PROGRAMS = rpc.rotd
rpc_rotd_DEPENDENCIES = $(DEPENDENCIES) @ROT_BACKENDEPS@

Wyświetl plik

@ -3,7 +3,7 @@
* Copyright (c) 2001,2002 by Stephane Fillod
* Contributed by Francois Retief <fgretief@sun.ac.za>
*
* $Id: rpcrot_backend.c,v 1.4 2002-09-13 06:59:54 fillods Exp $
* $Id: rpcrot_backend.c,v 1.5 2002-12-16 22:07:00 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -43,6 +43,10 @@
#include <token.h>
#include <rpc/rpc.h>
#ifdef HAVE_RPC_RPCENT_H
#include <rpc/rpcent.h>
#endif
#include "rpcrot.h"
#include "rpcrot_backend.h"

Wyświetl plik

@ -4,7 +4,7 @@
* This program let programs control a rotator through
* the mean of RPC services using Hamlib.
*
* $Id: rpcrotd.c,v 1.3 2002-10-30 23:39:34 fillods Exp $
* $Id: rpcrotd.c,v 1.4 2002-12-16 22:07:02 fillods Exp $
*
*
* This program is free software; you can redistribute it and/or
@ -37,9 +37,10 @@
#include <netinet/in.h>
#include <unistd.h>
#include <netdb.h>
#ifdef HAVE_RPC_RPCENT_H
#include <rpc/rpcent.h>
#endif
/* TODO: autoconf should check for getopt support, include libs otherwise */
#include <getopt.h>
#include <hamlib/rotator.h>