Tag
Hash :
4ea6c12e
Author :
Date :
2001-01-16T11:15:21
Let Automake support `configure.ac'. * automake.in: In the comments, prefer `configure.ac' to `configure.in'. When using &am_conf_error, don't repeat `in configure.in', since the function already reports it. When referring to `configure.in' use `$configure_ac' instead. (configure_ac): New global variable. (scan_configure, scan_one_configure_file): Rename as... (scan_autoconf_files, scan_one_autoconf_file): this. (scan_autoconf_files): Compute $configure_ac. (transform): New function. (handle_configure): Use it to transform CONFIGURE_AC in `remake.am' and in `remake-hdr.am'. (common_files): Also consider `configure.ac'. Use consistently single quotes. * aclocal.in (configure_ac): New variable. Use it. * texi-vers.am: Depend on CONFIGURE_AC not configure.in. * remake.am: Likewise. * remake-hdr.am: Likewise.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
## automake - create Makefile.in from Makefile.am
## Copyright 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2, or (at your option)
## any later version.
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
@CONFIG_HEADER@: @STAMP@
## Recover from removal of CONFIG_HEADER
@if test ! -f $@; then \
rm -f @STAMP@; \
$(MAKE) @STAMP@; \
else :; fi
## Explicitly look in srcdir for benefit of non-GNU makes.
@STAMP@: $(srcdir)/@CONFIG_HEADER_IN@ $(top_builddir)/config.status
@rm -f @STAMP@ @STAMP@T
## We used to try to get a real timestamp here. But the fear is that
## that will cause unnecessary cvs conflicts
@echo timestamp > @STAMP@T 2> /dev/null
cd $(top_builddir) \
&& CONFIG_FILES= CONFIG_HEADERS=@CONFIG_HEADER_FULL@ \
$(SHELL) ./config.status
## Creating the timestamp first, and moving it later, helps ensure that
## it will be older than the header file, avoiding needless triggering
## of the rebuild rule.
@mv @STAMP@T @STAMP@
## Explicitly look in srcdir for benefit of non-GNU makes.
## SRC_STAMP takes into account a possible subdir where CONFIG_HEADER_IN is
$(srcdir)/@CONFIG_HEADER_IN@: @MAINTAINER_MODE_TRUE@$(srcdir)/@SRC_STAMP@.in
## Recover from removal of CONFIG_HEADER_IN
@if test ! -f $@; then \
rm -f $(srcdir)/@SRC_STAMP@.in; \
$(MAKE) $(srcdir)/@SRC_STAMP@.in; \
else :; fi
$(srcdir)/@SRC_STAMP@.in: $(top_srcdir)/@CONFIGURE_AC@ $(ACLOCAL_M4) @FILES@
@rm -f $(srcdir)/@SRC_STAMP@.in $(srcdir)/@SRC_STAMP@.inT
## We used to try to get a real timestamp here. But the fear is that
## that will cause unnecessary cvs conflicts
@echo timestamp > $(srcdir)/@SRC_STAMP@.inT 2> /dev/null
cd $(top_srcdir) && $(AUTOHEADER)
## Creating the timestamp first, and moving it later, helps ensure that
## it will be older than the header file, avoiding needless triggering
## of the rebuild rule.
@mv $(srcdir)/@SRC_STAMP@.inT $(srcdir)/@SRC_STAMP@.in