[EMAIL PROTECTED] writes:

> we are trying to build a guile extension which should link
> smoothly against 1.6 and 1.7. If possible, we would like
> to use The Blessed Function (it's scm_c_string2str(), for
> the record). But alas, 1.6 hasn't got that. It seems that
> AC_REPLACE_FUNCS is the right macro (first do AC_CHECK_LIB,
> right?).

One other option.  Could you you use something like this in a C file
instead?

  #ifdef SCM_MAJOR_VERSION \
    && (SCM_MAJOR_VERSION == 1) \
    && (SCM_MINOR_VERSION == 6)
  # include "augment-1.6.c"
  #endif

and add something similar in the header(s) for the missing prototypes?

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4


Reply via email to