/ Check-in [b85847b8]
Login

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

Overview
Comment:regenerate configure to take -enalbe-releasemode as an option (CVS 1100)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b85847b8f28f8f4be9e7f3d8674ecf42e1c5db38
User & Date: xdong 2003-09-23 00:35:21
Context
2003-09-23
00:36
allow -enable-releasemode as an option and allow Makefile to produce version independent binary like libsqlite-2.8.6.so instead of libsqlite.so.0.0.0 (CVS 1101) check-in: 4fdd44a5 user: xdong tags: trunk
00:35
regenerate configure to take -enalbe-releasemode as an option (CVS 1100) check-in: b85847b8 user: xdong tags: trunk
2003-09-18
21:59
modify the configure file to allow cross-compile to work at arm and xscale (CVS 1099) check-in: 760f2fa2 user: xdong tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to configure.

  1004   1004     --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1005   1005     --enable-shared=PKGS  build shared libraries default=yes
  1006   1006     --enable-static=PKGS  build static libraries default=yes
  1007   1007     --enable-fast-install=PKGS  optimize for fast installation default=yes
  1008   1008     --disable-libtool-lock  avoid locking (might break parallel builds)
  1009   1009     --enable-utf8           Use UTF-8 encodings
  1010   1010     --enable-incore-db           Support incore database
         1011  +  --enable-releasemode           Support libtool link to release mode
  1011   1012     --enable-tempdb-in-ram     Use an in-ram database for temporary tables
  1012   1013   
  1013   1014   Optional Packages:
  1014   1015     --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1015   1016     --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1016   1017     --with-gnu-ld           assume the C compiler uses GNU ld default=no
  1017   1018     --with-pic              try to use only PIC/non-PIC objects default=use both
................................................................................
  1430   1431   
  1431   1432   
  1432   1433   
  1433   1434   
  1434   1435   
  1435   1436   
  1436   1437   # The following RCS revision string applies to configure.in
  1437         -# $Revision: 1.17 $
         1438  +# $Revision: 1.18 $
  1438   1439   
  1439   1440   #########
  1440   1441   # Programs needed
  1441   1442   #
  1442   1443   # Check whether --enable-shared or --disable-shared was given.
  1443   1444   if test "${enable_shared+set}" = set; then
  1444   1445     enableval="$enable_shared"
................................................................................
  8033   8034   rm -f conftest.$ac_objext conftest.$ac_ext
  8034   8035   ac_ext=c
  8035   8036   ac_cpp='$CPP $CPPFLAGS'
  8036   8037   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8037   8038   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8038   8039   ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8039   8040   
  8040         -#  if test "$cross_compiling" = "yes"; then
  8041         -#    { { echo "$as_me:$LINENO: error: unable to find a compiler for building build tools" >&5
  8042         -#echo "$as_me: error: unable to find a compiler for building build tools" >&2;}
  8043         -#   { (exit 1); exit 1; }; }
  8044         -#  fi
         8041  +  if test "$cross_compiling" = "yes"; then
         8042  +    { { echo "$as_me:$LINENO: error: unable to find a compiler for building build tools" >&5
         8043  +echo "$as_me: error: unable to find a compiler for building build tools" >&2;}
         8044  +   { (exit 1); exit 1; }; }
         8045  +  fi
  8045   8046     BUILD_CC=$CC
  8046   8047     default_build_cflags=$CFLAGS
  8047   8048   else
  8048   8049     BUILD_CC=$config_BUILD_CC
  8049   8050     echo "$as_me:$LINENO: checking host compiler" >&5
  8050   8051   echo $ECHO_N "checking host compiler... $ECHO_C" >&6
  8051   8052     CC=$BUILD_CC
................................................................................
  8262   8263   echo "${ECHO_T}no" >&6
  8263   8264   else
  8264   8265     INMEMORYDB=1
  8265   8266     echo "$as_me:$LINENO: result: yes" >&5
  8266   8267   echo "${ECHO_T}yes" >&6
  8267   8268   fi
  8268   8269   
         8270  +##########
         8271  +# Do we want to support release
         8272  +#
         8273  +# Check whether --enable-releasemode or --disable-releasemode was given.
         8274  +if test "${enable_releasemode+set}" = set; then
         8275  +  enableval="$enable_releasemode"
         8276  +
         8277  +else
         8278  +  enable_releasemode=no
         8279  +fi;
         8280  +echo "$as_me:$LINENO: checking whether to support shared library linked as release mode or not" >&5
         8281  +echo $ECHO_N "checking whether to support shared library linked as release mode or not... $ECHO_C" >&6
         8282  +if test "$enable_releasemode" = "no"; then
         8283  +  ALLOWRELEASE=""
         8284  +  echo "$as_me:$LINENO: result: no" >&5
         8285  +echo "${ECHO_T}no" >&6
         8286  +else
         8287  +  ALLOWRELEASE="-release `cat VERSION`"
         8288  +  echo "$as_me:$LINENO: result: yes" >&5
         8289  +echo "${ECHO_T}yes" >&6
         8290  +fi
  8269   8291   
  8270   8292   ##########
  8271   8293   # Do we want temporary databases in memory
  8272   8294   #
  8273   8295   # Check whether --enable-tempdb-in-ram or --disable-tempdb-in-ram was given.
  8274   8296   if test "${enable_tempdb_in_ram+set}" = set; then
  8275   8297     enableval="$enable_tempdb_in_ram"
