summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2013-11-17 05:37:01 +0100
committerAnand Avati <avati@redhat.com>2013-11-19 13:30:16 -0800
commitbf6f49a309f1894073f208b4a97a7baa6ec3e136 (patch)
tree87d230ad42e3100deb096669fb565682dc79aae3
parentfd2e62404cc7b8efbe71153a4361ab59f374f303 (diff)
Search gettext() in -lintl
If gettext() is not found in libc, look it up in libintl (this is where NetBSD has it) BUG: 764655 Change-Id: Ifba8681b8603ead5d0b8587b71457250982077e1 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.org/6287 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b3d1ed184..af78ee59f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -254,6 +254,7 @@ AC_CHECK_LIB([pthread], [pthread_mutex_init], , AC_MSG_ERROR([Posix threads libr
AC_CHECK_FUNC([dlopen], [has_dlopen=yes], AC_CHECK_LIB([dl], [dlopen], , AC_MSG_ERROR([Dynamic linking library required to build glusterfs])))
+AC_CHECK_FUNC([gettext], [has_gettext=yes], AC_CHECK_LIB([intl], [gettext], , AC_MSG_ERROR([gettext support is required to build glusterfs])))
AC_CHECK_HEADERS([sys/xattr.h])