diff lib/same.c @ 2288:ae987539432e

Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..' now that autoconf always defines the HAVE_DECL_ symbols. Arrange for cpp to fail if the configure-time declaration check was not run.
author Jim Meyering <jim@meyering.net>
date Sun, 27 Feb 2000 17:39:52 +0000 (2000-02-27)
parents 0cf0dc1ce656
children d68da7d92089
line wrap: on
line diff
--- a/lib/same.c
+++ b/lib/same.c
@@ -50,6 +50,9 @@
 #define STREQ(a, b) (strcmp ((a), (b)) == 0)
 
 #ifndef HAVE_DECL_FREE
+'this configure-time declaration test was not run'
+#endif
+#if !HAVE_DECL_FREE
 void free ();
 #endif