aboutsummaryrefslogtreecommitdiffstats
path: root/config/user-gettext.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/user-gettext.m4')
-rw-r--r--config/user-gettext.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/config/user-gettext.m4 b/config/user-gettext.m4
new file mode 100644
index 000000000..89d1d45bf
--- /dev/null
+++ b/config/user-gettext.m4
@@ -0,0 +1,8 @@
+dnl #
+dnl # Check if libintl and possibly libiconv are needed for gettext() functionality
+dnl #
+AC_DEFUN([ZFS_AC_CONFIG_USER_GETTEXT], [
+ AM_ICONV
+ AM_GNU_GETTEXT([external])
+ LIBS="$LIBS $LTLIBINTL $LTLIBICONV"
+])