OSSP CVS Repository

ossp - Check-in [5449]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5449
Date: 2006-Jul-22 13:04:43 (local)
2006-Jul-22 11:04:43 (UTC)
User:rse
Branch:
Comment: add our own files
Tickets:
Inspections:
Files:
ossp-pkg/js/.cvsignore      added-> 1.1
ossp-pkg/js/Makefile.in      added-> 1.1
ossp-pkg/js/aclocal.m4      added-> 1.1
ossp-pkg/js/configure.ac      added-> 1.1
ossp-pkg/js/devtool      added-> 1.1
ossp-pkg/js/devtool.conf      added-> 1.1
ossp-pkg/js/devtool.func      added-> 1.1
ossp-pkg/js/js.1      added-> 1.1
ossp-pkg/js/js.pc.in      added-> 1.1

ossp-pkg/js/.cvsignore -> 1.1

*** /dev/null    Sat Nov 23 01:01:41 2024
--- -    Sat Nov 23 01:01:45 2024
***************
*** 0 ****
--- 1,11 ----
+ Makefile
+ config.guess
+ config.h
+ config.h.in
+ config.sub
+ configure
+ libtool.m4
+ ltmain.sh
+ shtool
+ js.pc
+ js


ossp-pkg/js/Makefile.in -> 1.1

