From: Paul K. <pki...@us...> - 2004-06-19 17:17:35
|
On Jun 19, 2004, at 12:33 PM, Paul Kienzle wrote: > I would suggest configure.add script with lines such as: > AC_SUBST(SHADOWED) > OCTAVE_CHECK_EXIST(xxx,,[SHADOWED="$SHADOWED xxx"]) Oops ... a symbol is shadowed if exists in octave, so that should be: OCTAVE_CHECK_EXIST(xxx,[SHADOWED="$SHADOWED xxx"]) > Makeconf.add with: > SHADOWED=@SHADOWED@ > and a Makefile which copies xxx.m.in to xxx.m if xxx is in > $(SHADOWED) and removes xxx.m if it isn't. For oct-files, > you need to build xxx.oct if xxx is in $(SHADOWED) or > remove xxx.oct if it isn't. |