Todd C. Miller
d346e50903
Use angle brackets when including headers that can only be found when
...
an -I flag is specified. The files in the compat dir could get away
with double quotes here but I've converted all the source files
to use angle brackets for consistency.
2010-04-30 15:13:47 -04:00
Todd C. Miller
5e9ec6a365
Fix building with non-BSD versions of make such as GNU make.
...
Requires VPATH support, which should be in any non-neolithic make.
2010-04-30 12:18:06 -04:00
Todd C. Miller
0c7e3235f6
Remove extraneous $srcdir and use more .c.lo and .c.o rules instead
...
of explicit rules in the dependency.
2010-04-30 11:14:31 -04:00
Todd C. Miller
32672c1f1a
Merge fb4d571495fa from the 1.7 branch to trunk.
2010-04-09 06:18:43 -04:00
Todd C. Miller
43b6359df3
Fix out-of-tree builds
2010-04-04 14:01:21 -04:00
Todd C. Miller
0716ab38af
SIGPOLL is sometimes the same as SIGIO (like on HP-UX)
2010-04-03 09:44:32 -04:00
Todd C. Miller
8ca9287405
Add license to mksiglist.c and note that the bits from pdksh are public domain
2010-04-02 11:18:57 -04:00
Todd C. Miller
7539f636b6
Fix LIBOBJDIR vs. srcdir wrt the siglist bits
2010-04-02 09:49:21 -04:00
Todd C. Miller
8c91f0a30c
Create our own sys_siglist for systems without it for use by strsignal()
2010-04-02 07:47:19 -04:00
Todd C. Miller
d83ebba560
Remove duplicate $(LIBOBJDIR)
2010-04-02 07:15:02 -04:00
Todd C. Miller
8cde6d699e
progname should be const
2010-03-31 10:36:39 -04:00
Todd C. Miller
617fb0e31a
getgrouplist(3) for those without it
2010-03-22 09:54:10 -04:00
Todd C. Miller
eec5235d19
Rewrite compat/getprogname.c and add setprogname().
...
The progname is now passed to the plugin via the settings array.
2010-03-19 07:52:31 -04:00
Todd C. Miller
623fc34dd4
If system doesn't support getprogname or __programe and we are
...
building a shared object don't bother with Argc/Argv, just
return "sudo"
2010-03-18 13:53:12 -04:00
Todd C. Miller
ba9d2f5bb6
Play more nicely with libtool and let it build libreplace (was libmissing)
...
for us.
2010-03-18 11:42:12 -04:00
Todd C. Miller
90ec112540
Build libmissing in two flavors (one PIC one non-PIC) and link with the
...
appropriate one.
2010-03-14 18:05:00 -04:00
Todd C. Miller
b883670a32
Build libmissing in two flavors (one PIC one non-PIC) and link with the
...
appropriate one.
2010-03-14 18:01:17 -04:00
Todd C. Miller
6b4d97ebc3
Add strdup and strndup to compat
2010-03-12 17:11:11 -05:00
Todd C. Miller
301fb7d8ed
Must check HAVE_DECL_SYS_SIGLIST == 1 (not just if defined) since
...
if it doesn't exist configure will set it to 0.
2010-03-12 12:43:03 -05:00
Todd C. Miller
93ae94f9df
Fix botched ANSI C coversion of globexp2()
2010-03-12 12:40:00 -05:00
Todd C. Miller
cb8696d67e
Change the sys_siglist check to use AC_CHECK_DECLS and also check
...
for _sys_siglist and__sys_siglist
2010-03-12 05:26:01 -05:00
Todd C. Miller
3384abd2b8
Don't depend on emalloc/erealloc
2010-03-05 16:52:04 -05:00
Todd C. Miller
488c1531eb
Convert to ANSI C
2010-02-27 09:23:25 -05:00
Todd C. Miller
edd5184ac1
No more sudo_getpw*
2010-02-21 21:18:52 -05:00
Todd C. Miller
b3176134cb
compat files should not include sudo.h
...
wire up compat in sample plugin
2010-02-21 16:41:19 -05:00
Todd C. Miller
d6187f5ad3
Replace emul/include.h with compat/include.h to match new source
...
tree layout.
2010-02-20 09:22:30 -05:00
Todd C. Miller
e90fa482f9
Rework source layout in preparation for modular sudo.
2010-02-20 09:14:01 -05:00