configure: disable unused feature test macros

they were causing build errors under freebsd and it appears we aren't
using them anymore...
This commit is contained in:
Danny Robson 2016-05-12 18:15:01 +10:00
parent a22ca0575e
commit a8650caa1c

View File

@ -44,9 +44,6 @@ AC_C_BIGENDIAN
############################################################################### ###############################################################################
## Platform features ## Platform features
AC_DEFINE([_XOPEN_SOURCE], [700], [use POSIX 2008])
AC_DEFINE([__STDC_FORMAT_MACROS], [1], [use C format macros])
## Find some POSIX functions that windows doesn't support ## Find some POSIX functions that windows doesn't support
AS_IF([test "x${host_os}" != "xmingw32"],[ AS_IF([test "x${host_os}" != "xmingw32"],[
AC_SEARCH_LIBS([dlopen], [dl], [], [AC_MSG_ERROR([unable to find dl library])]) AC_SEARCH_LIBS([dlopen], [dl], [], [AC_MSG_ERROR([unable to find dl library])])