OSSP CVS Repository

ossp - Difference in ossp-pkg/js/configure.ac versions 1.11 and 1.12
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/js/configure.ac 1.11 -> 1.12

--- configure.ac 2006/07/23 08:00:43     1.11
+++ configure.ac 2006/07/23 10:52:12     1.12
@@ -119,6 +119,15 @@
     CLI_LIBS="$CLI_LIBS `$PERL -MExtUtils::Embed -e ldopts`"
 fi
 
+dnl #   configure option --with-file
+AC_ARG_WITH([file],
+        AS_HELP_STRING([--with-file], [build with File object (grants access to the filesystem)]),
+        [ac_cv_with_file=$withval], [ac_cv_with_file=no])
+AC_CACHE_CHECK([whether to build with the File object], [ac_cv_with_file], [ac_cv_with_file=no])
+if test ".$ac_cv_with_file" != ".no"; then
+        CPPFLAGS="$CPPFLAGS -DJS_HAS_FILE_OBJECT"
+fi
+
 AC_SUBST(CLI_CFLAGS)
 AC_SUBST(CLI_CPPFLAGS)
 AC_SUBST(CLI_LDFLAGS)

CVSTrac 2.0.1