projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec8761f
)
Fix build without O2
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 13 Nov 2007 11:03:38 +0000
(13:03 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 13 Nov 2007 11:03:38 +0000
(13:03 +0200)
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
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
1ba012d
..
cd2cb44
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-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)