diff m4/tmpdir.m4 @ 17315:087501e891d9

tmpdir: use secure_getenv * lib/tmpdir.c (__secure_getenv) [!LIBC]: Define to secure_getenv, not getenv. * m4/tmpdir.m4 (gt_TMPDIR): Don't check for __secure_getenv, as that's now secure_getenv's job. * modules/tmpdir (Depends-on): Add secure_getenv.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 04 Feb 2013 20:34:17 -0800
parents e542fd46ad6f
children 344018b6e5d7
line wrap: on
line diff
--- a/m4/tmpdir.m4	Mon Feb 04 18:36:06 2013 -0800
+++ b/m4/tmpdir.m4	Mon Feb 04 20:34:17 2013 -0800
@@ -1,4 +1,4 @@
-# tmpdir.m4 serial 3
+# tmpdir.m4 serial 4
 dnl Copyright (C) 2001-2002, 2006, 2009-2013 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -6,7 +6,4 @@
 
 # Prerequisites for lib/tmpdir.c
 
-AC_DEFUN([gt_TMPDIR],
-[
-  AC_CHECK_FUNCS([__secure_getenv])
-])
+AC_DEFUN([gt_TMPDIR], [:])