diff m4/gnulib-common.m4 @ 112450:16ddab338c43

Remove HAVE_RAW_DECL_CHOWN etc. from config.h
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 23 Jan 2011 20:53:39 -0800
parents c81ff7082a9a
children
line wrap: on
line diff
--- a/m4/gnulib-common.m4	Sun Jan 23 14:28:14 2011 +0100
+++ b/m4/gnulib-common.m4	Sun Jan 23 20:53:39 2011 -0800
@@ -1,4 +1,4 @@
-# gnulib-common.m4 serial 22
+# gnulib-common.m4 serial 23
 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -102,6 +102,16 @@
     [Define to 1 when the gnulib module $1 should be tested.])
 ])
 
+# gl_ASSERT_NO_GNULIB_POSIXCHECK
+# asserts that there will never be a need to #define GNULIB_POSIXCHECK.
+# and thereby enables an optimization of configure and config.h.
+# Used by Emacs.
+AC_DEFUN([gl_ASSERT_NO_GNULIB_POSIXCHECK],
+[
+  dnl Override gl_WARN_ON_USE_PREPARE.
+  AC_DEFUN([gl_WARN_ON_USE_PREPARE], [])
+])
+
 # gl_ASSERT_NO_GNULIB_TESTS
 # asserts that there will be no gnulib tests in the scope of the configure.ac
 # and thereby enables an optimization of config.h.