summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2011-06-26Get rid of SYSV definition. Just check for pututline().Ed Schouten
If the system provides pututline(), we just want to use that, instead of specifically checking for certain operating systems. Signed-off-by: Ed Schouten <ed@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-06-26Don't forget to include <sys/types.h> before <utmp.h>.Ed Schouten
Some operating systems (e.g. FreeBSD) require <sys/types.h> to be included before <utmp.h>, because they depend on type definitions such as int32_t, time_t, etc. Signed-off-by: Ed Schouten <ed@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-06-24Use Autoconf to check for utmp field existence.Ed Schouten
Don't use the quirky SYSV and __QNX__ definitions to determine whether the utmp fields exist. Signed-off-by: Ed Schouten <ed@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-21config: use AC_CHECK_MEMBERS rather than AC_CHECK_MEMBERGaetan Nadon
Let Autoconf do the work of setting up the #define in config.h. Apply and comment standard sections layout. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-19config: remove AC_CANONICAL_HOST already included by XORG_DEFAULT_OPTIONSGaetan Nadon
Fix some quoting and comments, no functional changes. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-19config: move man pages into their own directoryGaetan Nadon
Use services provided by XORG_MANPAGE_SECTIONS. Use standard Makefile for man pages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-11-10config: Remove unnecessary calls from configure.acAlan Coopersmith
AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-10config: upgrade to util-macros 1.8 for additional man page supportAlan Coopersmith
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS Enables use of platform appropriate version of sed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-03sessreg 1.0.6sessreg-1.0.6Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-02-05Add AC_USE_SYSTEM_EXTENSIONS providing needed WTMPX_FILE defineGaetan Nadon
The WTMPX_FILE is only defined under __USE_GNU conditional compilation. Autoconf provides AC_USE_SYSTEM_EXTENSIONS to enable platform extensions. It must be expanded before any other macros that uses the compiler. To reduce the risk of being misplaced, the statements have been grouped (mostly) as per the GNU standard layout.This macro requires Autoconf level 2.60 or later. The compilation failed under a GNU-Linux OS. Tested-by (on darwin): Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-01-16Allow sessreg to be built without <utmp.h>.Ed Schouten
As of 9.0, FreeBSD will only support <utmpx.h>. It only implements the POSIX interface with minor extensions. There is no need to write to wtmp and lastlog separately, because this is already done by pututxline(). Add additional checks to configure.ac to search for the presence of utmpxname() and updwtmpx(). Signed-off-by: Ed Schouten <ed@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon
Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
2009-10-12sessreg 1.0.5sessreg-1.0.5Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-12Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONSAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-01-19Ansification and compile warning fixes.Paulo Cesar Pereira de Andrade
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects make distcheck and all gcc 4.3 and sparse warnings.
2008-06-11Version bump: 1.0.4sessreg-1.0.4Alan Coopersmith
2008-03-01Require xproto instead of libX11 for building (bug #9631)David Nusinow
2007-08-17Version bump: 1.0.3sessreg-1.0.3Alan Coopersmith
2006-11-30bump to 1.0.3sessreg-1.0.2Daniel Stone
2006-11-08Version bump to 1.0.1sessreg-1.0.1Alan Coopersmith
2006-11-07Add hooks for checking code with lint/sparse/etc.Alan Coopersmith
2006-11-07AC_CHECK_MEMBER needs to include <utmpx.h> when checking for utmpx.ut_syslenAlan Coopersmith
2005-12-15Update package version number for final X11R7 release candidate.XORG-7_1XORG-7_0_99_901XORG-7_0XORG-6_99_99_904Kevin E Martin
2005-12-03Update package version number for X11R7 RC3 release.XORG-6_99_99_903Kevin E Martin
2005-11-19Update pkgconfig files to separate library build-time dependencies fromKevin E Martin
application build-time dependencies, and update package deps to work with separate build roots.
2005-10-19Update package version number for RC1 release.XORG-6_99_99_902XORG-6_99_99_901Kevin E Martin
2005-10-14Use sed to fill in variables in man pageAlan Coopersmith
2005-10-05Get sessreg.man from $(srcdir) to fix make distcheckKevin E Martin
Add check for utmpx.ut_syslen structure member
2005-10-03Add AC_SYS_LARGEFILE for systems that need it to access largeAlan Coopersmith
wtmpx/lastlogs Set version string in man page
2005-08-10AUTHORS: Copy info from comments in sessreg.c configure.ac: Add checks forAlan Coopersmith
lastlog.h, utmpx.h, & sys/param.h to replace OS-specific #ifdefs
2005-08-10Add build system for sessreg, broken out from xdm.Daniel Stone