Define several macros for use by the clean-temp module.
[gnulib.git] / m4 / stdio-safer.m4
1 #serial 9
2 dnl Copyright (C) 2002, 2005, 2006 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
6
7 AC_DEFUN([gl_FOPEN_SAFER],
8 [
9   AC_LIBOBJ([fopen-safer])
10   AC_DEFINE([GNULIB_FOPEN_SAFER], [1],
11     [Define to 1 when using the gnulib fopen-safer module.])
12 ])
13
14 AC_DEFUN([gl_TMPFILE_SAFER],
15 [
16   AC_LIBOBJ([tmpfile-safer])
17 ])