Huh, that's odd. I swear I tested this. I'll look into it tomorrow and place this in patches/apply_to_2.0.39/ if need be.
Thanks, Cliff On Wed, 19 Jun 2002 itojun@iijlab.net wrote: > regarding to random number device in apr - thanks for > --with-randomdev=foo configure option in 2.0.39. it seems to me that > there's a bug in the handling. without the patch, > DEV_RANDOM will end up defined as $apr_randomdev (verbatim). > (i requested bug database account but it does not seem to send out > password for me...) > > itojun > > > --- srclib/apr/configure.in- Wed Jun 19 08:23:52 2002 > +++ srclib/apr/configure.in Wed Jun 19 08:32:09 2002 > @@ -1561,8 +1561,8 @@ > fi > elif test "$apr_devrandom" != "no"; then > if test -r "$apr_devrandom"; then > - AC_DEFINE(DEV_RANDOM, [$apr_devrandom]) > + AC_DEFINE_UNQUOTED(DEV_RANDOM, "$apr_devrandom") > AC_MSG_RESULT($apr_devrandom) > rand="1" > else > AC_ERROR([$apr_devrandom not found or unreadable.]) >