OSSP CVS Repository

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

Check-in Number: 1516
Date: 2002-Jan-07 15:51:31 (local)
2002-Jan-07 14:51:31 (UTC)
User:rse
Branch:
Comment: switch to devtool
Tickets:
Inspections:
Files:
ossp-pkg/pcre/autogen.sh      1.1->removed
ossp-pkg/pcre/config.guess      1.1->removed
ossp-pkg/pcre/config.h.in      added-> 1.3
ossp-pkg/pcre/config.sub      1.1->removed
ossp-pkg/pcre/configure.ac      1.1 -> 1.2     6 inserted, 6 deleted
ossp-pkg/pcre/devtool      added-> 1.1
ossp-pkg/pcre/devtool.conf      added-> 1.1
ossp-pkg/pcre/devtool.func      added-> 1.1
ossp-pkg/pcre/libtool.m4      1.1->removed
ossp-pkg/pcre/ltmain.sh      1.4->removed
ossp-pkg/pcre/shtool      1.8->removed

ossp-pkg/pcre/autogen.sh 1.1 -> 1.2



ossp-pkg/pcre/config.guess 1.1 -> 1.2



ossp-pkg/pcre/config.h.in -> 1.3

*** /dev/null    Sat Nov 23 00:55:02 2024
--- -    Sat Nov 23 00:56:17 2024
***************
*** 0 ****
--- 1,10 ----
+ /* config.h.in.  Generated automatically from configure.ac by autoheader.  */
+ 
+ /* Define if you have the <dlfcn.h> header file. */
+ #undef HAVE_DLFCN_H
+ 
+ /* Define if you have the `memmove' function. */
+ #undef HAVE_MEMMOVE
+ 
+ /* Define if you have the `strerror' function. */
+ #undef HAVE_STRERROR


ossp-pkg/pcre/config.sub 1.1 -> 1.2



ossp-pkg/pcre/configure.ac 1.1 -> 1.2

--- configure.ac 2001/08/16 10:08:07     1.1
+++ configure.ac 2002/01/07 14:51:32     1.2
@@ -2,8 +2,9 @@
 dnl ##   Autoconf specification for PCRE library
 dnl ##
 
-AC_PREREQ(2.12)dnl
-AC_REVISION($Revision: 1.1 $)
+AC_PREREQ(2.52)dnl
+AC_REVISION($Revision: 1.2 $)
+AC_INIT(README)
 
 SHTOOL="./shtool"
 AC_SUBST(SHTOOL)
@@ -14,11 +15,10 @@
 PCRE_VERSION="$PCRE_MAJOR.$PCRE_MINOR"
 AC_SUBST(PCRE_VERSION)
 echo "Configuring ${T_MD}OSSP pcre${T_ME} (Perl-Compatible Regular Expressions) ${T_MD}${PCRE_VERSION}${T_ME}"
-echo "Copyright (c) 1997-2001 Philip Hazel <ph10@cam.ac.uk>, All rights reserved."
-echo "Copyright (c) 1997-2001 University of Cambridge, All rights reserved."
-echo "Copyright (c) 1999-2001 Ralf S. Engelschall <rse@engelschall.com>"
+echo "Copyright (c) 1997-2002 Philip Hazel <ph10@cam.ac.uk>, All rights reserved."
+echo "Copyright (c) 1997-2002 University of Cambridge, All rights reserved."
+echo "Copyright (c) 1999-2002 Ralf S. Engelschall <rse@engelschall.com>"
 
-AC_INIT(README)
 AC_CONFIG_HEADER(config.h)
 AC_PREFIX_DEFAULT(/usr/local)
 


ossp-pkg/pcre/devtool -> 1.1

*** /dev/null    Sat Nov 23 00:55:02 2024
--- -    Sat Nov 23 00:56:17 2024
***************
*** 0 ****
--- 1,47 ----
+ #!/bin/sh
+ ##
+ ##  devtool -- Development Tool
+ ##  Copyright (c) 2001-2002 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/pcre/devtool.conf -> 1.1

*** /dev/null    Sat Nov 23 00:55:02 2024
--- -    Sat Nov 23 00:56:17 2024
***************
*** 0 ****
--- 1,21 ----
+ ##
+ ##  devtool.conf -- Development Tool Configuration
+ ##
+ 
+ %autogen
+     @autogen shtool   1.5.4 "1.5.*" echo install mkdir fixperm tarball
+     @autogen libtool  1.4.2 "1.4*"
+     @autogen autoconf 2.52  "2.5.*"
+ 
+ %autoclean
+     @autoclean shtool
+     @autoclean libtool
+     @autoclean autoconf
+ 
+ %configure
+     ./configure \
+         --prefix=/tmp/pcre \
+         --disable-shared \
+         --enable-debug \
+         "$@"
+ 


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

*** /dev/null    Sat Nov 23 00:55:02 2024
--- -    Sat Nov 23 00:56:17 2024
***************
*** 0 ****
--- 1,72 ----
+ ##
+ ##  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"
+             ;;
+         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/pcre/libtool.m4 1.1 -> 1.2



ossp-pkg/pcre/ltmain.sh 1.4 -> 1.5



ossp-pkg/pcre/shtool 1.8 -> 1.9


CVSTrac 2.0.1