From: Bruno Haible Date: Mon, 24 Apr 2006 11:18:26 +0000 (+0000) Subject: From gnulib module 'unistd'. X-Git-Tag: v0.15~212 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc245c591dfe745315ef0ffcb033fdcb8a51ea08;p=thirdparty%2Fgettext.git From gnulib module 'unistd'. --- diff --git a/gettext-tools/m4/unistd_h.m4 b/gettext-tools/m4/unistd_h.m4 new file mode 100644 index 000000000..9c77f9bd0 --- /dev/null +++ b/gettext-tools/m4/unistd_h.m4 @@ -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) +])