OSSP CVS Repository

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

Check-in Number: 461
Date: 2001-May-11 21:50:52 (local)
2001-May-11 19:50:52 (UTC)
User:rse
Branch:
Comment: Major overhaul and improvement of build environment. Especially we now added optional support for C++ building with --with-cxx.
Tickets:
Inspections:
Files:
ossp-pkg/l2/.configure      1.1 -> 1.2     2 inserted, 1 deleted
ossp-pkg/l2/.cvsignore      1.1 -> 1.2     1 inserted, 0 deleted
ossp-pkg/l2/Makefile.in      1.2 -> 1.3     125 inserted, 57 deleted
ossp-pkg/l2/configure      1.2 -> 1.3     85 inserted, 43 deleted
ossp-pkg/l2/configure.in      1.2 -> 1.3     29 inserted, 1 deleted
ossp-pkg/l2/l2++.3      added-> 1.1
ossp-pkg/l2/l2++.pod      added-> 1.1
ossp-pkg/l2/l2-config.1      1.1 -> 1.2     9 inserted, 3 deleted
ossp-pkg/l2/l2-config.in      1.1 -> 1.2     5 inserted, 1 deleted
ossp-pkg/l2/l2-config.pod      1.1 -> 1.2     8 inserted, 1 deleted
ossp-pkg/l2/l2.3      1.2 -> 1.3     3 inserted, 3 deleted
ossp-pkg/l2/l2.pod      1.2 -> 1.3     2 inserted, 2 deleted
ossp-pkg/l2/l2_test++.cc      added-> 1.1

ossp-pkg/l2/.configure 1.1 -> 1.2

--- .configure   2001/05/10 19:46:01     1.1
+++ .configure   2001/05/11 19:50:52     1.2
@@ -2,4 +2,5 @@
 ./configure \
     --prefix=/tmp/l2 \
     --disable-shared \
-    --enable-debug
+    --enable-debug \
+    "$@"


ossp-pkg/l2/.cvsignore 1.1 -> 1.2

--- .cvsignore   2001/05/10 20:01:10     1.1
+++ .cvsignore   2001/05/11 19:50:52     1.2
@@ -5,3 +5,4 @@
 l2_config.h
 l2-config
 l2_test
+l2_test++


ossp-pkg/l2/Makefile.in 1.2 -> 1.3

--- Makefile.in  2001/05/11 18:37:25     1.2
+++ Makefile.in  2001/05/11 19:50:52     1.3
@@ -30,6 +30,9 @@
 @SET_MAKE@
 
 TOP         = .
+
+#   installation paths
+DESTDIR     =
 prefix      = @prefix@
 exec_prefix = @exec_prefix@
 bindir      = @bindir@
@@ -37,6 +40,7 @@
 includedir  = @includedir@
 mandir      = @mandir@
 
+#   build tools
 CC          = @CC@
 CXX         = @CXX@
 CFLAGS      = @CFLAGS@ -I.
@@ -46,69 +50,80 @@
 AR          = @AR@
 RANLIB      = @RANLIB@
 RM          = rm -f
+RMDIR       = rmdir
 POD2MAN     = pod2man
 SHTOOL      = ./shtool
 LIBTOOL     = ./libtool
 
-SRCS=\
-l2_stream.c    \
-l2_channel.c   \
-l2_ch_fd.c     \
-l2_ch_file.c   \
-l2_ch_pipe.c   \
-l2_ch_syslog.c \
-l2_ch_socket.c \
-l2_ch_null.c   \
-l2_ch_filter.c \
-l2_ch_prefix.c \
-l2_ch_buffer.c
-
-OBJS=\
-l2_stream.lo    \
-l2_channel.lo   \
-l2_ch_fd.lo     \
-l2_ch_file.lo   \
-l2_ch_pipe.lo   \
-l2_ch_syslog.lo \
-l2_ch_socket.lo \
-l2_ch_null.lo   \
-l2_ch_filter.lo \
-l2_ch_prefix.lo \
-l2_ch_buffer.lo
+TARGET       = $(TARGET_LIBS) $(TARGET_MANS) $(TARGET_TESTS)
+TARGET_LIBS  = libl2.la @LIBL2XX_LA@
+TARGET_MANS  = l2-config.1 l2.3 @L2XX_3@
+TARGET_TESTS = l2_test @L2_TESTXX@
+
+#   list of library object files
+OBJS = \
+    l2_stream.lo \
+    l2_channel.lo \
+    l2_ch_fd.lo \
+    l2_ch_file.lo \
+    l2_ch_pipe.lo \
+    l2_ch_syslog.lo \
+    l2_ch_socket.lo \
+    l2_ch_null.lo \
+    l2_ch_filter.lo \
+    l2_ch_prefix.lo \
+    l2_ch_buffer.lo
 
+#   file containing the official version information
 _VERSION_FILE = \
-        $(S)l2_version.c
+    l2_version.c
 
+#   helper macro for updating version information
 _VERSION = \
