diff options
author | Roland McGrath <roland@gnu.org> | 2005-10-23 01:27:01 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-10-23 01:27:01 +0000 |
commit | 067f926e19b0f048f04727f57d7036ec4a64c050 (patch) | |
tree | 3ef68c5c73b308198f994dca043dda10c45dc1ff /sysdeps/unix/sysv/linux/mips/configure | |
parent | bf8d53331945a83c95dd046c4811b706a5868be5 (diff) |
Updated to fedora-glibc-2_3-20051023T0123cvs/fedora-glibc-2_3_5-0_fc3_8
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/configure')
-rwxr-xr-x | sysdeps/unix/sysv/linux/mips/configure | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure index c081795aa1..4d9568f001 100755 --- a/sysdeps/unix/sysv/linux/mips/configure +++ b/sysdeps/unix/sysv/linux/mips/configure @@ -18,7 +18,7 @@ mips*64*) { echo "$as_me:$LINENO: WARNING: *** asm/unistd.h not found, it will not be pre-processed" >&5 echo "$as_me: WARNING: *** asm/unistd.h not found, it will not be pre-processed" >&2;} echo '#include <asm/unistd.h>' > asm-unistd.h - else + elif grep __NR_N32_open "$asm_unistd_h" > /dev/null; then # The point of this preprocessing is to turn __NR_<syscall> into # __NR_N64_<syscall>, as well as to define __NR_<syscall> to # __NR_<abi>_<syscall>, if __NR_<abi>_<syscall> is defined @@ -68,6 +68,8 @@ BEGIN { print "#include <sgidefs.h>"; } { print; }' + else + echo '#include <asm/unistd.h>' > asm-unistd.h fi ;; mips*) rm -f asm-unistd.h |