*** /dev/null    Sat Nov 23 01:01:41 2024
--- -    Sat Nov 23 01:01:45 2024
***************
*** 0 ****
--- 1,196 ----
+ ##
+ ##  OSSP js - JavaScript Engine
+ ##  Copyright (c) 2006 Ralf S. Engelschall <rse@engelschall.com>
+ ##  Copyright (c) 2006 The OSSP Project <http://www.ossp.org/>
+ ##
+ ##  This file is part of OSSP js, a packaged version of the Mozilla JavaScript
+ ##  reference implementation, which can found at http://www.ossp.org/pkg/lib/js/
+ ##
+ ##  Permission to use, copy, modify, and distribute this software for
+ ##  any purpose with or without fee is hereby granted, provided that
+ ##  the above copyright notice and this permission notice appear in all
+ ##  copies.
+ ##
+ ##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ ##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ ##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ ##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+ ##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ ##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ ##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ ##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ ##  SUCH DAMAGE.
+ ##
+ ##  Makefile.in: make(1) build procedure
+ ##
+ 
+ @SET_MAKE@
+ 
+ VPATH       = @srcdir@
+ srcdir      = @srcdir@
+ top_srcdir  = @top_srcdir@
+ 
+ DESTDIR     =
+ prefix      = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir      = @bindir@
+ libdir      = @libdir@
+ includedir  = @includedir@
+ mandir      = @mandir@
+ 
+ 
+ CXX         = @CXX@
+ CPPFLAGS    = -I. -I$(S) -Isrc -I($S)/src @CPPFLAGS@ @DEFS@
+ CFLAGS      = @CFLAGS@
+ CXXFLAGS    = @CXXFLAGS@
+ LDFLAGS     = @LDFLAGS@
+ LIBS        = @LIBS@
+ RM          = rm -f
+ CP          = cp
+ RMDIR       = rmdir
+ SHTOOL      = ./shtool
+ LIBTOOL     = ./libtool
+ TRUE        = true
+ 
+ LIB_HDR_API = src/jsapi.h      \
+               src/jsdbgapi.h
+ LIB_HDR_CPP = src/jsarena.h    \
+               src/jsarray.h    \
+               src/jsatom.h     \
+               src/jsbool.h     \
+               src/jsclist.h    \
+               src/jscntxt.h    \
+               src/jsconfig.h   \
+               src/jsdate.h     \
+               src/jsdhash.h    \
+               src/jsdtoa.h     \
+               src/jsemit.h     \
+               src/jsexn.h      \
+               src/jsfun.h      \
+               src/jsgc.h       \
+               src/jshash.h     \
+               src/jsinterp.h   \
+               src/jslibmath.h  \
+               src/jslock.h     \
+               src/jslong.h     \
+               src/jsmath.h     \
+               src/jsnum.h      \
+               src/jsobj.h      \
+               src/jsopcode.h   \
+               src/jsosdep.h    \
+               src/jsparse.h    \
+               src/jsprvtd.h    \
+               src/jspubtd.h    \
+               src/jsregexp.h   \
+               src/jsscan.h     \
+               src/jsscope.h    \
+               src/jsscript.h   \
+               src/jsstr.h      \
+               src/jstypes.h    \
+               src/jsxdrapi.h   \
+               src/jsxml.h      \
+               src/jsfile.h
+ LIB_HDR_OTH = src/jsbit.h      \
+               src/jscompat.h   \
+               src/jscpucfg.h   \
+               src/jsotypes.h   \
+               src/jsstddef.h   \
+               src/prmjtime.h   \
+               src/resource.h   \
+               src/jsopcode.tbl \
+               src/js.msg       \
+               src/jsshell.msg
+ LIB_OBJS    = src/jsapi.lo     \
+               src/jsarena.lo   \
+               src/jsarray.lo   \
+               src/jsatom.lo    \
+               src/jsbool.lo    \
+               src/jscntxt.lo   \
+               src/jscpucfg.lo  \
+               src/jsdate.lo    \
+               src/jsdbgapi.lo  \
+               src/jsdhash.lo   \
+               src/jsdtoa.lo    \
+               src/jsemit.lo    \
+               src/jsexn.lo     \
+               src/jsfile.lo    \
+               src/jsfun.lo     \
+               src/jsgc.lo      \
+               src/jshash.lo    \
+               src/jsinterp.lo  \
+               src/jslock.lo    \
+               src/jslog2.lo    \
+               src/jslong.lo    \
+               src/jsmath.lo    \
+               src/jsnum.lo     \
+               src/jsobj.lo     \
+               src/jsopcode.lo  \
+               src/jsparse.lo   \
+               src/jsprf.lo     \
+               src/jsregexp.lo  \
+               src/jsscan.lo    \
+               src/jsscope.lo   \
+               src/jsscript.lo  \
+               src/jsstr.lo     \
+               src/jsutil.lo    \
+               src/jsxdrapi.lo  \
+               src/jsxml.lo     \
+               src/prmjtime.lo
+ LIB_NAME    = libjs.la
+ 
+ PRG_NAME    = js
+ PRG_OBJS    = src/js.o
+ 
+ TARGETS     = $(LIB_NAME) $(PRG_NAME)
+ 
+ .SUFFIXES:
+ .SUFFIXES: .c .o .lo
+ 
+ all: $(TARGETS)
+ 
+ .c.o:
+        $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
+ 
+ .c.lo:
+        @$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
+ 
+ $(LIB_NAME): $(LIB_OBJS)
+        @$(LIBTOOL) --mode=link $(CC) -o $(LIB_NAME) $(LIB_OBJS) -rpath $(libdir) \
+            -version-info `$(SHTOOL) version -l txt -d libtool VERSION`
+ 
+ $(PRG_NAME): $(PRG_OBJS) $(LIB_NAME)
+        @$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(PRG_NAME) $(PRG_OBJS) $(LIB_NAME) $(LIBS)
+ 
+ .PHONY: install
+ install:
+        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix)
+        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
+        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(includedir)
+        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir)/pkgconfig
+        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1
+        $(SHTOOL) install -c -m 755 uuid-config $(DESTDIR)$(bindir)/
+        $(SHTOOL) install -c -m 644 js.pc $(DESTDIR)$(libdir)/pkgconfig/
+        $(SHTOOL) install -c -m 644 $(LIB_HDR_API) $(DESTDIR)$(includedir)/
+        $(SHTOOL) install -c -m 644 js.1 $(DESTDIR)$(mandir)/man1/
+ 
+ .PHONY: clean
+ clean:
+        -$(RM) $(LIB_NAME) $(LIB_OBJS)
+        -$(RM) $(PRG_NAME) $(PRG_OBJS)
+        -$(RM) -r .libs >/dev/null 2>&1 || $(TRUE)
+        -$(RM) *.o *.lo
+ 
+ distclean: clean
+        -$(RM) config.log config.status config.cache
+        -$(RM) Makefile config.h js.pc
+        -$(RM) libtool
+ 
+ realclean: distclean
+        -$(RM) js.1
+        -$(RM) configure config.h.in
+        -$(RM) shtool
+        -$(RM) ltmain.sh libtool.m4 config.guess config.sub
+ 


