patch-gnuradio
[Top][All Lists]
Advanced

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

Re: [Patch-gnuradio] Fwd: configure should use CC to check for Python.h


From: Eric Blossom
Subject: Re: [Patch-gnuradio] Fwd: configure should use CC to check for Python.h
Date: Thu, 3 Sep 2009 13:21:33 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Sep 03, 2009 at 04:00:56PM -0400, Szymon Jakubczak wrote:
> Hi Johnathan,
> Yes, that change works fine too. Attached is the alternate patch.
> --Szymon
> 
> On Thu, Sep 3, 2009 at 3:44 PM, Johnathan
> Corgan<address@hidden> wrote:
> > On Thu, Sep 3, 2009 at 12:23, Szymon Jakubczak<address@hidden> wrote:
> >
> >> Attached is a makeshift one-line patch that ensures that the check for
> >> Python.h is performed using CC. Note, I'm no autotools expert.
> >
> > Thanks for the patch.
> >
> > Could you try adding that line instead to the configure.ac file, right
> > after the 'GR_FORTRAN' line (and remove from gr_python.m4)?
> >
> > Johnathan


Thanks.

I think a better fix may be in gr_fortran.m4 :

Can you try this please?



AC_DEFUN([GR_FORTRAN],[
    dnl if you want to generate a different table of interpolator taps, you 
need fortran.
    dnl we default to off, since almost no one wants to do this.
    AC_ARG_ENABLE(fortran, AC_HELP_STRING([--enable-fortran],[enable fortran 
(no)]),
                  [], [enable_fortran=no])
    AM_CONDITIONAL(ENABLE_FORTRAN, test "x$enable_fortran" = xyes)

    if test "x$enable_fortran" = xyes
    then
        AC_LANG_PUSH(Fortran 77)
        AC_PROG_F77
        AC_F77_LIBRARY_LDFLAGS
        AC_LANG_POP(Fortran 77)
    fi
])


Thanks!
Eric




reply via email to

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