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

[commits] r10047 - in /trunk/libc: ChangeLog.eglibc configure configure.in



Author: joseph
Date: Mon Mar 15 04:11:32 2010
New Revision: 10047

Log:
	* configure.in: Don't prepend $srcdir to absolute path to elf
	sysdeps directory from add-ons.  Issue reported by c1de0x
	<c1de0x@xxxxxxxxx>.
	* configure: Regenerate.

Modified:
    trunk/libc/ChangeLog.eglibc
    trunk/libc/configure
    trunk/libc/configure.in

Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Mon Mar 15 04:11:32 2010
@@ -1,3 +1,10 @@
+2010-03-15  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* configure.in: Don't prepend $srcdir to absolute path to elf
+	sysdeps directory from add-ons.  Issue reported by c1de0x
+	<c1de0x@xxxxxxxxx>.
+	* configure: Regenerate.
+
 2010-02-04  Maxim Kuvyrkov  <maxim@xxxxxxxxxxxxxxxx>
 
 	EGLIBC_RTLD_DEBUG option group

Modified: trunk/libc/configure
==============================================================================
--- trunk/libc/configure (original)
+++ trunk/libc/configure Mon Mar 15 04:11:32 2010
@@ -4490,8 +4490,13 @@
   elf_dirs=
   for d in $add_ons_pfx ''; do
     for m in $mach; do
-      if test -d $srcdir/${d}sysdeps$m/elf; then
-	elf_dirs="$elf_dirs ${d}sysdeps$m/elf"
+      try="${d}sysdeps$m/elf"
+      case $d in
+	/*) try_srcdir= ;;
+	*) try_srcdir=$srcdir/ ;;
+      esac
+      if test -d $try_srcdir$try; then
+	elf_dirs="$elf_dirs $try"
       fi
     done
   done

Modified: trunk/libc/configure.in
==============================================================================
--- trunk/libc/configure.in (original)
+++ trunk/libc/configure.in Mon Mar 15 04:11:32 2010
@@ -777,8 +777,13 @@
   elf_dirs=
   for d in $add_ons_pfx ''; do
     for m in $mach; do
-      if test -d $srcdir/${d}sysdeps$m/elf; then
-	elf_dirs="$elf_dirs ${d}sysdeps$m/elf"
+      try="${d}sysdeps$m/elf"
+      case $d in
+	/*) try_srcdir= ;;
+	*) try_srcdir=$srcdir/ ;;
+      esac
+      if test -d $try_srcdir$try; then
+	elf_dirs="$elf_dirs $try"
       fi
     done
   done