Commit 6f2e533e 6f2e533ef9c42a96266fad30cac2a964d8903022 by Jeff Bailey

Fix pop3d compile problems

1 parent 7962bf1b
1999-10-07 Jeff Bailey <jbailey@cr499794-a.crdva1.bc.wave.home.com>
* Makefile.am: Compile libsrc/ first.
* pop3d/Makefile.am: Link properly with crypt and libmailutils.a
from libsrc/
* libsrc/Makefile.am: Produce one library for all functions.
Do not use libtool for this library, it will never be shared.
* configure.in: Remove AM_MAINTAINER_MODE. Export crypt detection
to Makefiles
Sean 'Shaleh' Perry <shaleh@debian.org> Thu, 7 Oct 1999 18:31:57 -0700
* included my read_a_line() in examples/
......
AUTOMAKE_OPTIONS = gnu 1.4
SUBDIRS = libmailbox mail pop3d libsrc
SUBDIRS = libsrc libmailbox mail pop3d
......
......@@ -2,7 +2,6 @@ dnl Process this file with autoconf to procude a configure script. -*-m4-*-
AC_INIT(libmailbox/mailbox.c)
AM_INIT_AUTOMAKE(mailutils, 0.9.7.1999.09.12)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
dnl Check for programs
AC_PROG_CC
......@@ -28,13 +27,15 @@ if test x"$ac_cv_header_security_pam_appl_h" = x"yes"; then
AM_CONDITIONAL(USE_LIBPAM, test x"$ac_cv_have_libpam" != xno)
##fi
##if test x"$ac_cv_have_libpam" != x"yes"; then
else
AC_CHECK_FUNCS(crypt)
if test x"$ac_cv_func_crypt" = x"no"; then
AC_CHECK_LIB(crypt, crypt, AUTHLIBS="-lcrypt",, -lcrypt)
fi
fi
AC_CHECK_FUNCS(crypt)
if test x"$ac_cv_func_crypt" = x"no"; then
AC_CHECK_LIB(crypt, crypt, AUTHLIBS="-lcrypt",, -lcrypt)
fi
AC_SUBST(AUTHLIBS)
dnl Output Makefiles
AC_OUTPUT(Makefile libmailbox/Makefile mail/Makefile pop3d/Makefile
libsrc/Makefile)
......
noinst_LTLIBRARIES = libgetopt.la libmd5.la
noinst_LIBRARIES = libmailutils.a
libgetopt_la_SOURCES = getopt.c getopt.h getopt1.c
libmailutils_a_SOURCES = getopt.c getopt1.c md5.c
noinst_HEADERS = getopt.h md5.h
libmd5_la_SOURCES = md5.c md5.h
\ No newline at end of file
......
......@@ -12,4 +12,4 @@ pop3d_SOURCES = apop.c auth.c capa.c dele.c extra.c pop3d.c pop3d.h\
#else
#pop3d_LDADD = ../libmailbox/libmailbox.la
#endif
pop3d_LADADD = ../libmailbox/libmailbox.la $(AUTHLIBS)
pop3d_LDADD = ../libmailbox/libmailbox.la ../libsrc/libmailutils.a @AUTHLIBS@
......