Mercurial > hg > xemacs-beta
comparison configure.ac @ 4939:349f01075eb7
build fixes for gdbinit and config-dependent elc files
-------------------- ChangeLog entries follow: --------------------
ChangeLog addition:
2010-01-20 Ben Wing <ben@xemacs.org>
* Makefile.in.in:
* Makefile.in.in (GENERATED_HEADERS):
* Makefile.in.in (.PHONY):
* Makefile.in.in (src/.gdbinit):
* configure:
* configure.ac (TAB):
etc/gdbinit.in has been moved to src/.gdbinit.in.in. Reflect
this -- generate src/.gdbinit.in from src/.gdbinit.in.in, and
use the normal mechanism for doing so instead of copying it
specially.
Add target for `config-changed' and pass down to `src'.
Move some PHONY declarations to just before the actual targets.
src/ChangeLog addition:
2010-01-20 Ben Wing <ben@xemacs.org>
* .gdbinit.in.in:
Moved here from etc/.gdbinit.in.
Put @srcdir@ in various places rather than just `..' whenever
Makefile.in.in does so. Fixes various strange crashes and errors
than occur when using `..'.
* Makefile.in.in (config-changed):
Add target, useful when building both Unicode-internal and
old-Mule workspaces using --srcdir and don't run configure before
switching from one to the other.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 20 Jan 2010 19:48:26 -0600 |
parents | 8b63e21b0436 |
children | 6af9b2e79451 |
comparison
equal
deleted
inserted
replaced
4938:299dce99bdad | 4939:349f01075eb7 |
---|---|
5256 XE_APPEND(src, MAKE_SUBDIR) | 5256 XE_APPEND(src, MAKE_SUBDIR) |
5257 fi | 5257 fi |
5258 | 5258 |
5259 dnl Compute lists of Makefiles and subdirs | 5259 dnl Compute lists of Makefiles and subdirs |
5260 AC_SUBST(SRC_SUBDIR_DEPS) | 5260 AC_SUBST(SRC_SUBDIR_DEPS) |
5261 internal_makefile_list="Makefile.in" | 5261 internal_makefile_list="Makefile.in src/.gdbinit.in" |
5262 SUBDIR_MAKEFILES='' | 5262 SUBDIR_MAKEFILES='' |
5263 test -d lock || mkdir lock | 5263 test -d lock || mkdir lock |
5264 for dir in $MAKE_SUBDIR; do | 5264 for dir in $MAKE_SUBDIR; do |
5265 case "$dir" in */* ) dnl Implement mkdir -p | 5265 case "$dir" in */* ) dnl Implement mkdir -p |
5266 ( for d in `echo $dir | sed 's:/: :g'` ; do | 5266 ( for d in `echo $dir | sed 's:/: :g'` ; do |
5306 dnl Create some auxiliary files for developers. | 5306 dnl Create some auxiliary files for developers. |
5307 dnl ---------------------------------------------- | 5307 dnl ---------------------------------------------- |
5308 | 5308 |
5309 dnl Unlike TAGS, debugger init files depend on config.h. | 5309 dnl Unlike TAGS, debugger init files depend on config.h. |
5310 dnl Regenerate them locally on every configure. | 5310 dnl Regenerate them locally on every configure. |
5311 dnl Create a .gdbinit useful for debugging XEmacs | 5311 dnl .gdbinit is now handled like xemacs.def or other src files, and |
5312 if test -f "$srcdir/etc/gdbinit.in"; then | 5312 dnl its source is in src/.gdbinit.in.in. |
5313 test "$verbose" = "yes" && echo "creating src/.gdbinit.in" | |
5314 cp $srcdir/etc/gdbinit.in src/.gdbinit.in | |
5315 fi | |
5316 | 5313 |
5317 dnl Create a .dbxrc useful for debugging XEmacs | 5314 dnl Create a .dbxrc useful for debugging XEmacs |
5318 if test -f "$srcdir/etc/dbxrc.in"; then | 5315 if test -f "$srcdir/etc/dbxrc.in"; then |
5319 test "$verbose" = "yes" && echo "creating src/.dbxrc.in" | 5316 test "$verbose" = "yes" && echo "creating src/.dbxrc.in" |
5320 echo ". $srcdir/etc/dbxrc.in" > "src/.dbxrc.in" | 5317 echo ". $srcdir/etc/dbxrc.in" > "src/.dbxrc.in" |