/ Check-in [9402f81f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update version number to 3.7.15. Delete some obsolete build scripts.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:9402f81fade5fcae0a3a6efdc7a5cdf71fc2e79f
User & Date: drh 2012-09-12 00:11:20
Context
2012-09-13
01:51
Allow SQLite to work on Win32 with SQLITE_OS_WINNT=0 as long as WAL is disabled. check-in: c1a85570 user: mistachkin tags: trunk
2012-09-12
18:45
Add an implementation of the REGEXP operator and function. Only defined if compiled with SQLITE_ENABLE_REGEXP. Closed-Leaf check-in: 8398f77c user: drh tags: regexp
00:11
Update version number to 3.7.15. Delete some obsolete build scripts. check-in: 9402f81f user: drh tags: trunk
2012-09-11
02:00
Added sqlite3_errstr API to translate a result code to the corresponding error message. check-in: bf8a9ca5 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to VERSION.

     1         -3.7.14
            1  +3.7.15

Changes to configure.

     1      1   #! /bin/sh
     2      2   # Guess values for system-dependent variables and create Makefiles.
     3         -# Generated by GNU Autoconf 2.62 for sqlite 3.7.14.
            3  +# Generated by GNU Autoconf 2.62 for sqlite 3.7.15.
     4      4   #
     5      5   # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6      6   # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7      7   # This configure script is free software; the Free Software Foundation
     8      8   # gives unlimited permission to copy, distribute and modify it.
     9      9   ## --------------------- ##
    10     10   ## M4sh Initialization.  ##
................................................................................
   739    739   MFLAGS=
   740    740   MAKEFLAGS=
   741    741   SHELL=${CONFIG_SHELL-/bin/sh}
   742    742   
   743    743   # Identity of this package.
   744    744   PACKAGE_NAME='sqlite'
   745    745   PACKAGE_TARNAME='sqlite'
   746         -PACKAGE_VERSION='3.7.14'
   747         -PACKAGE_STRING='sqlite 3.7.14'
          746  +PACKAGE_VERSION='3.7.15'
          747  +PACKAGE_STRING='sqlite 3.7.15'
   748    748   PACKAGE_BUGREPORT=''
   749    749   
   750    750   # Factoring default headers for most tests.
   751    751   ac_includes_default="\
   752    752   #include <stdio.h>
   753    753   #ifdef HAVE_SYS_TYPES_H
   754    754   # include <sys/types.h>
................................................................................
  1481   1481   #
  1482   1482   # Report the --help message.
  1483   1483   #
  1484   1484   if test "$ac_init_help" = "long"; then
  1485   1485     # Omit some internal or obsolete options to make the list less imposing.
  1486   1486     # This message is too long to be a string in the A/UX 3.1 sh.
  1487   1487     cat <<_ACEOF
  1488         -\`configure' configures sqlite 3.7.14 to adapt to many kinds of systems.
         1488  +\`configure' configures sqlite 3.7.15 to adapt to many kinds of systems.
  1489   1489   
  1490   1490   Usage: $0 [OPTION]... [VAR=VALUE]...
  1491   1491   
  1492   1492   To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1493   1493   VAR=VALUE.  See below for descriptions of some of the useful variables.
  1494   1494   
  1495   1495   Defaults for the options are specified in brackets.
................................................................................
  1546   1546     --build=BUILD     configure for building on BUILD [guessed]
  1547   1547     --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1548   1548   _ACEOF
  1549   1549   fi
  1550   1550   
  1551   1551   if test -n "$ac_init_help"; then
  1552   1552     case $ac_init_help in
  1553         -     short | recursive ) echo "Configuration of sqlite 3.7.14:";;
         1553  +     short | recursive ) echo "Configuration of sqlite 3.7.15:";;
  1554   1554      esac
  1555   1555     cat <<\_ACEOF
  1556   1556   
  1557   1557   Optional Features:
  1558   1558     --disable-option-checking  ignore unrecognized --enable/--with options
  1559   1559     --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1560   1560     --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
................................................................................
  1662   1662       cd "$ac_pwd" || { ac_status=$?; break; }
  1663   1663     done
  1664   1664   fi
  1665   1665   
  1666   1666   test -n "$ac_init_help" && exit $ac_status
  1667   1667   if $ac_init_version; then
  1668   1668     cat <<\_ACEOF
  1669         -sqlite configure 3.7.14
         1669  +sqlite configure 3.7.15
  1670   1670   generated by GNU Autoconf 2.62
  1671   1671   
  1672   1672   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1673   1673   2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1674   1674   This configure script is free software; the Free Software Foundation
  1675   1675   gives unlimited permission to copy, distribute and modify it.
  1676   1676   _ACEOF
  1677   1677     exit
  1678   1678   fi
  1679   1679   cat >config.log <<_ACEOF
  1680   1680   This file contains any messages produced by compilers while
  1681   1681   running configure, to aid debugging if configure makes a mistake.
  1682   1682   
  1683         -It was created by sqlite $as_me 3.7.14, which was
         1683  +It was created by sqlite $as_me 3.7.15, which was
  1684   1684   generated by GNU Autoconf 2.62.  Invocation command line was
  1685   1685   
  1686   1686     $ $0 $@
  1687   1687   
  1688   1688   _ACEOF
  1689   1689   exec 5>>config.log
  1690   1690   {
................................................................................
 14030  14030   
 14031  14031   exec 6>&1
 14032  14032   
 14033  14033   # Save the log message, to keep $[0] and so on meaningful, and to
 14034  14034   # report actual input values of CONFIG_FILES etc. instead of their
 14035  14035   # values after options handling.
 14036  14036   ac_log="
 14037         -This file was extended by sqlite $as_me 3.7.14, which was
        14037  +This file was extended by sqlite $as_me 3.7.15, which was
 14038  14038   generated by GNU Autoconf 2.62.  Invocation command line was
 14039  14039   
 14040  14040     CONFIG_FILES    = $CONFIG_FILES
 14041  14041     CONFIG_HEADERS  = $CONFIG_HEADERS
 14042  14042     CONFIG_LINKS    = $CONFIG_LINKS
 14043  14043     CONFIG_COMMANDS = $CONFIG_COMMANDS
 14044  14044     $ $0 $@
................................................................................
 14083  14083   $config_commands
 14084  14084   
 14085  14085   Report bugs to <bug-autoconf@gnu.org>."
 14086  14086   
 14087  14087   _ACEOF
 14088  14088   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 14089  14089   ac_cs_version="\\
 14090         -sqlite config.status 3.7.14
        14090  +sqlite config.status 3.7.15
 14091  14091   configured by $0, generated by GNU Autoconf 2.62,
 14092  14092     with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 14093  14093   
 14094  14094   Copyright (C) 2008 Free Software Foundation, Inc.
 14095  14095   This config.status script is free software; the Free Software Foundation
 14096  14096   gives unlimited permission to copy, distribute and modify it."
 14097  14097   

Deleted publish.sh.

     1         -#!/bin/sh
     2         -#
     3         -# This script is used to compile SQLite and package everything up
     4         -# so that it is ready to move to the SQLite website.
     5         -#
     6         -
     7         -# Set srcdir to the name of the directory that contains the publish.sh
     8         -# script.
     9         -#
    10         -srcdir=`echo "$0" | sed 's%\(^.*\)/[^/][^/]*$%\1%'`
    11         -
    12         -# Get the makefile.
    13         -#
    14         -cp $srcdir/Makefile.linux-gcc ./Makefile
    15         -chmod +x $srcdir/install-sh
    16         -
    17         -# Get the current version number - needed to help build filenames
    18         -#
    19         -VERS=`cat $srcdir/VERSION`
    20         -VERSW=`sed 's/\./_/g' $srcdir/VERSION`
    21         -echo "VERSIONS: $VERS $VERSW"
    22         -
    23         -# Start by building an sqlite shell for linux.
    24         -#
    25         -make clean
    26         -make sqlite3.c
    27         -CFLAGS="-Os -DSQLITE_ENABLE_FTS3=0 -DSQLITE_ENABLE_RTREE=0"
    28         -CFLAGS="$CFLAGS -DSQLITE_THREADSAFE=0"
    29         -echo '***** '"COMPILING sqlite3-$VERS.bin..."
    30         -gcc $CFLAGS -Itsrc sqlite3.c tsrc/shell.c -o sqlite3 -ldl
    31         -strip sqlite3
    32         -mv sqlite3 sqlite3-$VERS.bin
    33         -gzip sqlite3-$VERS.bin
    34         -chmod 644 sqlite3-$VERS.bin.gz
    35         -mv sqlite3-$VERS.bin.gz doc
    36         -
    37         -# Build the sqlite.so and tclsqlite.so shared libraries
    38         -# under Linux
    39         -#
    40         -TCLDIR=/home/drh/tcltk/846/linux/846linux
    41         -TCLSTUBLIB=$TCLDIR/libtclstub8.4g.a
    42         -CFLAGS="-Os -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1"
    43         -CFLAGS="$CFLAGS -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1"
    44         -CFLAGS="$CFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1"
    45         -echo '***** BUILDING shared libraries for linux'
    46         -gcc $CFLAGS -shared tclsqlite3.c $TCLSTUBLIB -o tclsqlite3.so -lpthread
    47         -strip tclsqlite3.so
    48         -chmod 644 tclsqlite3.so
    49         -mv tclsqlite3.so tclsqlite-$VERS.so
    50         -gzip tclsqlite-$VERS.so
    51         -mv tclsqlite-$VERS.so.gz doc
    52         -gcc $CFLAGS -shared sqlite3.c -o sqlite3.so -lpthread
    53         -strip sqlite3.so
    54         -chmod 644 sqlite3.so
    55         -mv sqlite3.so sqlite-$VERS.so
    56         -gzip sqlite-$VERS.so
    57         -mv sqlite-$VERS.so.gz doc
    58         -
    59         -
    60         -# Build the tclsqlite3.dll and sqlite3.dll shared libraries.
    61         -#
    62         -. $srcdir/mkdll.sh
    63         -echo '***** PACKAGING shared libraries for windows'
    64         -echo zip doc/tclsqlite-$VERSW.zip tclsqlite3.dll
    65         -zip doc/tclsqlite-$VERSW.zip tclsqlite3.dll
    66         -echo zip doc/sqlitedll-$VERSW.zip sqlite3.dll sqlite3.def
    67         -zip doc/sqlitedll-$VERSW.zip sqlite3.dll sqlite3.def
    68         -
    69         -# Build the sqlite.exe executable for windows.
    70         -#
    71         -OPTS='-DSTATIC_BUILD=1 -DNDEBUG=1 -DSQLITE_THREADSAFE=0'
    72         -OPTS="$OPTS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_RTREE=1"
    73         -i386-mingw32msvc-gcc -Os $OPTS -Itsrc -I$TCLDIR sqlite3.c tsrc/shell.c \
    74         -      -o sqlite3.exe
    75         -zip doc/sqlite-$VERSW.zip sqlite3.exe
    76         -
    77         -# Build a source archive useful for windows.
    78         -#
    79         -make target_source
    80         -cd tsrc
    81         -echo '***** BUILDING preprocessed source archives'
    82         -rm fts[12]* icu*
    83         -rm -f ../doc/sqlite-source-$VERSW.zip
    84         -zip ../doc/sqlite-source-$VERSW.zip *
    85         -cd ..
    86         -cp tsrc/sqlite3.h tsrc/sqlite3ext.h .
    87         -cp tsrc/shell.c .
    88         -pwd
    89         -zip doc/sqlite-amalgamation-$VERSW.zip sqlite3.c sqlite3.h sqlite3ext.h shell.c sqlite3.def
    90         -
    91         -# Construct a tarball of the source tree
    92         -#
    93         -echo '***** BUILDING source archive'
    94         -ORIGIN=`pwd`
    95         -cd $srcdir
    96         -chmod +x configure
    97         -cd ..
    98         -mv sqlite sqlite-$VERS
    99         -EXCLUDE=`find sqlite-$VERS -print | egrep '(www/|art/|doc/|contrib/|_FOSSIL_)' | sed 's,^, --exclude ,'`
   100         -echo "tar czf $ORIGIN/doc/sqlite-$VERS.tar.gz $EXCLUDE sqlite-$VERS"
   101         -tar czf $ORIGIN/doc/sqlite-$VERS.tar.gz $EXCLUDE sqlite-$VERS
   102         -mv sqlite-$VERS sqlite
   103         -cd $ORIGIN
   104         -
   105         -#
   106         -# Build RPMS (binary) and Source RPM
   107         -#
   108         -
   109         -# Make sure we are properly setup to build RPMs
   110         -#
   111         -echo "%HOME %{expand:%%(cd; pwd)}" > $HOME/.rpmmacros
   112         -echo "%_topdir %{HOME}/rpm" >> $HOME/.rpmmacros
   113         -mkdir $HOME/rpm
   114         -mkdir $HOME/rpm/BUILD
   115         -mkdir $HOME/rpm/SOURCES
   116         -mkdir $HOME/rpm/RPMS
   117         -mkdir $HOME/rpm/SRPMS
   118         -mkdir $HOME/rpm/SPECS
   119         -
   120         -# create the spec file from the template
   121         -sed s/SQLITE_VERSION/$VERS/g $srcdir/spec.template > $HOME/rpm/SPECS/sqlite.spec
   122         -
   123         -# copy the source tarball to the rpm directory
   124         -cp doc/sqlite-$VERS.tar.gz $HOME/rpm/SOURCES/.
   125         -
   126         -# build all the rpms
   127         -rpm -ba $HOME/rpm/SPECS/sqlite.spec >& rpm-$vers.log
   128         -
   129         -# copy the RPMs into the build directory.
   130         -mv $HOME/rpm/RPMS/i386/sqlite*-$vers*.rpm doc
   131         -mv $HOME/rpm/SRPMS/sqlite-$vers*.rpm doc
   132         -
   133         -# Build the website
   134         -#
   135         -#cp $srcdir/../historical/* doc
   136         -#make doc
   137         -#cd doc
   138         -#chmod 644 *.gz

Deleted publish_osx.sh.

     1         -#!/bin/sh
     2         -#
     3         -# This script is used to compile SQLite and package everything up
     4         -# so that it is ready to move to the SQLite website.
     5         -#
     6         -
     7         -# Set srcdir to the name of the directory that contains the publish.sh
     8         -# script.
     9         -#
    10         -srcdir=`echo "$0" | sed 's%\(^.*\)/[^/][^/]*$%\1%'`
    11         -
    12         -# Get the makefile.
    13         -#
    14         -cp $srcdir/Makefile.linux-gcc ./Makefile
    15         -chmod +x $srcdir/install-sh
    16         -
    17         -# Get the current version number - needed to help build filenames
    18         -#
    19         -VERS=`cat $srcdir/VERSION`
    20         -VERSW=`sed 's/\./_/g' $srcdir/VERSION`
    21         -echo "VERSIONS: $VERS $VERSW"
    22         -
    23         -# Start by building an sqlite shell for linux.
    24         -#
    25         -make clean
    26         -make sqlite3.c
    27         -CFLAGS="-Os -DSQLITE_ENABLE_FTS3=1 -DSQLITE_THREADSAFE=0"
    28         -NAME=sqlite3-$VERS-osx-x86.bin
    29         -echo '***** '"COMPILING $NAME..."
    30         -gcc $CFLAGS -Itsrc sqlite3.c tsrc/shell.c -o $NAME -ldl
    31         -strip $NAME
    32         -chmod 644 $NAME
    33         -gzip $NAME
    34         -mkdir -p doc
    35         -mv $NAME.gz doc