[1544] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

aclocal.m4 fix for sun's make and Krb5 B5

daemon@ATHENA.MIT.EDU (Derek Atkins)
Wed Jul 12 21:48:09 1995

Date: Wed, 12 Jul 1995 18:47:13 -0700
From: warlord@mtv4s1.Eng.Sun.COM (Derek Atkins)
To: krb5-bugs@MIT.EDU
Cc: eichin@cygnus.com

I found a problem with the SS_RULES..  Sun's make seems to do
different things with $* and $*.ct when VPATH is set.  To work around
this problem, I've added quotes around the $*.ct, to force make not to
vpath-expand the filename.

The diffs to aclocal.m4 follow.  This fixes the problem, and when new
configure scripts are generated from this aclocal file, the makefiles
work properly in this instance.

I'll forward more changes as I find them.

-derek

------- aclocal.m4 -------
*** /tmp/da006uf	Wed Dec 31 16:00:00 1969
--- aclocal.m4	Wed Jul 12 18:40:00 1995
***************
*** 224,231 ****
  .SUFFIXES:  .h .c .et .ct
  
  .ct.c:
! 	@if [ $< != $}{*.ct ]; then \
! 		(set -x; cp $< $}{*.ct && $(MAKE_COMMANDS) $}{*.ct && $(RM) $}{*.ct) || exit 1; \
  	else \
  		(set -x; $(MAKE_COMMANDS) $}{*.ct) || exit 1; \
  	fi
--- 224,231 ----
  .SUFFIXES:  .h .c .et .ct
  
  .ct.c:
! 	@if [ $< != "$}{*.ct" ]; then \
! 		(set -x; cp $< "$}{*.ct" && $(MAKE_COMMANDS) "$}{*.ct" && $(RM) "$}{*.ct") || exit 1; \
  	else \
  		(set -x; $(MAKE_COMMANDS) $}{*.ct) || exit 1; \
  	fi

home help back first fref pref prev next nref lref last post