07a4cd0789
- switch from acct-6.3.5 to acct-6.5.5. From the upstream acct ChangeLog: * sa.c - Fix hzval. * ac.8 - Rename to sa.1 * FreeBSD / kFreeBSD >= 7.0-STABLE patch. * Fix potential buffer-overflows. * UNIX 98 pty support. * sa.c - correct --help. * accounting.texi - grammar fix. * Fixed includes for BSDen. Removed last K & R remainings. Bump version to 6.5.4. * Minor fixes, included getop, mktime, rename & xmalloc from gnulib. Fixed HOST_LEN not defined issue. * Major overhaul, releasing GNU Acct 6.5. * NEWS: document changes in the upcoming 6.4 release. * accounting.texi: clarify sa sum line. * accounting.info: regenerated. * Makefile.am: reflect earlier ToDo -> TODO change. * config.guess: added. * config.sub: added. * depcomp: added. * texinfo.tex: added. * INSTALL: regenerated. * Makefile.in: regenerated. * aclocal.m4: regenerated. * ansi2knr.c: regenerated. * config.h.in: regenerated. * configure: regenerated. * install-sh: regenerated. * mdate-sh: regenerated. OBS-URL: https://build.opensuse.org/request/show/101489 OBS-URL: https://build.opensuse.org/package/show/Base:System/acct?expand=0&rev=17
43 lines
1.1 KiB
Diff
43 lines
1.1 KiB
Diff
Subject: configure.ac: Change AC_LANG_SOURCE() into AC_LANG_PROGRAM()
|
|
|
|
---
|
|
configure.ac | 8 ++------
|
|
1 files changed, 2 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 743fe29..c150ca3 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -162,7 +162,7 @@ AC_CHECK_HEADER(sys/acct.h,
|
|
dnl
|
|
dnl find out where utmp/pacct are stored
|
|
dnl
|
|
-AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
|
+AC_RUN_IFELSE([AC_LANG_PROGRAM([[
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <sys/types.h>
|
|
@@ -241,9 +241,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
|
# endif
|
|
# endif
|
|
#endif
|
|
-
|
|
-main ()
|
|
-{
|
|
+]], [[
|
|
FILE *fp;
|
|
fp = fopen ("locs", "w");
|
|
fprintf (fp, "WTMP_FILE_LOC=%s\n", WTMP_FILE);
|
|
@@ -251,8 +249,6 @@ main ()
|
|
fprintf (fp, "SAVACCT_FILE_LOC=%s\n", SAVACCT_FILE);
|
|
fprintf (fp, "USRACCT_FILE_LOC=%s\n", USRACCT_FILE);
|
|
fclose (fp);
|
|
- exit(0);
|
|
-}
|
|
]])],[. ./locs; rm locs],[echo "Error -- could not locate your wtmp and acct files."; exit 1],[echo "Sorry -- you cannot cross-compile this package (FIXME)."; exit 1 ])
|
|
AC_TYPE_PID_T dnl for sys/acct.h
|
|
AC_TYPE_UID_T dnl same as above
|
|
--
|
|
1.7.7
|
|
|