[Nagiosplug-checkins] CVS: nagiosplug/lib Makefile.am,1.6,1.7 getaddrinfo.c,1.1,NONE getaddrinfo.h,1.1,NONE gethostbyname.c,1.1,NONE gethostbyname.h,1.1,NONE

Jeremy T. Bouse undrgrid at users.sourceforge.net
Fri Mar 14 17:26:09 CET 2003


Update of /cvsroot/nagiosplug/nagiosplug/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv29980/lib

Modified Files:
	Makefile.am 
Removed Files:
	getaddrinfo.c getaddrinfo.h gethostbyname.c gethostbyname.h 
Log Message:
Spent the day working on backwards compatability using getaddrinfo()
Moved getaddrinfo.? and gethostbyname.? from lib/ to plugins/ due to 
problems with compiling into the libnagiosplug.a as it required linking
against socket libraries which are unneeded except for network based
plugins.
This code should hopefully happily work for all systems and has been tested
prior to commit on Debian GNU/Linux, SPARC Solaris 7 and SPARC Solaris 9.


Index: Makefile.am
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/lib/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** Makefile.am	13 Mar 2003 22:20:30 -0000	1.6
--- Makefile.am	15 Mar 2003 01:25:35 -0000	1.7
***************
*** 3,13 ****
  noinst_LIBRARIES = libnagiosplug.a
  
! noinst_HEADERS = getopt.h getaddrinfo.h gethostbyname.h
  
  libnagiosplug_a_SOURCES = getopt.c getopt1.c getloadavg.c snprintf.c 
  
- libnagiosplug_a_DEPENDENCIES = @LIBOBJS@
- 
  INCLUDES = -I$(srcdir)
- 
- EXTRA_DIST = getaddrinfo.c gethostbyname.c
--- 3,9 ----
  noinst_LIBRARIES = libnagiosplug.a
  
! noinst_HEADERS = getopt.h 
  
  libnagiosplug_a_SOURCES = getopt.c getopt1.c getloadavg.c snprintf.c 
  
  INCLUDES = -I$(srcdir)

--- getaddrinfo.c DELETED ---

--- getaddrinfo.h DELETED ---

--- gethostbyname.c DELETED ---

--- gethostbyname.h DELETED ---





More information about the Commits mailing list