ossp-pkg/js/aclocal.m4 -> 1.1

*** /dev/null    Sat Nov 23 01:01:41 2024
--- -    Sat Nov 23 01:01:45 2024
***************
*** 0 ****
--- 1,225 ----
+ dnl ##
+ dnl ##  SA - OSSP Socket Abstraction Library
+ dnl ##  Copyright (c) 2001-2003 Ralf S. Engelschall <rse@engelschall.com>
+ dnl ##  Copyright (c) 2001-2003 The OSSP Project <http://www.ossp.org/>
+ dnl ##  Copyright (c) 2001-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+ dnl ##
+ dnl ##  This file is part of OSSP SA, a socket abstraction library which
+ dnl ##  can be found at http://www.ossp.org/pkg/sa/.
+ dnl ##
+ dnl ##  Permission to use, copy, modify, and distribute this software for
+ dnl ##  any purpose with or without fee is hereby granted, provided that
+ dnl ##  the above copyright notice and this permission notice appear in all
+ dnl ##  copies.
+ dnl ##
+ dnl ##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ dnl ##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ dnl ##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ dnl ##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+ dnl ##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ dnl ##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ dnl ##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ dnl ##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ dnl ##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ dnl ##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ dnl ##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ dnl ##  SUCH DAMAGE.
+ dnl ##
+ dnl ##  aclocal.m4: GNU Autoconf local macro definitions
+ dnl ##
+ 
+ dnl ##
+ dnl ##  Check whether compiler option works
+ dnl ##
+ dnl ##  configure.in:
+ dnl ##    AC_COMPILER_OPTION(<name>, <display>, <option>,
+ dnl ##                       <action-success>, <action-failure>)
+ dnl ##
+ 
+ AC_DEFUN(AC_COMPILER_OPTION,[dnl
+ AC_MSG_CHECKING(whether compiler option(s) $2 work)
+ AC_CACHE_VAL(ac_cv_compiler_option_$1,[
+ SAVE_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $3"
+ AC_TRY_COMPILE([],[], ac_cv_compiler_option_$1=yes, ac_cv_compiler_option_$1=no)
+ CFLAGS="$SAVE_CFLAGS"
+ ])dnl
+ if test ".$ac_cv_compiler_option_$1" = .yes; then
+     ifelse([$4], , :, [$4])
+ else
+     ifelse([$5], , :, [$5])
+ fi
+ AC_MSG_RESULT([$ac_cv_compiler_option_$1])
+ ])dnl
+ 
+ dnl ##
+ dnl ##  Debugging Support
+ dnl ##
+ dnl ##  configure.in:
+ dnl ##    AC_CHECK_DEBUGGING
+ dnl ##
+ 
+ AC_DEFUN(AC_CHECK_DEBUGGING,[dnl
+ AC_ARG_ENABLE(debug,dnl
+ [  --enable-debug          build for debugging (default=no)],
+ [dnl
+ if test ".$ac_cv_prog_gcc" = ".yes"; then
+     case "$CFLAGS" in
+         *-O* ) ;;
+            * ) CFLAGS="$CFLAGS -O2" ;;
+     esac
+     case "$CFLAGS" in
+         *-g* ) ;;
+            * ) CFLAGS="$CFLAGS -g" ;;
+     esac
+     case "$CFLAGS" in
+         *-pipe* ) ;;
+               * ) AC_COMPILER_OPTION(pipe, -pipe, -pipe, CFLAGS="$CFLAGS -pipe") ;;
+     esac
+     AC_COMPILER_OPTION(defdbg, -DDEBUG, -DDEBUG, CFLAGS="$CFLAGS -DDEBUG")
+     CFLAGS="$CFLAGS -pedantic"
+     CFLAGS="$CFLAGS -Wall"
+     WMORE="-Wshadow -Wpointer-arith -Wcast-align -Winline"
+     WMORE="$WMORE -Wmissing-prototypes -Wmissing-declarations -Wnested-externs"
+     AC_COMPILER_OPTION(wmore, -W<xxx>, $WMORE, CFLAGS="$CFLAGS $WMORE")
+     AC_COMPILER_OPTION(wnolonglong, -Wno-long-long, -Wno-long-long, CFLAGS="$CFLAGS -Wno-long-long")
+ else
+     case "$CFLAGS" in
+         *-g* ) ;;
+            * ) CFLAGS="$CFLAGS -g" ;;
+     esac
+ fi
+ msg="enabled"
+ ],[
+ if test ".$ac_cv_prog_gcc" = ".yes"; then
+ case "$CFLAGS" in
+     *-pipe* ) ;;
+           * ) AC_COMPILER_OPTION(pipe, -pipe, -pipe, CFLAGS="$CFLAGS -pipe") ;;
+ esac
+ fi
+ case "$CFLAGS" in
+     *-g* ) CFLAGS=`echo "$CFLAGS" |\
+                    sed -e 's/ -g / /g' -e 's/ -g$//' -e 's/^-g //g' -e 's/^-g$//'` ;;
+ esac
+ case "$CXXFLAGS" in
+     *-g* ) CXXFLAGS=`echo "$CXXFLAGS" |\
+                      sed -e 's/ -g / /g' -e 's/ -g$//' -e 's/^-g //g' -e 's/^-g$//'` ;;
+ esac
+ msg=disabled
+ ])dnl
+ AC_MSG_CHECKING(for compilation debug mode)
+ AC_MSG_RESULT([$msg])
+ if test ".$msg" = .enabled; then
+     enable_shared=no
+ fi
+ ])
+ 
+ dnl ##
+ dnl ##  Check for C99 va_copy() implementation
+ dnl ##  (and provide fallback implementation if neccessary)
+ dnl ##
+ dnl ##  configure.in:
+ dnl ##    AC_CHECK_VA_COPY
+ dnl ##  foo.c:
+ dnl ##    #include "config.h"
+ dnl ##    [...]
+ dnl ##    va_copy(d,s)
+ dnl ##
+ dnl ##  This check is rather complex: first because we really have to
+ dnl ##  try various possible implementations in sequence and second, we
+ dnl ##  cannot define a macro in config.h with parameters directly.
+ dnl ##
+ 
+ dnl #   test program for va_copy() implementation
+ changequote(<<,>>)
+ m4_define(__va_copy_test, <<[
+ #include <stdlib.h>
+ #include <stdarg.h>
+ #include <string.h>
+ #define DO_VA_COPY(d, s) $1
+ void test(char *str, ...)
+ {
+     va_list ap, ap2;
+     int i;
+     va_start(ap, str);
+     DO_VA_COPY(ap2, ap);
+     for (i = 1; i <= 9; i++) {
+         int k = (int)va_arg(ap, int);
+         if (k != i)
+             abort();
+     }
+     DO_VA_COPY(ap, ap2);
+     for (i = 1; i <= 9; i++) {
+         int k = (int)va_arg(ap, int);
+         if (k != i)
+             abort();
+     }
+     va_end(ap);
+ }
+ int main(int argc, char *argv[])
+ {
+     test("test", 1, 2, 3, 4, 5, 6, 7, 8, 9);
+     exit(0);
+ }
+ ]>>)
+ changequote([,])
+ 
+ dnl #   test driver for va_copy() implementation
+ m4_define(__va_copy_check, [
+     AH_VERBATIM($1,
+ [/* Predefined possible va_copy() implementation (id: $1) */
+ #define __VA_COPY_USE_$1(d, s) $2])
+     if test ".$ac_cv_va_copy" = .; then
+         AC_TRY_RUN(__va_copy_test($2), [ac_cv_va_copy="$1"])
+     fi
+ ])
+ 
+ dnl #   Autoconf check for va_copy() implementation checking
+ AC_DEFUN(AC_CHECK_VA_COPY,[
+   dnl #   provide Autoconf display check message
+   AC_MSG_CHECKING(for va_copy() function)
+   dnl #   check for various implementations in priorized sequence   
+   AC_CACHE_VAL(ac_cv_va_copy, [
+     ac_cv_va_copy=""
+     dnl #   1. check for standardized C99 macro
+     __va_copy_check(C99, [va_copy((d), (s))])
+     dnl #   2. check for alternative/deprecated GCC macro
+     __va_copy_check(GCM, [VA_COPY((d), (s))])
+     dnl #   3. check for internal GCC macro (high-level define)
+     __va_copy_check(GCH, [__va_copy((d), (s))])
+     dnl #   4. check for internal GCC macro (built-in function)
+     __va_copy_check(GCB, [__builtin_va_copy((d), (s))])
+     dnl #   5. check for assignment approach (assuming va_list is a struct)
+     __va_copy_check(ASS, [do { (d) = (s); } while (0)])
+     dnl #   6. check for assignment approach (assuming va_list is a pointer)
+     __va_copy_check(ASP, [do { *(d) = *(s); } while (0)])
+     dnl #   7. check for memory copying approach (assuming va_list is a struct)
+     __va_copy_check(CPS, [memcpy((void *)&(d), (void *)&(s)), sizeof((s))])
+     dnl #   8. check for memory copying approach (assuming va_list is a pointer)
+     __va_copy_check(CPP, [memcpy((void *)(d), (void *)(s)), sizeof(*(s))])
+     if test ".$ac_cv_va_copy" = .; then
+         AC_ERROR([no working implementation found])
+     fi
+   ])
+   dnl #   optionally activate the fallback implementation
+   if test ".$ac_cv_va_copy" = ".C99"; then
+       AC_DEFINE(HAVE_VA_COPY, 1, [Define if va_copy() macro exists (and no fallback implementation is required)])
+   fi
+   dnl #   declare which fallback implementation to actually use
+   AC_DEFINE_UNQUOTED([__VA_COPY_USE], [__VA_COPY_USE_$ac_cv_va_copy],
+       [Define to id of used va_copy() implementation])
+   dnl #   provide activation hook for fallback implementation
+   AH_VERBATIM([__VA_COPY_ACTIVATION],
+ [/* Optional va_copy() implementation activation */
+ #ifndef HAVE_VA_COPY
+ #define va_copy(d, s) __VA_COPY_USE(d, s)
+ #endif
+ ])
+   dnl #   provide Autoconf display result message
+   if test ".$ac_cv_va_copy" = ".C99"; then
+       AC_MSG_RESULT([yes])
+   else
+       AC_MSG_RESULT([no (using fallback implementation)])
+   fi
+ ])
+ 


ossp-pkg/js/configure.ac -> 1.1

*** /dev/null    Sat Nov 23 01:01:41 2024
--- -    Sat Nov 23 01:01:45 2024
***************
*** 0 ****
--- 1,50 ----
+ dnl ##
+ dnl ##  OSSP js - JavaScript Engine
+ dnl ##  Copyright (c) 2006 Ralf S. Engelschall <rse@engelschall.com>
+ dnl ##  Copyright (c) 2006 The OSSP Project <http://www.ossp.org/>
+ dnl ##
+ dnl ##  This file is part of OSSP js, a packaged version of the Mozilla JavaScript
+ dnl ##  reference implementation, which can found at http://www.ossp.org/pkg/lib/js/
+ dnl ##
+ dnl ##  Permission to use, copy, modify, and distribute this software for
+ dnl ##  any purpose with or without fee is hereby granted, provided that
+ dnl ##  the above copyright notice and this permission notice appear in all
+ dnl ##  copies.
+ dnl ##
+ dnl ##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ dnl ##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ dnl ##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ dnl ##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+ dnl ##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ dnl ##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ dnl ##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ dnl ##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ dnl ##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ dnl ##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ dnl ##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ dnl ##  SUCH DAMAGE.
+ dnl ##
+ dnl ##  configure.ac: GNU Autoconf source script
+ dnl ##
+ 
+ AC_PREREQ(2.60)
+ AC_INIT
+ V=`./shtool version -ltxt -dlong VERSION`
+ $ac_confdir/shtool echo -e \
+     "Configuring %BOSSP js%b (JavaScript Engine), version %B${V}%b"
+ 
+ AC_PROG_MAKE_SET
+ AC_PROG_CC
+ AC_CHECK_DEBUGGING
+ 
+ CPPFLAGS="$CPPFLAGS -DXP_UNIX"
+ CPPFLAGS="$CPPFLAGS -DNDEBUG"
+ 
+ with_tags=""
+ sinclude(libtool.m4)
+ AC_PROG_LIBTOOL
+ 
+ AC_CONFIG_HEADERS(config.h)
+ AC_CONFIG_FILES([Makefile js.pc])
+ AC_OUTPUT
+ 


ossp-pkg/js/devtool -> 1.1

*** /dev/null    Sat Nov 23 01:01:41 2024
--- -    Sat Nov 23 01:01:45 2024
***************
*** 0 ****
--- 1,47 ----
+ #!/bin/sh
+ ##
+ ##  devtool -- Development Tool
+ ##  Copyright (c) 2001 Ralf S. Engelschall <rse@engelschall.com>
+ ##
+ 
+ if [ $# -eq 0 ]; then
+     echo "devtool:USAGE: devtool <command> [<arg> ...]" 1>&2
+     exit 1
+ fi
+ 
+ cmd="$1"
+ shift
+ 
+ devtoolfunc="./devtool.func"
+ 
+ if [ ! -f devtool.conf ]; then
+     echo "devtool:ERROR: no devtool.conf in current directory" 1>&2
+     exit 1
+ fi
+ 
+ cmdline=`grep "^%$cmd" devtool.conf`
+ if [ ".$cmdline" = . ]; then
+     echo "devtool:ERROR: command $cmd not found in devtool.conf" 1>&2
+     exit 1
+ fi
+ 
+ if [ ".$TMPDIR" != . ]; then
+     tmpdir="$TMPDIR"
+ elif [ ".$TEMPDIR" != . ]; then
+     tmpdir="$TEMPDIR"
+ else
+     tmpdir="/tmp"
+ fi
+ tmpfile="$tmpdir/rc.$$.tmp"
+ 
+ rm -f $tmpfile
+ touch $tmpfile
+ echo ". $devtoolfunc" >>$tmpfile
+ ( sed <devtool.conf -e "1,/^%common/d" -e '/^%.*/,$d'
+   sed <devtool.conf -e "1,/^%$cmd/d" -e '/^%.*/,$d' ) |\
+ sed -e 's;\([  ]\)@\([a-zA-Z_][a-zA-Z0-9_]*\);\1devtool_\2;' >>$tmpfile
+ 
+ sh $tmpfile "$@"
+ 
+ rm -f $tmpfile >/dev/null 2>&1 || true
+ 


ossp-pkg/js/devtool.conf -> 1.1

*** /dev/null    Sat Nov 23 01:01:41 2024
--- -    Sat Nov 23 01:01:45 2024
***************
*** 0 ****
--- 1,63 ----
+ ##
+ ##  devtool.conf -- Development Tool Configuration
+ ##
+ 
+ %autogen
+     @autogen shtool   2.0.6  "2.0.*" all
+     @autogen libtool  1.5.22 "1.5*"
+     @autogen autoconf 2.60   "2.6[0-9]*"
+ 
+ %autoclean
+     @autoclean shtool
+     @autoclean libtool
+     @autoclean autoconf
+ 
+ %configure
+     ./configure \
+         --prefix=/tmp/js \
+         --disable-shared \
+         "$@"
+ 
+ %version
+     ./shtool version -l txt -n "OSSP js" -e VERSION
+     V=`./shtool version -l txt -d long VERSION`
+     sed -e "s/Version .*/Version $V/g" <README >README.n
+     mv README.n README
+     V=`./shtool version -l txt -d short VERSION`
+ 
+ %dist
+     echo "+++ removing old tarballs"
+     rm -f js-*.tar.gz
+     echo "+++ generating"
+     ./devtool autoclean
+     ./devtool autogen
+     echo "+++ configuring"
+     ./configure
+     echo "+++ real cleaning"
+     make realclean
+     echo "+++ re-generating"
+     ./devtool autoclean
+     ./devtool autogen
+     echo "+++ re-configuring"
+     ./configure
+     echo "+++ building"
+     make all man
+     echo "+++ dist cleaning"
+     make distclean
+     echo "+++ fixing"
+     ./shtool fixperm -v .
+     echo "+++ rolling"
+     V=`./shtool version -l txt -d short VERSION`
+     ./shtool tarball -o js-${V}.tar.gz -d js-${V} -u ossp -g ossp \
+                      -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' .
+     ls -l js-${V}.tar.gz
+     echo "+++ testing"
+     gunzip <js-${V}.tar.gz | tar tvf - | head -10
+     echo "[...]"
+     gunzip <js-${V}.tar.gz | tar tvf - | tail -10
+ 
+ %upload
+     echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/js/"
+     V=`./shtool version -l txt -d short VERSION`
+     scp js-${V}.tar.gz ossp@master.ossp.org:/v/ossp/ftp/pkg/lib/js/
+ 


ossp-pkg/js/devtool.func -> 1.1

*** /dev/null    Sat Nov 23 01:01:41 2024
--- -    Sat Nov 23 01:01:45 2024
***************
*** 0 ****
--- 1,73 ----
+ ##
+ ##  devtool.func -- Development Tool Functions
+ ##  Copyright (c) 2001-2002 Ralf S. Engelschall <rse@engelschall.com>
+ ##
+ 
+ devtool_require () {
+     t="$1"; o="$2"; p="$3"; e="$4"; a="$5"
+     v=`($t $o | head -1 | awk "{ print \\\$$p; }") 2>/dev/null`
+     if [ ".$v" = . ]; then
+         echo "devtool:ERROR: unable to determine version of $t" 1>&2
+         exit 1
+     fi
+     case "$v" in
+         $e )
+             ;;
+         $a )
+             echo "devtool:WARNING: $t version $v still accepted, although expected $e." 1>&2
+             ;;
+         * )
+             echo "devtool:ERROR: $t version $e expected, but found $v." 1>&2
+             exit 1
+             ;;
+     esac
+     echo "$v"
+ }
+ 
+ devtool_autogen () {
+     tool=$1
+     shift
+     case $tool in
+         autoconf )
+             autoconf_version=`devtool_require autoconf --version 4 "$1" "$2"`
+             echo "generating (GNU Autoconf $autoconf_version): configure config.h.in"
+             autoconf
+             autoheader 2>&1 | grep -v "is unchanged"
+             rm -rf autom4te.cache >/dev/null 2>&1
+             ;;
+         libtool )
+             libtoolize_version=`devtool_require libtoolize --version 4 "$1" "$2"`
+             echo "generating (GNU Libtool $libtoolize_version): ltmain.sh, libtool.m4, config.guess, config.sub"
+             libtoolize --force --copy >/dev/null 2>&1
+             cp `libtoolize --force --copy --dry-run | grep "add the contents of" |\
+                 sed -e 's;^[^\`]*\`;;' -e "s;'.*;;"` libtool.m4
+             ;;
+         shtool )
+             shtoolize_version=`devtool_require shtoolize -v 3 "$1" "$2"`
+             echo "generating (GNU Shtool $shtoolize_version): shtool"
+             shift
+             shift
+             shtoolize -q "$@"
+             ;;
+     esac
+ }
+ 
+ devtool_autoclean () {
+     tool=$1
+     shift
+     case $tool in
+         autoconf )
+             echo "removing: configure config.h.in"
+             rm -f configure config.h.in
+             ;;
+         libtool )
+             echo "removing: ltmain.sh libtool.m4 config.guess config.sub"
+             rm -f ltmain.sh libtool.m4 config.guess config.sub
+             ;;
+         shtool )
+             echo "removing: shtool"
+             rm -f shtool
+             ;;
+     esac
+ }
+ 


ossp-pkg/js/js.1 -> 1.1

*** /dev/null    Sat Nov 23 01:01:41 2024
--- -    Sat Nov 23 01:01:45 2024
***************
*** 0 ****
--- 1 ----
+ FIXME


ossp-pkg/js/js.pc.in -> 1.1

*** /dev/null    Sat Nov 23 01:01:41 2024
--- -    Sat Nov 23 01:01:45 2024
***************
*** 0 ****
--- 1,10 ----
+ prefix=@prefix@
+ exec_prefix=${prefix}
+ libdir=${exec_prefix}/lib
+ includedir=${prefix}/include/js
+ 
+ Name: OSSP js
+ Description: JavaScript Engine
+ Version: @version@
+ Libs: -L${libdir} -ljs -lm
+ Cflags: -DXP_UNIX -I${includedir}

CVSTrac 2.0.1