Commit Graph

30 Commits

Author SHA1 Message Date
Todd C. Miller
cb7e82acca Use AX_APPEND_FLAG instead of SUDO_APPEND_CPPFLAGS and direct
modification of LDFLAGS.
2016-11-17 10:16:51 -07:00
Todd C. Miller
17d8734581 Update to libtool 2.4.6 2016-10-21 10:03:02 -06:00
Todd C. Miller
8bc70a635c Instead of trying to make weak functions work on all platforms,
just use a registration function for a plugin-specific setlocale
function.  The sudoers version just wraps sudoers_setlocale().
2015-05-11 14:51:32 -06:00
Todd C. Miller
e1b67e6177 Need to quote $GCC as it may include arguments. From Tim Rice. 2015-05-07 07:17:00 -06:00
Todd C. Miller
26f0d6d800 When checking for weak aliases, check the gcc attribute format last
since some C compilers just ignore unsupported attributes.
2015-03-05 12:44:48 -07:00
Todd C. Miller
166db8eeb4 Use weak symbols for sudo_warn_gettext() and sudo_warn_strerror()
so distros using "-Wl,--no-undefined" in LDFLAGS don't run into
problems.
2015-02-17 06:42:10 -07:00
Todd C. Miller
c3c28773f5 Sanity check the TZ environment variable by special casing it in
env_check.  The --with-tzdir configure option can be used to
specify the zoneinfo directory if configure doesn't find it.
2015-02-06 11:01:05 -07:00
Todd C. Miller
a33d88c996 Use AC_PATH_PROG to find programs instead of checking the path manually. 2015-01-19 14:25:17 -07:00
Todd C. Miller
078ba38067 Update to libtool 2.4.4 + HP-UX patches 2015-01-14 17:00:16 -07:00
Todd C. Miller
532a0e6cc7 Don't need sys/param.h. 2015-01-14 11:00:01 -07:00
Todd C. Miller
be2de71df4 Update to libtool 2.4.3 + HP-UX patches 2014-10-30 07:09:02 -06:00
Todd C. Miller
c952155b77 Prefer /usr/bin/sh to /bin/sh to match modern systems. 2014-09-20 09:03:26 -06:00
Todd C. Miller
daf634b728 Only include functions in util.exp that are actually in the library.
Fixes a problem on Solaris where undefined functions that are listed
as exported in the map file result in a link error.
Also make sure we use our glob.c if the system is missing glob().
2014-07-29 10:52:43 -06:00
Todd C. Miller
da13a14303 Do not set an internal name for HP-UX modules, only archives. This
works around a problem with some versions of HP-UX ld where setting
an internal name that doesn't end in .sl causes link errors.
2014-07-01 17:14:50 -06:00
Todd C. Miller
67efcf0926 Fix my typos in the HP-UX libtool patch 2014-06-29 07:34:51 -06:00
Todd C. Miller
d41276f171 libtool patches for HP-UX to support DESTDIR 2014-06-26 15:50:56 -06:00
Todd C. Miller
218aa1e598 Move the sha2 code into libreplace and add configure checks for
SHA224Update in libc and libmd.  Solaris uses "void *" where we use
"unsigned char *" so we need a check for that too.  Solaris sha2.h
defines SHA224, SHA256, SHA384, and SHA512 so rename those tokens.
Adapted from changes from Vladimir Marek in bug #641.
2014-04-09 16:31:13 -06:00
Todd C. Miller
aeb5ceead8 Replace --with-timedir and --with-lecture_dir with --with-rundir
and --with-vardir which are the parent directories of the time stamp
and lecture dirs.  These directories need to be searchable by
non-root so that the timestampowner setting can function.
2014-02-01 05:57:34 -07:00
Todd C. Miller
659b1f0e34 Switch to new time stamp file format. Each user now has a single
file which may contain multiple records when per-tty time stamps
are in use (the default).  The time stamps use a monotonic timer
where available and are once again stored in /var/run/sudo.  The
lecture status is now stored separately from the time stamps in a
different directory.
2014-01-30 15:50:40 -07:00
Todd C. Miller
a2a029ecfe Update to libtool-2.4.2.418 2014-01-09 15:23:15 -07:00
Todd C. Miller
94ad47ff98 Do not rely on NULL being defined for getaddrinfo() test.
Fixes the check on HP-UX 11.23.
2013-11-25 09:54:04 -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
bf65cc041e Fixes for building under Tru64; from Daniel Richard G.
Bug #624
2013-11-17 14:16:13 -07:00
Todd C. Miller
97b60e3eb2 From Daniel Richard G. (bug #622)
Add an autogen.sh script that rebuilds the autoconf world.
    Move old aclocal.m4 contents to m4/sudo.m4.
    New (generayed) aclocal.m4 contains the m4_include directives.
    Some tests had #include directives where the '#' was not in column 1.
    Updated obsolete macro usage via autoupdate.
2013-11-13 14:45:47 -07:00
Todd C. Miller
e417fb3da1 Build with -fstack-protector and link with -zrelo where supported.
Added --disable-hardening option to disable hardening options.
2012-05-22 13:23:19 -04:00
Todd C. Miller
b27eeb41b2 Update to libtool 2.4.2 2011-11-21 12:24:32 -05:00
Todd C. Miller
027cd522c3 Update to autoconf 2.68 and libtool 2.4 2011-08-11 14:32:23 -04:00
Todd C. Miller
62edd57ab7 Update to libtool 2.2.10 2011-03-10 10:31:27 -05:00
Todd C. Miller
51b558e753 Update to libtool-2.2.6b. I haven't made any local modifications
this time, which should be OK since we install sudo_noexec.so by
hand now.
2010-05-21 17:59:47 -04:00