diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/malloc.m4 | 3 | ||||
-rw-r--r-- | m4/realloc.m4 | 3 | ||||
-rw-r--r-- | m4/regex.m4 | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/m4/malloc.m4 b/m4/malloc.m4 index 4978eaf6..2f00142d 100644 --- a/m4/malloc.m4 +++ b/m4/malloc.m4 @@ -27,8 +27,7 @@ AC_DEFUN(jm_FUNC_MALLOC, jm_cv_func_working_malloc=no) ]) if test $jm_cv_func_working_malloc = no; then - AC_SUBST(LIBOBJS) - LIBOBJS="$LIBOBJS malloc.$ac_objext" + AC_LIBOBJ(malloc) AC_DEFINE_UNQUOTED(malloc, rpl_malloc, [Define to rpl_malloc if the replacement function should be used.]) fi diff --git a/m4/realloc.m4 b/m4/realloc.m4 index bfbef0c1..ff250463 100644 --- a/m4/realloc.m4 +++ b/m4/realloc.m4 @@ -27,8 +27,7 @@ AC_DEFUN(jm_FUNC_REALLOC, jm_cv_func_working_realloc=no) ]) if test $jm_cv_func_working_realloc = no; then - AC_SUBST(LIBOBJS) - LIBOBJS="$LIBOBJS realloc.$ac_objext" + AC_LIBOBJ(realloc) AC_DEFINE_UNQUOTED(realloc, rpl_realloc, [Define to rpl_realloc if the replacement function should be used.]) fi diff --git a/m4/regex.m4 b/m4/regex.m4 index 3012a669..56df3186 100644 --- a/m4/regex.m4 +++ b/m4/regex.m4 @@ -66,8 +66,7 @@ AC_DEFUN(jm_INCLUDED_REGEX, jm_with_regex=$withval, jm_with_regex=$ac_use_included_regex) if test "$jm_with_regex" = yes; then - AC_SUBST(LIBOBJS) - LIBOBJS="$LIBOBJS regex.$ac_objext" + AC_LIBOBJ(regex) fi ], ) |