summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorgepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-15 16:14:06 +0000
committergepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-15 16:14:06 +0000
commite11e6474de0d49ac669f14f47539d535c1910839 (patch)
tree12ef3caa81717bb2d9188f719980370bb38473d2 /configure.in
parent70b60d3c8215ec5470f1ca0a6a2441168730b5eb (diff)
downloadhercules-e11e6474de0d49ac669f14f47539d535c1910839.tar.gz
hercules-e11e6474de0d49ac669f14f47539d535c1910839.tar.bz2
hercules-e11e6474de0d49ac669f14f47539d535c1910839.tar.xz
hercules-e11e6474de0d49ac669f14f47539d535c1910839.zip
Fixed libconfig compiling issues in CentOS 5 (follow-up to r15572) (pid:78747).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15584 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 5c29d7000..815da2009 100644
--- a/configure.in
+++ b/configure.in
@@ -10,6 +10,7 @@ AC_CONFIG_FILES([3rdparty/mt19937ar/Makefile 3rdparty/libconfig/Makefile])
AC_CONFIG_FILES([src/char/Makefile src/login/Makefile])
AC_CONFIG_FILES([src/map/Makefile src/plugins/Makefile src/tool/Makefile])
+AC_GNU_SOURCE
#
# Memory managers
@@ -469,10 +470,10 @@ AC_CHECK_FUNC([setrlimit],[CFLAGS="$CFLAGS -DHAVE_SETRLIMIT"])
AC_CHECK_FUNC([strnlen],[CFLAGS="$CFLAGS -DHAVE_STRNLEN"])
# libconfig
-AC_CHECK_FUNC([uselocale],[CFLAGS="$CFLAGS -DHAVE_USELOCALE"])
-AC_CHECK_FUNC([newlocale],[CFLAGS="$CFLAGS -DHAVE_NEWLOCALE"])
-AC_CHECK_FUNC([freelocale],[CFLAGS="$CFLAGS -DHAVE_FREELOCALE"])
-AC_CHECK_HEADERS([xlocale.h],[CFLAGS="$CFLAGS -DHAVE_XLOCALE_H"])
+AC_CHECK_FUNCS([uselocale])
+AC_CHECK_FUNCS([newlocale])
+AC_CHECK_FUNCS([freelocale])
+AC_CHECK_HEADERS([xlocale.h])
#
# Memory manager