freebsd: Initial configure support.
* configure: Initial FreeBSD configure support. * configure.sh: Likewise. Run without bash.
This commit is contained in:
parent
34106fc420
commit
e4f293afdd
4
configure
vendored
4
configure
vendored
|
@ -456,8 +456,8 @@ Some influential environment variables:
|
|||
(make-dep "sh" #:version '(0) #:optional? #t)
|
||||
(make-dep "bash" #:version '(2 0) #:optional? #t)
|
||||
(make-dep "guild" #:version '(2 0) #:commands '("guild" "guile-tools" "true"))
|
||||
(make-dep "cc" #:commands (list gcc tcc mescc) #:optional? #t)
|
||||
(make-dep "make" #:optional? #t)
|
||||
(make-dep "cc" #:commands (list gcc "cc" tcc mescc) #:optional? #t)
|
||||
(make-dep "make" #:optional? #t #:commands '("gmake" "make"))
|
||||
(make-dep "makeinfo" #:optional? #t)
|
||||
(make-dep "dot" #:version-option "-V" #:optional? #t)
|
||||
(make-dep "help2man" #:version '(1 47) #:optional? #t)
|
||||
|
|
|
@ -58,7 +58,7 @@ prefix=${prefix-/usr/local}
|
|||
mes_libc=${mes_libc-mes}
|
||||
courageous=${courageous-false}
|
||||
|
||||
BASH=${BASH-$(command -v bash)}
|
||||
BASH=${BASH-$(command -v bash || command -v sh)}
|
||||
BLOOD_ELF=${BLOOD_ELF-$(command -v blood-elf)}
|
||||
CC=${CC-$(command -v gcc)} || true
|
||||
CFLAGS=${CFLAGS-}
|
||||
|
@ -197,6 +197,8 @@ case "$host" in
|
|||
mes_kernel=linux;;
|
||||
*gnu)
|
||||
mes_kernel=gnu;;
|
||||
*freebsd*)
|
||||
mes_kernel=frreebsd;;
|
||||
*)
|
||||
mes_kernel=linux;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue