Paul Hampson wrote:
> > Jan Berkel wrote:
> > >
> > > try changing line 70 in src/modules/rlm_dbm/configure.in:
> > > - if test "x$ac_cv_lib_gdbm_dbm_open" != "xyes"; then
> > > + if test "x$ac_cv_lib_gdbm_compat_dbm_open" != "xyes"; then
> >
> > ... and after that run autoconf to generate a correct configure
> > script.
>
> From the description above, wouldn't this fix break attempts
> to build with libgdbm2? Or was it just a typo the first time?
I never tried it with libgdbm2 which is now neither in woody nor in
sarge but it seems clearly it's a typo when you read the lines above
and below the test.
AC_SMART_CHECK_LIB(gdbm_compat, dbm_open)
- if test "x$ac_cv_lib_gdbm_dbm_open" != "xyes"; then
+ if test "x$ac_cv_lib_gdbm_compat_dbm_open" != "xyes"; then
fail="$fail (libndbm or libgdm)"
fi
Indeed the macro AC_SMART_CHECK_LIB() sets the variable
ac_cv_lib_${sm_lib_safe}_${sm_func_safe} when the library is found.
So you're supposed to test ac_cv_lib_gdbm_compat_dbm_open and not
ac_cv_lib_gdbm_dbm_open.
--
Nicolas Baradakis
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html