comparison configure.ac @ 3481:71532ccbd8e3

[xemacs-hg @ 2006-06-29 14:51:59 by stephent] Maybe create $srcdir/src/depend.
author stephent
date Thu, 29 Jun 2006 14:52:00 +0000
parents bf3ba03cef15
children f5e111f9411d
comparison
equal deleted inserted replaced
3480:49226be71b89 3481:71532ccbd8e3
6216 dnl except ./Makefile from $srcdir/Makefile.in 6216 dnl except ./Makefile from $srcdir/Makefile.in
6217 dnl src/Makefile.in will have src/depend appended to it; 6217 dnl src/Makefile.in will have src/depend appended to it;
6218 dnl module Makefiles will have the common text in 6218 dnl module Makefiles will have the common text in
6219 dnl modules/common/Makefile.common appended. 6219 dnl modules/common/Makefile.common appended.
6220 6220
6221 dnl this actually should be conditional on having perl (ie, effectively
6222 dnl unconditional on sane systems)
6223 if test -r $srcdir/src/depend; then :;
6224 else
6225 echo "creating $srcdir/src/depend"
6226 perl $srcdir/src/make-src-depend > $srcdir/src/depend
6227 fi
6228
6221 for file in $internal_makefile_list; do 6229 for file in $internal_makefile_list; do
6222 case $file in 6230 case $file in
6223 src/Makefile.in ) file="src/Makefile.in:src/Makefile.in.in:src/depend" ;; 6231 src/Makefile.in ) file="src/Makefile.in:src/Makefile.in.in:src/depend" ;;
6224 modules/* ) file="${file}:${file}.in:modules/common/Makefile.common" ;; 6232 modules/* ) file="${file}:${file}.in:modules/common/Makefile.common" ;;
6225 esac 6233 esac