From mboxrd@z Thu Jan 1 00:00:00 1970 From: fabbione@sourceware.org Date: 21 Dec 2007 05:58:34 -0000 Subject: [Cluster-devel] cluster configure Message-ID: <20071221055834.13472.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Changes by: fabbione at sourceware.org 2007-12-21 05:58:34 Modified files: . : configure Log message: Fix 2 corner cases when setting up the objdir: - do not symlink symlinks.. this allows to setup multiple objdirs within the source tree. - do not copy/symlink defines.mk from other trees or bad thing happens. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/configure.diff?cvsroot=cluster&r1=1.43&r2=1.44 --- cluster/configure 2007/12/20 22:09:56 1.43 +++ cluster/configure 2007/12/21 05:58:34 1.44 @@ -287,11 +287,12 @@ sub symlinks { my $dir = shift; my $pattern = shift; - @args = "find $dir -name $pattern"; + @args = "find $dir -type f -name $pattern"; open (IFILE, "@args |"); while () { chomp; s|\./||g; + s|.*make\/defines.mk||g; $dirname = dirname($_); $filename = basename($_); system("mkdir -p $objdir/$dirname");