blob: df4c22d39389f88b2daf90c63a7a2fca92177af6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# GHC_CONVERT_VENDOR(vendor, target_var)
# --------------------------------
# converts vendor from gnu to ghc naming, and assigns the result to $target_var
AC_DEFUN([GHC_CONVERT_VENDOR],[
case "$1" in
pc|gentoo|w64) # like i686-pc-linux-gnu, i686-gentoo-freebsd8, x86_64-w64-mingw32
$2="unknown"
;;
softfloat) # like armv5tel-softfloat-linux-gnueabi
$2="unknown"
;;
hardfloat) # like armv7a-hardfloat-linux-gnueabi
$2="unknown"
;;
*)
#pass thru by default
$2="$1"
;;
esac
])
|