Hi Marijn,

Sorry for the later reply.

"Marijn Schouten (hkBst)" <[EMAIL PROTECTED]> writes:

> "guile-config link" reports LDFLAGS it has been compiled with. Usage says:
>
>   guile-config link        - print libraries to link with
>
> so one of these is inaccurate. To resolve this issue in favor of the 
> description:
>
> --- guile-1.8.3.orig/configure.in
> +++ guile-1.8.3/configure.in
> @@ -1333,7 +1333,7 @@ AC_SUBST(LIBGUILE_SRFI_SRFI_60_INTERFACE
>  #######################################################################
>
>  dnl Tell guile-config what flags guile users should compile and link with.
> -GUILE_LIBS="$LDFLAGS $LIBS"
> +GUILE_LIBS="$LIBS"
>  GUILE_CFLAGS="$PTHREAD_CFLAGS"
>  AC_SUBST(GUILE_LIBS)
>  AC_SUBST(GUILE_CFLAGS)
>
> as reported in http://bugs.gentoo.org/show_bug.cgi?id=202205

Indeed, you're right.

Conversely, I think `GUILE_CFLAGS' must include `$CPPFLAGS' since this
may include `-I' flags that are required (e.g., `-I/path/to/gmp').

Thanks,
Ludovic.



Reply via email to