* config.in: Rename from config.h.in.

* configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
	Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
	* configure: Rebuild.
	* Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
	Set CONFIG_HEADERS to config.h:config.in.
The file name config.h.in can be used on DOS filesystems.
This commit is contained in:
Ian Lance Taylor 1996-03-21 15:59:01 +00:00
parent baaaf6f299
commit 18ea4416b7
6 changed files with 18 additions and 9 deletions

View file

@ -136,7 +136,7 @@ command.h
complaints.c
complaints.h
config
config.h.in
config.in
configure
configure.in
convex-tdep.c

View file

@ -1,3 +1,12 @@
Thu Mar 21 10:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
* config.in: Rename from config.h.in.
* configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
* configure: Rebuild.
* Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
Set CONFIG_HEADERS to config.h:config.in.
Tue Mar 19 12:47:51 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* partial-stab.h (case N_ENDM): Finish current partial symbol

View file

@ -757,8 +757,8 @@ Makefile: Makefile.in config.status @frags@
$(SHELL) config.status
config.h: stamp-h ; @true
stamp-h: config.h.in config.status
CONFIG_HEADERS=config.h:config.h.in $(SHELL) config.status
stamp-h: config.in config.status
CONFIG_HEADERS=config.h:config.in $(SHELL) config.status
config.status: configure
$(SHELL) config.status --recheck

View file

@ -1,4 +1,4 @@
/* config.h.in. Generated automatically from configure.in by autoheader. */
/* config.in. Generated automatically from configure.in by autoheader. */
/* Define if on AIX 3.
System headers sometimes define this.

6
gdb/configure vendored
View file

@ -3454,7 +3454,7 @@ done
ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"
trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
trap 'rm -fr `echo "Makefile config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
@ -3605,7 +3605,7 @@ ac_eB='$%\1#\2define\3'
ac_eC=' '
ac_eD='%g'
CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"}
CONFIG_HEADERS=${CONFIG_HEADERS-"config.h:config.in"}
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
# Support "outfile[:infile]", defaulting infile="outfile.in".
case "$ac_file" in
@ -3757,7 +3757,7 @@ echo "source ${srcdir}/.gdbinit" >> .gdbinit
esac
case x$CONFIG_HEADERS in
xconfig.h:config.h.in)
xconfig.h:config.in)
echo > stamp-h ;;
esac

View file

@ -21,7 +21,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.3)dnl
AC_INIT(main.c)
AC_CONFIG_HEADER(config.h)
AC_CONFIG_HEADER(config.h:config.in)
AC_PROG_CC
AC_AIX
@ -716,7 +716,7 @@ echo "source ${srcdir}/.gdbinit" >> .gdbinit
esac
case x$CONFIG_HEADERS in
xconfig.h:config.h.in)
xconfig.h:config.in)
echo > stamp-h ;;
esac
],