[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] Many complaints on HAVE_..._SHORT_NAME
From: |
Alfred M. Szmidt |
Subject: |
Re: [bug-inetutils] Many complaints on HAVE_..._SHORT_NAME |
Date: |
Thu, 16 Jun 2011 18:03:38 -0400 |
Can you try this and see if it works? You need to make sure that
config.h is regenerated to not include any local hacks. If it works,
I'll commit it since any changes to autoconf, if they will be done,
will take a while to propagate into a release.
2011-06-17 Alfred M. Szmidt <address@hidden>
* libinetutils/libinetutils.h: Don't include <config.h>; instead
produce an error if we haven't included it.
diff --git a/libinetutils/libinetutils.h b/libinetutils/libinetutils.h
index 8cfe792..56174e1 100644
--- a/libinetutils/libinetutils.h
+++ b/libinetutils/libinetutils.h
@@ -17,7 +17,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see `http://www.gnu.org/licenses/'. */
-#include <config.h>
+#ifndef HAVE_CONFIG_H
+#error "<config.h> has not been included; please included it"
+#endif
#include "argp-version-etc.h"