-        $(SHTOOL) version -lc -nL2 -pl2_ $$OPT $(_VERSION_FILE);\
-        V=`$(SHTOOL) version -lc -dlong $(_VERSION_FILE)`;\
-        sed -e "s/Version .*(.*)/Version $$V/g" <README >README.n && mv README.n README
+    $(SHTOOL) version -lc -nL2 -pl2_ $$OPT $(_VERSION_FILE);\
+    V=`$(SHTOOL) version -lc -dlong $(_VERSION_FILE)`;\
+    sed -e "s/Version .*(.*)/Version $$V/g" <README >README.n && mv README.n README
 
+#   helper macro for generating a Unix manual page
 _MANPAGE = \
-        V1=`$(SHTOOL) version -lc -dshort $(_VERSION_FILE)`; \
-        V2=`$(SHTOOL) version -lc -dlong $(_VERSION_FILE)`; \
-        D=`$(SHTOOL) version -lc -dlong $(_VERSION_FILE) |\
-           sed -e 's;.*(;;' -e 's;).*;;'`; \
-        $(POD2MAN) --section=$${SEC} --center="$${ONELINE}" \
-                   --release="$$D" --date="$${NAME} $$V1" $(S)$${BASENAME}.pod |\
-        sed -e "s;L2_VERSION_STR;$$V2;" >$${BASENAME}.$${SEC}
+    V1=`$(SHTOOL) version -lc -dshort $(_VERSION_FILE)`; \
+    V2=`$(SHTOOL) version -lc -dlong $(_VERSION_FILE)`; \
+    D=`$(SHTOOL) version -lc -dlong $(_VERSION_FILE) |\
+       sed -e 's;.*(;;' -e 's;).*;;'`; \
+    $(POD2MAN) --section=$${SEC} --center="$${ONELINE}" \
+               --release="$$D" --date="$${NAME} $$V1" $(S)$${BASENAME}.pod |\
+    sed -e "s;L2_VERSION_STR;$$V2;" >$${BASENAME}.$${SEC}
 
+#   implicit building rules
 .SUFFIXES:
-.SUFFIXES: .c .o .lo
+.SUFFIXES: .c .cc .o .lo
 .c.o:
-        $(CC) -c $(CFLAGS) $<
+        $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+.cc.o:
+        $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $<
 .c.lo:
-        $(LIBTOOL) --mode=compile --quiet $(CC) -c $(CFLAGS) $<
+        $(LIBTOOL) --mode=compile --quiet $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+.cc.lo:
+        $(LIBTOOL) --mode=compile --quiet $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $<
 
-all: libl2.la l2_test l2.3 l2-config.1
+#   default target
+all: $(TARGET) 
 
+#   build libraries
 libl2.la: $(OBJS) 
         $(LIBTOOL) --mode=link --quiet $(CC) -o libl2.la $(OBJS) -rpath $(libdir) \
-        -version-info `$(SHTOOL) version -l c -d libtool l2_version.c`
+            -version-info `$(SHTOOL) version -l c -d libtool l2_version.c`
+libl2++.la: $(OBJS) l2++.lo 
+        $(LIBTOOL) --mode=link --quiet $(CC) -o libl2++.la $(OBJS) l2++.lo -rpath $(libdir) \
+            -version-info `$(SHTOOL) version -l c -d libtool l2_version.c`
 
+#   build test suite programs
 l2_test: l2_test.o libl2.la
         $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o l2_test l2_test.o libl2.la $(LIBS)
+l2_test++: l2_test++.o libl2++.la
+        $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o l2_test++ l2_test++.o libl2++.la $(LIBS)
 
+#   build Unix manual pages
 l2-config.1: l2-config.pod $(_VERSION_FILE)
         BASENAME="l2-config"; SEC=1; \
         NAME="L2"; ONELINE="Logging Library"; \
@@ -117,29 +132,73 @@
         BASENAME="l2"; SEC=3; \
         NAME="L2"; ONELINE="Logging Library"; \
         $(_MANPAGE)
+l2++.3: l2++.pod $(_VERSION_FILE)
+        BASENAME="l2++"; SEC=3; \
+        NAME="L2"; ONELINE="Logging Library (C++)"; \
+        $(_MANPAGE)
 
+#   (minimalistic) test suite
 check: test
-test: l2_test
+test: test-c @TEST_CXX@
+test-c:
         $(LIBTOOL) --mode=execute ./l2_test
+test-cxx:
+        $(LIBTOOL) --mode=execute ./l2_test++
 
+#   perform standard installation procedure
 install: all
