1
0
mirror of https://git.savannah.gnu.org/git/coreutils.git synced 2026-10-28 15:15:08 +03:00

Register unlinkdir.c and unlinkdir.h via AC_LIBSOURCES.

Add `AC_LIBOBJ([unlinkdir])'.
This commit is contained in:
Jim Meyering
2005-05-14 10:34:00 +00:00
parent 070140df89
commit 4ecefdf18a

View File

@@ -1,4 +1,4 @@
#serial 1
#serial 2
# Copyright (C) 2005 Free Software Foundation, Inc.
#
@@ -13,6 +13,9 @@ AC_DEFUN([gl_UNLINKDIR],
AC_REQUIRE([AC_CANONICAL_HOST])
AC_CHECK_HEADERS_ONCE(priv.h unistd.h)
AC_LIBSOURCES([unlinkdir.c, unlinkdir.h])
AC_LIBOBJ([unlinkdir])
# The Hurd, the Linux kernel, the FreeBSD kernel version 2.2 and later,
# and Cygwin never let anyone (even root) unlink directories.
# If anyone knows of another system for which unlink can never