................................................................................
  8797   8819   if test "$found" = "no"; then
  8798   8820     for dir in /usr/local /usr/X11 /usr/X11R6 /usr/pkg /usr/contrib /usr; do
  8799   8821       as_ac_File=`echo "ac_cv_file_$dir/include/tcl.h" | $as_tr_sh`
  8800   8822   echo "$as_me:$LINENO: checking for $dir/include/tcl.h" >&5
  8801   8823   echo $ECHO_N "checking for $dir/include/tcl.h... $ECHO_C" >&6
  8802   8824   if eval "test \"\${$as_ac_File+set}\" = set"; then
  8803   8825     echo $ECHO_N "(cached) $ECHO_C" >&6
  8804         -#else
  8805         -#  test "$cross_compiling" = yes &&
  8806         -#  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
  8807         -#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
  8808         -#   { (exit 1); exit 1; }; }
         8826  +else
         8827  +  test "$cross_compiling" = yes &&
         8828  +  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
         8829  +echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
         8830  +   { (exit 1); exit 1; }; }
  8809   8831   if test -r "$dir/include/tcl.h"; then
  8810   8832     eval "$as_ac_File=yes"
  8811   8833   else
  8812   8834     eval "$as_ac_File=no"
  8813   8835   fi
  8814   8836   fi
  8815   8837   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
................................................................................
  9166   9188   if test "$found" = "no"; then
  9167   9189     for dir in /usr /usr/local /usr/local/readline /usr/contrib; do
  9168   9190       as_ac_File=`echo "ac_cv_file_$dir/include/readline.h" | $as_tr_sh`
  9169   9191   echo "$as_me:$LINENO: checking for $dir/include/readline.h" >&5
  9170   9192   echo $ECHO_N "checking for $dir/include/readline.h... $ECHO_C" >&6
  9171   9193   if eval "test \"\${$as_ac_File+set}\" = set"; then
  9172   9194     echo $ECHO_N "(cached) $ECHO_C" >&6
  9173         -#else
  9174         -#  test "$cross_compiling" = yes &&
  9175         -#  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
  9176         -#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
  9177         -#   { (exit 1); exit 1; }; }
         9195  +else
         9196  +  test "$cross_compiling" = yes &&
         9197  +  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
         9198  +echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
         9199  +   { (exit 1); exit 1; }; }
  9178   9200   if test -r "$dir/include/readline.h"; then
  9179   9201     eval "$as_ac_File=yes"
  9180   9202   else
  9181   9203     eval "$as_ac_File=no"
  9182   9204   fi
  9183   9205   fi
  9184   9206   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
................................................................................
  9192   9214         break
  9193   9215       fi
  9194   9216       as_ac_File=`echo "ac_cv_file_$dir/include/readline/readline.h" | $as_tr_sh`
  9195   9217   echo "$as_me:$LINENO: checking for $dir/include/readline/readline.h" >&5
  9196   9218   echo $ECHO_N "checking for $dir/include/readline/readline.h... $ECHO_C" >&6
  9197   9219   if eval "test \"\${$as_ac_File+set}\" = set"; then
  9198   9220     echo $ECHO_N "(cached) $ECHO_C" >&6
  9199         -#else
  9200         -# test "$cross_compiling" = yes &&
  9201         -#  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
  9202         -#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
  9203         -#   { (exit 1); exit 1; }; }
         9221  +else
         9222  +  test "$cross_compiling" = yes &&
         9223  +  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
         9224  +echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
         9225  +   { (exit 1); exit 1; }; }
  9204   9226   if test -r "$dir/include/readline/readline.h"; then
  9205   9227     eval "$as_ac_File=yes"
  9206   9228   else
  9207   9229     eval "$as_ac_File=no"
  9208   9230   fi
  9209   9231   fi
  9210   9232   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
................................................................................
  9986  10008   s,@TARGET_CFLAGS@,$TARGET_CFLAGS,;t t
  9987  10009   s,@TARGET_LINK@,$TARGET_LINK,;t t
  9988  10010   s,@TARGET_LFLAGS@,$TARGET_LFLAGS,;t t
  9989  10011   s,@TARGET_RANLIB@,$TARGET_RANLIB,;t t
  9990  10012   s,@TARGET_AR@,$TARGET_AR,;t t
  9991  10013   s,@ENCODING@,$ENCODING,;t t
  9992  10014   s,@ALLOWATTACHMEM@,$ALLOWATTACHMEM,;t t
        10015  +s,@ALLOWRELEASE@,$ALLOWRELEASE,;t t
  9993  10016   s,@INMEMORYDB@,$INMEMORYDB,;t t
  9994  10017   s,@TEMP_STORE@,$TEMP_STORE,;t t
  9995  10018   s,@BUILD_EXEEXT@,$BUILD_EXEEXT,;t t
  9996  10019   s,@OS_UNIX@,$OS_UNIX,;t t
  9997  10020   s,@OS_WIN@,$OS_WIN,;t t
  9998  10021   s,@TARGET_EXEEXT@,$TARGET_EXEEXT,;t t
  9999  10022   s,@TARGET_LIBS@,$TARGET_LIBS,;t t