-        $(SHTOOL) mkdir -p -f -m 755 $(bindir)
-        $(SHTOOL) mkdir -p -f -m 755 $(includedir)
-        $(SHTOOL) mkdir -p -f -m 755 $(libdir)
-        $(SHTOOL) mkdir -p -f -m 755 $(mandir)/man1
-        $(SHTOOL) mkdir -p -f -m 755 $(mandir)/man3
-        $(SHTOOL) install -c -m 755 l2-config $(bindir)/l2-config
-        $(SHTOOL) install -c -m 644 l2-config.1 $(mandir)/man1/l2-config.1
-        $(SHTOOL) install -c -m 644 l2.3 $(mandir)/man3/l2.3
-        $(SHTOOL) install -c -m 644 l2.h $(includedir)/l2.h
-        @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libl2.la $(libdir)/libl2.la
+        $(MAKE) $(MFLAGS) install-std install-c @INSTALL_CXX@
+install-std:
+        $(SHTOOL) mkdir -p -f -m 755 $(DESTDIR)$(bindir)
+        $(SHTOOL) mkdir -p -f -m 755 $(DESTDIR)$(includedir)
+        $(SHTOOL) mkdir -p -f -m 755 $(DESTDIR)$(libdir)
+        $(SHTOOL) mkdir -p -f -m 755 $(DESTDIR)$(mandir)/man1
+        $(SHTOOL) mkdir -p -f -m 755 $(DESTDIR)$(mandir)/man3
+        $(SHTOOL) install -c -m 755 l2-config $(DESTDIR)$(bindir)/l2-config
+        $(SHTOOL) install -c -m 644 l2-config.1 $(DESTDIR)$(mandir)/man1/l2-config.1
+install-c:
+        $(SHTOOL) install -c -m 644 l2.3 $(DESTDIR)$(mandir)/man3/l2.3
+        $(SHTOOL) install -c -m 644 l2.h $(DESTDIR)$(includedir)/l2.h
+        @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 \
+            libl2.la $(DESTDIR)$(libdir)/libl2.la
+install-cxx:
+        $(SHTOOL) install -c -m 644 l2++.3 $(DESTDIR)$(mandir)/man3/l2++.3
+        $(SHTOOL) install -c -m 644 l2++.h $(DESTDIR)$(includedir)/l2++.h
+        @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 \
+            libl2++.la $(DESTDIR)$(libdir)/libl2++.la
+
+#   perform standard uninstallation procedure
+uninstall: 
+        $(MAKE) $(MFLAGS) @UNINSTALL_CXX@ uninstall-c uninstall-std
+uninstall-cxx:
+        @$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libl2++.la
+        $(RM) $(DESTDIR)$(includedir)/l2++.h
+        $(RM) $(DESTDIR)$(mandir)/man3/l2++.3
+uninstall-c:
+        @$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libl2.la
+        $(RM) $(DESTDIR)$(includedir)/l2.h
+        $(RM) $(DESTDIR)$(mandir)/man3/l2.3
+uninstall-std:
+        $(RM) $(DESTDIR)$(mandir)/man1/l2-config.1
+        $(RM) $(DESTDIR)$(bindir)/l2-config
+        $(RMDIR) $(DESTDIR)$(mandir)/man3
+        $(RMDIR) $(DESTDIR)$(mandir)/man1
+        $(RMDIR) $(DESTDIR)$(mandir)
+        $(RMDIR) $(DESTDIR)$(libdir)
+        $(RMDIR) $(DESTDIR)$(includedir)
+        $(RMDIR) $(DESTDIR)$(bindir)
 
+#   remove everything which can be regenerated 
+#   by "make all"
 clean:
         $(RM) *.lo *.o
