>>> "tomas" == tomas  <[EMAIL PROTECTED]> writes:

[...]

 >> libguile_neon_neon_la_LIBADD = $(LIBOBJS)

I think you meant $(LTLIBOBJS)

[...]

 tomas> - AC_LIBOBJ passes the extra objects through
 tomas> $(LIBOBJS). That means that I can only do it globally,
 tomas> not for a specific binary.  Is there another way?

Sure... don't use LIBOBJS :)

For instance replace

 if test "$guile_neon_cv_has_string2str" = "no"; then
   echo "Including scm_c_string2str.c in object files"
   AC_LIBOBJ(scm_c_string2str)
 fi

by something like

 if test "$guile_neon_cv_has_string2str" = "no"; then
   echo "Including scm_c_string2str.c in object files"
   NEON_COMPAT="$NEON_COMPAT scm_c_string2str.lo"
 fi
 AC_SUBST([NEON_COMPAT])

and use

 libguile_neon_neon_la_LIBADD = $(NEON_COMPAT)
 EXTRA_libguile_neon_neon_la_SOURCES = scm_c_string2str.c
-- 
Alexandre Duret-Lutz



Reply via email to