x11-xserver-utils/sessreg/man/filenames.sed.c

30 lines
466 B
C
Raw Normal View History

2007-08-22 01:36:07 -05:00
#include "sessreg.h"
#ifdef UTMPX_FILE
# define UTF UTMPX_FILE
2009-12-06 06:02:51 -06:00
# define UTM utmpx
2007-08-22 01:36:07 -05:00
#else
# define UTF UTMP_FILE
2009-12-06 06:02:51 -06:00
# define UTM utmp
2007-08-22 01:36:07 -05:00
#endif
#ifdef WTMPX_FILE
# define WTF WTMPX_FILE
#else
# define WTF WTMP_FILE
#endif
#ifndef TTYS_FILE
# define TTYS_FILE "/etc/ttys"
#endif
2009-12-06 06:02:51 -06:00
#ifndef LLOG_FILE
# define LLOG_FILE "/var/log/lastlog"
#endif
s|__utmp_manpage__|UTM|g
2007-08-22 01:36:07 -05:00
s|__utmp_file__|UTF|g
s|__wtmp_file__|WTF|g
s|__ttys_file__|TTYS_FILE|g
2009-12-06 06:02:51 -06:00
s|__lastlog_file__|LLOG_FILE|g