Add empty host_os switch for platform config
This commit is contained in:
parent
6d879a96de
commit
6a4f6c7d8b
14
configure.ac
14
configure.ac
@ -96,6 +96,18 @@ AC_TYPE_SSIZE_T
|
|||||||
## platform features
|
## platform features
|
||||||
COMMON_CFLAGS="$COMMON_CFLAGS -D_GNU_SOURCE"
|
COMMON_CFLAGS="$COMMON_CFLAGS -D_GNU_SOURCE"
|
||||||
|
|
||||||
|
case $host_os in
|
||||||
|
mingw32)
|
||||||
|
;;
|
||||||
|
|
||||||
|
linux-gnu)
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
AC_ERROR([Unknown host_os])
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
AC_FUNC_MMAP
|
AC_FUNC_MMAP
|
||||||
|
|
||||||
AC_CHECK_HEADER([execinfo.h], [break])
|
AC_CHECK_HEADER([execinfo.h], [break])
|
||||||
@ -105,7 +117,7 @@ AC_SEARCH_LIBS([clock_gettime], [rt])
|
|||||||
if [[ "x$ac_cv_search_clock_gettime" == "x-*" ]]; then
|
if [[ "x$ac_cv_search_clock_gettime" == "x-*" ]]; then
|
||||||
COMMON_LDFLAGS="$COMMON_LDFLAGS $ac_cv_search_clock_gettime"
|
COMMON_LDFLAGS="$COMMON_LDFLAGS $ac_cv_search_clock_gettime"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
## Debug features
|
## Debug features
|
||||||
|
Loading…
Reference in New Issue
Block a user