summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-06-14 21:03:05 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-06-14 21:03:05 (GMT)
commit19d173486b2263a269260343d65ac3929c89297e (patch)
tree2e95896d03cf0851f9e9a59a974b9a7080225424 /configure.in
parent61e2c9a402106664142fa1e26ac5d938b2f95d1b (diff)
downloadcpython-19d173486b2263a269260343d65ac3929c89297e.zip
cpython-19d173486b2263a269260343d65ac3929c89297e.tar.gz
cpython-19d173486b2263a269260343d65ac3929c89297e.tar.bz2
Patch #752671: NetBSD needs to link libintl to _locale.so.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 1bd0f61..fb1c962 100644
--- a/configure.in
+++ b/configure.in
@@ -1346,6 +1346,10 @@ AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
AC_SEARCH_LIBS(sem_init, pthread rt posix4) # 'Real Time' functions on Solaris
# posix4 on Solaris 2.6
# pthread (first!) on Linux
+# check if we need libintl for locale functions
+AC_CHECK_LIB(intl, textdomain,
+ AC_DEFINE(WITH_LIBINTL, 1,
+ [Define to 1 if libintl is needed for locale functions.]))
# checks for system dependent C++ extensions support
case "$ac_sys_system" in