view modules/renameat @ 15187:8f6c698d0789

crc: Move AC_LIBOBJ invocations to module description. * m4/crc.m4: Remove file. * modules/crc (Files): Remove it. (configure.ac): Remove gl_CRC call. (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 22:51:09 +0200
parents 0c86c6d851e0
children 16f47458947e
line wrap: on
line source

Description:
renameat() function: rename a file, relative to two directories

Files:
lib/at-func2.c
lib/renameat.c
m4/renameat.m4

Depends-on:
stdio
extensions
fcntl-h
dosname          [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
filenamecat-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
getcwd-lgpl      [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
openat           [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
rename           [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
same-inode       [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
save-cwd         [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]

configure.ac:
gl_FUNC_RENAMEAT
if test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1; then
  AC_LIBOBJ([renameat])
  AC_LIBOBJ([at-func2])
fi
gl_STDIO_MODULE_INDICATOR([renameat])

Makefile.am:

Include:
<fcntl.h>
<stdio.h>

License:
GPL

Maintainer:
Jim Meyering, Eric Blake