quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Quilt-dev] Use of 'cp -l' in Quilt


From: Jean Delvare
Subject: Re: [Quilt-dev] Use of 'cp -l' in Quilt
Date: Tue, 26 Jan 2010 09:36:15 +0100
User-agent: KMail/1.9.1

Hi Olivier,

Le lundi 25 janvier 2010 17:24, Olivier Mengué a écrit :
> Hi,
> 
> The configure of Quilt 0.48 fails on AIX with the following error:
> 
>   checking whether /usr/bin/cp -l works... configure: error: no
> 
>   You appear to have a `cp' that does not support hard links.
>   You can download GNU fileutils from ftp.gnu.org
> 
> 
> However I discovered this in the quilt.changes:
> 
> -------------------------------------------------------------------
> Tue May 20 09:30:33 CEST 2008 - address@hidden
> 
> - Stop using cp -l: it doesn't fall back to doing a regular copy
>   when hardlinks are not supported; on some types of filesystems
>   like AFS and in some situtions, this is annoying.
> 
> -------------------------------------------------------------------
> 
> So, does this check still applies?

I think you are correct and the check should be removed. Thanks for
reporting, removing checks from the configure script is always
welcome :)

Here is the patch I plan to apply:

* * * * *

We no longer use "cp -l" in quilt, so there is no point in testing if
it is supported at configuration time.

Reported by Olivier Mengué.
---
 configure.ac |   12 ------------
 1 file changed, 12 deletions(-)

--- a/configure.ac
+++ b/configure.ac
@@ -69,18 +69,6 @@ You can get this patch at ftp://ftp.gnu.
 fi
 
 QUILT_COMPAT_PROG_PATH(CP, cp, [gcp cp])
-AC_MSG_CHECKING(whether $CP -l works)
-touch conftest.1
-if $CP -l conftest.1 conftest.2 2>/dev/null; then
-       AC_MSG_RESULT(yes)
-else
-       AC_MSG_ERROR([no
-
-You appear to have a `cp' that does not support hard links.
-You can download GNU fileutils from ftp.gnu.org
-])
-fi
-
 QUILT_COMPAT_PROG_PATH(DATE, date, [gdate date])
 
 if test -z "$INTERNAL_DATE"; then


-- 
Jean Delvare
Suse L3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]