/ 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 Unified Diffs Ignore Whitespace Patch

Changes to configure.

1004
1005
1006
1007
1008
1009
1010

1011
1012
1013
1014
1015
1016
1017
....
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
....
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
....
8262
8263
8264
8265
8266
8267
8268





















8269
8270
8271
8272
8273
8274
8275
....
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
....
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
....
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
....
9986
9987
9988
9989
9990
9991
9992

9993
9994
9995
9996
9997
9998
9999
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-shared=PKGS  build shared libraries default=yes
  --enable-static=PKGS  build static libraries default=yes
  --enable-fast-install=PKGS  optimize for fast installation default=yes
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --enable-utf8           Use UTF-8 encodings
  --enable-incore-db           Support incore database

  --enable-tempdb-in-ram     Use an in-ram database for temporary tables

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
  --with-pic              try to use only PIC/non-PIC objects default=use both
................................................................................






# The following RCS revision string applies to configure.in
# $Revision: 1.17 $

#########
# Programs needed
#
# Check whether --enable-shared or --disable-shared was given.
if test "${enable_shared+set}" = set; then
  enableval="$enable_shared"
................................................................................
rm -f conftest.$ac_objext conftest.$ac_ext
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

#  if test "$cross_compiling" = "yes"; then
#    { { echo "$as_me:$LINENO: error: unable to find a compiler for building build tools" >&5
#echo "$as_me: error: unable to find a compiler for building build tools" >&2;}
#   { (exit 1); exit 1; }; }
#  fi
  BUILD_CC=$CC
  default_build_cflags=$CFLAGS
else
  BUILD_CC=$config_BUILD_CC
  echo "$as_me:$LINENO: checking host compiler" >&5
echo $ECHO_N "checking host compiler... $ECHO_C" >&6
  CC=$BUILD_CC
................................................................................
echo "${ECHO_T}no" >&6
else
  INMEMORYDB=1
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
fi























##########
# Do we want temporary databases in memory
#
# Check whether --enable-tempdb-in-ram or --disable-tempdb-in-ram was given.
if test "${enable_tempdb_in_ram+set}" = set; then
  enableval="$enable_tempdb_in_ram"
................................................................................
if test "$found" = "no"; then
  for dir in /usr/local /usr/X11 /usr/X11R6 /usr/pkg /usr/contrib /usr; do
    as_ac_File=`echo "ac_cv_file_$dir/include/tcl.h" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $dir/include/tcl.h" >&5
echo $ECHO_N "checking for $dir/include/tcl.h... $ECHO_C" >&6
if eval "test \"\${$as_ac_File+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
#else
#  test "$cross_compiling" = yes &&
#  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
#   { (exit 1); exit 1; }; }
if test -r "$dir/include/tcl.h"; then
  eval "$as_ac_File=yes"
else
  eval "$as_ac_File=no"
fi
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
................................................................................
if test "$found" = "no"; then
  for dir in /usr /usr/local /usr/local/readline /usr/contrib; do
    as_ac_File=`echo "ac_cv_file_$dir/include/readline.h" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $dir/include/readline.h" >&5
echo $ECHO_N "checking for $dir/include/readline.h... $ECHO_C" >&6
if eval "test \"\${$as_ac_File+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
#else
#  test "$cross_compiling" = yes &&
#  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
#   { (exit 1); exit 1; }; }
if test -r "$dir/include/readline.h"; then
  eval "$as_ac_File=yes"
else
  eval "$as_ac_File=no"
