summaryrefslogtreecommitdiffstats
path: root/src/appl/mailquery
diff options
context:
space:
mode:
authorPaul Park <pjpark@mit.edu>1995-06-15 22:34:56 +0000
committerPaul Park <pjpark@mit.edu>1995-06-15 22:34:56 +0000
commitb3e348a072ba88a2ae1b28ed58dc0b5249b9cb91 (patch)
tree40f4f5b31ddbca1f791d2f080e3da04cf3bcc109 /src/appl/mailquery
parent821ce16c47b36ff3f947fbe0773114bf5bdafc59 (diff)
Shared library Makefile/configure changes and cleanup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6069 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/mailquery')
-rw-r--r--src/appl/mailquery/ChangeLog6
-rw-r--r--src/appl/mailquery/Makefile.in6
-rw-r--r--src/appl/mailquery/configure.in1
3 files changed, 10 insertions, 3 deletions
diff --git a/src/appl/mailquery/ChangeLog b/src/appl/mailquery/ChangeLog
index 1b8b3e00f..7789fadcf 100644
--- a/src/appl/mailquery/ChangeLog
+++ b/src/appl/mailquery/ChangeLog
@@ -1,3 +1,9 @@
+
+Thu Jun 15 17:36:11 EDT 1995 Paul Park (pjpark@mit.edu)
+ * Makefile.in - Change explicit library names to -l<lib> form, and
+ change target link line to use $(LD) and associated flags.
+ * configure.in - Add shared library usage check.
+
Sat Jun 10 22:57:11 1995 Tom Yu (tlyu@dragons-lair)
* poplib.c: krb5_auth_context redefinitions
diff --git a/src/appl/mailquery/Makefile.in b/src/appl/mailquery/Makefile.in
index 9af164eee..8017aaf9f 100644
--- a/src/appl/mailquery/Makefile.in
+++ b/src/appl/mailquery/Makefile.in
@@ -3,13 +3,13 @@ COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
all::
-KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB)
-DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB)
+KLIB = -lkrb5 -lcrypto $(COMERRLIB)
+DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB)
HESIODLIB =
mailquery: mailquery.o poplib.o $(DEPKLIB)
- $(CC) $(CFLAGS) -o mailquery mailquery.o poplib.o $(KLIB) \
+ $(LD) $(LDFLAGS) $(LDARGS) -o mailquery mailquery.o poplib.o $(KLIB) \
$(HESIODLIB) $(LIBS)
mailquery.o: $(srcdir)/mailquery.c
diff --git a/src/appl/mailquery/configure.in b/src/appl/mailquery/configure.in
index 98a36ea0f..b49dfc0f2 100644
--- a/src/appl/mailquery/configure.in
+++ b/src/appl/mailquery/configure.in
@@ -3,4 +3,5 @@ CONFIG_RULES
AC_PROG_INSTALL
AC_HAVE_HEADERS(unistd.h stdlib.h)
AC_FUNC_CHECK(strerror,AC_DEFINE(HAS_STRERROR))
+V5_USE_SHARED_LIB
V5_AC_OUTPUT_MAKEFILE