[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #ifdef in mu_scm.h,guimb.h is superfluous.
From: |
Alain Magloire |
Subject: |
Re: #ifdef in mu_scm.h,guimb.h is superfluous. |
Date: |
Mon, 23 Jul 2001 18:16:13 -0400 (EDT) |
>
>
> Recent changes to libmu_scm/mu_scm.h, guimb/guimb.h prevent both
> modules from compiling correctly on the systems that have guile
> installed.
>
> The changes were:
>
> +#ifdef HAVE_LIBGUILE_H
> #include <libguile.h>
> +#endif
>
> But HAVE_LIBGUILE_H is never defined by configure.in. The latter does
>
> AC_CHECK_HEADER(libguile.h, :, [GUILE_CONFIG=no])
>
> and then both directories are not made if GUILE_CONFIG is not set to
> yes. From the other hand, when it *is* set to yes, the #ifdef/#endif
> clause prevents the header from being included and any attempt of
> compilation ends up in a bunch of error messages.
>
> So, we'd better remove #ifdef/#endif.
Ok, but I can not compile even with:
./configure --without-guile
Because I do not have libguile.h, but
# which guile
/usr/bin/guile
# which guile-config
which: no guile-config
Certainly open for suggestion, meanwhile I will remove the ifdef's
--
alain
- #ifdef in mu_scm.h,guimb.h is superfluous., Alain Magloire, 2001/07/23
- Re: #ifdef in mu_scm.h,guimb.h is superfluous.,
Alain Magloire <=
- Re: #ifdef in mu_scm.h,guimb.h is superfluous., Sergey Poznyakoff, 2001/07/23
- Re: #ifdef in mu_scm.h,guimb.h is superfluous., Alain Magloire, 2001/07/23
- Re: #ifdef in mu_scm.h,guimb.h is superfluous., Alain Magloire, 2001/07/23
- Re: #ifdef in mu_scm.h,guimb.h is superfluous., Sergey Poznyakoff, 2001/07/23
- Re: #ifdef in mu_scm.h,guimb.h is superfluous., Alain Magloire, 2001/07/25