OSSP CVS Repository

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

Check-in Number: 661
Date: 2001-Aug-13 21:23:32 (local)
2001-Aug-13 19:23:32 (UTC)
User:rse
Branch:
Comment: Add autogen.sh for generating (after "make realclean") and/or updating (after new versions are released) the build environment.
Tickets:
Inspections:
Files:
ossp-pkg/xds/Makefile.in      1.28 -> 1.29     1 inserted, 1 deleted
ossp-pkg/xds/autogen.sh      added-> 1.1

ossp-pkg/xds/Makefile.in 1.28 -> 1.29

--- Makefile.in  2001/08/13 18:21:32     1.28
+++ Makefile.in  2001/08/13 19:23:32     1.29
@@ -160,7 +160,7 @@
         @$(SHTOOL) fixperm -v .; \
         V=`$(SHTOOL) version -l c -d short xds_version.c`; \
         $(SHTOOL) tarball -o xds-$${V}.tar.gz -d str-$${V} -u ossp -g ossp \
-                          -e 'CVS,\.cvsignore,\.[ao],^\.' -c 'gzip --best' .
+                          -e 'CVS,\.cvsignore,\.[ao],^\.,autogen.sh' -c 'gzip --best' .
 
 #   increase or update version information
 new-version:


ossp-pkg/xds/autogen.sh -> 1.1

*** /dev/null    Mon May  6 05:45:36 2024
--- -    Mon May  6 05:46:04 2024
***************
*** 0 ****
--- 1,75 ----
+ #!/bin/sh
+ ##
+ ##  XDS - OSSP Extensible Data Serialization Library
+ ##  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
+ ##  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
+ ##  
+ ##  This file is part of OSSP XDS, an extensible data serialization
+ ##  library which can be found at http://www.ossp.org/pkg/xds/.
+ ##  
+ ##  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.
+ ##
+ ##  autogen.sh: auto-generate library build environment tools
+ ##
+ 
+ #   generator tools version sanity check
+ for spec in \
+     "autoconf   --version 4 2.52  2.5*" \
+     "libtoolize --version 4 1.4   1.4*" \
+     "shtoolize  -v        3 1.5.4 1.5.*"
+ do
+     set -- $spec
+     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 "$0:ERROR: unable to determine version of $t" 1>&2
+         exit 1
+     fi
+     eval "${t}_version=\"$v\""
+     case "$v" in
+         $e )
+             ;;
+         $a ) 
+             echo "$0:WARNING: $t version $v still accepted, although expected $e." 1>&2
+             ;;
+         * )
+             echo "$0:ERROR: $t version $e expected, but found $v." 1>&2
+             ;;
+     esac
+ done
+ 
+ #   GNU Libtool generation
+ echo "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
+ 
+ #   GNU Autoconf generation
+ echo "GNU Autoconf $autoconf_version -> configure, config.h.in"
+ autoconf
+ autoheader
+ 
+ #   GNU Shtool generation
+ echo "GNU Shtool $shtoolize_version -> shtool"
+ shtoolize -q all
+ 

CVSTrac 2.0.1