From afefa34dc61aab9ae6419efb16634770e0618ea0 Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Tue, 15 Jul 2003 11:39:30 +0000 Subject: [PATCH] autoconf 2.5 compatibility. --- .cvsignore | 1 + configure.in | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index 1ab2205fa..baa2fa45b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -4,6 +4,7 @@ Makefile.in Muttrc Muttrc.head aclocal.m4 +autom4te.cache config.h config.h.in configure diff --git a/configure.in b/configure.in index 1d696ce61..a435d5788 100644 --- a/configure.in +++ b/configure.in @@ -12,6 +12,7 @@ mutt_cv_version=`cat $srcdir/VERSION` AM_INIT_AUTOMAKE(mutt, $mutt_cv_version) +ifdef([AC_LIBOBJ], , [define([AC_LIBOBJ], [LIB[]OBJS="$LIBOBJS $1.o"])]) ALL_LINGUAS="de ru it es uk fr pl nl cs id sk ko el zh_TW zh_CN pt_BR eo gl sv da lt tr ja hu et ca" @@ -339,8 +340,7 @@ SNPRINTFOBJS="" AC_CHECK_FUNCS(snprintf, , [mutt_cv_snprintf=yes]) AC_CHECK_FUNCS(vsnprintf, , [mutt_cv_snprintf=yes]) if test $mutt_cv_snprintf = yes; then -# AC_LIBOBJ(snprintf) - LIBOBJS="$LIBOBJS snprintf.o" + AC_LIBOBJ(snprintf) fi dnl SCO uses chsize() instead of ftruncate() @@ -372,8 +372,7 @@ fi if test $mutt_cv_regex = yes; then AC_DEFINE(USE_GNU_REGEX,1,[ Define if you want to use the included regex.c. ]) -### AC_LIBOBJ(regex) - LIBOBJS="$LIBOBJS regex.o" + AC_LIBOBJ(regex) fi -- 2.40.0