Merge commit 'a39d4083cab589d7cd6a13e8a4b8db8875261d75'
[gnulib.git] / m4 / findprog.m4
index 20658ee..0567b3f 100644 (file)
@@ -1,5 +1,5 @@
-# findprog.m4 serial 1
-dnl Copyright (C) 2003 Free Software Foundation, Inc.
+# findprog.m4 serial 2
+dnl Copyright (C) 2003, 2009-2014 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.
@@ -7,6 +7,6 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_FINDPROG],
 [
   dnl Prerequisites of lib/findprog.c.
-  AC_CHECK_HEADERS_ONCE(unistd.h)
+  AC_CHECK_HEADERS_ONCE([unistd.h])
   AC_REQUIRE([gl_FUNC_EACCESS])
 ])