Fixed compile error on FreeBSD
This commit is contained in:
parent
78701a8888
commit
d2aa2c4c5d
|
@ -465,16 +465,16 @@ HAVE_LIB_DL="1"
|
|||
DL_LIBS="-ldl"
|
||||
else
|
||||
if [ "$HOST_OS" = "gnu/kfreebsd" ]; then
|
||||
USEROSTYPE="gnulinux"
|
||||
USEROSTYPE="bsd"
|
||||
else
|
||||
if [ "$HOST_OS" = "netbsd" ]; then
|
||||
USEROSTYPE="gnulinux"
|
||||
USEROSTYPE="bsd"
|
||||
else
|
||||
if [ "$HOST_OS" = "freebsd" ]; then
|
||||
USEROSTYPE="gnulinux"
|
||||
USEROSTYPE="bsd"
|
||||
else
|
||||
if [ "$HOST_OS" = "openbsd" ]; then
|
||||
USEROSTYPE="gnulinux"
|
||||
USEROSTYPE="bsd"
|
||||
else
|
||||
if [ "$HOST_OS" = "darwin" ]; then
|
||||
USEROSTYPE="darwin"; fi; fi; fi; fi; fi; fi; fi; fi; fi
|
||||
|
|
|
@ -108,16 +108,16 @@ IFEQ USEROSTYPE auto ; {
|
|||
DL_LIBS = -ldl ;
|
||||
}{
|
||||
IFEQ HOST_OS gnu/kfreebsd ; {
|
||||
USEROSTYPE = gnulinux ;
|
||||
USEROSTYPE = bsd ;
|
||||
}{
|
||||
IFEQ HOST_OS netbsd ; {
|
||||
USEROSTYPE = gnulinux ;
|
||||
USEROSTYPE = bsd ;
|
||||
}{
|
||||
IFEQ HOST_OS freebsd ; {
|
||||
USEROSTYPE = gnulinux ;
|
||||
USEROSTYPE = bsd ;
|
||||
}{
|
||||
IFEQ HOST_OS openbsd ; {
|
||||
USEROSTYPE = gnulinux ;
|
||||
USEROSTYPE = bsd ;
|
||||
}{
|
||||
IFEQ HOST_OS darwin ; {
|
||||
USEROSTYPE = darwin ;
|
||||
|
|
Loading…
Reference in New Issue