guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto(conf|make) style questions


From: Alexandre Duret-Lutz
Subject: Re: Auto(conf|make) style questions
Date: Wed, 19 Mar 2003 20:26:26 +0100
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux)

>>> "tomas" == tomas  <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]