summaryrefslogtreecommitdiff
path: root/gl/m4/localename.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/localename.m4')
-rw-r--r--gl/m4/localename.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/gl/m4/localename.m4 b/gl/m4/localename.m4
new file mode 100644
index 0000000000..2ba295ebc6
--- /dev/null
+++ b/gl/m4/localename.m4
@@ -0,0 +1,12 @@
+# localename.m4 serial 2
+dnl Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_LOCALENAME],
+[
+ AC_REQUIRE([gt_LC_MESSAGES])
+ AC_REQUIRE([gt_INTL_MACOSX])
+ AC_CHECK_FUNCS([setlocale uselocale])
+])