fi
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
................................................................................
      break
    fi
    as_ac_File=`echo "ac_cv_file_$dir/include/readline/readline.h" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $dir/include/readline/readline.h" >&5
echo $ECHO_N "checking for $dir/include/readline/readline.h... $ECHO_C" >&6
if eval "test \"\${$as_ac_File+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
#else
# test "$cross_compiling" = yes &&
#  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
#   { (exit 1); exit 1; }; }
if test -r "$dir/include/readline/readline.h"; then
  eval "$as_ac_File=yes"
else
  eval "$as_ac_File=no"
fi
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
................................................................................
s,@TARGET_CFLAGS@,$TARGET_CFLAGS,;t t
s,@TARGET_LINK@,$TARGET_LINK,;t t
s,@TARGET_LFLAGS@,$TARGET_LFLAGS,;t t
s,@TARGET_RANLIB@,$TARGET_RANLIB,;t t
s,@TARGET_AR@,$TARGET_AR,;t t
s,@ENCODING@,$ENCODING,;t t
s,@ALLOWATTACHMEM@,$ALLOWATTACHMEM,;t t

s,@INMEMORYDB@,$INMEMORYDB,;t t
s,@TEMP_STORE@,$TEMP_STORE,;t t
s,@BUILD_EXEEXT@,$BUILD_EXEEXT,;t t
s,@OS_UNIX@,$OS_UNIX,;t t
s,@OS_WIN@,$OS_WIN,;t t
s,@TARGET_EXEEXT@,$TARGET_EXEEXT,;t t
s,@TARGET_LIBS@,$TARGET_LIBS,;t t







>







 







|







 







|
|
|
|
|







 







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







 







|
|
|
|
|







 







|
|
|
|
|







 







|
|
|
|
|







 







>







1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
....
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
....
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
....
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
....
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
....
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
....
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
.....
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-shared=PKGS  build shared libraries default=yes
  --enable-static=PKGS  build static libraries default=yes
  --enable-fast-install=PKGS  optimize for fast installation default=yes
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --enable-utf8           Use UTF-8 encodings
  --enable-incore-db           Support incore database
  --enable-releasemode           Support libtool link to release mode
  --enable-tempdb-in-ram     Use an in-ram database for temporary tables

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
  --with-pic              try to use only PIC/non-PIC objects default=use both
................................................................................






# The following RCS revision string applies to configure.in
# $Revision: 1.18 $

#########
# Programs needed
#
# Check whether --enable-shared or --disable-shared was given.
if test "${enable_shared+set}" = set; then
  enableval="$enable_shared"
................................................................................
rm -f conftest.$ac_objext conftest.$ac_ext
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

  if test "$cross_compiling" = "yes"; then
    { { echo "$as_me:$LINENO: error: unable to find a compiler for building build tools" >&5
echo "$as_me: error: unable to find a compiler for building build tools" >&2;}
   { (exit 1); exit 1; }; }
  fi
  BUILD_CC=$CC
  default_build_cflags=$CFLAGS
else
  BUILD_CC=$config_BUILD_CC
  echo "$as_me:$LINENO: checking host compiler" >&5
echo $ECHO_N "checking host compiler... $ECHO_C" >&6
  CC=$BUILD_CC
................................................................................
echo "${ECHO_T}no" >&6
else
  INMEMORYDB=1
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
fi

##########
# Do we want to support release
#
# Check whether --enable-releasemode or --disable-releasemode was given.
if test "${enable_releasemode+set}" = set; then
  enableval="$enable_releasemode"

else
  enable_releasemode=no
fi;
echo "$as_me:$LINENO: checking whether to support shared library linked as release mode or not" >&5
echo $ECHO_N "checking whether to support shared library linked as release mode or not... $ECHO_C" >&6
if test "$enable_releasemode" = "no"; then
  ALLOWRELEASE=""
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
else
  ALLOWRELEASE="-release `cat VERSION`"
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
fi

##########
# Do we want temporary databases in memory
#
# Check whether --enable-tempdb-in-ram or --disable-tempdb-in-ram was given.
if test "${enable_tempdb_in_ram+set}" = set; then
  enableval="$enable_tempdb_in_ram"
................................................................................
if test "$found" = "no"; then
  for dir in /usr/local /usr/X11 /usr/X11R6 /usr/pkg /usr/contrib /usr; do
    as_ac_File=`echo "ac_cv_file_$dir/include/tcl.h" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $dir/include/tcl.h" >&5
echo $ECHO_N "checking for $dir/include/tcl.h... $ECHO_C" >&6
if eval "test \"\${$as_ac_File+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  test "$cross_compiling" = yes &&
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   { (exit 1); exit 1; }; }
if test -r "$dir/include/tcl.h"; then
  eval "$as_ac_File=yes"
else
  eval "$as_ac_File=no"
fi
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
................................................................................
if test "$found" = "no"; then
  for dir in /usr /usr/local /usr/local/readline /usr/contrib; do
    as_ac_File=`echo "ac_cv_file_$dir/include/readline.h" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $dir/include/readline.h" >&5
echo $ECHO_N "checking for $dir/include/readline.h... $ECHO_C" >&6
if eval "test \"\${$as_ac_File+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  test "$cross_compiling" = yes &&
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   { (exit 1); exit 1; }; }
if test -r "$dir/include/readline.h"; then
  eval "$as_ac_File=yes"
else
  eval "$as_ac_File=no"
fi
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
................................................................................
      break
    fi
    as_ac_File=`echo "ac_cv_file_$dir/include/readline/readline.h" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $dir/include/readline/readline.h" >&5
echo $ECHO_N "checking for $dir/include/readline/readline.h... $ECHO_C" >&6
if eval "test \"\${$as_ac_File+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  test "$cross_compiling" = yes &&
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   { (exit 1); exit 1; }; }
if test -r "$dir/include/readline/readline.h"; then
  eval "$as_ac_File=yes"
else
  eval "$as_ac_File=no"
fi
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
................................................................................
s,@TARGET_CFLAGS@,$TARGET_CFLAGS,;t t
s,@TARGET_LINK@,$TARGET_LINK,;t t
s,@TARGET_LFLAGS@,$TARGET_LFLAGS,;t t
s,@TARGET_RANLIB@,$TARGET_RANLIB,;t t
s,@TARGET_AR@,$TARGET_AR,;t t
s,@ENCODING@,$ENCODING,;t t
s,@ALLOWATTACHMEM@,$ALLOWATTACHMEM,;t t
s,@ALLOWRELEASE@,$ALLOWRELEASE,;t t
s,@INMEMORYDB@,$INMEMORYDB,;t t
s,@TEMP_STORE@,$TEMP_STORE,;t t
s,@BUILD_EXEEXT@,$BUILD_EXEEXT,;t t
s,@OS_UNIX@,$OS_UNIX,;t t
s,@OS_WIN@,$OS_WIN,;t t
s,@TARGET_EXEEXT@,$TARGET_EXEEXT,;t t
s,@TARGET_LIBS@,$TARGET_LIBS,;t t