Changeset 327712134f74d1a3209f8beee3b0f593e721c8f6

Show
Ignore:
Timestamp:
06/21/08 03:50:09 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1214020209 +0000
git-parent:

[dcfe53958da3654f243cdc2bf9c92df43de25893]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1214020209 +0000
Message:

cleanup solaris bits, refs #32

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.in

    rdcfe539 r3277121  
    246246 
    247247AC_FUNC_STRFTIME 
    248 AC_CHECK_FUNC(ssetugid strlcpy strnstrn openpty) 
     248AC_CHECK_FUNCS(ssetugid strlcpy strnstrn openpty) 
    249249 
    250250# Checks for header files. 
     
    254254                 term.h termio.h termios.h curses.h sys/cdefs.h pwd.h netinet/in_systm.h \ 
    255255                 sys/ioctl_compat.h sys/filio.h util.h sys/time.h sys/mman.h \ 
    256                  stropts.h sys/stream.h
     256                 stropts.h sys/stream.h alloca.h
    257257 
    258258AC_CACHE_CHECK([for epoll support], ac_cv_have_epoll, [ 
  • src/Makefile.in

    rc4546c7 r3277121  
    8686        @echo "- linking $@" 
    8787 
    88 stratcon_datastore.o: 
     88stratcon_datastore.o:  stratcon_datastore.c 
    8989        @$(CC) $(CPPFLAGS) $(PGCFLAGS) -c $< 
    9090        @echo "- compiling $<" 
  • src/modules/lua.c

    rc4546c7 r3277121  
    1313#include "lua_noit.h" 
    1414 
     15#ifdef HAVE_ALLOCA_H 
    1516#include <alloca.h> 
     17#endif 
    1618#include <assert.h> 
    1719 
  • src/modules/snmp.c

    rc39dbcd r3277121  
    1212#include <math.h> 
    1313 
     14#include <net-snmp/net-snmp-config.h> 
     15#include <net-snmp/net-snmp-includes.h> 
     16 
    1417#include "noit_module.h" 
    1518#include "noit_check.h" 
     
    1720#include "utils/noit_log.h" 
    1821#include "utils/noit_hash.h" 
    19  
    20 #include <net-snmp/net-snmp-config.h> 
    21 #include <net-snmp/net-snmp-includes.h> 
    2222 
    2323static noit_log_stream_t nlerr = NULL; 
  • src/noit_config.h.in

    rc4546c7 r3277121  
    6161#undef HAVE_SYS_PARAM_H 
    6262#undef HAVE_SEMAPHORE_H 
     63#undef HAVE)ALLOA_H 
    6364#undef HAVE_TIME_H 
    6465#undef HAVE_SYS_STAT_H 
  • src/noit_console.c

    rc4546c7 r3277121  
    88#include <stdio.h> 
    99#include <unistd.h> 
     10#ifdef HAVE_ALLOCA_H 
    1011#include <alloca.h> 
     12#endif 
    1113#include <errno.h> 
    1214#include <sys/ioctl.h> 
  • src/utils/noit_skiplist.c

    rc4546c7 r3277121  
    1919#include <stdlib.h> 
    2020#include <string.h> 
     21#ifdef HAVE_ALLOCA_H 
    2122#include <alloca.h> 
     23#endif 
    2224#include <assert.h> 
    2325