immutable: Add tests.
[gnulib.git] / m4 / config-h.m4
blobb3be47bc974a7ec5dc9eb446b49b5f2f0e5cc34d
1 # Say that -DHAVE_CONFIG_H is not needed.
3 dnl Copyright (C) 2006, 2009-2021 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
8 dnl Written by Paul Eggert.
10 # This package's source files all include config.h unconditionally,
11 # so there's no need to pass -DHAVE_CONFIG_H to the compiler.
12 AC_DEFUN([gl_CONFIG_H],
13   [AC_CONFIG_COMMANDS_PRE([test "X$DEFS" = X-DHAVE_CONFIG_H && DEFS=])])