Todd C. Miller
4247c1741b
Do not add LIBDL to SUDO_LIBS or SUDOERS_LIBS in configure, do it
...
in Makefile.in so we can make it last. Fixes a linking problem on
Ubuntu precise.
2013-11-26 07:15:55 -07:00
Todd C. Miller
12f3bdf60e
Add wrapper functions for dlopen() et al so that we can support
...
statically compiling in the sudoers plugin but still allow other
plugins to be loaded. The new --enable-static-sudoers configure
option will cause the sudoers plugin to be compiled statically into
the sudo binary. This does not prevent other plugins from being
loaded as per sudo.conf.
2013-11-22 16:35:15 -07:00
Todd C. Miller
6a1d1e1483
Add dedicated test for getaddrinfo(). Tru64 UNIX contains two
...
versions of getaddrinfo and we must include netdb.h to get the
proper definition.
2013-11-20 12:04:47 -07:00
Todd C. Miller
42b1e4a9c4
Add check for C99 compliant (v)snprintf function.
2013-11-19 10:40:25 -07:00
Todd C. Miller
0a47860ef7
Include unistd.h in sig2str.c for Tru64 as it defines SIGRTMIN and
...
SIGRTMAX in terms of sysconf(), which is prototyped in unistd.h.
Bug #621 ; from Daniel Richard G.
2013-11-19 09:48:01 -07:00
Todd C. Miller
3dab6bd8e9
Allow sudo to compile without variadic macro support in cpp.
...
Debugging support will be limited (no file info from warnings.)
From Daniel Richard G.; Bug #621
2013-11-18 09:10:09 -07:00
Todd C. Miller
99b7351de0
Fix some #if vs. #ifdef and remove an extraneous semicolon.
...
Bug #624 ; from Daniel Richard G.
2013-11-17 16:15:36 -07:00
Todd C. Miller
bf65cc041e
Fixes for building under Tru64; from Daniel Richard G.
...
Bug #624
2013-11-17 14:16:13 -07:00
Todd C. Miller
942f732a50
Add -Wpointer-arith to --enable-warnings
2013-11-15 15:33:46 -07:00
Todd C. Miller
e684f6a096
Fix more instances of #include directives where the '#' was not in
...
column 1. From Daniel Richard G. (bug #622 )
2013-11-15 15:16:47 -07:00
Todd C. Miller
e31b2ba6a8
Rename configure.in -> configure.ac
2013-11-13 15:00:28 -07:00