View | Details | Raw Unified | Return to bug 570
Collapse All | Expand All

(-)configure.ac (-8 / +42 lines)
Lines 2324-2358 Link Here
2324
dnl allow user to disable some login recording features
2324
dnl allow user to disable some login recording features
2325
AC_ARG_ENABLE(lastlog,
2325
AC_ARG_ENABLE(lastlog,
2326
	[  --disable-lastlog       disable use of lastlog even if detected [no]],
2326
	[  --disable-lastlog       disable use of lastlog even if detected [no]],
2327
	[ AC_DEFINE(DISABLE_LASTLOG) ]
2327
	[
2328
		if test "x$enableval" = "xno" ; then
2329
			AC_DEFINE(DISABLE_LASTLOG)
2330
		fi
2331
	]
2328
)
2332
)
2329
AC_ARG_ENABLE(utmp,
2333
AC_ARG_ENABLE(utmp,
2330
	[  --disable-utmp          disable use of utmp even if detected [no]],
2334
	[  --disable-utmp          disable use of utmp even if detected [no]],
2331
	[ AC_DEFINE(DISABLE_UTMP) ]
2335
	[
2336
		if test "x$enableval" = "xno" ; then
2337
			AC_DEFINE(DISABLE_UTMP)
2338
		fi
2339
	]
2332
)
2340
)
2333
AC_ARG_ENABLE(utmpx,
2341
AC_ARG_ENABLE(utmpx,
2334
	[  --disable-utmpx         disable use of utmpx even if detected [no]],
2342
	[  --disable-utmpx         disable use of utmpx even if detected [no]],
2335
	[ AC_DEFINE(DISABLE_UTMPX) ]
2343
	[
2344
		if test "x$enableval" = "xno" ; then
2345
			AC_DEFINE(DISABLE_UTMPX)
2346
		fi
2347
	]
2336
)
2348
)
2337
AC_ARG_ENABLE(wtmp,
2349
AC_ARG_ENABLE(wtmp,
2338
	[  --disable-wtmp          disable use of wtmp even if detected [no]],
2350
	[  --disable-wtmp          disable use of wtmp even if detected [no]],
2339
	[ AC_DEFINE(DISABLE_WTMP) ]
2351
	[
2352
		if test "x$enableval" = "xno" ; then
2353
			AC_DEFINE(DISABLE_WTMP)
2354
		fi
2355
	]
2340
)
2356
)
2341
AC_ARG_ENABLE(wtmpx,
2357
AC_ARG_ENABLE(wtmpx,
2342
	[  --disable-wtmpx         disable use of wtmpx even if detected [no]],
2358
	[  --disable-wtmpx         disable use of wtmpx even if detected [no]],
2343
	[ AC_DEFINE(DISABLE_WTMPX) ]
2359
	[
2360
		if test "x$enableval" = "xno" ; then
2361
			AC_DEFINE(DISABLE_WTMPX)
2362
		fi
2363
	]
2344
)
2364
)
2345
AC_ARG_ENABLE(libutil,
2365
AC_ARG_ENABLE(libutil,
2346
	[  --disable-libutil       disable use of libutil (login() etc.) [no]],
2366
	[  --disable-libutil       disable use of libutil (login() etc.) [no]],
2347
	[ AC_DEFINE(DISABLE_LOGIN) ]
2367
	[
2368
		if test "x$enableval" = "xno" ; then
2369
			AC_DEFINE(DISABLE_LOGIN)
2370
		fi
2371
	]
2348
)
2372
)
2349
AC_ARG_ENABLE(pututline,
2373
AC_ARG_ENABLE(pututline,
2350
	[  --disable-pututline     disable use of pututline() etc. ([uw]tmp) [no]],
2374
	[  --disable-pututline     disable use of pututline() etc. ([uw]tmp) [no]],
2351
	[ AC_DEFINE(DISABLE_PUTUTLINE) ]
2375
	[
2376
		if test "x$enableval" = "xno" ; then
2377
			AC_DEFINE_UNQUOTED(DISABLE_PUTUTLINE, 1, 
2378
			[Define if you don't want to use pututline() etc. to write [uw]tmp])
2379
		fi
2380
	]
2352
)
2381
)
2353
AC_ARG_ENABLE(pututxline,
2382
AC_ARG_ENABLE(pututxline,
2354
	[  --disable-pututxline    disable use of pututxline() etc. ([uw]tmpx) [no]],
2383
	[  --disable-pututxline    disable use of pututxline() etc. ([uw]tmpx) [no]],
2355
	[ AC_DEFINE(DISABLE_PUTUTXLINE) ]
2384
	[
2385
		if test "x$enableval" = "xno" ; then
2386
			AC_DEFINE_UNQUOTED(DISABLE_PUTUTXLINE, 1, 
2387
			[Define if you don't want to use pututxline() etc. to write [uw]tmpx])
2388
		fi
2389
	]
2356
)
2390
)
2357
AC_ARG_WITH(lastlog,
2391
AC_ARG_WITH(lastlog,
2358
  [  --with-lastlog=FILE|DIR specify lastlog location [common locations]],
2392
  [  --with-lastlog=FILE|DIR specify lastlog location [common locations]],
(-)acconfig.h (-6 lines)
Lines 141-152 Link Here
141
/* Define if you don't want to use your system's login() call */
141
/* Define if you don't want to use your system's login() call */
142
#undef DISABLE_LOGIN
142
#undef DISABLE_LOGIN
143
143
144
/* Define if you don't want to use pututline() etc. to write [uw]tmp */
145
#undef DISABLE_PUTUTLINE
146
147
/* Define if you don't want to use pututxline() etc. to write [uw]tmpx */
148
#undef DISABLE_PUTUTXLINE
149
150
/* Define if you don't want to use lastlog */
144
/* Define if you don't want to use lastlog */
151
#undef DISABLE_LASTLOG
145
#undef DISABLE_LASTLOG
152
146

Return to bug 570