changeset 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 49226be71b89
children 20773f9b7bc0
files ChangeLog configure.ac
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jun 28 21:51:22 2006 +0000
+++ b/ChangeLog	Thu Jun 29 14:52:00 2006 +0000
@@ -1,3 +1,8 @@
+2006-06-23  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* configure.ac (Build Makefile.in's from Makefile.in.in's):
+	Create $srcdir/src/depend if it's missing.
+
 2006-06-05  Jerry James  <james@xemacs.org>
 
 	* configure.ac: Change "if -z" to "if test -z".
--- a/configure.ac	Wed Jun 28 21:51:22 2006 +0000
+++ b/configure.ac	Thu Jun 29 14:52:00 2006 +0000
@@ -6218,6 +6218,14 @@
 dnl module Makefiles will have the common text in
 dnl modules/common/Makefile.common appended.
 
+dnl this actually should be conditional on having perl (ie, effectively
+dnl unconditional on sane systems)
+if test -r $srcdir/src/depend; then :;
+else
+  echo "creating $srcdir/src/depend"
+  perl $srcdir/src/make-src-depend > $srcdir/src/depend
+fi
+
 for file in $internal_makefile_list; do
   case $file in
     src/Makefile.in ) file="src/Makefile.in:src/Makefile.in.in:src/depend" ;;