Index: xotcl/configure.in =================================================================== diff -u -rf7894d9be99a8da3a04218abcdb9bd46b6d625c8 -r6728daf2a67ce8406e152e5799defe7cc768a25e --- xotcl/configure.in (.../configure.in) (revision f7894d9be99a8da3a04218abcdb9bd46b6d625c8) +++ xotcl/configure.in (.../configure.in) (revision 6728daf2a67ce8406e152e5799defe7cc768a25e) @@ -361,8 +361,36 @@ AC_SUBST(apps_actiweb) AC_SUBST(TEA_PLATFORM) + +dnl macro expanding to the names of files ./configure is to generate. +dnl reasoning: this is a factoring; I use this value elsewhere. +dnl +dnl Change the value of -this- macro if you want to add or remove +dnl such files. + +AC_DEFUN(CONFIG_OUTPUT_FILES, [[Makefile xotclConfig.sh apps/utils/xotclsh apps/utils/xowish unix/xotcl.spec unix/pkgIndex.unix]]) + #-------------------------------------------------------------------- -# Finally, substitute all of the various values into the Makefile. +# the value of this variable is set to the files which are to be +# removed when the user invokes 'make distclean' (i.e., those +# files generated by ./configure) and is used in the make distclean +# target, defined in Makefile.in #-------------------------------------------------------------------- -AC_OUTPUT([Makefile xotclConfig.sh apps/utils/xotclsh apps/utils/xowish unix/xotcl.spec unix/pkgIndex.unix]) +CONFIG_CLEAN_FILES="CONFIG_OUTPUT_FILES" + +AC_SUBST(CONFIG_CLEAN_FILES) + +AC_CONFIG_FILES(CONFIG_OUTPUT_FILES) + +#-------------------------------------------------------------------- +# Finally, substitute all of the various values into the Makefile, +# and generate the other output files. (this is done by invoking +# config.status) +# +# NOTE the lack of parameters! AC_OUTPUT with params is deprecated; +# use macros such as AC_CONFIG_FILES, AC_HEADER_FILES, etc to add +# to the files output by ./configure. +#-------------------------------------------------------------------- + +AC_OUTPUT