OSSP CVS Repository

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

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

--- uuid.ac      2004/12/31 19:20:34     1.14
+++ uuid.ac      2005/08/31 09:59:45     1.15
@@ -91,6 +91,10 @@
         AS_HELP_STRING([--with-perl], [build Perl bindings to C API]),
         [ac_cv_with_perl=$withval], [ac_cv_with_perl=no])
     AC_CACHE_CHECK([whether to build Perl bindings to C API], [ac_cv_with_perl], [ac_cv_with_perl=no])
+    AC_ARG_WITH([perl-compat],
+        AS_HELP_STRING([--with-perl-compat], [build Perl compatibility API]),
+        [ac_cv_with_perl_compat=$withval], [ac_cv_with_perl_compat=no])
+    AC_CACHE_CHECK([whether to build Perl compatibility API], [ac_cv_with_perl_compat], [ac_cv_with_perl_compat=no])
     if test ".$ac_cv_with_perl" = ".yes"; then
         AC_DEFINE(WITH_PERL, 1, [whether to build Perl bindings to C API])
         WITH_PERL='yes'
@@ -99,8 +103,15 @@
         WITH_PERL='no'
         PERL_NAME=''
     fi
-    AC_SUBST(WITH_PERL)
+    if test ".$ac_cv_with_perl_compat" = ".yes"; then
+        AC_DEFINE(WITH_PERL_COMPAT, 1, [whether to build Perl compatibility API])
+        WITH_PERL_COMPAT=1
+    else
+        WITH_PERL_COMPAT=0
+    fi
     AC_SUBST(PERL_NAME)
+    AC_SUBST(WITH_PERL)
+    AC_SUBST(WITH_PERL_COMPAT)
     AC_PATH_PROG(PERL, perl, NA)
     if test ".$ac_cv_with_perl" = ".yes" -a ".$PERL" = ".NA"; then
         AC_ERROR([required Perl interpreter not found in \$PATH])

CVSTrac 2.0.1