]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
From gnulib module 'unistd'.
authorBruno Haible <bruno@clisp.org>
Mon, 24 Apr 2006 11:18:26 +0000 (11:18 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:12 +0000 (12:13 +0200)
gettext-tools/m4/unistd_h.m4 [new file with mode: 0644]

diff --git a/gettext-tools/m4/unistd_h.m4 b/gettext-tools/m4/unistd_h.m4
new file mode 100644 (file)
index 0000000..9c77f9b
--- /dev/null
@@ -0,0 +1,18 @@
+# unistd_h.m4 serial 2
+dnl Copyright (C) 2006 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.
+
+dnl Written by Simon Josefsson
+
+AC_DEFUN([gl_HEADER_UNISTD],
+[
+  dnl Prerequisites of lib/unistd.h.
+  AC_CHECK_HEADERS([unistd.h], [
+    UNISTD_H=''
+  ], [
+    UNISTD_H='unistd.h'
+  ])
+  AC_SUBST(UNISTD_H)
+])