comparison m4/putenv.m4 @ 17359:2a9ec0103b3c

putenv: port to Solaris 10 * lib/putenv.c (_unsetenv, putenv): Use HAVE_DECL__PUTENV, not HAVE__PUTENV. Solaris 10 has a _putenv that's not declared and is not what is wanted here. * m4/putenv.m4 (gl_PREREQ_PUTENV): Check for _putenv's declaration, not for its existence.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 13 Mar 2013 00:10:30 -0700
parents a72ac603a92f
children 344018b6e5d7
comparison
equal deleted inserted replaced
17358:a4a11de07980 17359:2a9ec0103b3c
1 # putenv.m4 serial 19 1 # putenv.m4 serial 20
2 dnl Copyright (C) 2002-2013 Free Software Foundation, Inc. 2 dnl Copyright (C) 2002-2013 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation 3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it, 4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved. 5 dnl with or without modifications, as long as this notice is preserved.
6 6
50 ]) 50 ])
51 51
52 # Prerequisites of lib/putenv.c. 52 # Prerequisites of lib/putenv.c.
53 AC_DEFUN([gl_PREREQ_PUTENV], 53 AC_DEFUN([gl_PREREQ_PUTENV],
54 [ 54 [
55 AC_CHECK_FUNCS([_putenv]) 55 AC_CHECK_DECLS([_putenv])
56 ]) 56 ])