[Nagiosplug-checkins] CVS: nagiosplug configure.in,1.65,1.66

Jeremy T. Bouse undrgrid at users.sourceforge.net
Sun Mar 16 15:55:13 CET 2003


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

Modified Files:
	configure.in 
Log Message:
Modified to automatically enable getaddrinfo emulation if lwres is not used and
getaddrinfo is not found in the system.


Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -r1.65 -r1.66
*** configure.in	15 Mar 2003 01:28:44 -0000	1.65
--- configure.in	16 Mar 2003 23:54:24 -0000	1.66
***************
*** 328,331 ****
--- 328,332 ----
                ,
                enable_emulate_getaddrinfo=no)
+ 
  AC_ARG_WITH(lwres,
              ACX_HELP_STRING([--with-lwres=DIR],
***************
*** 385,389 ****
  else
          if test x$enable_emulate_getaddrinfo != xyes ; then
!                 AC_MSG_ERROR([getaddrinfo not found: try --with-lwres or --enable-emulate-getaddrinfo])
          fi
  	EXTRA_NETOBJS="$EXTRA_NETOBJS getaddrinfo.o"
--- 386,392 ----
  else
          if test x$enable_emulate_getaddrinfo != xyes ; then
! dnl                AC_MSG_ERROR([getaddrinfo not found: try --with-lwres or --enable-emulate-getaddrinfo])
!                enable_emulate_getaddrinfo=yes
!                AC_MSG_WARN([enabling getaddrinfo emulation])
          fi
  	EXTRA_NETOBJS="$EXTRA_NETOBJS getaddrinfo.o"





More information about the Commits mailing list