diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure index d847518d88..3d8b4a224c 100755 --- a/configure +++ b/configure @@ -2060,10 +2060,10 @@ for dir in $sysnames; do fi if test -z "$uname"; then - if test -r $sysdep_dir/$dir/uname.c || - test -r $sysdep_dir/$dir/uname.S || - { test -r $sysdep_dir/$dir/syscalls.list && - grep '^uname[ ]' $sysdep_dir/$dir/syscalls.list >/dev/null; }; then + if test -r $dest/uname.c || + test -r $dest/uname.S || + { test -r $dest/syscalls.list && + grep '^uname[ ]' $dest/syscalls.list >/dev/null; }; then uname=$dir fi fi @@ -2073,7 +2073,7 @@ done # 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" = generic; then +if test "$uname" = "sysdeps/generic"; then uname_sysname=`echo $config_os | sed 's/[0-9.]*$//'` if test $uname_sysname != $config_os; then |