[Apcupsd-commits] apcupsd configure,1.83,1.84
Brought to you by:
adk0212
From: Adam K. <ad...@us...> - 2005-12-16 23:26:45
|
Update of /cvsroot/apcupsd/apcupsd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29931 Modified Files: configure Log Message: Force NIS to enabled since libnis is required by apcaccess. Users may still disable NIS at runtime in apcupsd.conf. Index: configure =================================================================== RCS file: /cvsroot/apcupsd/apcupsd/configure,v retrieving revision 1.83 retrieving revision 1.84 diff -u -d -r1.83 -r1.84 --- configure 26 Nov 2005 23:01:37 -0000 1.83 +++ configure 16 Dec 2005 23:26:36 -0000 1.84 @@ -879,9 +879,6 @@ --enable-test Compile TEST driver code --disable-test No TEST driver (default) - --enable-nis Compile NIS server (default) - --disable-nis No NIS server - --enable-master-slave Compile old network master/server code --disable-master-slave No old network master/server (default) --enable-powerflute Compile powerflute program @@ -10531,34 +10528,15 @@ fi fi; -NISSRV_ENABLED=no -# Check whether --enable-nis or --disable-nis was given. -if test "${enable_nis+set}" = set; then - enableval="$enable_nis" - if test "$enableval" = "yes" ; then - cat >>confdefs.h <<\_ACEOF -#define HAVE_NISSERVER 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_NISLIB 1 -_ACEOF - - NISSRV_ENABLED=yes - fi -else - - cat >>confdefs.h <<\_ACEOF +cat >>confdefs.h <<\_ACEOF #define HAVE_NISSERVER 1 _ACEOF - cat >>confdefs.h <<\_ACEOF +cat >>confdefs.h <<\_ACEOF #define HAVE_NISLIB 1 _ACEOF - NISSRV_ENABLED=yes - -fi; +NISSRV_ENABLED=yes NISIP="0.0.0.0" |