Fix build without O2
HAVE_LOCALE_H is used by system.h, ensure it is defined properly (the issue only occurs when compiling without __OPTIMIZE__ (ie -O2) otherwise libintl.h do include locale.h) Patch from Pascal Rigaux
This commit is contained in:
parent
ec8761f231
commit
b359165445
|
@ -510,6 +510,8 @@ AC_HEADER_MAJOR
|
|||
AC_HEADER_DIRENT
|
||||
AC_HEADER_TIME
|
||||
|
||||
AC_CHECK_HEADERS(locale.h)
|
||||
|
||||
AC_CHECK_HEADERS(fcntl.h getopt.h grp.h memory.h netdb.h pwd.h utime.h)
|
||||
|
||||
AC_CHECK_HEADERS(sys/ipc.h sys/socket.h sys/select.h)
|
||||
|
|
Loading…
Reference in New Issue