Ralf Hemmecke <[EMAIL PROTECTED]>
writes:

>> 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])
>
> ?

The less files are generated by crappy configure, the better.
configure is problematic to fix, if it doesn't work for some
(frequently unknown) reason.


-- 
HE CE3OH...


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
open-axiom-devel mailing list
open-axiom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-axiom-devel

Reply via email to