- if test $jm_cv_func_working_realloc = no; then
- AC_SUBST(LIBOBJS)
- LIBOBJS="$LIBOBJS realloc.$ac_objext"
- AC_DEFINE_UNQUOTED(realloc, rpl_realloc,
+ if test $jm_cv_func_working_realloc = yes; then
+ AC_DEFINE([HAVE_REALLOC], 1,
+ [Define to 1 if your system has a working `realloc' function,
+ and to 0 otherwise.])
+ else
+ AC_DEFINE([HAVE_REALLOC], 0)
+ AC_LIBOBJ(realloc)
+ AC_DEFINE(realloc, rpl_realloc,