*** From dhcp-server -- To unsubscribe, see the end of this message. ***
Ted,
Here are three patches that I submitted a couple of weeks ago that
must have gotten lost somewhere, so I thought I'd try again.
patch 1: adds support for HPUX w/gcc in Makefile.conf (I copied this
one from the archives and changed it to gcc
patch 2: Typo for "USE_DLPI_SEND" and (I'm not sure about the next
part) added check for USE_DLPI in addition to USE_DLPI_SEND
and USE_DLPI_RECEIVE (just for the sake of following the
pattern) (in osdep.h)
patch 3: added support for gcc to hpux.h
(BTW, is the 12 hour turnaround time on messages posted to the list
because of the popularity of the list and the number of people on it?
Would additional hardware speed things up? Yes, I have _some_, but
it may not be as good as what you already have.)
-ron
*** Makefile.conf.orig Fri Apr 16 10:48:02 1999
--- Makefile.conf Fri Apr 16 10:55:19 1999
***************
*** 307,309 ****
--- 307,318 ----
#VARRUN = /etc
#VARDB = /usr/local/etc/dhcp
##--irix--
+
+ ## HP-UX
+ ##--hpux--
+ #CF = cf/hpux.h
+ #CC = gcc
+ #COPTS = -DBIG_ENDIAN
+ #INSTALL = install -i
+ #INSTALLMAN = install -i
+ ##--hpux--
*** includes/osdep.h.orig Fri Apr 16 10:47:42 1999
--- includes/osdep.h Fri Apr 16 10:56:52 1999
***************
*** 41,47 ****
!defined (USE_NIT) && \
!defined (USE_NIT_SEND) && \
!defined (USE_NIT_RECEIVE) && \
! !defined (USR_DLPI_SEND) && \
!defined (USE_DLPI_RECEIVE)
# define USE_DEFAULT_NETWORK
#endif
--- 41,48 ----
!defined (USE_NIT) && \
!defined (USE_NIT_SEND) && \
!defined (USE_NIT_RECEIVE) && \
! !defined (USE_DLPI) && \
! !defined (USE_DLPI_SEND) && \
!defined (USE_DLPI_RECEIVE)
# define USE_DEFAULT_NETWORK
#endif
*** includes/cf/hpux.h.orig Fri Apr 16 10:47:22 1999
--- includes/cf/hpux.h Fri Apr 16 10:56:44 1999
***************
*** 52,65 ****
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
#endif
#include <varargs.h>
#define VA_DOTDOTDOT va_alist
#define VA_start(list, last) va_start (list)
#define vsnprintf(buf, size, fmt, list) vsprintf (buf, fmt, list)
#define NO_SNPRINTF
! #define USE_SOCKETS 1
#define EOL '\n'
#define VOIDPTR void *
--- 52,77 ----
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
#endif
+ #if defined (__GNUC__)
+ /* Varargs stuff: use stdarg.h instead ... */
+ #include <stdarg.h>
+ #define VA_DOTDOTDOT ...
+ #define VA_start(list, last) va_start (list, last)
+ #define va_dcl
+ #else /* !__GNUC__*/
#include <varargs.h>
#define VA_DOTDOTDOT va_alist
#define VA_start(list, last) va_start (list)
+ #endif /* !__GNUC__*/
#define vsnprintf(buf, size, fmt, list) vsprintf (buf, fmt, list)
#define NO_SNPRINTF
! #if defined (USE_DEFAULT_NETWORK)
! /*#define USE_DLPI 1 */
! #define USE_SOCKETS 1
! #endif
!
#define EOL '\n'
#define VOIDPTR void *
------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED] Please try to use the web
page first - it will take a long time for your request to be processed by hand.
------------------------------------------------------------------------------