Fixed compile error on FreeBSD

This commit is contained in:
sghctoma 2015-10-25 03:53:55 +01:00 committed by pancake
parent 78701a8888
commit d2aa2c4c5d
2 changed files with 8 additions and 8 deletions

8
configure vendored
View File

@ -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

View File

@ -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 ;