summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-04-11 20:04:57 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-04-11 20:04:57 +0000
commited8af4543d573ea2271428d9e897d2c01c22050f (patch)
treed4305309b1d54759781f0502502913c4f8fcee86
parent6a0400397d547eb2daca4f41ff8e097481770b74 (diff)
downloadcoreutils-ed8af4543d573ea2271428d9e897d2c01c22050f.tar.xz
(gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
-rw-r--r--m4/stdio-safer.m47
1 files changed, 5 insertions, 2 deletions
diff --git a/m4/stdio-safer.m4 b/m4/stdio-safer.m4
index f5f54a702..a596de232 100644
--- a/m4/stdio-safer.m4
+++ b/m4/stdio-safer.m4
@@ -1,11 +1,14 @@
-# stdio-safer.m4 serial 2
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# stdio-safer.m4 serial 3
+dnl Copyright (C) 2002, 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_STDIO_SAFER],
[
+ AC_LIBSOURCES([fopen-safer.c, stdio-safer.h])
+ AC_LIBOBJ([fopen-safer])
+
dnl Prerequisites of lib/fopen-safer.c.
AC_CHECK_HEADERS_ONCE(unistd.h)
])