Mercurial > hg > xemacs-beta
comparison configure @ 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 | d88edf8f3b88 |
children | e9f58d024c3c |
comparison
equal
deleted
inserted
replaced
5600:80aed35416d7 | 5601:3e5d5e8e4bb7 |
---|---|
20713 echo "" | 20713 echo "" |
20714 fi | 20714 fi |
20715 | 20715 |
20716 | 20716 |
20717 | 20717 |
20718 if test -f "$srcdir/etc/dbxrc.in"; then | |
20719 test "$verbose" = "yes" && echo "creating src/.dbxrc" | |
20720 echo ". $srcdir/etc/dbxrc" > "$srcdir/src/.dbxrc" | |
20721 fi | |
20722 | |
20723 if test -f "$srcdir/TAGS" -a ! -f "TAGS"; then | 20718 if test -f "$srcdir/TAGS" -a ! -f "TAGS"; then |
20724 test "$verbose" = "yes" && echo "creating TAGS" | 20719 test "$verbose" = "yes" && echo "creating TAGS" |
20725 echo " | 20720 echo " |
20726 $srcdir/TAGS,include" > "TAGS" | 20721 $srcdir/TAGS,include" > "TAGS" |
20727 fi | 20722 fi |
21394 | 21389 |
21395 | 21390 |
21396 | 21391 |
21397 | 21392 |
21398 | 21393 |
21399 | |
21400 MAKE_SUBDIR="$MAKE_SUBDIR etc" && if test "$verbose" = "yes"; then echo " Appending \"etc\" to \$MAKE_SUBDIR"; fi | |
21401 | 21394 |
21402 ac_config_commands="$ac_config_commands default" | 21395 ac_config_commands="$ac_config_commands default" |
21403 | 21396 |
21404 cat >confcache <<\_ACEOF | 21397 cat >confcache <<\_ACEOF |
21405 # This file is a shell script that caches the results of configure | 21398 # This file is a shell script that caches the results of configure |
22761 -e 's/^XCOMM /\# /' > Makefile.new | 22754 -e 's/^XCOMM /\# /' > Makefile.new |
22762 chmod 444 Makefile.new | 22755 chmod 444 Makefile.new |
22763 mv -f Makefile.new .gdbinit | 22756 mv -f Makefile.new .gdbinit |
22764 | 22757 |
22765 fi | 22758 fi |
22766 if test -r "dbxrc.in"; then | 22759 if test -r ".dbxrc.in"; then |
22767 rm -f junk.c | 22760 rm -f junk.c |
22768 < dbxrc.in \ | 22761 < .dbxrc.in \ |
22769 sed -e '/^# Generated/d' \ | 22762 sed -e '/^# Generated/d' \ |
22770 -e 's%/\*\*/#.*%%' \ | 22763 -e 's%/\*\*/#.*%%' \ |
22771 -e 's/^ *# */#/' \ | 22764 -e 's/^ *# */#/' \ |
22772 -e '/^##/d' \ | 22765 -e '/^##/d' \ |
22773 -e '/^#/ { | 22766 -e '/^#/ { |
22778 s/\([\"]\)/\\\1/g | 22771 s/\([\"]\)/\\\1/g |
22779 s/^/"/ | 22772 s/^/"/ |
22780 s/$/"/ | 22773 s/$/"/ |
22781 }' > junk.c; | 22774 }' > junk.c; |
22782 | 22775 |
22783 echo creating $dir/dbxrc | 22776 echo creating $dir/.dbxrc |
22784 $CPP -I. -I${srcdir}/src junk.c \ | 22777 $CPP -I. -I${srcdir}/src junk.c \ |
22785 | sed -e 's/^\#.*//' \ | 22778 | sed -e 's/^\#.*//' \ |
22786 -e 's/^[ TAB][ TAB]*$//'\ | 22779 -e 's/^[ TAB][ TAB]*$//'\ |
22787 -e 's/^ / /' \ | 22780 -e 's/^ / /' \ |
22788 -e '/^[ ]*$/d' \ | 22781 -e '/^[ ]*$/d' \ |
22791 s/^[ TAB]*\"// | 22784 s/^[ TAB]*\"// |
22792 s/\"[ TAB]*$// | 22785 s/\"[ TAB]*$// |
22793 }' \ | 22786 }' \ |
22794 -e 's/^XCOMM /\# /' > Makefile.new | 22787 -e 's/^XCOMM /\# /' > Makefile.new |
22795 chmod 444 Makefile.new | 22788 chmod 444 Makefile.new |
22796 mv -f Makefile.new dbxrc | 22789 mv -f Makefile.new .dbxrc |
22797 | 22790 |
22798 fi | 22791 fi |
22799 if test -r "xemacs.def.in"; then | 22792 if test -r "xemacs.def.in"; then |
22800 rm -f junk.c | 22793 rm -f junk.c |
22801 cp xemacs.def.in junk.c | 22794 cp xemacs.def.in junk.c |