comparison configure.ac @ 5601:3e5d5e8e4bb7

Move etc/dbxrc.in to src/.dbxrc.in. 2011-11-21 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * .hgignore: * configure.ac: Reflect move of etc/dbxrc.in to src/.dbxrc.in. * configure: Regenerate. 2011-11-21 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * dbxrc.in: Move to src/.dbxrc.in. 2011-11-21 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * .dbxrc.in: Move from etc/.dbxrc.in.
author Marcus Crestani <crestani@informatik.uni-tuebingen.de>
date Mon, 21 Nov 2011 19:46:04 +0100
parents bccc91a65536
children e9f58d024c3c
comparison
equal deleted inserted replaced
5600:80aed35416d7 5601:3e5d5e8e4bb7
5373 dnl Unlike TAGS, debugger init files depend on config.h. 5373 dnl Unlike TAGS, debugger init files depend on config.h.
5374 dnl Regenerate them locally on every configure. 5374 dnl Regenerate them locally on every configure.
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
5379 if test -f "$srcdir/etc/dbxrc.in"; then
5380 test "$verbose" = "yes" && echo "creating src/.dbxrc"
5381 echo ". $srcdir/etc/dbxrc" > "$srcdir/src/.dbxrc"
5382 fi
5383
5384 dnl Create a useful TAGS file 5378 dnl Create a useful TAGS file
5385 if test -f "$srcdir/TAGS" -a ! -f "TAGS"; then 5379 if test -f "$srcdir/TAGS" -a ! -f "TAGS"; then
5386 test "$verbose" = "yes" && echo "creating TAGS" 5380 test "$verbose" = "yes" && echo "creating TAGS"
5387 echo " 5381 echo "
5388 $srcdir/TAGS,include" > "TAGS" 5382 $srcdir/TAGS,include" > "TAGS"
6007 -e 's/^XCOMM /\# /' > Makefile.new 6001 -e 's/^XCOMM /\# /' > Makefile.new
6008 chmod 444 Makefile.new 6002 chmod 444 Makefile.new
6009 mv -f Makefile.new $2 6003 mv -f Makefile.new $2
6010 ])dnl CPP_MAKEFILE 6004 ])dnl CPP_MAKEFILE
6011 6005
6012 dnl for creation of /etc/dbxrc
6013 XE_APPEND(etc, MAKE_SUBDIR)
6014
6015 AC_CONFIG_COMMANDS([default], 6006 AC_CONFIG_COMMANDS([default],
6016 [for dir in . $MAKE_SUBDIR; do 6007 [for dir in . $MAKE_SUBDIR; do
6017 ( 6008 (
6018 cd $dir 6009 cd $dir
6019 6010
6028 fi 6019 fi
6029 if test -r ".gdbinit.in"; then 6020 if test -r ".gdbinit.in"; then
6030 MAKE_JUNK_C(.gdbinit.in) 6021 MAKE_JUNK_C(.gdbinit.in)
6031 CPP_MAKEFILE(,.gdbinit) 6022 CPP_MAKEFILE(,.gdbinit)
6032 fi 6023 fi
6033 if test -r "dbxrc.in"; then 6024 if test -r ".dbxrc.in"; then
6034 MAKE_JUNK_C(dbxrc.in) 6025 MAKE_JUNK_C(.dbxrc.in)
6035 CPP_MAKEFILE(,dbxrc) 6026 CPP_MAKEFILE(,.dbxrc)
6036 fi 6027 fi
6037 if test -r "xemacs.def.in"; then 6028 if test -r "xemacs.def.in"; then
6038 dnl #### We should be using MAKE_JUNK_C instead of the next two lines. 6029 dnl #### We should be using MAKE_JUNK_C instead of the next two lines.
6039 dnl #### But the comments in xemacs.def.in need to be converted from C-style 6030 dnl #### But the comments in xemacs.def.in need to be converted from C-style
6040 dnl #### to lines beginning with ##. 6031 dnl #### to lines beginning with ##.