OSSP CVS Repository

ossp - Difference in ossp-pkg/uuid/uuid.ac versions 1.15 and 1.16
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/uuid/uuid.ac 1.15 -> 1.16

--- uuid.ac      2005/08/31 09:59:45     1.15
+++ uuid.ac      2005/08/31 14:29:56     1.16
@@ -86,6 +86,23 @@
     AC_SUBST(WITH_DCE)
     AC_SUBST(DCE_NAME)
 
+    dnl #   configure option --with-cxx
+    AC_ARG_WITH([cxx],
+        AS_HELP_STRING([--with-cxx], [build C++ bindings to C API]),
+        [ac_cv_with_cxx=$withval], [ac_cv_with_cxx=no])
+    AC_CACHE_CHECK([whether to build C++ bindings to C API], [ac_cv_with_cxx], [ac_cv_with_cxx=no])
+    if test ".$ac_cv_with_cxx" = ".yes"; then
+        AC_DEFINE(WITH_CXX, 1, [whether to build C++ bindings to C API])
+        WITH_CXX='yes'
+        CXX_NAME='$(CXX_NAME)'
+        AC_PROG_CXX
+    else
+        WITH_CXX='no'
+        CXX_NAME=''
+    fi
+    AC_SUBST(CXX_NAME)
+    AC_SUBST(WITH_CXX)
+
     dnl #   configure option --with-perl
     AC_ARG_WITH([perl],
         AS_HELP_STRING([--with-perl], [build Perl bindings to C API]),

CVSTrac 2.0.1