summaryrefslogtreecommitdiff
path: root/lib/am/remake-hdr.am
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2003-12-04 18:17:20 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2003-12-04 18:17:20 +0000
commit9f11286e1a9b633f116d61cb8f4a3f027323bf6e (patch)
tree926a88362f402e487e2337b766b4d2f64f07fbca /lib/am/remake-hdr.am
parenta1afa63a3295f88c6cd57ed20831c833603d1844 (diff)
downloadautomake-9f11286e1a9b633f116d61cb8f4a3f027323bf6e.tar.gz
* automake.in ($config_header_location): Remove. Use
%ac_config_files_location instead. (rewrite_inputs_into_dependencies): Do not prepend $(top_builddir)/ at the top-level. (handle_configure): Use rewrite_inputs_into_dependencies to distribute and compute AC_CONFIG_HEADERS dependencies. (scan_autoconf_traces) <AC_CONFIG_HEADERS>: Fill %ac_config_files_location. * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Rename as ... (%CONFIG_HIN%): ... this. $(srcdir) is already added in scan_autoconf_traces. * tests/Makefile.am (TESTS): Add confh5.test. * tests/confh5.test: New file.
Diffstat (limited to 'lib/am/remake-hdr.am')
-rw-r--r--lib/am/remake-hdr.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/am/remake-hdr.am b/lib/am/remake-hdr.am
index 067c34844..56e9f3ed8 100644
--- a/lib/am/remake-hdr.am
+++ b/lib/am/remake-hdr.am
@@ -36,7 +36,7 @@
## Only the first file of AC_CONFIG_HEADERS is assumed to be generated
## by autoheader.
if %?FIRST_CONFIG_HIN%
-$(srcdir)/%CONFIG_HIN%: %MAINTAINER-MODE% $(am__configure_deps) %FILES%
+%CONFIG_HIN%: %MAINTAINER-MODE% $(am__configure_deps) %FILES%
cd $(top_srcdir) && $(AUTOHEADER)
## Whenever $(AUTOHEADER) has run, we must make sure that
## ./config.status will rebuild config.h. The dependency from %STAMP%
@@ -74,5 +74,5 @@ $(srcdir)/%CONFIG_HIN%: %MAINTAINER-MODE% $(am__configure_deps) %FILES%
## must not changed gratuitously is config.h, which is already handled
## by config.status, there is no reason to make things complex for
## config.hin.
- touch $(srcdir)/%CONFIG_HIN%
+ touch $@
endif %?FIRST_CONFIG_HIN%