Commit cc1ec003 cc1ec00351c3435ba953e2356079c48f059de0b3 by Jeff Bailey

Fix AC_REPLACE_FUNCS to generate libtool objects

1 parent a9f4408a
2002-02-15 Jeff Bailey <jbailey@outpost.dnsalias.org>
* configure.in: Hack to make AC_REPLACE_FUNCS refer to .lo instead
of .o
* lib/Makefile.am: Use libtool objects instead.
2002-02-14 Sergey Poznyakoff
* mail.local/main.c: Removed confusing print_help()
......
......@@ -335,6 +335,13 @@ dnl get sysconfdir expanded.
CPPFLAGS="$CPPFLAGS -DSYSCONFDIR=\\\"\$(sysconfdir)\\\""
dnl This is really UGLY! This works around a libtool/autoconf bug that only
dnl allows LIBOBJS to contain .o, not .lo for libtool.
LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'`
AC_SUBST(LTLIBOBJS)
LTALLOCA=`echo "$ALLOCA" | sed 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'`
AC_SUBST(LTALLOCA)
dnl Output Makefiles
AC_OUTPUT(Makefile mailutils.spec include/Makefile include/mailutils/Makefile
m4/Makefile doc/Makefile doc/man/Makefile doc/rfc/Makefile
......
......@@ -15,5 +15,5 @@ EXTRA_DIST = alloca.c fnmatch.c fgetpwent.c getpass.c malloc.c obstack.c \
noinst_HEADERS = argcv.h error.h fnmatch.h getline.h getopt.h md5.h mu_dbm.h\
regex.h snprintf.h xalloc.h xstrtol.h obstack.h mu_argp.h
libmailutils_la_LIBADD = @LIBOBJS@ @ALLOCA@
libmailutils_la_LIBADD = @LTLIBOBJS@ @LTALLOCA@
......