Hash :
78f476c7
Author :
Date :
2006-08-26T06:39:32
New config-h module, so that "make" output needn't be cluttered by -DHAVE_CONFIG_H. * MODULES.html.sh (Support for building libraries and executables): Add config-h. * modules/config-h: New file. * gnulib-tool (nl, sed_transform_lib_file): New vars. (func_import): Turn "#ifdef HAVE_CONFIG_H" to "#if 1" if the config-h module is used. * m4/config-h.m4: New file.
# Say that -DHAVE_CONFIG_H is not needed.
dnl Copyright (C) 2006 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=])])