comparison configure @ 10945:c4634177933a

initial MorphOS/Amiga (GeekGadgets) support
author alex
date Fri, 26 Sep 2003 18:08:10 +0000
parents e2be5ab1d6e3
children ea4426db0db5
comparison
equal deleted inserted replaced
10944:e2be5ab1d6e3 10945:c4634177933a
66 bsd() { freebsd || netbsd || bsdos || openbsd ; return "$?" ; } 66 bsd() { freebsd || netbsd || bsdos || openbsd ; return "$?" ; }
67 qnx() { issystem "QNX" ; return "$?" ; } 67 qnx() { issystem "QNX" ; return "$?" ; }
68 darwin() { issystem "Darwin" ; return "$?" ; } 68 darwin() { issystem "Darwin" ; return "$?" ; }
69 gnu() { issystem "GNU" ; return "$?" ; } 69 gnu() { issystem "GNU" ; return "$?" ; }
70 mingw32() { issystem "MINGW32" ; return "$?" ; } 70 mingw32() { issystem "MINGW32" ; return "$?" ; }
71 morphos() { issystem "MorphOS" ; return "$?" ; }
71 72
72 # arch test boolean functions 73 # arch test boolean functions
73 # x86/x86pc is used by QNX 74 # x86/x86pc is used by QNX
74 x86() { 75 x86() {
75 case "$host_arch" in 76 case "$host_arch" in
381 system_name=CYGWIN 382 system_name=CYGWIN
382 ;; 383 ;;
383 MINGW32*) 384 MINGW32*)
384 system_name=MINGW32 385 system_name=MINGW32
385 ;; 386 ;;
387 MorphOS)
388 system_name=MorphOS
389 ;;
386 *) 390 *)
387 system_name="$system_name-UNKNOWN" 391 system_name="$system_name-UNKNOWN"
388 ;; 392 ;;
389 esac 393 esac
390 394
428 netbsd) system_name=NetBSD ;; 432 netbsd) system_name=NetBSD ;;
429 bsd/os) system_name=BSD/OS ;; 433 bsd/os) system_name=BSD/OS ;;
430 openbsd) system_name=OpenBSD ;; 434 openbsd) system_name=OpenBSD ;;
431 sunos) system_name=SunOS ;; 435 sunos) system_name=SunOS ;;
432 qnx) system_name=QNX ;; 436 qnx) system_name=QNX ;;
437 morphos) system_name=MorphOS ;;
433 esac 438 esac
434 # We need to convert underscores so that values like k6-2 and pentium-mmx can be passed 439 # We need to convert underscores so that values like k6-2 and pentium-mmx can be passed
435 host_arch=`echo $_target | cut -d '-' -f 1 | tr '_' '-'` 440 host_arch=`echo $_target | cut -d '-' -f 1 | tr '_' '-'`
436 fi 441 fi
437 442