view modules/free @ 16063:c3b6b5b6bc32

More conditional dependencies. * modules/faccessat (Depends-on): Add conditions. * modules/fchmodat (Depends-on): Likewise. * modules/fchownat (Depends-on): Likewise. * modules/fstatat (Depends-on): Likewise. * modules/mkfifoat (Depends-on): Likewise. * modules/readlinkat (Depends-on): Likewise. * modules/symlinkat (Depends-on): Likewise. * modules/unlinkat (Depends-on): Likewise. * modules/utimensat (Depends-on): Likewise. * modules/mkdirat (Depends-on): Add sys_stat. Add conditions. * modules/linkat (Depends-on): Refine the conditions. * modules/renameat (Depends-on): Likewise.
author Bruno Haible <bruno@clisp.org>
date Wed, 09 Nov 2011 02:42:45 +0100
parents fff577282e62
children
line wrap: on
line source

Description:
Work around incompatibility on older systems where free (NULL) fails.

Notice:
This module is obsolete.

Files:
lib/free.c
m4/free.m4

Depends-on:

configure.ac:
gl_FUNC_FREE
if test $gl_cv_func_free = no; then
  AC_LIBOBJ([free])
  gl_PREREQ_FREE
fi

Makefile.am:

Include:
<stdlib.h>

License:
GPL

Maintainer:
Paul Eggert