> I just saw that open-axiom uses sed to modify the sources. What do you > prefer? > > Martin > > edit = sed \ > -e 's|@[EMAIL PROTECTED]|$(open_axiom_installdir)|g' \ > -e 's|@[EMAIL PROTECTED]|$(axiom_optimize_options)|g' \ > -e 's|@[EMAIL PROTECTED]|$(host)|g' \ > -e 's|@[EMAIL PROTECTED]|$(build)|g' \ > -e 's|@[EMAIL PROTECTED]|$(target)|g' \ > -e 's|@[EMAIL PROTECTED]|$(SHREXT)|g' \ > -e 's|@[EMAIL PROTECTED]|$(LIBEXT)|g' \ > -e 's|@[EMAIL PROTECTED]|$(oa_c_runtime_extra)|g' \ > -e 's|@[EMAIL PROTECTED]|$(oa_standard_linking)|g' \ > -e 's|@[EMAIL PROTECTED]|$(void_type)|g' \ > -e 's|@[EMAIL PROTECTED]|$(char_type)|g' \ > -e 's|@[EMAIL PROTECTED]|$(int_type)|g' \ > -e 's|@[EMAIL PROTECTED]|$(float_type)|g' \ > -e 's|@[EMAIL PROTECTED]|$(double_type)|g' \ > -e 's|@[EMAIL PROTECTED]|$(string_type)|g' \ > -e 's|@[EMAIL PROTECTED]|$(pointer_type)|g' > > core.lisp: $(srcdir)/core.lisp.in > $(edit) $< > [EMAIL PROTECTED] > $(top_srcdir)/config/move-if-change [EMAIL PROTECTED] $@
Hmm, I don't quite understand why such replacements are done via such a command during build time. Shouldn't/couldn't the generation of core.lisp be done at configure time via AC_CONFIG_FILES([src/lisp/core.lisp]) ? Ralf --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/fricas-devel?hl=en -~----------~----~----~----~------~----~------~--~---
