From bf6f49a309f1894073f208b4a97a7baa6ec3e136 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Sun, 17 Nov 2013 05:37:01 +0100 Subject: 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 Reviewed-on: http://review.gluster.org/6287 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') 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]) -- cgit