summaryrefslogtreecommitdiff
path: root/m4/config-h.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/config-h.m4')
-rw-r--r--m4/config-h.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/m4/config-h.m4 b/m4/config-h.m4
new file mode 100644
index 0000000..2dc77a6
--- /dev/null
+++ b/m4/config-h.m4
@@ -0,0 +1,13 @@
+# Say that -DHAVE_CONFIG_H is not needed.
+
+dnl Copyright (C) 2006, 2009-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,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl Written by Paul Eggert.
+
+# This package's source files all include config.h unconditionally,
+# so there's no need to pass -DHAVE_CONFIG_H to the compiler.
+AC_DEFUN([gl_CONFIG_H],
+ [AC_CONFIG_COMMANDS_PRE([test "X$DEFS" = X-DHAVE_CONFIG_H && DEFS=])])