summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/mips/configure.in
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-10-23 01:27:01 +0000
committerRoland McGrath <roland@gnu.org>2005-10-23 01:27:01 +0000
commit067f926e19b0f048f04727f57d7036ec4a64c050 (patch)
tree3ef68c5c73b308198f994dca043dda10c45dc1ff /sysdeps/unix/sysv/linux/mips/configure.in
parentbf8d53331945a83c95dd046c4811b706a5868be5 (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.in')
-rw-r--r--sysdeps/unix/sysv/linux/mips/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/configure.in b/sysdeps/unix/sysv/linux/mips/configure.in
index 67d965dfda..e2e5d16c55 100644
--- a/sysdeps/unix/sysv/linux/mips/configure.in
+++ b/sysdeps/unix/sysv/linux/mips/configure.in
@@ -18,7 +18,7 @@ mips*64*)
if test ! -f "$asm_unistd_h"; then
AC_MSG_WARN([*** asm/unistd.h not found, it will not be pre-processed])
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