OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/configure.in versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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)

CVSTrac 2.0.1