CVSROOT: /cvs/cluster Module name: cluster Changes by: [EMAIL PROTECTED] 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 (<IFILE>) { chomp; s|\./||g; + s|.*make\/defines.mk||g; $dirname = dirname($_); $filename = basename($_); system("mkdir -p $objdir/$dirname");