-        $(RM) l2_test.o l2_test
-        $(RM) libl2.la
-        $(RM) -r .libs
+        $(RM) .libs/*
+        -$(RMDIR) .libs >/dev/null 2>&1 || $(TRUE)
+        $(RM) $(TARGET_LIBS)
+        $(RM) $(TARGET_TESTS)
         
+#   remove everything which can be regenerated 
+#   by "./configure && make all"
 distclean: clean
         $(RM) l2-config
         $(RM) l2_config.h
@@ -147,6 +206,14 @@
         $(RM) libtool
         $(RM) Makefile
 
+#   remove everything which can be regenerated 
+#   by "autoconf && autoheader && ./configure && make all"
+realclean: distclean
+        $(RM) configure
+        $(RM) l2-config.1
+        $(RM) l2.3
+
+#   roll a distribution tarball
 dist: distclean
         @$(SHTOOL) fixperm -v .; \
         V=`$(SHTOOL) version -l c -d short l2_version.c`; \
@@ -165,7 +232,8 @@
 update-version:
         @OPT="-s`$(SHTOOL) version -lc -dshort $(_VERSION_FILE)`" && $(_VERSION)
 
-update:
+#   update build environment tools
+update-tools:
         @$(RM) ltmain.sh ltconfig shtool
         @$(MAKE) $(MFLAGS) ltmain.sh ltconfig configure shtool
 configure: configure.in aclocal.m4
@@ -197,7 +265,7 @@
 ##  (AUTOMATICALLY UPDATED - DO NOT EDIT)
 ##
 
-$(LOBJS): Makefile
+$(OBJS): Makefile
 
 l2_ch_buffer.o: l2_ch_buffer.c l2.h l2_p.h
 l2_ch_fd.o: l2_ch_fd.c l2.h l2_p.h


ossp-pkg/l2/configure 1.2 -> 1.3

--- configure    2001/05/11 18:46:39     1.2
+++ configure    2001/05/11 19:50:52     1.3
@@ -52,6 +52,8 @@
 fi
 ac_default_prefix=/usr/local
 ac_help="$ac_help
+  --with-cxx              build C++ library (default=no)"
+ac_help="$ac_help
   --enable-debug          build for debugging (default=no)"
 ac_help="$ac_help
   --enable-static         build static libraries (default=yes)"
@@ -587,8 +589,40 @@
 
 echo ""
 
+echo $ac_n "checking whether to build C++ library""... $ac_c" 1>&6
+echo "configure:594: checking whether to build C++ library" >&5
+LIBL2XX_LA=""
+L2_TESTXX=""
+L2XX_3=""
+TEST_CXX=""
+INSTALL_CXX=""
+UNINSTALL_CXX=""
+# Check whether --with-cxx or --without-cxx was given.
+if test "${with_cxx+set}" = set; then
+  withval="$with_cxx"
+  
+    LIBL2XX_LA="libl2++.la"
+    L2_TESTXX="l2_test++"
+    L2XX_3="l2++.3"
+    TEST_CXX=test-cxx
+    INSTALL_CXX=install-cxx
+    UNINSTALL_CXX=uninstall-cxx
+
+else
+  
+    with_cxx=no
+
+fi
+echo "$ac_t""$with_cxx" 1>&6
+
+
+
+
+
+
+
 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
-echo "configure:592: checking whether ${MAKE-make} sets \${MAKE}" >&5
+echo "configure:626: checking whether ${MAKE-make} sets \${MAKE}" >&5
 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -617,7 +651,7 @@
 # Extract the first word of "gcc", so it can be a program name with args.
 set dummy gcc; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:621: checking for $ac_word" >&5
+echo "configure:655: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -647,7 +681,7 @@
   # Extract the first word of "cc", so it can be a program name with args.
 set dummy cc; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:651: checking for $ac_word" >&5
+echo "configure:685: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -698,7 +732,7 @@
       # Extract the first word of "cl", so it can be a program name with args.
 set dummy cl; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:702: checking for $ac_word" >&5
+echo "configure:736: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -730,7 +764,7 @@
 fi
 
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
-echo "configure:734: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
+echo "configure:768: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
 
 ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -741,12 +775,12 @@
 
 cat > conftest.$ac_ext << EOF
 
-#line 745 "configure"
+#line 779 "configure"
 #include "confdefs.h"
 
 main(){return(0);}
 EOF
-if { (eval echo configure:750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   ac_cv_prog_cc_works=yes
   # If we can't run a trivial program, we are probably using a cross compiler.
   if (./conftest; exit) 2>/dev/null; then
@@ -772,12 +806,12 @@
   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
 fi
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
-echo "configure:776: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
+echo "configure:810: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
 cross_compiling=$ac_cv_prog_cc_cross
 
 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
-echo "configure:781: checking whether we are using GNU C" >&5
+echo "configure:815: checking whether we are using GNU C" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -786,7 +820,7 @@
   yes;
 #endif
 EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_gcc=yes
 else
   ac_cv_prog_gcc=no
@@ -805,7 +839,7 @@
 ac_save_CFLAGS="$CFLAGS"
 CFLAGS=
 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
-echo "configure:809: checking whether ${CC-cc} accepts -g" >&5
+echo "configure:843: checking whether ${CC-cc} accepts -g" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -836,12 +870,13 @@
   fi
 fi
 
-for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
+if test ".$with_cxx" = .yes; then
+    for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:845: checking for $ac_word" >&5
+echo "configure:880: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -873,7 +908,7 @@
 
 
 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
-echo "configure:877: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
+echo "configure:912: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
 
 ac_ext=C
 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -884,12 +919,12 @@
 
 cat > conftest.$ac_ext << EOF
 
-#line 888 "configure"
+#line 923 "configure"
 #include "confdefs.h"
 
 int main(){return(0);}
 EOF
-if { (eval echo configure:893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   ac_cv_prog_cxx_works=yes
   # If we can't run a trivial program, we are probably using a cross compiler.
   if (./conftest; exit) 2>/dev/null; then
@@ -915,12 +950,12 @@
   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
 fi
 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
-echo "configure:919: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
+echo "configure:954: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
 cross_compiling=$ac_cv_prog_cxx_cross
 
 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
-echo "configure:924: checking whether we are using GNU C++" >&5
+echo "configure:959: checking whether we are using GNU C++" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -929,7 +964,7 @@
   yes;
 #endif
 EOF
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_gxx=yes
 else
   ac_cv_prog_gxx=no
@@ -948,7 +983,7 @@
 ac_save_CXXFLAGS="$CXXFLAGS"
 CXXFLAGS=
 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
-echo "configure:952: checking whether ${CXX-g++} accepts -g" >&5
+echo "configure:987: checking whether ${CXX-g++} accepts -g" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -979,8 +1014,9 @@
   fi
 fi
 
+fi
 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
-echo "configure:984: checking how to run the C preprocessor" >&5
+echo "configure:1020: checking how to run the C preprocessor" >&5
 # On Suns, sometimes $CPP names a directory.
 if test -n "$CPP" && test -d "$CPP"; then
   CPP=
@@ -995,13 +1031,13 @@
   # On the NeXT, cc -E runs the code through the compiler's parser,
   # not just through cpp.
   cat > conftest.$ac_ext <<EOF
-#line 999 "configure"
+#line 1035 "configure"
 #include "confdefs.h"
 #include <assert.h>
 Syntax Error
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then
   :
@@ -1012,13 +1048,13 @@
   rm -rf conftest*
   CPP="${CC-cc} -E -traditional-cpp"
   cat > conftest.$ac_ext <<EOF
-#line 1016 "configure"
+#line 1052 "configure"
 #include "confdefs.h"
 #include <assert.h>
 Syntax Error
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then
   :
@@ -1029,13 +1065,13 @@
   rm -rf conftest*
   CPP="${CC-cc} -nologo -E"
   cat > conftest.$ac_ext <<EOF
-#line 1033 "configure"
+#line 1069 "configure"
 #include "confdefs.h"
 #include <assert.h>
 Syntax Error
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then
   :
@@ -1074,7 +1110,7 @@
     case "$CFLAGS" in
         *-pipe* ) ;;
               * ) echo $ac_n "checking whether compiler option(s) -pipe work""... $ac_c" 1>&6
-echo "configure:1078: checking whether compiler option(s) -pipe work" >&5
+echo "configure:1114: checking whether compiler option(s) -pipe work" >&5
 if eval "test \"`echo '$''{'ac_cv_compiler_option_pipe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -1082,14 +1118,14 @@
 SAVE_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS -pipe"
 cat > conftest.$ac_ext <<EOF
-#line 1086 "configure"
+#line 1122 "configure"
 #include "confdefs.h"
 
 int main() {
 
 ; return 0; }
 EOF
-if { (eval echo configure:1093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_compiler_option_pipe=yes
 else
@@ -1111,7 +1147,7 @@
  ;;
     esac
     echo $ac_n "checking whether compiler option(s) -ggdb3 work""... $ac_c" 1>&6
-echo "configure:1115: checking whether compiler option(s) -ggdb3 work" >&5
+echo "configure:1151: checking whether compiler option(s) -ggdb3 work" >&5
 if eval "test \"`echo '$''{'ac_cv_compiler_option_ggdb3'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -1119,14 +1155,14 @@
 SAVE_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS -ggdb3"
 cat > conftest.$ac_ext <<EOF
-#line 1123 "configure"
+#line 1159 "configure"
 #include "confdefs.h"
 
 int main() {
 
 ; return 0; }
 EOF
-if { (eval echo configure:1130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_compiler_option_ggdb3=yes
 else
@@ -1151,7 +1187,7 @@
     WMORE="-Wshadow -Wpointer-arith -Wcast-align -Winline"
     WMORE="$WMORE -Wmissing-prototypes -Wmissing-declarations -Wnested-externs"
     echo $ac_n "checking whether compiler option(s) -W<xxx> work""... $ac_c" 1>&6
-echo "configure:1155: checking whether compiler option(s) -W<xxx> work" >&5
+echo "configure:1191: checking whether compiler option(s) -W<xxx> work" >&5
 if eval "test \"`echo '$''{'ac_cv_compiler_option_wmore'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -1159,14 +1195,14 @@
 SAVE_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS $WMORE"
 cat > conftest.$ac_ext <<EOF
-#line 1163 "configure"
+#line 1199 "configure"
 #include "confdefs.h"
 
 int main() {
 
 ; return 0; }
 EOF
-if { (eval echo configure:1170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_compiler_option_wmore=yes
 else
@@ -1187,7 +1223,7 @@
 echo "$ac_t""$ac_cv_compiler_option_wmore" 1>&6
 
     echo $ac_n "checking whether compiler option(s) -Wno-long-long work""... $ac_c" 1>&6
-echo "configure:1191: checking whether compiler option(s) -Wno-long-long work" >&5
+echo "configure:1227: checking whether compiler option(s) -Wno-long-long work" >&5
 if eval "test \"`echo '$''{'ac_cv_compiler_option_wnolonglong'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -1195,14 +1231,14 @@
 SAVE_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS -Wno-long-long"
 cat > conftest.$ac_ext <<EOF
-#line 1199 "configure"
+#line 1235 "configure"
 #include "confdefs.h"
 
 int main() {
 
 ; return 0; }
 EOF
-if { (eval echo configure:1206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_compiler_option_wnolonglong=yes
 else
@@ -1240,7 +1276,7 @@
 case "$CFLAGS" in
     *-pipe* ) ;;
           * ) echo $ac_n "checking whether compiler option(s) -pipe work""... $ac_c" 1>&6
-echo "configure:1244: checking whether compiler option(s) -pipe work" >&5
+echo "configure:1280: checking whether compiler option(s) -pipe work" >&5
 if eval "test \"`echo '$''{'ac_cv_compiler_option_pipe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -1248,14 +1284,14 @@
 SAVE_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS -pipe"
 cat > conftest.$ac_ext <<EOF
-#line 1252 "configure"
+#line 1288 "configure"
 #include "confdefs.h"
 
 int main() {
 
 ; return 0; }
 EOF
-if { (eval echo configure:1259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_compiler_option_pipe=yes
 else
@@ -1289,7 +1325,7 @@
 
 fi
 echo $ac_n "checking for compilation debug mode""... $ac_c" 1>&6
-echo "configure:1293: checking for compilation debug mode" >&5
+echo "configure:1329: checking for compilation debug mode" >&5
 echo "$ac_t""$msg" 1>&6
 if test ".$msg" = .enabled; then
     enable_shared=no
@@ -1462,6 +1498,12 @@
 s%@L2_VERSION_STR@%$L2_VERSION_STR%g
 s%@L2_VERSION_HEX@%$L2_VERSION_HEX%g
 s%@PLATFORM@%$PLATFORM%g
+s%@LIBL2XX_LA@%$LIBL2XX_LA%g
+s%@L2_TESTXX@%$L2_TESTXX%g
+s%@L2XX_3@%$L2XX_3%g
+s%@TEST_CXX@%$TEST_CXX%g
+s%@INSTALL_CXX@%$INSTALL_CXX%g
+s%@UNINSTALL_CXX@%$UNINSTALL_CXX%g
 s%@SET_MAKE@%$SET_MAKE%g
 s%@CC@%$CC%g
 s%@CXX@%$CXX%g


ossp-pkg/l2/configure.in 1.2 -> 1.3

--- configure.in 2001/05/11 18:46:39     1.2
+++ configure.in 2001/05/11 19:50:52     1.3
@@ -41,9 +41,37 @@
 AC_PLATFORM(PLATFORM)
 echo ""
 
+AC_MSG_CHECKING(whether to build C++ library)
+LIBL2XX_LA=""
+L2_TESTXX=""
+L2XX_3=""
+TEST_CXX=""
+INSTALL_CXX=""
+UNINSTALL_CXX=""
+AC_ARG_WITH(cxx,dnl
+[  --with-cxx              build C++ library (default=no)],[
+    LIBL2XX_LA="libl2++.la"
+    L2_TESTXX="l2_test++"
+    L2XX_3="l2++.3"
+    TEST_CXX=test-cxx
+    INSTALL_CXX=install-cxx
+    UNINSTALL_CXX=uninstall-cxx
+],[
+    with_cxx=no
+])dnl
+AC_MSG_RESULT([$with_cxx])
+AC_SUBST(LIBL2XX_LA)
+AC_SUBST(L2_TESTXX)
+AC_SUBST(L2XX_3)
+AC_SUBST(TEST_CXX)
+AC_SUBST(INSTALL_CXX)
+AC_SUBST(UNINSTALL_CXX)
+
 AC_SET_MAKE
 AC_PROG_CC
-AC_PROG_CXX
+if test ".$with_cxx" = .yes; then
+    AC_PROG_CXX
+fi
 AC_PROG_CPP
 AC_CHECK_DEBUGGING
 AC_PROG_LIBTOOL($PLATFORM)


ossp-pkg/l2/l2++.3 -> 1.1

*** /dev/null    Sat Nov 23 01:13:20 2024
--- -    Sat Nov 23 01:13:28 2024
***************
*** 0 ****
--- 1,156 ----
+ .\" Automatically generated by Pod::Man version 1.02
+ .\" Fri May 11 21:47:01 2001
+ .\"
+ .\" Standard preamble:
+ .\" ======================================================================
+ .de Sh \" Subsection heading
+ .br
+ .if t .Sp
+ .ne 5
+ .PP
+ \fB\\$1\fR
+ .PP
+ ..
+ .de Sp \" Vertical space (when we can't use .PP)
+ .if t .sp .5v
+ .if n .sp
+ ..
+ .de Ip \" List item
+ .br
+ .ie \\n(.$>=3 .ne \\$3
+ .el .ne 3
+ .IP "\\$1" \\$2
+ ..
+ .de Vb \" Begin verbatim text
+ .ft CW
+ .nf
+ .ne \\$1
+ ..
+ .de Ve \" End verbatim text
+ .ft R
+ 
+ .fi
+ ..
+ .\" Set up some character translations and predefined strings.  \*(-- will
+ .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+ .\" double quote, and \*(R" will give a right double quote.  | will give a
+ .\" real vertical bar.  \*(C+ will give a nicer C++.  Capital omega is used
+ .\" to do unbreakable dashes and therefore won't be available.  \*(C` and
+ .\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
+ .tr \(*W-|\(bv\*(Tr
+ .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+ .ie n \{\
+ .    ds -- \(*W-
+ .    ds PI pi
+ .    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+ .    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
+ .    ds L" ""
+ .    ds R" ""
+ .    ds C` `
+ .    ds C' '
+ 'br\}
+ .el\{\
+ .    ds -- \|\(em\|
+ .    ds PI \(*p
+ .    ds L" ``
+ .    ds R" ''
+ 'br\}
+ .\"
+ .\" If the F register is turned on, we'll generate index entries on stderr
+ .\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
+ .\" index entries marked with X<> in POD.  Of course, you'll have to process
+ .\" the output yourself in some meaningful fashion.
+ .if \nF \{\
+ .    de IX
+ .    tm Index:\\$1\t\\n%\t"\\$2"
+ .    .
+ .    nr % 0
+ .    rr F
+ .\}
+ .\"
+ .\" For nroff, turn off justification.  Always turn off hyphenation; it
+ .\" makes way too many mistakes in technical documents.
+ .hy 0
+ .if n .na
+ .\"
+ .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
+ .\" Fear.  Run.  Save yourself.  No user-serviceable parts.
+ .bd B 3
+ .    \" fudge factors for nroff and troff
+ .if n \{\
+ .    ds #H 0
+ .    ds #V .8m
+ .    ds #F .3m
+ .    ds #[ \f1
+ .    ds #] \fP
+ .\}
+ .if t \{\
+ .    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
+ .    ds #V .6m
+ .    ds #F 0
+ .    ds #[ \&
+ .    ds #] \&
+ .\}
+ .    \" simple accents for nroff and troff
+ .if n \{\
+ .    ds ' \&
+ .    ds ` \&
+ .    ds ^ \&
+ .    ds , \&
+ .    ds ~ ~
+ .    ds /
+ .\}
+ .if t \{\
+ .    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
+ .    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
+ .    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
+ .    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
+ .    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
+ .    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
+ .\}
+ .    \" troff and (daisy-wheel) nroff accents
+ .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
+ .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
+ .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
+ .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
+ .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
+ .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
+ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
+ .ds ae a\h'-(\w'a'u*4/10)'e
+ .ds Ae A\h'-(\w'A'u*4/10)'E
+ .    \" corrections for vroff
+ .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
+ .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
+ .    \" for low resolution devices (crt and lpr)
+ .if \n(.H>23 .if \n(.V>19 \
+ \{\
+ .    ds : e
+ .    ds 8 ss
+ .    ds o a
+ .    ds d- d\h'-1'\(ga
+ .    ds D- D\h'-1'\(hy
+ .    ds th \o'bp'
+ .    ds Th \o'LP'
+ .    ds ae ae
+ .    ds Ae AE
+ .\}
+ .rm #[ #] #H #V #F C
+ .\" ======================================================================
+ .\"
+ .IX Title "l2++ 3"
+ .TH l2++ 3 "08-May-2001" "L2 0.1.0" "Logging Library (C++)"
+ .UC
+ .SH "NAME"
+ \&\fBL2++\fR \- Logging Library (\*(C+ \s-1API\s0)
+ .SH "VERSION"
+ .IX Header "VERSION"
+ L2 0.1.0 (08-May-2001)
+ .SH "SYNOPSIS"
+ .IX Header "SYNOPSIS"
+ \&...
+ .SH "DESCRIPTION"
+ .IX Header "DESCRIPTION"
+ The \fBL2\fR library is...
+ .SH "FUNCTIONS"
+ .IX Header "FUNCTIONS"
+ The following functions are provided by the \fBL2\fR \s-1API:\s0


ossp-pkg/l2/l2++.pod -> 1.1

*** /dev/null    Sat Nov 23 01:13:20 2024
--- -    Sat Nov 23 01:13:28 2024
***************
*** 0 ****
--- 1,53 ----
+ ##
+ ##  L2 - OSSP Logging Library
+ ##  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
+ ##  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
+ ##
+ ##  This file is part of OSSP L2, a flexible logging library which
+ ##  can be found at http://www.ossp.com/pkg/l2/.
+ ##
+ ##  Permission to use, copy, modify, and distribute this software for
+ ##  any purpose with or without fee is hereby granted, provided that
+ ##  the above copyright notice and this permission notice appear in all
+ ##  copies.
+ ##
+ ##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ ##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ ##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ ##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+ ##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ ##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ ##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ ##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ ##  SUCH DAMAGE.
+ ##  
+ ##  l2++.pod: Unix manual page for C++ API
+ ##
+ 
+ =pod
+ 
+ =head1 NAME
+ 
+ B<L2++> - Logging Library (C++ API)
+ 
+ =head1 VERSION
+ 
+ L2 L2_VERSION_STR
+ 
+ =head1 SYNOPSIS
+ 
+ ...
+ 
+ =head1 DESCRIPTION
+ 
+ The B<L2> library is...
+ 
+ =head1 FUNCTIONS
+ 
+ The following functions are provided by the B<L2> API:
+ 
+ =cut
+ 


ossp-pkg/l2/l2-config.1 1.1 -> 1.2

--- l2-config.1  2001/05/10 19:46:01     1.1
+++ l2-config.1  2001/05/11 19:50:52     1.2
@@ -1,5 +1,5 @@
 .\" Automatically generated by Pod::Man version 1.02
-.\" Tue May  8 21:21:12 2001
+.\" Fri May 11 21:45:25 2001
 .\"
 .\" Standard preamble:
 .\" ======================================================================
@@ -144,7 +144,7 @@
 \&\fBl2\-config\fR \- L2 library build utility
 .SH "VERSION"
 .IX Header "VERSION"
-\&\s-1OSSP\s0 L2 L2_VERSION_STR
+\&\s-1OSSP\s0 L2 0.1.0 (08-May-2001)
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 \&\fBl2\-config\fR
@@ -162,6 +162,7 @@
 [\fB\*(--cflags\fR]
 [\fB\*(--ldflags\fR]
 [\fB\*(--libs\fR]
+[\fB\*(--libs++\fR]
 .SH "DESCRIPTION"
 .IX Header "DESCRIPTION"
 The \fBl2\-config\fR program is a little helper utility for easy configuring and
@@ -218,8 +219,13 @@
 .Ip "\fB\*(--libs\fR" 4
 .IX Item "libs"
 Prints the library flags (\f(CW\*(C`\-l\*(C'\fR) which are needed to link the application with
-the \fIl2\fR\|(3) library. The output is usually added to the \f(CW\*(C`LIBS\*(C'\fR variable of the
+the C \fIl2\fR\|(3) library. The output is usually added to the \f(CW\*(C`LIBS\*(C'\fR variable of the
 applications \f(CW\*(C`Makefile\*(C'\fR.
+.Ip "\fB\*(--libs++\fR" 4
+.IX Item "libs++"
+Prints the library flags (\f(CW\*(C`\-l\*(C'\fR) which are needed to link the
+application with the \*(C+ \fIl2\fR\|(3) library. The output is usually added to
+the \f(CW\*(C`LIBS\*(C'\fR variable of the applications \f(CW\*(C`Makefile\*(C'\fR.
 .SH "EXAMPLE"
 .IX Header "EXAMPLE"
 .Vb 4


ossp-pkg/l2/l2-config.in 1.1 -> 1.2

--- l2-config.in 2001/05/10 19:46:01     1.1
+++ l2-config.in 2001/05/11 19:50:52     1.2
@@ -53,7 +53,7 @@
 usage="l2-config"
 usage="$usage [--help] [--version] [--all]"
 usage="$usage [--prefix] [--exec-prefix] [--bindir] [--libdir] [--includedir] [--mandir] [--datadir] [--acdir]"
-usage="$usage [--cflags] [--ldflags] [--libs]"
+usage="$usage [--cflags] [--ldflags] [--libs] [--libs++]"
 if [ $# -eq 0 ]; then
     echo "l2-config:Error: Invalid option" 1>&2
     echo "l2-config:Usage: $usage" 1>&2
@@ -123,6 +123,10 @@
             output="$output -ll2"
             output_extra="$output_extra $l2_libs"
             ;;
+        --libs++)
+            output="$output -ll2++"
+            output_extra="$output_extra $l2_libs"
+            ;;
         * )
             echo "l2-config:Error: Invalid option" 1>&2
             echo "l2-config:Usage: $usage" 1>&2


ossp-pkg/l2/l2-config.pod 1.1 -> 1.2

--- l2-config.pod        2001/05/10 19:46:01     1.1
+++ l2-config.pod        2001/05/11 19:50:52     1.2
@@ -54,6 +54,7 @@
 [B<--cflags>]
 [B<--ldflags>]
 [B<--libs>]
+[B<--libs++>]
 
 =head1 DESCRIPTION
 
@@ -128,9 +129,15 @@
 =item B<--libs>
 
 Prints the library flags (C<-l>) which are needed to link the application with
-the l2(3) library. The output is usually added to the C<LIBS> variable of the
+the C l2(3) library. The output is usually added to the C<LIBS> variable of the
 applications C<Makefile>.
 
+=item B<--libs++>
+
+Prints the library flags (C<-l>) which are needed to link the
+application with the C++ l2(3) library. The output is usually added to
+the C<LIBS> variable of the applications C<Makefile>.
+
 =back
 
 =head1 EXAMPLE


ossp-pkg/l2/l2.3 1.2 -> 1.3

--- l2.3 2001/05/10 20:00:31     1.2
+++ l2.3 2001/05/11 19:50:52     1.3
@@ -1,5 +1,5 @@
 .\" Automatically generated by Pod::Man version 1.02
-.\" Thu May 10 22:00:18 2001
+.\" Fri May 11 21:45:25 2001
 .\"
 .\" Standard preamble:
 .\" ======================================================================
@@ -144,7 +144,7 @@
 \&\fBL2\fR \- Logging Library
 .SH "VERSION"
 .IX Header "VERSION"
-L2 L2_VERSION_STR
+L2 0.1.0 (08-May-2001)
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 \&...
@@ -153,4 +153,4 @@
 The \fBL2\fR library is...
 .SH "FUNCTIONS"
 .IX Header "FUNCTIONS"
-The following functions are provided by the \fBStr\fR \s-1API:\s0
+The following functions are provided by the \fBL2\fR \s-1API:\s0


ossp-pkg/l2/l2.pod 1.2 -> 1.3

--- l2.pod       2001/05/10 20:00:31     1.2
+++ l2.pod       2001/05/11 19:50:52     1.3
@@ -24,7 +24,7 @@
 ##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 ##  SUCH DAMAGE.
 ##  
-##  l2.pod: Unix manual page
+##  l2.pod: Unix manual page for C API
 ##
 
 =pod
@@ -47,7 +47,7 @@
 
 =head1 FUNCTIONS
 
-The following functions are provided by the B<Str> API:
+The following functions are provided by the B<L2> API:
 
 =cut
 


ossp-pkg/l2/l2_test++.cc -> 1.1

*** /dev/null    Sat Nov 23 01:13:20 2024
--- -    Sat Nov 23 01:13:28 2024
***************
*** 0 ****
--- 1,8 ----
+ 
+ #include "l2.h"
+ 
+ int main(int argc, char *argv[])
+ {
+     return 0;
+ }
+ 

CVSTrac 2.0.1