Changeset 327712134f74d1a3209f8beee3b0f593e721c8f6
- Timestamp:
- 06/21/08 03:50:09
(10 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
rdcfe539 |
r3277121 |
|
246 | 246 | |
---|
247 | 247 | AC_FUNC_STRFTIME |
---|
248 | | AC_CHECK_FUNC(ssetugid strlcpy strnstrn openpty) |
---|
| 248 | AC_CHECK_FUNCS(ssetugid strlcpy strnstrn openpty) |
---|
249 | 249 | |
---|
250 | 250 | # Checks for header files. |
---|
… | … | |
254 | 254 | term.h termio.h termios.h curses.h sys/cdefs.h pwd.h netinet/in_systm.h \ |
---|
255 | 255 | 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) |
---|
257 | 257 | |
---|
258 | 258 | AC_CACHE_CHECK([for epoll support], ac_cv_have_epoll, [ |
---|
rc4546c7 |
r3277121 |
|
86 | 86 | @echo "- linking $@" |
---|
87 | 87 | |
---|
88 | | stratcon_datastore.o: |
---|
| 88 | stratcon_datastore.o: stratcon_datastore.c |
---|
89 | 89 | @$(CC) $(CPPFLAGS) $(PGCFLAGS) -c $< |
---|
90 | 90 | @echo "- compiling $<" |
---|
rc4546c7 |
r3277121 |
|
13 | 13 | #include "lua_noit.h" |
---|
14 | 14 | |
---|
| 15 | #ifdef HAVE_ALLOCA_H |
---|
15 | 16 | #include <alloca.h> |
---|
| 17 | #endif |
---|
16 | 18 | #include <assert.h> |
---|
17 | 19 | |
---|
rc39dbcd |
r3277121 |
|
12 | 12 | #include <math.h> |
---|
13 | 13 | |
---|
| 14 | #include <net-snmp/net-snmp-config.h> |
---|
| 15 | #include <net-snmp/net-snmp-includes.h> |
---|
| 16 | |
---|
14 | 17 | #include "noit_module.h" |
---|
15 | 18 | #include "noit_check.h" |
---|
… | … | |
17 | 20 | #include "utils/noit_log.h" |
---|
18 | 21 | #include "utils/noit_hash.h" |
---|
19 | | |
---|
20 | | #include <net-snmp/net-snmp-config.h> |
---|
21 | | #include <net-snmp/net-snmp-includes.h> |
---|
22 | 22 | |
---|
23 | 23 | static noit_log_stream_t nlerr = NULL; |
---|
rc4546c7 |
r3277121 |
|
61 | 61 | #undef HAVE_SYS_PARAM_H |
---|
62 | 62 | #undef HAVE_SEMAPHORE_H |
---|
| 63 | #undef HAVE)ALLOA_H |
---|
63 | 64 | #undef HAVE_TIME_H |
---|
64 | 65 | #undef HAVE_SYS_STAT_H |
---|
rc4546c7 |
r3277121 |
|
8 | 8 | #include <stdio.h> |
---|
9 | 9 | #include <unistd.h> |
---|
| 10 | #ifdef HAVE_ALLOCA_H |
---|
10 | 11 | #include <alloca.h> |
---|
| 12 | #endif |
---|
11 | 13 | #include <errno.h> |
---|
12 | 14 | #include <sys/ioctl.h> |
---|
rc4546c7 |
r3277121 |
|
19 | 19 | #include <stdlib.h> |
---|
20 | 20 | #include <string.h> |
---|
| 21 | #ifdef HAVE_ALLOCA_H |
---|
21 | 22 | #include <alloca.h> |
---|
| 23 | #endif |
---|
22 | 24 | #include <assert.h> |
---|
23 | 25 | |
---|