summaryrefslogtreecommitdiff
path: root/m4/readutmp.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/readutmp.m4')
-rw-r--r--m4/readutmp.m47
1 files changed, 5 insertions, 2 deletions
diff --git a/m4/readutmp.m4 b/m4/readutmp.m4
index dd9ae9e60..81d7642e0 100644
--- a/m4/readutmp.m4
+++ b/m4/readutmp.m4
@@ -1,11 +1,14 @@
-# readutmp.m4 serial 6
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# readutmp.m4 serial 7
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_READUTMP],
[
+ AC_LIBSOURCES([readutmp.c, readutmp.h])
+ AC_LIBOBJ([readutmp])
+
dnl Prerequisites of lib/readutmp.h.
AC_CHECK_HEADERS(utmp.h utmpx.h)
AC_CHECK_FUNCS(utmpname utmpxname)