comparison m4/safe-read.m4 @ 15234:0966aa04021c

safe-read: Move AC_LIBOBJ invocations to module description. * m4/safe-read.m4 (gl_SAFE_READ): Remove macro. * modules/safe-read (configure.ac): Invoke gl_PREREQ_SAFE_READ instead of gl_SAFE_READ. (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 01:28:26 +0200
parents 97fc9a21a8fb
children 8250f2777afc
comparison
equal deleted inserted replaced
15233:c1518e50c76f 15234:0966aa04021c
1 # safe-read.m4 serial 5 1 # safe-read.m4 serial 6
2 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, 2 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation,
3 dnl Inc. 3 dnl Inc.
4 dnl This file is free software; the Free Software Foundation 4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it, 5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved. 6 dnl with or without modifications, as long as this notice is preserved.
7 7
8 AC_DEFUN([gl_SAFE_READ],
9 [
10 AC_LIBOBJ([safe-read])
11
12 gl_PREREQ_SAFE_READ
13 ])
14
15 # Prerequisites of lib/safe-read.c. 8 # Prerequisites of lib/safe-read.c.
16 AC_DEFUN([gl_PREREQ_SAFE_READ], 9 AC_DEFUN([gl_PREREQ_SAFE_READ],
17 [ 10 [
18 AC_REQUIRE([gt_TYPE_SSIZE_T]) 11 AC_REQUIRE([gt_TYPE_SSIZE_T])
19 ]) 12 ])