From: Francis Dupont Date: Mon, 11 May 2015 13:23:18 +0000 (+0200) Subject: [master] added CONFIG_H_WAS_INCLUDED (#3812) X-Git-Tag: trac3824_base~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbb135d5f217b0692dcdbc9cfcc04f6a0dbc3922;p=thirdparty%2Fkea.git [master] added CONFIG_H_WAS_INCLUDED (#3812) --- diff --git a/ChangeLog b/ChangeLog index 5eb23abd2e..2eeca35b24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +928. [build] fdupont + A CONFIG_H_WAS_INCLUDED define has been added to provide + a way in source files to check whether config.h has been included. + (Trac #3812, git xxx) + 927. [bug] tmark DHCPv4 no longer attempts to update the lease database with the generated FQDN when processing DHCPDISCOVERs. diff --git a/configure.ac b/configure.ac index 7e49cfd37b..9789c68ee8 100644 --- a/configure.ac +++ b/configure.ac @@ -1387,6 +1387,8 @@ AC_TRY_LINK( AM_CONDITIONAL(HAVE_OPTRESET, test "x$var_optreset_exists" != "xno") AM_COND_IF([HAVE_OPTRESET], [AC_DEFINE([HAVE_OPTRESET], [1], [Check for optreset?])]) +AC_DEFINE([CONFIG_H_WAS_INCLUDED], [1], [config.h inclusion marker]) + AC_CONFIG_FILES([compatcheck/Makefile dns++.pc doc/design/datasrc/Makefile