comparison configure.ac @ 5598:bccc91a65536

Fix .gdbinit and .dbxrc when using the new garbage collector. ChangeLog: 2011-11-21 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * configure.ac: Fix creation of etc/dbxrc and src/.dbxrc; only try to create Makefile when Makefile.in is there. * configure: Regenerate. src/ChangeLog: 2011-11-21 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * .gdbinit.in.in: There is no lrecord_type_lcrecord_list when using the new garbage collector; print $lrecord_type when Lisp Object type is unknown to pobj. etc/ChangeLog: 2011-11-21 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * dbxrc.in: There is no lrecord_type_lcrecord_list when using the new garbage collector; print $lrecord_type when Lisp Object type is unknown to pobj.
author Marcus Crestani <crestani@informatik.uni-tuebingen.de>
date Mon, 21 Nov 2011 10:28:31 +0100
parents 86d6adeb1cf4
children 3e5d5e8e4bb7
comparison
equal deleted inserted replaced
5597:79a1a759ec3d 5598:bccc91a65536
5375 dnl .gdbinit is now handled like xemacs.def or other src files, and 5375 dnl .gdbinit is now handled like xemacs.def or other src files, and
5376 dnl its source is in src/.gdbinit.in.in. 5376 dnl its source is in src/.gdbinit.in.in.
5377 5377
5378 dnl Create a .dbxrc useful for debugging XEmacs 5378 dnl Create a .dbxrc useful for debugging XEmacs
5379 if test -f "$srcdir/etc/dbxrc.in"; then 5379 if test -f "$srcdir/etc/dbxrc.in"; then
5380 test "$verbose" = "yes" && echo "creating src/.dbxrc.in" 5380 test "$verbose" = "yes" && echo "creating src/.dbxrc"
5381 echo ". $srcdir/etc/dbxrc.in" > "src/.dbxrc.in" 5381 echo ". $srcdir/etc/dbxrc" > "$srcdir/src/.dbxrc"
5382 fi 5382 fi
5383 5383
5384 dnl Create a useful TAGS file 5384 dnl Create a useful TAGS file
5385 if test -f "$srcdir/TAGS" -a ! -f "TAGS"; then 5385 if test -f "$srcdir/TAGS" -a ! -f "TAGS"; then
5386 test "$verbose" = "yes" && echo "creating TAGS" 5386 test "$verbose" = "yes" && echo "creating TAGS"
6007 -e 's/^XCOMM /\# /' > Makefile.new 6007 -e 's/^XCOMM /\# /' > Makefile.new
6008 chmod 444 Makefile.new 6008 chmod 444 Makefile.new
6009 mv -f Makefile.new $2 6009 mv -f Makefile.new $2
6010 ])dnl CPP_MAKEFILE 6010 ])dnl CPP_MAKEFILE
6011 6011
6012 dnl for creation of /etc/dbxrc
6013 XE_APPEND(etc, MAKE_SUBDIR)
6014
6012 AC_CONFIG_COMMANDS([default], 6015 AC_CONFIG_COMMANDS([default],
6013 [for dir in . $MAKE_SUBDIR; do 6016 [for dir in . $MAKE_SUBDIR; do
6014 ( 6017 (
6015 cd $dir 6018 cd $dir
6016 6019
6017 dnl Create a GNUmakefile and Makefile from Makefile.in. 6020 dnl Create a GNUmakefile and Makefile from Makefile.in.
6018 dnl Create xemacs.def from xemacs.def.in in the same fashion, 6021 dnl Create xemacs.def from xemacs.def.in in the same fashion,
6019 dnl if it exists (i.e. in the src/ directory). Ditto for the 6022 dnl if it exists (i.e. in the src/ directory). Ditto for the
6020 dnl debugger init files (in the src/ directory). 6023 dnl debugger init files (in the src/ and etc/ directories).
6021 MAKE_JUNK_C(Makefile.in) 6024 if test -r "Makefile.in"; then
6022 CPP_MAKEFILE(,Makefile) 6025 MAKE_JUNK_C(Makefile.in)
6023 CPP_MAKEFILE(-DUSE_GNU_MAKE,GNUmakefile) 6026 CPP_MAKEFILE(,Makefile)
6027 CPP_MAKEFILE(-DUSE_GNU_MAKE,GNUmakefile)
6028 fi
6024 if test -r ".gdbinit.in"; then 6029 if test -r ".gdbinit.in"; then
6025 MAKE_JUNK_C(.gdbinit.in) 6030 MAKE_JUNK_C(.gdbinit.in)
6026 CPP_MAKEFILE(,.gdbinit) 6031 CPP_MAKEFILE(,.gdbinit)
6027 fi 6032 fi
6028 if test -r ".dbxrc.in"; then 6033 if test -r "dbxrc.in"; then
6029 MAKE_JUNK_C(.dbxrc.in) 6034 MAKE_JUNK_C(dbxrc.in)
6030 CPP_MAKEFILE(,.dbxrc) 6035 CPP_MAKEFILE(,dbxrc)
6031 fi 6036 fi
6032 if test -r "xemacs.def.in"; then 6037 if test -r "xemacs.def.in"; then
6033 dnl #### We should be using MAKE_JUNK_C instead of the next two lines. 6038 dnl #### We should be using MAKE_JUNK_C instead of the next two lines.
6034 dnl #### But the comments in xemacs.def.in need to be converted from C-style 6039 dnl #### But the comments in xemacs.def.in need to be converted from C-style
6035 dnl #### to lines beginning with ##. 6040 dnl #### to lines beginning with ##.