Opened 11 years ago

Closed 11 years ago

#1539 closed defect (fixed)

configure fails to detect arch on NetBSD/sgimips -current

Reported by: randrik@… Owned by: diego@…
Priority: normal Component: build system
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

I have mplayer svn rev r29536. It fails very early in configure, with unknown arch. Simple patch fixes this:

--- ./configure 2009-08-14 20:34:17.000000000 +0000
+++ /mnt/hdc6/NFS/sgio2/netbsd/home/guest/src/mplayer/configure 2009-08-19 11:55:39.000000000 +0000
@@ -1408,7 +1408,7 @@

sh3|sh4|sh4a) host_arch=sh ;;
s390) host_arch=s390 ;;
s390x) host_arch=s390x ;;

  • mips*) host_arch=mips ;;

+ mips*|*mips) host_arch=mips ;;

vax) host_arch=vax ;;
xtensa*) host_arch=xtensa ;;
*) host_arch=UNKNOWN ;;

of cource i think i can just add *mips* instead of simple mips* there.

Change History (1)

comment:1 Changed 11 years ago by diego@…

  • Resolution set to fixed
  • Status changed from new to closed

I applied something very similar to your patch, thanks.

Note: See TracTickets for help on using tickets.