X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fsys_utsname_h.m4;h=bdb54475b9b55ab5ceb40eced5ec4883c44e330b;hb=b7b6d3d99a751f99638ed8e14b62c1cf697f0664;hp=1c528eb45bd8794de2089a7ad8a520def19ac89f;hpb=aa98b1511d40e20a101afe6440b3397bc9d32276;p=gnulib.git diff --git a/m4/sys_utsname_h.m4 b/m4/sys_utsname_h.m4 index 1c528eb45..bdb54475b 100644 --- a/m4/sys_utsname_h.m4 +++ b/m4/sys_utsname_h.m4 @@ -1,5 +1,5 @@ -# sys_utsname_h.m4 serial 3 -dnl Copyright (C) 2009 Free Software Foundation, Inc. +# sys_utsname_h.m4 serial 4 +dnl Copyright (C) 2009, 2010 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. @@ -24,6 +24,11 @@ AC_DEFUN([gl_SYS_UTSNAME_H], ]]) fi AC_SUBST([HAVE_SYS_UTSNAME_H]) + + dnl Check for declarations of anything we want to poison if the + dnl corresponding gnulib module is not in use. + gl_WARN_ON_USE_PREPARE([[#include + ]], [uname]) ]) AC_DEFUN([gl_SYS_UTSNAME_MODULE_INDICATOR],