Add the C++ API to the lib.
robs [Tue, 20 Nov 2001 02:30:23 +0000 (02:30 +0000)]
configure.in
libfcgi/Makefile.am

index ff3bcff..60f762e 100755 (executable)
@@ -1,4 +1,4 @@
-dnl     $Id: configure.in,v 1.15 2001/10/04 10:14:37 skimo Exp $
+dnl     $Id: configure.in,v 1.16 2001/11/20 02:30:23 robs Exp $
 dnl
 dnl     This file is an input file used by the GNU "autoconf" program to
 dnl     generate the file "configure", which is run during the build
@@ -14,6 +14,8 @@ AC_PROG_CPP
 AC_PROG_INSTALL 
 AC_PROG_LIBTOOL
 
+AC_PROG_CXX
+
 AC_CHECK_LIB([nsl],       [main]) ac_cv_lib_nsl=ac_cv_lib_nsl_main
 AC_CHECK_LIB([resolv],    [main]) ac_cv_lib_resolv=ac_cv_lib_resolv_main
 AC_CHECK_LIB([socket],           [main]) ac_cv_lib_socket=ac_cv_lib_socket_main
index e7f153f..4bc83ca 100644 (file)
@@ -1,8 +1,9 @@
-# $Id: Makefile.am,v 1.3 2001/09/24 18:03:07 skimo Exp $
+# $Id: Makefile.am,v 1.4 2001/11/20 02:30:24 robs Exp $
 INCLUDEDIR  = $(srcdir)/../include
 CPPFLAGS    = @CPPFLAGS@ -I$(INCLUDEDIR)
 
 INCLUDE_FILES = $(INCLUDEDIR)/fastcgi.h    \
+               $(INCLUDEDIR>/fcgio.h   \
                 $(INCLUDEDIR)/fcgiapp.h    \
                 $(INCLUDEDIR)/fcgimisc.h   \
                 $(INCLUDEDIR)/fcgi_stdio.h \
@@ -14,5 +15,8 @@ libfcgi_la_SOURCES = $(INCLUDE_FILES)    \
                fcgi_stdio.c        \
                os_@SYSTEM@.c
 EXTRA_libfcgi_la_SOURCES = \
+               fcgio.cpp       \
                os_unix.c   \
                os_win32.c
+
+libfcgi_la_LIBADD = fcgio.lo