OSSP CVS Repository

ossp - Check-in [1054]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1054
Date: 2001-Oct-02 15:36:33 (local)
2001-Oct-02 13:36:33 (UTC)
User:rse
Branch:
Comment: use the brand-new OSSP SA library (first cut)
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/Makefile.in      1.25 -> 1.26     5 inserted, 6 deleted
ossp-pkg/lmtp2nntp/autogen.sh      1.5 -> 1.6     3 inserted, 0 deleted
ossp-pkg/lmtp2nntp/configure.ac      1.12 -> 1.13     12 inserted, 1 deleted
ossp-pkg/lmtp2nntp/sa.c      1.9->removed
ossp-pkg/lmtp2nntp/sa.h      1.3->removed

ossp-pkg/lmtp2nntp/Makefile.in 1.25 -> 1.26

--- Makefile.in  2001/09/13 18:51:40     1.25
+++ Makefile.in  2001/10/02 13:36:33     1.26
@@ -43,11 +43,11 @@
 POD2MAN     = pod2man
 
 PROG = lmtp2nntp
-HDRS = lmtp2nntp.h lmtp.h nntp.h sa.h argz.h shpat_match.h msg.h 
-SRCS = lmtp2nntp.c lmtp.c nntp.c sa.c argz.c shpat_match.c msg.c version.c
-OBJS = lmtp2nntp.o lmtp.o nntp.o sa.o argz.o shpat_match.o msg.o version.o
+HDRS = lmtp2nntp.h lmtp.h nntp.h argz.h shpat_match.h msg.h 
+SRCS = lmtp2nntp.c lmtp.c nntp.c argz.c shpat_match.c msg.c version.c
+OBJS = lmtp2nntp.o lmtp.o nntp.o argz.o shpat_match.o msg.o version.o
 
-SUBDIRS = @SUBDIR_STR@ @SUBDIR_L2@ 
+SUBDIRS = @SUBDIR_STR@ @SUBDIR_L2@ @SUBDIR_SA@
 
 all: _SUBDIRS_all lmtp2nntp lmtp2nntp.8
 
@@ -137,10 +137,9 @@
 $(OBJS): Makefile
 
 #   AUTOMATICALLY GENERATED DEPENDENCY LIST - DO NOT EDIT
-lmtp2nntp.o: lmtp2nntp.c argz.h shpat_match.h lmtp2nntp.h config.h lmtp.h nntp.h msg.h sa.h version.c
+lmtp2nntp.o: lmtp2nntp.c argz.h shpat_match.h lmtp2nntp.h config.h lmtp.h nntp.h msg.h version.c
 lmtp.o: lmtp.c lmtp.h config.h
 nntp.o: nntp.c nntp.h msg.h lmtp2nntp.h config.h
-sa.o: sa.c config.h sa.h
 argz.o: argz.c argz.h config.h
 shpat_match.o: shpat_match.c config.h shpat_match.h
 msg.o: msg.c msg.h lmtp2nntp.h config.h argz.h


ossp-pkg/lmtp2nntp/autogen.sh 1.5 -> 1.6

--- autogen.sh   2001/09/05 09:10:28     1.5
+++ autogen.sh   2001/10/02 13:36:33     1.6
@@ -70,4 +70,7 @@
 echo "===> l2 (autogen.sh)"
 (cd l2  && ./autogen.sh)
 echo "<=== l2"
+echo "===> sa (autogen.sh)"
+(cd sa  && ./autogen.sh)
+echo "<=== sa"
 


ossp-pkg/lmtp2nntp/configure.ac 1.12 -> 1.13

--- configure.ac 2001/09/13 14:24:49     1.12
+++ configure.ac 2001/10/02 13:36:33     1.13
@@ -68,6 +68,17 @@
                  LIBS_EXTRA="$LIBS_EXTRA -ll2"])
 AC_SUBST(SUBDIR_L2)
 
+dnl #   check for SA library
+AC_CHECK_EXTLIB([OSSP SA], 
+                sa, sa_create, sa.h, 
+                [SUBDIR_SA=""], 
+                [SUBDIR_SA="sa"
+                 CPPFLAGS="$CPPFLAGS -Isa"
+                 CFLAGS="$CFLAGS -Isa"
+                 LDFLAGS="$LDFLAGS -Lsa"
+                 LIBS_EXTRA="$LIBS_EXTRA -lsa"])
+AC_SUBST(SUBDIR_SA)
+
 dnl #   check for external Dmalloc library
 AC_CHECK_EXTLIB([Dmalloc], dmalloc, dmalloc_debug, dmalloc.h, AC_DEFINE(DMALLOC))
 
@@ -78,7 +89,7 @@
 export enable_shared
 enable_headline=no
 export enable_headline
-AC_CONFIG_SUBDIRS([$SUBDIR_STR $SUBDIR_L2])
+AC_CONFIG_SUBDIRS([$SUBDIR_STR $SUBDIR_L2 $SUBDIR_SA])
 
 dnl #   standard output generation
 AC_CONFIG_HEADERS(config.h)


ossp-pkg/lmtp2nntp/sa.c 1.9 -> 1.10



ossp-pkg/lmtp2nntp/sa.h 1.3 -> 1.4


CVSTrac 2.0.1