This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] configure.in looking for uname in wrong place
- From: Linas Vepstas <linasvepstas at gmail dot com>
- To: GLIBC Devel <libc-alpha at sourceware dot org>
- Date: Mon, 23 Aug 2010 16:17:56 -0500
- Subject: [PATCH] configure.in looking for uname in wrong place
- Reply-to: linasvepstas at gmail dot com
The old glibc used to have uname.c in ./sysdeps/generic/uname.c
and so the configure check for "$uname" = "sysdeps/generic" made
sense. However, the current glibc has it in ./posix/uname.c and
the search returns "sysdeps/unix" for this case. A cross-compile
build fails without this fix.
I've got an ancient FSF copyright assignment on file (circa 1993,
maybe renewed circa 2000). (but not under my current email addr,
gee, do I need to fix this?)
2010-08-23 Linas Vepstas <linasvepstas@gmail.com>
* configure.in: specify "sysdeps/unix" as new location of uname.
---
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: glibc/configure.in
===================================================================
--- glibc.orig/configure.in 2010-08-06 15:49:36.000000000 -0500
+++ glibc/configure.in 2010-08-06 15:52:34.000000000 -0500
@@ -2212,7 +2212,7 @@ AC_SUBST(libc_cv_gcc_unwind_find_fde)
# If we will use the generic uname implementation, we must figure out what
# it will say by examining the system, and write the results in config-name.h.
-if test "$uname" = "sysdeps/generic"; then
+if test "$uname" = "sysdeps/unix"; then
changequote(,)dnl
uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'`