configure issue in CURRENT

Russ Allbery rra at stanford.edu
Tue Jul 20 21:40:20 UTC 2004


Heath Kehoe <hakehoe at avalon.net> writes:

> So I put HAVE_FSEEKO and HAVE_FTELLO back in config.h.in, but that isn't
> quite enough.

You shouldn't ever have to put anything manually in config.h.in.  It's
generated automatically with autoheader from configure.ac.

> configure.ac has this:

>    dnl AC_REPLACE_FUNCS doesn't take the normal action arguments, so we 
> have to
>    dnl do this using AC_CHECK_FUNC.
>    AC_CHECK_FUNC([fseeko], ,
>        [AC_LIBOBJ(fseeko)
>         AC_LIBOBJ(ftello)
>         INN_TYPE_FPOS_T_LARGE])

> But that comment isn't true!  AC_REPLACE_FUNCS can take action
> arguments, and it also sets the HAVE_(func) variables.  So if I change
> configure.ac to this instead:

>    AC_CHECK_FUNCS([fseeko ftello], ,
>        [AC_LIBOBJ(fseeko)
>         AC_LIBOBJ(ftello)
>         INN_TYPE_FPOS_T_LARGE])

Is that second one AC_REPLACE_FUNCS?  Hm, yeah, it looks like it takes
arguments now.  I'll make this change.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list