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:
Panu Matilainen 2007-11-13 13:03:38 +02:00
parent ec8761f231
commit b359165445
1 changed files with 2 additions and 0 deletions

View File

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